Problems installing TivaWare - Page 1
Forum section: electronics / general

author: Jon86
author_rank: Frequent Contributor
timestamp: January 11, 2014, 10:05:29 pm
content: 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.

author: Bored@Work
author_rank: Super Contributor
timestamp: January 11, 2014, 10:40:14 pm
content: 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.

author: dannyf
author_rank: Super Contributor
timestamp: January 12, 2014, 02:03:39 am
content: 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.

author: Jon86
author_rank: Frequent Contributor
timestamp: January 12, 2014, 12:55:59 pm
content: Quote from: Bored@Work on January 11, 2014, 10:40:14 pmAh 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.

author: Bored@Work
author_rank: Super Contributor
timestamp: January 12, 2014, 01:08:30 pm
content: Quote from: Jon86 on January 12, 2014, 12:55:59 pmYou know you need to import examples from the board directory? And you are sure you have the right CCS version with the right license?

author: Jon86
author_rank: Frequent Contributor
timestamp: January 12, 2014, 01:23:45 pm
content: Quote from: Bored@Work on January 12, 2014, 01:08:30 pmGod 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.

author: dannyf
author_rank: Super Contributor
timestamp: January 12, 2014, 02:33:29 pm
content: QuoteThen maybe you downloaded the wrong CCS.QuoteIt is the same as the msp430 - exactly the same environment, different compilers / linkers.QuoteWhat does that mean?QuoteWhat does that mean?QuoteRight click on the project.My advice to anyone trying a new IDE / compiler is always this: read the manual.

author: remixed123
author_rank: Regular Contributor
timestamp: January 13, 2014, 06:40:37 pm
content: 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 installed2) Select TI Resource Explorer from the View menu within CCS3) Select TI-RTOS from the Packages drop down4) Expand ARM - Expand Tiva C Series - Expand Tiva TM4C123GH6PM - Expand Example Projects5) Select the example you would like to use or review6) Follow the 4 steps present to install and build the exampleGlenn.

author: rsjsouza
author_rank: Super Contributor
timestamp: January 13, 2014, 09:57:39 pm
content: Quote from: Jon86 on January 12, 2014, 12:55:59 pmAre 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_LaunchPadQuote from: Bored@Work on January 11, 2014, 10:40:14 pmCCS is bundled with MSP430ware, not Tivaware...

author: Bored@Work
author_rank: Super Contributor
timestamp: January 14, 2014, 06:03:20 am
content: Quote from: rsjsouza on January 13, 2014, 09:57:39 pmC:\ti\TivaWare_C_Series-2.0.1.11577 - Or maybe even later. Unless you happened to get some old bundled version with CCS.Quote from: rsjsouza on January 13, 2014, 09:57:39 pmTell that TI. They bundle all sorts of stuff. E.g. EK-TM4C123GXL-CCS Which happens to be CCS with fragments of old TivaWare 1.

author: rsjsouza
author_rank: Super Contributor
timestamp: January 14, 2014, 12:49:37 pm
content: Quote from: Bored@Work on January 14, 2014, 06:03:20 amYep. You are right; the version I have was installed some time ago - it works for me, so I don't update it...Quote from: Bored@Work on January 14, 2014, 06:03:20 amI am not sure where you got CCS that is bundled with TivaWare, but if you download one from itsmain download siteyou can be sure Tivaware is not bundled.

author: dannyf
author_rank: Super Contributor
timestamp: January 14, 2014, 02:01:19 pm
content: Quote2nd that.

author: rsjsouza
author_rank: Super Contributor
timestamp: January 14, 2014, 02:43:25 pm
content: Actually, B@W may be on to something: I was downloading the new release of TivaWare and found at the bottom of thedownload pageseveral "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...