LPC51U68 USB MSC Programmng

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC51U68 USB MSC Programmng

172 Views
kk7xo
Contributor III

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? 

 

0 Kudos
Reply
1 Reply

144 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi kk7xo ,

First I would suggest you referring this article if your checksum is calculated correctly.

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC8N04-LPC-Boot-ROM-checksum/ta-p/11261...

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

0 Kudos
Reply