Part Number: TMS320F28054M
Tool/software: Code Composer Studio
Hi members,
We are developing a motor control system with 3 TMS320F28054Ms as controllers of 3 axes and a TMS320F28055 as control manager. Software tool is Code Composer Studio(Version: 6.1.2.00015) and control program based on motorware_1_01_00_17. All chips work at 60 MHz frequency. The communication between 3 TMS320F28054Ms and a TMS320F28055 uses SCIs.
Right now, we have also realized updating firmware of TMS320F28054M by SCI port using hex file. We hope to reset TMS320F28054M after updating firmware, let the program restart, so I enable watchdog function. The code is as below
if(WDOG_getflag(obj->wdogHandle))
WDOG_clearflag(obj->wdogHandle);
else
WDOG_enable(obj->wdogHandle);
When I launch the program the device is reset and the software stops at 0x3ff472 (bootloader zone). WDCR = 0X80. The firmware does not restart running as I expect. How to resolve the problem.