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.
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