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.

TM4C123GE6PZ: Debugger connects and fails alternately

Part Number: TM4C123GE6PZ

I'm working with an application that has been in production for some time, but on a small number of boards it doesn't run after programming.  If I connect the debugger (a MikroProg for Tiva) to the board, it loads sometimes but not others with no changes between attempts.  When it does connect, running in the debugger fails and execution ends up off in the weeds.

I know the clock signal is good because it drives another micro on the board which works correctly.  I know the PLL setup succeeded and the Locked bit remains set.

I'm running CCS Version: 7.4.0.00015 on Windows 10 with the TI compiler v16.9.6.LTS.

I've attached a debug server log including a failed attempt to connect, and a successful one followed by the erratic execution.

Any insights welcome!

pcb115209_debug.log

  • Hi John,

    We don't have much experience with MikroProg so I'm not sure how much support I can provide. I do see that you are using an old version of CCS so my first recommendation is to try upgrading to the latest CCS version (10.3.1). If that does not help, please generate a DS log for 10.3.1 and I will send that off to engineering in hopes that there is something in the log that may be useful. I would also recommend reaching out the the vendor for support: https://www.mikroe.com/support

    Thanks

    ki

  • Hi Ki,

    Since upgrading to the latest version of CCS is something we'd have to do as a department, I wondered about trying out the latest version so I could (hopefully) report that the migration involved little or no risk.  I couldn't find in the forum whether it was possible / advisable to run 2 versions of CCS on the same machine, can you direct me to any related info?

    I know the issue largely boils down to the compiler version.  For part of our project we rely on a fairly old compiler (TI v5.2.9) because support for a couple options we require (legacy COFF output among them) was deprecated some time after that version.  I presume the latest CCS still supports this compiler, but if I'm mistaken that would be important info.  It's a long story, but updating the tools is a potentially complicated and time-consuming issue for us, which we'll have to address, but now is not the time.

    Any guidance welcome.

    Thanks,

    John

  • I couldn't find in the forum whether it was possible / advisable to run 2 versions of CCS on the same machine, can you direct me to any related info?

    This is supported. It is recommended that each CCS installation should have/use its own separate workspace folder. If you plan on running both versions at the same time, then this is a requirement.

    For part of our project we rely on a fairly old compiler (TI v5.2.9) because support for a couple options we require (legacy COFF output among them) was deprecated some time after that version.  I presume the latest CCS still supports this compiler, but if I'm mistaken that would be important info. 

    Yes, you can use old version of the compiler with new versions of CCS. Please see:

    https://dev.ti.com/tirex/explore/node?node=AJRfIGmBSkp9naUDysxAFg__FUz-xrs__LATEST

    Thanks

    ki