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.

Startup File Generation for TM4C129DNCPDT

Other Parts Discussed in Thread: EK-TM4C1294XL, TM4C1294NCPDT

Hi,

I'm doing some development with TM4C129DNCPDT. I'm using Code Composer Studio Version: 5.5.0.00077.

I created empty project with no main file, and only other project setting done was processor selection, and I could see generated startup file named tm4c129dncpdt_startup_ccs.c

One of my colleague tried creating project as per above process, but he did  not observe any startup file generated. He is using the same version of CCS but sitting at different location rather in different country.

What can be the reason for such a inconsistency in generation of startup file?

Actually i posted this query on another forum and I got reply from Amit Ashara. He asked whether my colleague have the same settings when installing CCS as I did. But I don’t understand how CCS project settings could affect genaration of start up file.

Thanks,

Abhay

  • Hi Abhay,

    abhay shinde said:
    What can be the reason for such a inconsistency in generation of startup file?

    Most importantly, both of you have the same CCS version & Tivaware?

    Regards,

    Gautam

  • Hi Gautam,

    We are using same CCS and Tivaware.

    Thanks,

    Abhay

  • Hi Abhay,

        Ask your colleague to download the workbook pdf at the link below. If he follow the steps in creating a new CCS project from the workbook, he/she will have the same startup file as you. One factor could be wrong selection of processor at CCS that would generate a different startup file.

    http://processors.wiki.ti.com/index.php/Creating_IoT_Solutions_with_the_TM4C1294XL_Connected_LaunchPad_Workshop?keyMatch=tiva%20connected%20launchpad%20workshop&tisearch=Search-EN

    - kel

  • I am having the same issue here - I installed the following:

    EK-TM4C1294XL-CCS-786

    SW-TM4C-2.1.0.12573

    TM4C1294CLPWorkshop-1.0.2-Setup

    From the links on the TI website, just today. I had no issues in the installation, it seemed, and I have been following the instructions of Lab 2 of the Wookbook that you have linked to.

    I have ensured that I have selected the correct processor and configurations as noted. I do not see the *_startup_ccs.c in my project's tree, and if I bash on with the workbook exercise, I get an unsurprising result of a failed build with many 'failures' likely due to this missing component.

    Code Composer 5.4.0.00091

     TiveWare 2.1.0.12573

    Launchpad EK-TM4C1294XL with a XM4C1294NCPDT

    An oddity was that the workspace that was directed by the Workbook already has a project called lab02 (though not able to be opened?), so the new project I created was called lab02a.

    Another oddity is that in the 'New CCS Project' window, that there is no listing for TM4C1294x controllers if you select the Tiva C filter, instead they have TM4C129, then a letter, then the suffixes line NCPDT. That's odd, and my chip here on the Launchpad does not even get listed here (with the prefix XM rather than TM). Selecting the filter for listing all devices, I was then able to find something similar enough...

    I was able to overcome this issue by copying the tm4c1294ncpdt_startup_ccs.c file found in lab06 folder of the workshop directory, and the project just built OK.

    But why no automatic generation?

  • Hi David,

         I have a EK-TM4C129 Launchpad and I used the workbook pdf as guide to create new CCS project with the correct startup file generated.

        What is this "missing component" you are mentioning about?

    - kel

  • tm4c1294ncpdt_startup_ccs.c, the very file you installation was able to generate automatically and as-expected.. I have to admit to doing many things to try and resolve the situation, and there may be an additional factors involved - but when I did this and copied in the tm4c1294ncpdt_startup_ccs.c manually from a related lab project folder, I was able to get to a point where I could build successfully and load it onto the Launchpad and got my blinky LED. 

    My remaining question (and perhaps also the fellow who started this thread) - why does CCS not generate/put in the tm4c1294ncpdt_startup_ccs.c as it is expected to, per the workbook?

  • Hi,

        I was able to generate the correct startup file by following the workshop pdf. See, below. I am using CCSV6

    Here below are my settings for creating a New CCS Project

    After I click "Finish", I generate the correct startup file. See, below.

    - kel

  • Huh, your CCS looks different. Here is what I see:

  • Hi,

       I have generated correct startup files using CCS5.5 and CCS6. What is your CCS version?

    - kel

  • 5.4.0.00091, which is the version I downloaded from Ti this morning from this page:

    http://www.ti.com/tool/sw-ek-tm4c1294xl

    then the first link in the table - the Tivaware + CCS link. 

    I got to this link from the evaluation kit page, under the Tiva C Series TM4C1294 Connected LaunchPad Software Packages link. I got the TivaWare from the second link on the same page.

  • Hi,

       You, can download the latest CCS version here below. It is recommended to use the latest version.

    http://www.ti.com/tool/ccstudio

    - kel

  • Will try now - but if this works, this is a horrible trap for somebody who just bought this kit and followed the links from the kit's main page, no matter how 'recommended' it is from the community. Is there a bug tracker to enter this in?

    edit: thanks for the help so far and even on a Sunday!

  • Yep, that fixed it - I am now at CCS Version 6.0.1.00039, and now the ...startup_ccs.c file is generated at project creation time, as expected, and the Lab2 project works just fine right through the build and load into the Launchpad.

    As it says in Lab01 document of the Workshop documents, on page 15 Paragraph 1:

    Download and start the latest version of Code Composer Studio (CCS) 6.x web installer from http://processors.wiki.ti.com/index.php/Download_CCS (do not download any beta versions). 

    OK, yeah, I should have should read the workshop documents more carefully, but I think it is still rotten that the default software download (see links above) are so old; at the very least for your sanity here on E2E - if you are keeping the old stuff up for some reason, let a fellow know that it is old and problems may occur should they try to use it, and that the primary software development link should be to the newest stuff.

    Thanks again my friend from the Philippines. It took me all day to sort this out, but I am on sure footing to get prepared for my upcoming workshop visit this week. 

  • David,

         No problem at all. You, will find that there are others similar to this at TI that are not updated and will give some trouble to new users of TI products. 

    - kel

  • David Goncalves said:

    Another oddity is that in the 'New CCS Project' window, that there is no listing for TM4C1294x controllers if you select the Tiva C filter, instead they have TM4C129, then a letter, then the suffixes line NCPDT. That's odd, and my chip here on the Launchpad does not even get listed here (with the prefix XM rather than TM). Selecting the filter for listing all devices, I was then able to find something similar enough...

    It is likely that CCS v5.4.0 did not include all the required files for supporting TM4C1294x devices, and that those were added in CCS 5.5. There is usually a set of device files that defines things like which files get automatically added when creating a new project. I don't currently have 5.4 installed to confirm this but since you updated your version of CCS and the correct startup files were automatiicaly added, it is possible that the support was missing or not complete in CCS 5.4.

  • Remember to either update or remove the link to the old Tivaware+CCS download I mentioned above; it is linked through the main page for that particular Launchpad device, and caused me a day's worth of grief.

  • David Goncalves said:

    Remember to either update or remove the link to the old Tivaware+CCS download I mentioned above; it is linked through the main page for that particular Launchpad device, and caused me a day's worth of grief.

    I have notified the folks responsible for this software package. Althoug I don't have an exact timeframe, we do plan to have it updated with a new version of TiveWare and CCS soon. Thank you for your feedback.