Other Parts Discussed in Thread: UNIFLASH
watch dog is used in the FW and service watch dog every 10ms. if watch dog is not be serviced with 13.1ms, the device will be reset.
In the main loop, CpuSysRegs.RESC.bit.WDRSn will be checked if the device is reset by watch dog.
the problem is that after downloading the Hex output file to TMS320F28377S, if the chip's power is still on, CpuSysRegs.RESC.bit.WDRSn is found to be 1.
after power off and then on, CpuSysRegs.RESC.bit.WDRSn will be cleared.
if downloading .out file to the chip, there's no watchdog problem and CpuSysRegs.RESC.bit.WDRSn is 0.
why does watch dog reset happen when loading Hex file?