HI,
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.
Thanks.
Hello,
You can use Watchdog to reboot automatically when it's reach the value (time) you pre-define.
Karim.
Hi Omar,
I am using the ISP USB mode. Does the "SH_CMD_RESET (0xA2) command" works for USB mode?
Thanks.
Hello Seow Woo Quek
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.
Let me know if this helps
Best regards,
Omar
Hello seowwoo.quek@oce.com
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.5.8 "Go"
-4.8.2 "SH_CMD_RESET (0xA2) command"
Let me know if this helps
Best regards,
Omar
Hi Omar,
I am using the ISP USB mode. How to reset to user code when in ISP USB mode
Thanks.