Hi,
I'm looking to flash an LPC55S16 over SPI from another mcu. I've been following the "MCU Bootloader v2.5.0 Reference Manual" and can successfully send over an image (verified using logic analyzer on SPI lines). However, once this finishes, the app does not launch. The same app does launch when programmed over JLink.
The bootloader acknowledges each transfer in the data phase, acknowledges the reset command, and gives a generic response with kStatus_Success for both. It does not reset after the reset command, and does not launch. What can I do to launch the app after the flash completes?
已解决! 转到解答。
Yes the bootloader was in fact writing the program to the correct place in memory. Thanks for the suggestion to check that.
I was able to solve my problem--I was writing to a separate place in memory that was not 0x0 and so the program wouldn't start up as expected. The application was intended to work with a Dual Image bootloader like the one described in AN12327. Now that I have that cleared up, its working fine.
Thanks again,
Craig
Yes the bootloader was in fact writing the program to the correct place in memory. Thanks for the suggestion to check that.
I was able to solve my problem--I was writing to a separate place in memory that was not 0x0 and so the program wouldn't start up as expected. The application was intended to work with a Dual Image bootloader like the one described in AN12327. Now that I have that cleared up, its working fine.
Thanks again,
Craig