Question
STM32F217 different behavior from different reset source - Hard fault exception
Posted on July 28, 2011 at 22:56
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.