I have a custom board with a DM642 processor. There is a power supervisory chip and watchdog IC on board. When the board is powered up it boots into a bootloader loaded from flash which will after a few seconds delay run the main application. Both the bootloader and the main application periodically reset the watchdog to prevent a reset in normal condition. The main application can reset the board by not servicing the watchdog.
The problem is that when reset is done by the watchdog, the secondary bootloader no longer loads and runs (it runs after power up) and therefore main app will no longer run. Since no application is running the board keeps reseting by the watchdog every 4 seconds (watchdog period). I have monitored the reset line and it is a clean 200ms low signal. If I power cycle the board everything is fine.
What could be difference between a power up reset and a reset signal while power is on?
Any help will be much appreciated.
Farshad