Differences

This shows you the differences between two versions of the page.

chibios:community:guides:tiva_chibistudio [2015/03/02 23:37] (current)
marco created
Line 1: Line 1:
 +====== How-To: Tiva + ChibiStudio ======
 +This guide describes how to setup ChibiStudio with support for the Texas Instruments Tiva devices (TM4C123x and TM4C129x).
 +Note this is the first draft of the guide so it may contain inaccuracies or errors. When you find an error please report it in the [[http://forum.chibios.org/phpbb/viewforum.php?f=29|Tiva Support]] section of the forum.
  
 +  - Download the latest ChibiStudio from [[http://sourceforge.net/projects/chibios/files/ChibiStudio/|Sourceforge]] and install it by following the installation guide.
 +  - Start ChibiStudio and close the Welcome window.
 +  - Click File > Switch Workspace and select "C:\ChibiStudio\workspace30".
 +  - Click File > Import...
 +  - Select "Existing Projects into Workspace" and click "next".
 +  - Click "Browse..." to select the root directory.
 +  - Select the folder "C:\ChibiStudio\chibios3\community\demos\TIVA" and click "ok".
 +  - Select the Tiva demo projects you want to import.
 +  - Make sure that "Copy projects into workspace" is disabled and click "Finish"
 +  - In the Project Explorer click on the "View Menu" arrow and click "Select Working Set...".
 +  - Click "New...", select "C/C++" and click "next".
 +  - Choose a working set name, for example: "ChibiOS 3 Tiva Demos".
 +  - Select the projects you just included and click "finish".
 +  - Select the working set you just created and click "Ok".
 +
 +For the TM4C123G Launchpad:
 +  - Right click on the RT-TM4C123G-LAUNCHPAD demo and click Build.
 +  - Make sure the TM4C123G Launchpad is connected to the PC with a USB cable.
 +  - Click Run > External Tools > OpenOCD on ICDI (prompts for .cfg target configuration).
 +  - Go to C:\ChibiStudio\tools\openocd\scripts\board and select ek-tm4c123gxl.cfg.
 +  - Click Open.
 +  - Click Run > Debug Configurations...
 +  - Select RT-TM4C123G-LAUNCHPAD (OpenOCD, Flash and Run) and click Debug.
 +
 +For the TM4C1294 Connected Launchpad:
 +  - Right click on the RT-TM4C1294-LAUNCHPAD demo and click Build.
 +  - Make sure the TM4C1294 Connected Launchpad is connected to the PC with a USB cable.
 +  - CLick Run > External Tools > OpenOCD on ICDI (prompts for .cfg target configuration).
 +  - Go to C:\ChibiStudio\tools\openocd\scripts\board and select ek-tm4c1294xl.cfg.
 +  - Click Open.
 +  - Click Run > Debug Configurations...
 +  - Select RT-TM4C123G-LAUNCHPAD (OpenOCD, Flash and Run) and click Debug.
 
chibios/community/guides/tiva_chibistudio.txt · Last modified: 2015/03/02 23:37 by marco
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.3