lpc 811 read part id error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

lpc 811 read part id error

1,293 次查看
cat96
Contributor I

Good morning,

I spoke with Brendon Slade and he recommended to open this case:

I'm writing because I have a problem in LPC811 during the Part id read through IPA (SWD) command, other IAP (erase and program) works fine.
This happens only with LPC811 (LPC811M001JDH16), i call the IAP, but the core doesn't halt.

in order i do:

-1- swd_connect return ok

-2- dap inits return ok

-3- read part id(see belowreturn error in dhcsr :the core doesn't halt

uint32_t Chip_IAP_ReadPID(void)
{
uint32_t command[5], result[5];

command[0] = IAP_REPID_CMD;
iap_entry(command, result);  

return result[1];
}

can you help me? 

best regards

Matteo

标签 (1)
0 项奖励
回复
1 回复

1,202 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Domenico Catalano,

     After check the errata, I find these contents:

http://www.nxp.com/docs/en/errata/ES_LPC81XM.pdf 

pastedImage_1.png

   Because I don't have the LPC811M001JDH16 chip on my side, then I can't test it directly on my side, now please configure FLASHCFG regsiter to 2 system clocks, and try again.

Any updated information, please kindly let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复