LPC1765 secondary bootloader with USB MSD

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

LPC1765 secondary bootloader with USB MSD

559 Views
Ronaa
Contributor II

We ported a secondary boot loader from LPCXpresso 8.2.2 to MCU expresso 24.9

The bootloader reads a bin file from a USB flash disk.

The USB stack is nxpUSBLib with FAT file system

The USB works fine and IAP  ommands works fine, but not together.

After erasing the flash the USB flashvdri e stops responding and the firmware hungs.while trying reading from USB. flash drive.

Everything worked fine with LPCXpresso 8.2.2

Any idea what we are missing? 

Thanks.

0 Kudos
Reply
1 Reply

524 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

I suggest you comparing the linker of both projects, it is possible that the USB side is beign executed from flash while it needs to be excuted on RAM so it do not interfeeres with the erase. 

Best regards,
Omar

0 Kudos
Reply