AnsweredAssumed Answered

STM32F217 different behavior from different reset source - Hard fault exception

Question asked by Szim.Wojciech on Jul 28, 2011
Latest reply on Jul 28, 2011 by Clive One
Hello
What could be the reason for different behavior of the microcontroller. Launched by the power reset - each call to sprintf causes HardFault an exception. Launched after the reset of the watchdog everything works fine and sprintf well done. External Reset of the JTAG debugger program also works correctly. Is there any difference in the resetting of the processor depending on the reset source? I guess that HardFault probably the exception is invoked by reference to a nonexistent location, but why differently from resets source?
 Heap is allocated properly.
So I'm looking for a foothold.

Outcomes