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.

TMS570LS31x: Program does not reach main but instead jumps to reset shortly after entry point

Other Parts Discussed in Thread: HALCOGEN

Hi Ki,

1.

Thank you for excluding the connection as a problem.

Following your post, disabled the auto run, reached the entry point, from here stepping “F5” or “F6” is jumping to reset. Can’t step through until (2).

Now, the next step would be to disable the WDT.

Possible way:

http://www.ti.com/lit/ug/slau132t/slau132t.pdf

page 78, option: --cinit_hold_wdt

 

2.

Added –cinit_hold_wdt=on flag to the linker:


 

rror #10427-D: The symbol "WDTCTL_SYM" is unresolved. This symbol is required when --cinit_hold_wdt=on is used. The issue is mostly likely thatyour device does not support holding the watchdog timer when performing C auto initialization.

 

Then found the symbol:


the preprocessor __ARM_ARCH macro, on compiler:

www.ti.com/.../spnu151t.pdf

on page 40: -mv7r4, should have been set.


Do you have a better alternative?

 

--

Kind regards,

Alexander