Part Number: TMS320F280049
Dear team,
Customer is encountering a problem during bootloader function debugging.
When the bootloader process is finished they want to reset the device. To do this they write an invalid value to watchdog WDCHK field to generate the SW reset but after execute the SW reset routine the device seems to reset again and again and can’t normally run. After a power recycle, it becomes OK.
They’ll try to disable the watchdog before run the sw reset routine.
We appreciate your guidance.
The code to generate sw reset as below:
DINT;
IFR = 0x0000;
EALLOW;
WdRegs.WDCR.bit.WDCHK = 0;
EDIS;
NOP;
NOP;
NOP;
Kind regards,
Giuseppe