...
GOAL with Code Composer Studio
Extract the provided GOAL delivery. The GOAL delivery contains several pre-built example projects for Code Composer Studio. The delivery also contains a fully functional project generator, to build projects on your own.
Info |
---|
Please keep the path length as short as possible and extract the GOAL delivery in for e.g. a root directory to ensure proper project functionality. This is important as some windows versions have a restriction regarding path sizes. |
Generate projects with GOAL
Info |
---|
This step is optional as several pre-built example projects are provided within the delivery. This might be interesting, if you want to create your own projects. |
To generate a project:
Choose an approriate project at commandline
Code Block user: ~ cd GOAL/projects/goal_eip/opener/01_simple_io/gcc
Invoke project generator and choose appropriate platform
Code Block user: ~/GOAL/projects/goal_eip/opener/01_simple_io/gcc make gen_project No platform selected, choose a platform - OR - press <CTRL+c> and set the PLATFORM environment variable. Choose platform: [ 1] ti_ek_tm4c1294xl (gcc,gdb,ocd) ... python3 /home/user/GOAL/projects/goal_eip/opener/01_simpleio/gcc/../../../../../tools/make/gen_project/gen_project.py gen_project ----------- Project: goal_eip__opener__01_simple_io__ti_ek_tm4c1294xl Templates: tools/make/gen_project/templates/ccstudio/ti/ti_ek_tm4c1294xl Generating: .ccsproject .cproject .project ti_ek_tm4c1294xl.ld tm4c1294ncpdt.cmd tm4c1294ncpdt_startup_ccs.c readme.txt Tiva TM4C1294NCPDT.ccxml Output dir: D:/msys64/home/user/GOAL/projects/goal_eip/opener/01_simple_io/gcc/../ccstudio/ti/ti_ek_tm4c1294xl
Tip |
---|
The created project can now be imported. |
Import Projects into Code Composer Studio
Several pre-built GOAL example projects for ccstudio are provided with this delivery, these are located at projects/<protocol>/<application>/ccstudio/ti/ti_ek_tm4c1294xl/.project.
Open the ccstudio and select “Import projects…” [1]
Select “CCS Projects” [2] and select “Next >” [3]
Browse search-directory by “Browse” [4] and navigate to the extracted GOAL delivery [5]
Choose the appropriate protocol directoy and apply with “Select” [6]
Select the discovered project and “Finish”
...
Importing the project is described here: https://portgmbh.atlassian.net/wiki/spaces/GOALR/pages/edit-v2/1277001755#Code-Composer-Studio
The project supports by default two different configurations:
...
The compiler is selected at build-time by hitting “Build…” at the toolbar. After the succesful build, the Debug Session is started by hitting “Debug…” at the toolbar.
Debugger
The provided GOAL examples make use of the In Circuit Debug Interface of the Development kit. However, it is possible to use any other supported Debugger setting the option “Connection” at “Properties”->”General”->”Project”.
...
The Debugger must be connected through the JTAG interface with the target, like shown below.
Downloads
...
Tiva Bootloader is started, instead of the properly flashed application. This behavior is controlled by the BOOTCFG register of the device. To start the flashed application, the GPIO PH0 must be connected to 3.3V with a Pull-Up resistor. To Debug the device, the resistor must be removed again.