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.

DSP/BIOS platform eZdsp5515

Hi,

 

For CCS4.1 and DSP/BIOS 5.41

Although I do find references for evm5505,dsk5505 and ezdsp5505, I cannot find anywhere any platform for the 5515 eg evm5515, dsk5515, ezdsp5515.

I'm interested specifically for ezdsp5515 which is the platform we use here, so whenever I put this

utils.loadPlatform("ti.platforms.ezdsp5515")

in the .tcf I get a "Can't find Platform.tc[ip] file for 'ti.platforms.ezdsp5515' " error.

 

Is there any solution to this?

 

Thanks for any answer,

Christos

 

  • Christos,

    I think this is what you are looking for:

    You can apply the patch to CCSv4 that is on the CD that comes with the C5515 eZdsp.

    Execute SetupUSBSTK5515.exe, which is located under <CD>\install_images\emulation\sd_targets\SetupUSBSTK5515.exe

    When prompted for a path to install to, enter the path to your CCSv4 directory (C:\Program Files\Texas Instruments\ccsv4\)

    This patch installs C5515 files, including test code, to the following directories:

    ccsv4\emulation\boards\usbstk5515_v1

    ccsv4\common\targetdb\boards

    ccsv4\common\targetdb\Devices

    ccsv4\common\targetdb\Modules\C5515

    Regards.

  •  

    Hi Tommy,

    Thanks for this but its not giving what I asked.

    I'm already using the CCS that was distributed with the SD package and my installation contains already these files.

    I've installed initially the SD version and followed all updates posted ftom TI for CCS.

    Yet again there is no DSP/BIOS platform file for the eZdsp5515 nor for anything else of C5515 flavor.

    Simply put, when someone wants to create a new DSP/BIOS configuration out from scratch, there is no available option as a platform for any C5515 (eZdsp,evm,dsk,etc) only for 5505.

    When we do right-click on project->New->DSP/BIOS v5.xx configuration file

    then in the next platform selection screen there is no available option for any C5515.

    6675.CCS_DSPBIOS_C55xx.pdf

     

    I hope this could be solved somehow.

    Regards,

    Christos

     

     

     

  • Christos,

    Oops, didn't read closely enough.  Not sure when C5515 BIOS config will be added, but you should be able to create a BIOS configuration that you can use until there is an official release.  I see in the latest release on BIOS 5.41.03.17 and XDCTools 3.16.03.36 there is support for C5515 and the C5515 EVM.  The procedure for creating a new platform is described in SPRU007 which is located in the BIOS \docs folder.  Section 4.2 describes how to do this, but was written for an earlier release of BIOS which had a different folder organization.

    I've never tried this before so it will be a hack.  I'll work on it, but might take some time.  If you want to try what I am going to go to this folder: C:\Program Files\Texas Instruments\xdctools_3_16_03_36\packages\ti\platforms.  This has all the predefined platforms.  I plan to compare \evm5505 to \ezdsp5505 Platform.tci files.  Then take the \evm5515 folder and create a \ezdsp5515 folder and make same type of modifications as done between the 5505 targets.  There may be some additional changes required because the C5515 eZdsp has external memory on the EMIF while the VC5505 eZdsp doesn't.

    Unless some other kind soul has already done this and wants to share with us???

    Regards.

  • Christos,

    The platform definitions are now completely "owned" by xdctools, i.e. they are not part of BIOS 5.4x.  As Tom mentions, xdctools 3.16.03.36 has support for evm5515.  When creating your configuration simply click the "Modify" button and point to the xdctools_3_16_03_36 directory as I show below:

    Then you will have an option for evm5515.

    Brad

     

  • Thanks for the hint.

    I've manually downloaded xdctools_3_20_00_41, installed it and now it displays a evm5515.

    Yet there is no eZdsp5515 (which is the board we use here) even on this latest version of xdctools.

    Since there is not easy way for me to figure out how to create such file in a proper manner, I guess I have to wait until Tommy can help here or TI gets it out hopefully in the next version.

     

    Christos

     

  • We don't always make an official "platform" for every single board.  There's no need.  Just use evm5515 and if there's a difference in the amount of external memory you can make that change in your tcf.

    If you really want to make your own platform this is something you can do on your own.  The procedure is documented in Chapter 4.2 "Creating Custom Platform Files" of the TCONF User's Guide.

  • I really cannot understand why you have done this for eZdsp5505 and you will not do it for eZdsp5515 although it has differences.

    From what I see TI is giving this for every board so I expect to see it in a feature release of the tools.

    I do not see the logic of leaving us out on a limb on this.

  • Christos,

    The eZdsp5515 will be added to the tools release, but isn't the highest priority at the moment.  As Brad mentioned you can create a DSP/BIOS project for the eZdsp5515 by specifying the evm5515 and then modifying the external memory map.  From BIOS perspective that is the only difference between the targets.  The evm5515 configuration is available starting with DSP/BIOS 5.41.03.17 and XDC Tools 3.16.03.36.

    If you really want to have a ezdsp5515 configuration now and not wait until it is released in DSP/BIOS and XDC Tools, then you can do the following:

    1. Go to folder C:\Program Files\Texas Instruments\xdctools_3_16_03_36\packages\ti\platforms\ (default location).
    2. Create folder named \ezdsp5515.
    3. Go to folder \evm5515 in the same \platforms folder and copy Platform.tci to your newly created \ezdsp5515 folder.
    4. Open \ezdsp5515\Platform.tci file in a text editor.
    5. Find the line: * !DESCRIPTION 55XX!  Spectrum Digital evm5515 board.  and change it to: * !DESCRIPTION 55XX!  Spectrum Digital eZdsp5515 USB Stick.
    6. Find the line: * !NAME! ti.platforms.evm5515 and change it to: * !NAME! ti.platforms.ezdsp5515.  The name is critical, so make sure this is accurate.
    7. Find the line: mem_ext[1] =.  This begins the description of the external memories available on the EVM which are not available on the eZdsp Stick.
    8. Delete the two structures mem_ext[1] and mem_ext[2] so that the external memory definition now matches the target you want to use.
    9. Find the line: *  @(#) ti.platforms.evm5515; 1, 0, 0,6; 2-23-2010 16:59:30; /db/ztree/library/trees/platform/platform-k32x/src/.
    10. Change ti.platforms.evm5515 to ti.platforms.ezdsp5515.
    11. Save the modified Platform.tci file.

    This completes the creation of the ezdsp5515 definition and you can now create a BIOS project  in CCSv4.  When you go to create your BIOS configuration file you will need to specify the \platforms folder where you created the ezdsp5515 definition.  Also to build correctly you need to do the following in CCSv4:

    1. Make sure memory model matches between project and BIOS.  You should be using the Huge memory model for the C5515 DSP.
    2. Modify properties of project.  Right click on project and select Properties.  Then select C/C++ Build options.
    3. Under the Tools Settings tab go down to TConf Script Compiler and look in the RH pane at Command window. 
    4. Make sure version of Tconf being called is in the same XDCTools folder as your \ezdsp5515 definition.  The environment variable "XDC_CG_ROOT" may not be correct.
    5. To check the setting for XDC_CG_ROOT go to Macros tab and look at the setting under System Macros window.
    6. If it is not pointing at the correct version of XDC Tools then replace XDC_CG_ROOT with path to the correct XDC Tools installation folder.
    7. Now go to the General Options under Tool Settings -> TConf Script Compiler.
    8. The upper window is named Configuration import path.  You need to add path to the /packages folder in XDC Tools where ezdsp5515 definition resides.
    9. Use the Add button (plus sign on top of document icon) to create an entry window.
    10. Tick the check box for the Huge memory model in the under the Configuration import path window
    10. Click OK to save your changes to the properties dialog.
    11. Open properties dialog for your .tcf file in your BIOS project and make the same changes you made at the project level.
    12. Click OK to save your changes.

    You should now be ready to go.

    Regards.

  • Tommy thank you for this detailed answer.

    I've followed it and I bumped onto something else when I tried to use the new eZdsp5515 or even with the already defined evm5515

    =========

    js: "C:/Program Files/Texas Instruments/xdctools_3_16_03_36/include/utils.tci", line 947: Error: Can't load platform definition 'ti.platforms.evm5515': Error: Can't load 'ti/bios/config/bios_5515.tci': Error: Can't find import file: 'ti/bios/config/bios_5515.tci' (not found along 'C:\Program Files\Texas Instruments\xdctools_3_16_03_36\packages\ti\platforms\evm5515/;;C:/ti/boards/C5515eZdsp/WorkSpace/hello;C:/Program Files/Texas Instruments/bios_5_41_02_14/packages;C:/Program Files/Texas Instruments/xdctools_3_16_03_36/include;C:/Program Files/Texas Instruments/xdctools_3_16_03_36/packages')
    =========

    It needs a "bios_5515.tci" for the new defined eZdsp5515, but it also needs it for the original TI evm5515.

    I've checked the whole C:\Program Files\Texas Instruments\ for any occurence but it has not been found here, any hint?

     

    Christos

     

  • Christos,

    You need to upgrade to a newer version of BIOS.  You have \bios_5_41_02_14/packages defined above and you need to have at least 5_41_03_17.  If you look in your BIOS folder \bios_5_41_02_14/packages you will see that there is no bios_5515.tci in that release.  I think I mentioned this in my last post.. 

    You can get newer versions of BIOS through our Embedded Processors Wiki: http://processors.wiki.ti.com/index.php/Main_Page.  Go down towards the bottom of the page and look for Related Wiki and Project Sites.  Under that heading you select the Target Content Downloads link and it will take you to a page where you can find the latest releases. 

    Once you make the upgrade, make sure you change the BIOS version for your project.  It is under Project Properties in the CCS Build section.

    Regards.

  • Tommy,

     

    Finally we made it work. Thanks a million.

    Indeed your instructions are right on spot and it was my mistake not to upgrade the BIOS, I forgot it and focused only on XDCTools.

    I just did my first clean eZdsp5515 DSP/BIOS project and it compiles ok.

    Thanks again for your excellent support and been so patient with me  :-)

     

    Christos

  • Christos,

    Glad you are up and running.  Hopefully this will help others as well until C5515 eZdsp is added to CCSv4.

    Regards.

  • Tommy,

    I've made these changes and get the following erro when trying to start a debug session.

    file "C:/Program Files/TI3/bios_5_41_04_18/packages/ti/bios/lib/bios.a55L<fxn.o55L>" specifies large memory model, which is not compatible with huge memory model specified in a previous file or on the command line  hellobios5 line 0 1280422436237 419

    How can I fix this?

    thx

    MikeH

     

  • Mike,

    You need to match the configuration used in the build properties with the BIOS library you are using.  The memory model for your source code is specified in the Build Properties -> C/C++ Build -> Tool Settings tab -> C5500 Compiler -> Runtime Model Options.  Towards the middle is "Specify memory model".  For C5515 the only valid choses are Large and Huge.  Huge is recommended. 

    The L in the extension .a55L is what specifies that this library is for Large Memory model.  To change the BIOS library selection you stay in the Too Settings tab and scroll down to TConf Script Compiler -> General Options.  The Huge memory model selection is the 3rd check box.

    You need to match memory model for source code and libraries to get the compile to complete successfully.

    Regards.