Associate II
February 22, 2012
Question
Watchdog problem after FLASH_EraseSector
- February 22, 2012
- 11 replies
- 3792 views
Posted on February 22, 2012 at 17:09
Hi,
I use STM32F205RCT6 and attached you will find a sample for the STM320G-EVAL. Following problem. I have enabled the watchdog, but the FLASH_EraseSector takes much longer as the watchdog timeout. So I tried to reset the watchdog with the WWDG_IRQHandler. But the interrupt isn't called in this case! Reference Manual: When the EWI interrupt cannot be served, e.g. due to a system lock in a higher priority task, the WWDG reset will eventually be generated. And Watchdog cannot be disabled again except by a reset. Any ideas would be most welcome. Thanks #watchdog-flash-erase