I am using LPC51U68. I have written a test application
ReinvokeISP and then program the firmware.bin. But how do I exit from ISP mode using my test application so hat LPC51U68 can reset to user mode.
Hello Seow Woo Quek
It depends on the protocol you are using.
If you are using I2C/SPI ISP mode you may use SH_CMD_RESET command.
Another way for this is though GO command if you are using USART ISP mode.
You can find this information at the LPC51U68 user manual. https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true
-4.8.2 "SH_CMD_RESET (0xA2) command"
Let me know if this helps
I am using the ISP USB mode. How to reset to user code when in ISP USB mode
I am using the ISP USB mode. Does the "SH_CMD_RESET (0xA2) command" works for USB mode?
Unfortunately the "SH_CMD_RESET(0xA2) command" doesn´t work on USB mode because that command is designed for I2C/SPI mode.
Unfortunately there's no command available to exit the USB ISP mode
So, to reset the chip it needs to be made through hardware.
Retrieving data ...