Does HAL_FLASH_OB_Launch() result in a reset?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-25 6:03 AM
Hi ,
I am using STM32L series of MCU.
From the application code independent watchdog is used and when it is time for entering bootloader say due to firmware upgrade, i use while(1) to reset the system.
1.
Once inside bootloader I am observing that the bootloader is getting reset after a while.
Is this because independent watchdog is expected to be kicked? in bootloader.
2.
Also once in the bootloader i make calls to modify option bytes
HAL_FLASHEx_OBProgram(&CONFIG);
will this reset the system ? i wonder is it these calls resulting in a reset.
3.
While reading reference manual i came to know that one of the reason for reset could be Option Bytes related register getting modified with the following call
HAL_FLASH_OB_Launch(). Could this be a cause
Please reply.
- Labels:
-
Bootloader
-
IWDG-WWDG
-
STM32L4 series
