AnsweredAssumed Answered

Custom Bootloader HardFault

Question asked by carroll.john.001 on Oct 15, 2014
Latest reply on Oct 16, 2014 by Clive One
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.

I am using IAR 7.3 to develop on a STM32F303. Any help would be appreciated. I've been battling this for several days.

Thank you,