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 Tiva wizard does not add startup code

Other Parts Discussed in Thread: TM4C123GH6PM, UNIFLASH

I have been working through the TM4C123G Launchpad workshop workbook and can't seem to get the CCS new CCS project wizard to include the necessary startup/vector table code. (CCS  Version: 5.4.0.00091)

The file specified in the workbook (tm4c123gh6pm_startup_ccs.c) only seems to exist in the uniflash installation, which is where I eventually managed to manually copy it from. The uniflash installation seems to have setup files for most other device derivatives too.

Now, I have been able to find what I assume is a generic startup_ccs.c file in the Tivaware examples tree, and one occurrence in the CCs tree, but it is not added by the CCS project wizard as indicated in the workbook.

Have things changed or did I do something wrong? (I notice that some of the labels in the workbook screenshots are different to what I get listed in my CCS installation but no idea if these are critical or not)

Can the generic "startup_ccs" be used for all device derivatives?

As expected using the tm4c123gh6pm_startup_ccs.c file seems to work correctly on the launchpad but I have not tried the generic version yet. (It looks the same, but there might be some subtle difference I missed).

BR,

Steve

  • Hello Steve,

    I tested the new project wizard on CCS v5.4.0.00091 and it seems to be adding the startup file to the project for the "Empty Project (with main.c)" template. Can you post a screen shot or a list of how you have the fields set for the "New CCS Project" dialog?

  • I have a feeling that my installation is just too old, the file simply does not exist in the CCS tree anywhere.

    I thought my installation was reasonably up to date, but reading further in the workshop instructions I see 5.5 is what is expected.

    I am currently installing 5.5. and will see what happens with that.

    In the meantime, here is a screenshot of my settings for a new project in 5.4...

    After the wizard closes these are the files I have in the project...

    BR,

    Steve

  • Exactly the same result with 5.5 :(

    BR,

    Steve

  • Hi Steve,

    The settings for the new CCS project look fine.  There may be some other packages installed causing a conflict with the CCS project wizard.  Can you check the project folder to make certain the file wasn't created?  It looks like from your screen shot that it would be in your users directory workspace_v5_2\Test.

    We may need to solicit input from the CCS team to get some insight on the new project wizard mechanisms.

  • I also get the same results on my home system.

    The main deviation I can think of from the workshop procedure is that I already had CCS installed for other devices (DaVinci, Sitara, etc...) and updated to include the Tiva devices.

    My office computer was on 5.4 and I updated to 5.5 a few days ago, including all the devices. Home was slightly older I think but again I updated to 5.5 (installed fresh rather than using the 'update' feature so both installations are present)

    As I mentioned previously I simply could not find the *startup_ccs.c file anywhere at all in the CCS installation tree. Where should this be located so that the CCS wizard can copy it?

    I will work with Rafael and post our results here.

    Thanks for your thoughts so far :)

    BR,

    Steve

  • OK, so I think we have worked this out...

    The installer does not correctly install everything if certain directories already exist.

    This was an issue in my installation where I had installed V5.4 without all devices then later tried to install v5.5 since they both install to the "ccsv5" directory.

    I installed the full version (not the updater, and not the web version) of V5.5 over the existing v5.4 (both default to "ccsv5" installation directory) and the startup files were not copied to their installation directory, hence could not be copied by the new project wizard since they didn't exist.

    So, I renamed the existing "ccsv5" directory and re-installed and hey-presto the project wizard now includes the startup code correctly.

    My conclusion therefore is that the installer incorrectly assumes that if certain directories already exist then do not update them even if new/different devices are selected.

    BR,

    Steve