Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Note about project generator

...

GOAL with Code Composer Studio

Extract the provided GOAL delivery. GOAL example projects for ccstudio 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:

  1. Choose an approriate project at commandline

    Code Block
    user: ~ cd GOAL/projects/goal_eip/opener/01_simple_io/gcc
  2. 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.

...

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.