Now that we have a working environment for the Tiva C, we might as well install some IDEs and make it easy to develop complex programs. The main options on Linux are:
- TI’s own Code Composer (an Eclipse IDE with some changes); it can also be installed within an existing Eclipse instance, but it only works with versions 3.8 to 4.0.
- Eclipse itself can be configured so it works with the Linux tools
- If for some reason you want to use Keil, the IDE from ARM itself, you will need to use Wine, as there is no Linux version.
In this post we will talk about the first to IDEs and leave Keil for another day, as the configuration is a little bit more complex in its case. If you want a step-by-step guide for Keil (and Code Composer), I recommend this excellent article.
Code Composer conveniently offers a dependency script the one can use to determine if all necessary packets are installed. I strongly suggest to run it first, as debugging afterwards can be difficult. You can find the full instructions below
#precheck wget http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/scratchpad/depends_0.2.tar.gz mkdir ticheck cd ticheck tar -xzvf ../depends_0.2.tar.gz ./check_depends.sh #install anything needed #download the CCS ./ccs_setup_5.5.0.00077.bin
You will need to choose the following options: Custom-> Tiva C Series ARM MCUs -> Select All -> Select All
If you could not install the drivers from the installer, you need to run another script: sudo /opt/ti/ccsv5/install_scripts/install_drivers.sh
You are now ready to start Code Composer. If you are familiar with Eclipse development, you should have no problem compiling, downloading and debugging code for the Tiva board.
In order to use Eclipse itself, you need to configure it to use the arm compiler and OpenOcd debugger. You can find an excellent tutorial on this page, so I won’t go into further details here.
Similar approaches can be taken with other IDEs, like Netbeans. If you are using another IDEs, do leave a comment and let us know how it’s been working for you.
Lasă un răspuns