Question
Custom Bootloader HardFault
Posted on October 15, 2014 at 22:32
Hi Folks,
I wrote a custom bootloader at work and I'm getting a hard fault right at the instruction to jump to the Reset_Handler of the Application. This bootloader worked fine for 6 months but suddenly it started getting hard faults. I have done the following:- Verified the stack pointer was moved to the start of the stack of the application.
- Verified that the address i'm jumping to is in fact the reset handler.
- Shut down all interrupts except for system tick since it cannot be shut down.
- Disabled all ports and peripherals I used in the bootloader prior to the jump.
