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.

New project step by step

I am working on my first project using CC4 and I am looking for a step by step tutorial.  We are using a C5515 and we have been playing with the EVM5515 but now its time to create a project for our hardware.

All the tutorials seem to explain how to create a project using an existing target/evaluation board with the tcf and cmd files already built.   What do I need to do to create a target specification for our specific hardware?

I am using DSP/BIOS and I read that the linker command file is generated for you but I don't see it.

Is there a way to program the SPI flash?.  The wiki page has files for the EVM and eZdsp evaluation boards.  Would either of these work for our board?


 

  • Hi,

    Did you check the CCSv4 Getting Started Guide? It contains a tutorial to create a project step-by-step that can easily be adapted to any hardware.

    The Linker CMD files are specific to each device but can also be modified to configure additional devices in a custom hardware configuration. Check the page below that contains some additional tips on how to modify them.

    http://processors.wiki.ti.com/index.php/Linker_CMD_Files_for_CCS

    Since you are using DSP/BIOS, you are correct: the linker command file is created for you according to what is specified in the .tcf file. They are located in the output directory (either Debug or Release) and is usually named <name_of_tcf_file>cfg.cmd

    You can also have additional linker command files that specify customized memory sections. Simply copy them to the project directory where your source files are.

    Details are in chapter 5 of the  DSP/BIOS user's guide. A link to it is shown in the page below:

    http://processors.wiki.ti.com/index.php/Before_asking_for_BIOS_support

    CCS itself does not support programming external flash memory devices, as this process is highly dependent on the type of flash memory device used on the board – not to mention to which port it is connected (SPI? I2C? EMIF?). Therefore this must be done programatically by the user's application.

    Hope this helps,

    Rafael 

     

  • Yes I have gone through the getting started guide.  When I run "File->New->DSP/BIOSv5.xx Configuration File", it wants me to select a platform from a list.  What platform do I specify for my board?

    The page below talks about the boot image programmer.  It asks to download files for either the EVM or ezDsp evaluation boards.  The page seems to indicate that the 5515 has a built in updater.  Will either of the download files work on my board?

    http://processors.wiki.ti.com/index.php/C5515_Boot-Image_Programmer

    Robert

     

  • Hi,

    You can use ti.platforms.evm5505.

    It depends on what type of flash memory you're using. You try both programmer.

    Regards,

    Hyun

  • Robert,

    That is the screen I see in CCSv4.2.4 to select the platform - my best guess is that the EVM5515 is the closest to your existing board, since you used it as a base for your development.

    Once you created the .tcf file, you can change the device features and the memory configurations to match your custom board.

    Although I never used the boot image programmer, from a pure CCS standpoint it should work just fine. However, its success will be dependent on how you designed your hardware board - the flash memory devices and their connection to the DSP (SPI, EMIF, etc.) must be equivalent or identical to the DSK/EVM or changes to the programmer source code may be needed. Also, the frequency of operation of the device is mentioned in the page you sent, therefore it is an important factor.

    Unfortunately I am not the best person to talk about the device itself, therefore if any changes are required due to hardware changes I suggest you getting the help from the experts in the device forum.

    Hope this helps,

    Rafael

  • I have created a new CCS project named "2681 FTIC" but I didn't use the default workspace folder location and I used the 5505 platform.  When I build I get the following link errors:

    cannot find file "./2681 FTICcfg_c.obj"

    cannot find file "./2681 FTICcfg.cmd"

    cannot find file "./2681 FTICcfg.obj"

    Is there a path setting I need to update?