Hi, I run SDK's example "iap_basic" to retrieve UUID the value read from the MCU is always 0. I tried on multiple board with 54S018M and the value is always 0.
SDK's IAP debug output:
When I inspect the memory location where UUID is stored at, the memory is always 0 also.
Memory from the debugger at 0x40000430
Please advise how to retrieve UUID
I just tested iap_basic demo with my LPC54018M board. I didn't find any problem. the part on board is 1B revision.
There is defect in 0A revision but has been fixed in 1B
Please check your part revision. If you are not sure, please post your chip silk screen photo here. I will check it.
Have a nice day,
I figured out the issue.
Where running the SDK example, the IDE (KIEL) copy the image into SRAM and run. This is when UUID is always 0.
If I program the example into flash an run then NXP's BOOT ROM executes first and then passes control to the example. UUID is non zero.
So it looks like NXP BOOT ROM is setting things up to make UUID available to the application. This is not documented anywhere in the manual as far as I know.
a)Please use the attached project. This is the exact project that I am using. It is "iap_basic" project untouched. I downloaded it from your SDK daskboard (SDK 2.10.0), This is what you guys refer to as a "standalone" project. I load it under KEIL IDE (MDK 5.33) . I compile the project, leave all settings untouched and press Ctrl+F5 (start/stop debug sessiong).The debug output is what is attached to my original post.
b)For debugging I am not using J8/CMSIS-DAP on my NXP devboard (LPC54S018M-EVK). I am using ULINK2 and connect my JTAG probe to P1 (SWD).
Hope this help.