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.

Creating New Project In CCS v4.1 for C28xx Processor

Hi all,

 

Can i get the help from u people For Creating the project,

I want to know the steps for creating new project for TMS320c2810 iam using XDS100 Emulator,

In Creating a new project,

1. What are the configuration to be done.

2. What are the basic files to be included.

I have worked using example projects but i want to do new, Can anyone suggest in this,

 

Thanks ,

 

Regards,

Manu

  • Manu,

    One way to start is just to run the new project wizard.  From the file menu select New->CCS Project.  Give your project a name.  For the project type select C2000.  When you get to the device properties page.  You need to select that you are using a TMS320C2810, this device can be selected in the right hand drop down.

    Next make sure you have a linker command file selected for this device.  For some device families it automatically selects this for you but for C28x it currently does not.  Use the drop down to select 2812_RAM_lnk.cmd.  This will setup the linker to place your program in RAM.

    When you click finish you will have a project that is setup to build for 2812.

    Next I would suggest adding a target configuration file.  Right click on your project and select New Target configuration.  Give the file a name.  When the wizard opens select Texas Instruments XDS100 v1 as the connection (unless it is a v2 that you have) and then select TMDS320C2810 as the device.  Click the save button.  You now have a target configuration file for the debugger as part of your project.  Then you can go ahead with adding your own source code.  When you have something you are ready to try out just click the bug button and it will build your project and launch the debugger.  

     

    There is some other useful info here: http://tiexpressdsp.com/index.php/C2000_Getting_Started_with_Code_Composer_Studio_v4

     

    Regards,

    John

     

     

  • Hi John,

    Thanks for the valuable reply,

    I followed the same method and now i had connected eZdspF2818 Board with  Texas Instruments XDS100 v1,

    By creating a hello world project,

    But it is showing following error,

    C28xx: GEL: Warning loading file 'C:\Program Files\Texas Instruments\ccsv4\emulation\gel\f2812.gel', line 103: the function 'GEL_OpenWindow' is not supported.
    C28xx: GEL: Warning loading file 'C:\Program Files\Texas Instruments\ccsv4\emulation\gel\f2812.gel', line 112: the function 'GEL_CloseWindow' is not supported.
    C28xx: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.

    please suggest me in coming out of this, It will be great help for me.

    Thanks ,

     

    Regards,

    Manu

     

  • It looks like some of the 28x startup GEL files have unsupported legacy GEL calls that were supported in 3.3 but no longer in v4 (GEL_OpenWindow() and GEL_CloseWindow). These calls should be removed.

    I filed a bug for this: SDSCM00035921 

    Thanks

    ki

  • Hi Ki-Soo Lee,

    Thanks for your valuable reply,

    If Possible please update the GEL files,

    Which can be used for our further work,

    I Expect i can get the Solution for this ASAP,

     

    Thanks & Regards,

    Manu

  • I've filed the bug you can track it with the number I posted. But if you need a fix ASAP, I'd suggest you modify the files yourself. The workaround is to simply remove the unsupported GEL calls which are mentioned in the error message.

    Thanks

    ki