AnsweredAssumed Answered

STM32F103C6 HardFault after erase flash with IWDG active

Question asked by atreiu on Feb 26, 2013
Latest reply on Feb 28, 2013 by atreiu
Hi, I'm new to Cortex M3. I've a custom boot working correctly: first I erase the 32K flash and after I write the memory with no problems.

I need to activate the Independent Watchdog, and when I do it the microcontroller ends jumping to the HardFault interrupt. The erase process ends correcly. The first watchdog reload counter after it causes the microcontroller to get in Hardfault interrupt (IWDG_ReloadCounter();)

The watchdog reset time is set to the maximum (26 sec).

Does anybody know what could be happening?

Thanks in advance.

Outcomes