AnsweredAssumed Answered

secondary bootloader lpc54608

Question asked by miguel ibarra on Mar 18, 2019
Latest reply on Apr 18, 2019 by miguel ibarra

Hi, i have the following problem with a secondary bootloader in LPC54608 custom board. It is very similar to evaluation kit OM13092.

If i load the application program to the address 0x8000 with the JFlash program and later load the bootloader to the 0x0 address, after the reset the secondary bootloader jump to the application program and work OK.

But if the secondary bootloader load the aplication program from SPIFI to RAM and then to flash address 0x8000, after reset the secondary bootloader jump to the application program but it does not work properly ( hard fault ).    

We compare how the flash (address 0 to 0x7ffff) is after being recorded, by the jflash and by the secondary bootloader and there are no differences.

If run the application program from address 0x0 ( without secondary bootloader) work OK.

The only way that works is to delete everything with the JFlash, load the application in 0x8000 and then the bootloader.

that could be happening?

Best Regards

Outcomes