Hi everyones,
I've developed an application for my MSP430FR microcontroller based on a custom bootloader and main application. At power-up the the bootloader verifies if there is a fw upgrade request and, if not, the main application is started. In case the user wants to upgrade the firmware (while the main application is running), the application resets itself and the bootloader is started.
If the reset is done by a software BOR, everything works fine. On the other hand, if the reset is done by using the WDT reset, the application breaks in some unknown state/address. Of course i need to use the WDT functionalities in my application not only for the fw upgrade.
I've already verified the reset vector (0xFFFE) content before triggering the WDT reset, and it is extactly the bootloader entry point.
If I fully remove the bootloader from the project running only the main application, WTD resets work as expected resetting always to the main application entry point.
Do you have some idea/suggestions about where the problem could be?
Thanks in advance for your help.