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.

What's wrong with TivaWare?

Hi,

I bought a DK-TM4C129X and currently I am trying to make the first project work with MentorGraphic CodeBench.

I imported TivaWare to the IDE, but found that none of the projects are ready to run. The projects reference a different target EKC-LM4F232 rather than TM4C129x. I have to manually change it so that the IDE won't complain about the target differences and start the debug session. After I set up the proper target, the project still could not run completely. It was soon trapped into the unhandled watchdog interrupt.

This is strange to me, because I am expecting the sample code to be straightforward and ready to run out of the box. The projects I imported to the IDE are under the folder TivaWare_C_Series-2.0.1.11577/examples/boards/dk-tm4c129x, why they should reference the wrong target? Also, has anybody tested TivaWare with CodeBench when it was released? It looks like the relationship between TI and MentorGraphic is not so smooth... as the result, customers like me will have to struggle with it.

  • Hi,

       Based from this post below, it is recommended to use the latest CodeBench version.

       Tiva support by Menter Graphic CodeBench

    - kel

  • Tianlei,

    Seems you do not have the latest Tiva version; also seems TI droped the support for CodeBench, no reason known. Instead, the GCC support is still available.

    Petrei

  • Hi Retrei, thanks for reminding me about TivaWare version. I am surprised to find that TivaWare does not provide CodeBench support anymore (no project file for CodeBench find in the latest TivaWare). From my experience, CodeBench works pretty well for us, the environment is open to the user and you have the total control over the compilation and linking process. This kind of openness gives the user much freedom in development. 

    I believe TI is making another bad decision (first being discontinuing Stellaris chips) by dropping CodeBench support. It forces us to search for new development tool ( I know there are good tools out these, but I think CodeBench is the most suitable one for us).

    Does TI really care about their customers when making decisions?

  • Hi,

    Maybe because now TI included a GCC distribution in their CCS ApStore in latest version 6, and to avoid any further complications. Now you may use that GCC inside CCS, with all benefits. Take care.

    Petrei

  • Heh, the title led me to think there would be a list of complaints about Tivaware rather than an integration issue.

    On the issue of IDE integration I prefer using a standard editor and build system rather than relying on IDEs.  I get more flexibility and less version shock by doing so.  The downside is that I actually have to understand what's going on. The upside is that I have total control over the build process including forcing that the source must pass lint and all test cases before a build is allowed.

     

    Robert

  • To those who are interested in this topic:

    If you have DK-TM4C129X and want to set up the TivaWare sample project on MenterGraphic CodeBench IDE, you need to:

    Use TivaWare C_Series-2.0.1.11577 that comes with the board on TI's website;

    Import the project by loading the .sgxx file;

    Change the correct board type to TI Tiva TM4C129X from EKC-LM4F232

    check the local link script file in the project, make sure the __cs3_isr.. definitions is valid. For example, in FontView sample project, the link script has:

    __cs3_isr_adc3 = TouchScreenIntHandler;

    but __cs3_isr_adc3 is not a legal name in CodeBench's board definition, it has to be changed to __cs3_isr_adc03;

    After this, compile the project and everything should be ok.

  • Another important note is:

    If you use graphic library (grlib), the library must be built without optimization or with optimization level 1 (O1), any other option will not work.