Question
STM32F103C6 HardFault after erase flash with IWDG active
Posted on February 26, 2013 at 17:41
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. #flash-iwdg-wwdg #watchdog-flash-iwdg