LPC51U68 USB MSC Programmng

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC51U68 USB MSC Programmng

518 次查看
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 项奖励
回复
1 回复

490 次查看
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 项奖励
回复