I have read the "Getting Started with MCUXpresso SDK for LPC540xx.pdf " in the SDK package directory "SDK_2.6.0_LPC54S018_MDK\docs", which has a section on how to program the non-XIP (plain load) example application to external flash using J-Link.
There is a step that makes me confused.as shown below,The Start address in the red box in the figure is 0x00000000. Does this mean that the address to be programmed is SRAM, not external flash?
Hello Kunsen Chen,
"Does this mean that the address to be programmed is SRAM, not external flash?"
-> No, this is programmed to external flash.
Could you please refer to this DOC to have a test, program it, re-power your chip, check whether it download
into external flash. Waiting your result.
Thank you for your reply. I did test it as you said and found that the program can still run after re-powering. I tried to use JFlash to read the binary data of the external flash and can actually read the code data.
OK, thanks for your sharing.