This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28035 Watchdog Reset Status Active After Power Up

Other Parts Discussed in Thread: TMS320F28035

I'm running an application on the TMS320F28035 Control Card in the USB docking station , and am seeing an odd behavior of the Watchdog Reset Status Flag Bit (WDCR : WDFLAG).

The code is running out of flash, with the linker file being based on the F28035_nonBIOS_flash.cmd example.

When I use the debugger to initially program the device, the Watchdog reset status flag is not set (presumably based on a warm reset).  When the application is running, I can trigger a watchdog reset by sending a serial command to enter an infinite loop.  I see that the device properly resets and the watchdog reset status flag correctly notes that a watchdog reset has occurred.

If I power cycle the device (using the toggle switch on the USB dock), the watchdog reset status flag is set at power up.  I am able to clear the flag through the serial interface, and it seems to operate properly after that.

I am using CodeStartBranch.asm with WD_DISABLE set to 1.  The last step in the main initialization routine is enabling the watchdog, and the first step in the main superloop is to service the watchdog.

Any ideas as to what may be causing this?