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.

TMS570LC4357: System Exception Status Register: External Reset Flag and WD Flag

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Hello,

Last days I was working implementing a DWD in a HDK, using FreeRTOS and generating the code with HALCOGEN 4.07.

After the WD reset, the external reset is not flagged, so the getResetSource function never returns the proper reset source.Only WD reset flag is enabled (0xFFFFFFE4=0x2000)

To get it properly working getResetSource nested ifs should be changed. 

In addition I must modified the _c_int_00 (reset function) to get the system working again after a WD reset.

Is this exceptional behaviour of my proccessor? Or is there a bug in the halcogen getResetSource code?

Related post:

https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/889559?tisearch=e2e-quicksearch&keymatch=watchdog%20dont%20activate%20external%20reset

Thanks in advance,

Aizkibel