This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Experminter's Kit - Piccolo F28027 - Creating a new project

Other Parts Discussed in Thread: CONTROLSUITE

Hey guys,

im trying to create my first project for the F28027 Launchpad with CCS, but it isn't working.

Here is my approach:


1. Install CCS for the C2000 Series

2. Install the Control Suite

3. Configure a new target configuration (Experimenter's Kit - Piccole F28027 with Texas Instruments XDS100v2 USB Debug Probe)

4. Create a new project and attache the target configuration from 3.

Now i want to program the F28027 with the Direct Register Access Model:


1. Link the headers from f2802x_common\include (becuase of the DSP28x_Prject.h)

2. Link the headers from f2802x_headers\include

3. Add the F2802x_GlobalVariableDefs.c-File

4. Add the F2802x_Headers_nonBIOS.cmd-File

When i try to compile this project i get some errors:

Got anyone a solution for this?


Thanks!

  • Tom,

    It looks to me as if you are missing a linker command file.  You have the file for the header files, but nothing which defines the memory and allocation for the standard program sections.  Try adding the file "28027_RAM_lnk.com".  If you have installed controlSUITE in the default location you can find it at:

    C:\ti\controlSUITE\device_support\f2802x\v230\f2802x_common\cmd 

    Regards,

    Richard

  • Hey Richard,

    first of all thanks for your quick help.

    When i'm adding the 28027_RAM_Ink.cmd the F2802x_Headers_nonBIOS.cmd is automatically set disabled.

    I found this in the 28027_RAM_Ink.cmd:

    // In addition to this memory linker command file,
    // add the header linker command file directly to the project.
    // The header linker command file is required to link the
    // peripheral structures to the proper locations within
    // the memory map.
    //
    // The header linker files are found in <base>\f2802xX_headers\cmd
    //
    // For BIOS applications add: F2802xX_Headers_BIOS.cmd
    // For nonBIOS applications add: F2802xX_Headers_nonBIOS.cmd

    But i got no clue, how to use both of the linker-files.

    And which linker-file should i select in the properties?

    Edit//

    Okay i unchecked "Exclude from Build" but the question of which file i should select in properties isn't answered yet.

  • Tom,

    You need both files, and as long as you add them to the project explorer window and the path is set up you should be able to build the project.  As far as project properties is concerned I'm not sure I follow.  You need to have the path added to CCS Build-> C2000 Linker -> File Search Path" so the tools can find the .cmd files, but that's all.  

    Where in properties are you selecting the actual files? 

    Regards,

    Richard

  • I copied the linker-command-files to the project folder, so i don't link the path from the control suite to my C2000 Linker.
    My project is working at the moment and i was able to program a simple ePWM.

    The selectmenu for the linker command file is Properties->General
    In the struct examples of the control suite the F2802x_Headers_nonBIOS.cmd is the selected linker file.