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.

TMDS3240130SP2: HALCoGen still seems to be generating incorrect start code

Part Number: TMDS3240130SP2
Other Parts Discussed in Thread: HALCOGEN

Hello Support,

As reported in this post, I have noticed that HALCoGen still seems to be generating incorrect startup code:

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/693755/tms570lc4357-data-abort-after-software--or-watchdog-triggered-reset

In particular, the following two issues:

  1.  The getResetSource() function does not seem to correctly report many reset types such as SW_RESET and WATCHDOG_RESET
  2. The _c_int00 function does not handle some reset types such as SW_RESET and WATCHDOG_RESET.

I am using HALCoGen 4.07.1.

Can you provide startup code that correctly detects and handles the various reset types?

Thank you for your time.

--Geoff