AnsweredAssumed Answered

STM32F4 lockup

Question asked by oweno on Jun 17, 2012
Latest reply on Jun 17, 2012 by oweno
  I am working on some code for the STM32F407 and ran into interesting problem.  When switching power to the board off and on quickly, the processor can become stuck on reset, often dropping to hardfault handler. 
  This is not really surprising, but sometimes the processor remains in this locked up state.  Neither reset or power cycling the entire system can free it.  The only way to get it to start up again is to re-flash.  From initial investigations it appears its dropping very quickly into hardfault, and working on getting more info.  But what is confusing is how power cycling the board doesn't fix, since it was my understanding that this restores all the registers to their defaults.  Is it possible the flash got corrupted somehow? 

Outcomes