Author Topic: Problems installing TivaWare  (Read 9060 times)

0 Members and 1 Guest are viewing this topic.

Offline Jon86Topic starter

  • Frequent Contributor
  • **
  • Posts: 526
  • Country: gb
Problems installing TivaWare
« on: January 11, 2014, 10:05:29 pm »
I've been trying to install TivaWare (The software extension for TI's Tiva C range of MCUs) and I've been having some problems.
I installed Code Composer Studio and TivaWare, but I can't seem to find any of the examples for the Tiva MCUs in CCS. Is there a specific place I should install TivaWare? I just installed it in the default folder. I tried putting the files in the CCS folder too, but to no avail.
Death, taxes and diode losses.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Problems installing TivaWare
« Reply #1 on: January 11, 2014, 10:40:14 pm »
TI is a bit of chaotic. CCS is bundled with an old version of TivaWare. And there are multiple separate TivaWare bundles for different processors. And they haven't fully recovered from the name change from StellarisWare to TivaWare, not all documentation and settings are properly changed. And examples have been moved into special board subdirectories ...

If you can get your FAE to sort it out and send you the right version, including getting the right compiler version. If you can't, look for version 1.1 and version 2.0 of TivaWare for your MCU or the full version for your MCU series.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Problems installing TivaWare
« Reply #2 on: January 12, 2014, 02:03:39 am »
I don't know what "problems" you are having but in your project, you will need to specify the include / library path pointing to the Tivaware location.

There may be also certain defines that you need to implement for your chip.

TI produced a PPT / course material that laid this out clearly.

If you cannot find it, please let me know.

Yes, the CCS project wizard could have been implemented a little bit better.
================================
https://dannyelectronics.wordpress.com/
 

Offline Jon86Topic starter

  • Frequent Contributor
  • **
  • Posts: 526
  • Country: gb
Re: Problems installing TivaWare
« Reply #3 on: January 12, 2014, 12:55:59 pm »
TI is a bit of chaotic. CCS is bundled with an old version of TivaWare. And there are multiple separate TivaWare bundles for different processors. And they haven't fully recovered from the name change from StellarisWare to TivaWare, not all documentation and settings are properly changed. And examples have been moved into special board subdirectories ...

If you can get your FAE to sort it out and send you the right version, including getting the right compiler version. If you can't, look for version 1.1 and version 2.0 of TivaWare for your MCU or the full version for your MCU series.

Ah right, good to know that it's not me just being dumb.
I've installed everything I can find, but there's no sign of it in the actual CCS software.
All the MSP430Ware examples are there in the packages window, but no TivaWare at all.
I was hoping it'd be a bit simpler than this...

Dannyf: My problems are that I can't even start coding or even open an example file, because when it asks which Device I'm using, none of the Tiva chips are in the dropdown.
Death, taxes and diode losses.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Problems installing TivaWare
« Reply #4 on: January 12, 2014, 01:08:30 pm »
Ah right, good to know that it's not me just being dumb.
I've installed everything I can find, but there's no sign of it in the actual CCS software.

You know you need to import examples from the board directory? And you are sure you have the right CCS version with the right license?
« Last Edit: January 12, 2014, 01:10:14 pm by Bored@Work »
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline Jon86Topic starter

  • Frequent Contributor
  • **
  • Posts: 526
  • Country: gb
Re: Problems installing TivaWare
« Reply #5 on: January 12, 2014, 01:23:45 pm »
Ah right, good to know that it's not me just being dumb.
I've installed everything I can find, but there's no sign of it in the actual CCS software.

You know you need to import examples from the board directory? And you are sure you have the right CCS version with the right license?

God this is so much worse than the MSP430s, I've imported the examples, but then it doesn't do anything and when I open them directly I can't work out how to open the entire project and not just one file... I might just use a different IDE.

Well I've got the latest CCS with 82 days left on my trial license.
Death, taxes and diode losses.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Problems installing TivaWare
« Reply #6 on: January 12, 2014, 02:33:29 pm »
Quote
Dannyf: My problems are that I can't even start coding or even open an example file, because when it asks which Device I'm using, none of the Tiva chips are in the dropdown.

Then maybe you downloaded the wrong CCS.

Quote
God this is so much worse than the MSP430s,

It is the same as the msp430 - exactly the same environment, different compilers / linkers.

Quote
but then it doesn't do anything

What does that mean?

Quote
and when I open them directly

What does that mean?

Quote
I can't work out how to open the entire project and not just one file.

Right click on the project.

My advice to anyone trying a new IDE / compiler is always this: read the manual.
================================
https://dannyelectronics.wordpress.com/
 

Offline remixed123

  • Regular Contributor
  • *
  • Posts: 59
  • Country: au
    • Github
Re: Problems installing TivaWare
« Reply #7 on: January 13, 2014, 06:40:37 pm »
I recommend playing around with the examples that come with TI-RTOS, these were made for the Tiva C LaunchPad (which I assume you have) and not for the Stellaris.

You also get to learn about using an RTOS, which is a very nice thing to learn and use. Once you get used to it, it is hard to believe you could work with bare metal. You get a bunch of different type of threads at different priorities, clocks, timers, semaphores, mutexs and a heap of other stuff. And the debug features are great also.

Here are the steps to install the examples:-

1) Make sure you have installed TI-RTOS and the latest version of CCS installed
2) Select TI Resource Explorer from the View menu within CCS
3) Select TI-RTOS  from the Packages drop down
4) Expand ARM - Expand Tiva C Series - Expand Tiva TM4C123GH6PM - Expand Example Projects
5)  Select the example you would like to use or review
6)  Follow the 4 steps present to install and build the example

Glenn.
LightServer - Mobile App controlled, Wi-Fi enabled RGB lighting with music synchronized effects and much more -  https://www.hackster.io/remixed123/lightserver/
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 6002
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: Problems installing TivaWare
« Reply #8 on: January 13, 2014, 09:57:39 pm »
I've installed everything I can find, but there's no sign of it in the actual CCS software.
All the MSP430Ware examples are there in the packages window, but no TivaWare at all.
I was hoping it'd be a bit simpler than this...

Dannyf: My problems are that I can't even start coding or even open an example file, because when it asks which Device I'm using, none of the Tiva chips are in the dropdown.
Are you sure you selected the Tiva support while installing CCS? The absence of devices in the dropdown indicate your install does not have any Tiva support installed...

Also, the number of days indicates you installed with the complete (but time limited) full license for all devices and all JTAG debuggers. You should be able to add the Tiva device family to your CCS by re-running the installer and pointing to the destination directory you used originally. Sometimes this fails and requires a full reinstall, but I would try this first. A quick remark: for the Tiva devices, the license is free with no time/codesize limitations if you keep using a launchpad, a dev kit or the cheap XDS100 emulator.

Tivaware is not recognized automagically by CCS. Since you mentioned the MSP examples (and is probably familiar with the view named TI Resource Explorer that pops out in front of you right from the start), you can add the TivaWare package by clicking on the small icon with a yellow folder close to the "Packages" drop-down menu and pointing to the Tivaware install directory (it is installed by default in the C:\ti\Tivaware_C_series-1.0). Once you do that, the Tivaware gets added just like the MSP430ware.

In addition to others' suggestions, please check this starter guide:
http://processors.wiki.ti.com/index.php/Getting_Started_with_the_TIVA%E2%84%A2_C_Series_TM4C123G_LaunchPad

(...) CCS is bundled with an old version of TivaWare. (...)
CCS is bundled with MSP430ware, not Tivaware...

Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Problems installing TivaWare
« Reply #9 on: January 14, 2014, 06:03:20 am »
you can add the TivaWare package by clicking on the small icon with a yellow folder close to the "Packages" drop-down menu and pointing to the Tivaware install directory (it is installed by default in the C:\ti\Tivaware_C_series-1.0).

C:\ti\TivaWare_C_Series-2.0.1.11577 - Or maybe even later. Unless you happened to get some old bundled version with CCS.


(...) CCS is bundled with an old version of TivaWare. (...)
CCS is bundled with MSP430ware, not Tivaware...

Tell that TI. They bundle all sorts of stuff. E.g. EK-TM4C123GXL-CCS Which happens to be CCS with fragments of old TivaWare 1.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 6002
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: Problems installing TivaWare
« Reply #10 on: January 14, 2014, 12:49:37 pm »
C:\ti\TivaWare_C_Series-2.0.1.11577 - Or maybe even later. Unless you happened to get some old bundled version with CCS.
Yep. You are right; the version I have was installed some time ago - it works for me, so I don't update it... :)

Tell that TI. They bundle all sorts of stuff. E.g. EK-TM4C123GXL-CCS Which happens to be CCS with fragments of old TivaWare 1.
I am not sure where you got CCS that is bundled with TivaWare, but if you download one from its main download site you can be sure Tivaware is not bundled.
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Problems installing TivaWare
« Reply #11 on: January 14, 2014, 02:01:19 pm »
Quote
you can be sure Tivaware is not bundled.

2nd that.
================================
https://dannyelectronics.wordpress.com/
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 6002
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: Problems installing TivaWare
« Reply #12 on: January 14, 2014, 02:43:25 pm »
Actually, B@W may be on to something: I was downloading the new release of TivaWare and found at the bottom of the download page several "bundled" versions including one with CCS (EK-TM4C123GXL-CCS-781.zip).

I just finished downloading both (the standalone Tivaware and the bundled). The bundled has old versions of both: CCSv5.4 and TivaWare 1.1.

So, I guess the best way is to download all components separately...
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf