Question
stm32f405, hardfault help
Posted on March 18, 2014 at 19:38
Dear all,
i am still in a beginner phase with stm32, and trying to output a square wave from a GPIO PORTA pin. But program loops in hardfault: > step target state: halted target halted due to single-step, current mode: Thread xPSR: 0x41000000 pc: 0x0800224c msp: 0x20020000 halted: PC: 0x0800224c > step target state: halted target halted due to single-step, current mode: Handler HardFault xPSR: 0x41000003 pc: 0x08000900 msp: 0x2001ffe0 halted: PC: 0x08000900 > step target state: halted target halted due to single-step, current mode: Handler HardFault xPSR: 0x41000003 pc: 0x08000902 msp: 0x2001ffe0 halted: PC: 0x08000902 > step target state: halted target halted due to single-step, current mode: Thread xPSR: 0x41000000 pc: 0x0800224c msp: 0x20020000 halted: PC: 0x0800224c > What could cause this ? Thanks angelo #hard-fault