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.

CCS/EK-TM4C1294XL: CCS 7 "Reset the target on a connect" has no effect when loading a program

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: ENERGIA

Tool/software: Code Composer Studio

When debugging a program in EK-TM4C1294XL using CCS 7.1.0.00016 with TI Emulators 6.0.579.0 under Windows 7 wanted to assert a system reset when started a debug session, in order to place the peripherals into their default state, by setting the "Reset the target on a connect" option:

When a debug session is started the target is not reset, as indicated by the peripheral registers not being reset (e.g. LEDs connected to GPIOs stay lit whereas the GPIOs should be tri-stated on a reset).

CCS 7.0.0.00042 with TI Emulators 6.0.579.0 behaves the same as CCS 7.1.0.00016.

Whereas CCS 6.2.0.00050 with TI Emulators 6.0.579.0 does reset the target when starting a debug session with "Reset the target on a connect" selected.

Has there been a change between CCS 6.2.0 and CCS 7.0.0 w.r.t. the handling of the "Reset the target on a connect" option?

  • Chester,

    Yes this is a known issue in CCSv7 that we are tracking in CCBT-2079. Although the bug description references "Energia code not halting at main", the underlying reason is that the System Reset is not occurring as expected. We hope to have this fixed in CCS 7.3. Until then a workaround is to modify the GEL file to perform a System Reset prior to Program Load (in the OnPreFIleLoaded() call-back function).