Part Number: TMS320F28377D
Tool/software: Code Composer Studio
Hi!!
I'm used TMS320F28377D.
Currently, both CPU1 and CPU2 are used, and CPU2 is booting from Standalone in CPU1.
Then, Hex file of CPU1 and CPU2 code is read and Flash writing is performed.
All code is written to Flash and copied to Ram at boot time.
After flash update, watchdog reset is done on CPU1 to proceed normal boot procedure.
The reset code is as follows.
EALLOW;
WdRegs.SCSR.all = 0x0;
ServiceDog();
WdRegs.WDCR.all = 0x0028;
CpuSysRegs.RESC.bit.WDRSn = 1;
EDIS;
The above code actually works.
However, if the temperature rises above 37 ° C, it is not reset normally. The watchdog reset works normally until the temperature reaches 37° C after the first boot.
The watchdog reset will behave abnormally if the temperature goes up to 37° C Celsius.
Reset seems to be working, but it seems that the standalone boot is not being handled properly.
Are there any problems with the watchdog reset code above?
Or is there any other way to boot normally after Flash write?
I need only Software reset.