I am trying to program my LPC51U68 via USB MSC. I have followed the instructions here: https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Creating-an-LPC-valid-image-checksum-directly-in-th... and I have verified that the first 8 words of the binary file sum to zero (ignoring carry out of the high order). I am able to delete the previous image and move the new binary image to the drive window, however when I reboot the new program does not run and the microcontroller appears to re-enter ISP mode.
I am able to program the same image (as a hex file) using FlashMagic and a serial port, so I know the program works.
I am using VS Code, GNU compiler tools.
I must be missing something here. Can you help me? What do you need to see?
Hi kk7xo ,
First I would suggest you referring this article if your checksum is calculated correctly.
If checksum has no issue, then try to download a SDK demo code to the board, led blinky, can it run well? reset the board, can the code still run well?
Thanks,
Jun Zhang