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.

  • Resolved

CCS/TM4C1294NCPDT: CCSv7.1.0.00016 and Energia 18, Fresh Install, Cannot Debug or Run Code

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

  1. Ubuntu 16.04 LTS, 64-bit
  2. CCSv7.1.0.00016
  3. TM4C1294NCPDTI3 with Stellaris ICDI
  4. A detailed and reproducible test case: Fresh install of CCSv7 Offline Installer. Fresh install of Energia 18. Open CCSv7, Create a new workspace, select 'Project > New Energia Sketch', Energia Version set to 18, select 'Built-in Examples > 01.Basics > Blink.ino', selected device: 'LaunchPad (Tiva C) w/ tm4c129 (120MHz), select 'Finish'. Right Click 'Blink" project in the Project Explorer, select "Build Project'. Project builds fine. Push F11 (or select 'Debug Blink' from the toolbar). Code is uploaded, but there is no entry point, and the debug 'Resume' button is grayed out. 'Blink' runs fine in Energia itself. TI's compiler runs examples imported from Tivaware just fine. So, what's going on here, and how do I fix this?

I will post logs below.

  • Here's the Eclipse/CCS Log: 3000.Eclipse Log.log

    Here's the Debug Server Log: ccsv7-Debug Server Log.log

    Finally, here's the Installation Log: Installation Log.log

  • In reply to Phil LaFayette10:

    Okay, so I just switched over to Windows 8.1, performed a fresh install. Same issue; code compiles fine, uploads, switches to 'Debug' view, and 'Resume' icon is grayed-out, and I cannot run code. This is extremely frustrating.

  • In reply to Phil LaFayette10:

    TI Folks - Please reference this thread: e2e.ti.com/.../2152558

    For posterity, here's my related post on Energia's 43oh forums here: forum.43oh.com/.../
  • In reply to Phil LaFayette10:

    This seems easily fixable/explainable... Is this at least on somebody's radar??

  • In reply to Phil LaFayette10:

    The stack pointer register is wrong.

    Here's CCSv6 and Energia 17, Working: 

    Here's CCSv7 and Energia 18, Not working: 

  • Guru 144855 points

    In reply to Phil LaFayette10:

    I can reproduce this and there does appear to be a bug somewhere in CCSv7. I will file a bug report so this gets looked at.

    In the meantime, you can use the following workaround.

    1) Make a copy of the file tm4c1294ncpdt.gel found in \ccsv7\ccs_base\emulation\gel
    2) Edit the copied file and add the following text:

    OnPreFileLoaded()
    {
    GEL_AdvancedReset("System Reset");
    }

    3) Open the .ccxml file found in the \targetConfigs folder in the CCS project, go to the Advanced tab, and set the Initialization script to the modified gel file. Save the target config file.

    After this, the debugger should halt properly at the start of the program. Let us know if this helps!

    ____________________________________________________________________________

    Please click This Resolved My Issue if the reply answers your question.

    Search the wikis for common questions: Compiler, CCSv6, CCSv7
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

  • In reply to AartiG:

    Thanks AartiG; I had actually discovered this, and posted the workaround on the relevant 43oh post here: forum.43oh.com/.../10294-ccs-v7-and-energia-cannot-debug-or-run-code but I forgot to do the same here on E2E.
  • Guru 144855 points

    In reply to Phil LaFayette10:

    The tracking # for this CCS bug is CCBT-2079.

    ____________________________________________________________________________

    Please click This Resolved My Issue if the reply answers your question.

    Search the wikis for common questions: Compiler, CCSv6, CCSv7
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

  • In reply to AartiG:

    Thanks AartiG,

    Sounds like it might be (have been?) a solution to same problem I'm seeing after import of my first Energia project into CCSv7... Mileage is similar to that see by others here: Code compiles great, debugger is triggered, even appears to be running fine. But no output to terminal, no apparent execution, in fact, of code.

    Interface does present me the JTAG Frequency entry box, but no way to set the initialization script - which I've duly edited to include indicated missive.

    What next?
  • In reply to AartiG:

    AartiG - Am not presented any Target Configuration initialization script setting in CCS7 - how to direct the target to use my newly-modified gel file?

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.