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 below) return 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
Hello Domenico Catalano,
After check the errata, I find these contents:
http://www.nxp.com/docs/en/errata/ES_LPC81XM.pdf
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!
-----------------------------------------------------------------------------------------------------------------------