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.

CSL_55xx target config gel and 5515eZdsp target config gel question

Other Parts Discussed in Thread: TMDX5515EZDSP

Hi,

Using a SpectrumDigital 5515 eZdsp usbstick here and trying to run the CSL v4 examples.

The eZdsp came along with its own gel and a default target configuration has been created ok for it.

Also the SpectrumDigital board tests/examples are running ok and when I load them as projects, only one target configuration is visible in CCS4 the one I initially created and the projects folder there contain no other target config on their own, only the user defined is visible.

 

In order to run though the CSL v4 examples the release notes (C55XCSL-LOWPOWER-2.01.00.00_Release_Notes_20100329.pdf) mention this

"To run CCS v4 examples, first copy the contents of c55xx_csl\build\c5505evm_pg20.gel into
c55xx_csl\ccs_v4.0_examples\c55xxevm.gel. Then, use this file c55xxevm.gel as your
source of gel commands. (In your CCS v4 Example directories, your *.ccxml emulator target
file is prebuilt to point to this gel file name.)"

 

The question is should I follow blindly this release notes direction, or should I instead copy the SpectrumDigital provided 5515eZdsp gel file in the place of ccs_v4.0_examples\c55xxevm.gel ?

 

Also when I import the CSL v4, I notice that in the target configurations I do not have now only the one target config that I created, but for every CSL project there is also another target configuration, the EVM5505.

 

Here then comes another question, should I leave these as they are or should I change these project target configurations to what the user defined one has?

 

Thanks for any answer,

Christos

 

 

 

  • Hi Christos,

    Good questions.

    I have compared both GEL files, and feel that either file would work with the CSL and the eZdsp.

    However, I would continue to use the GEL file from Spectrum Digital with the eZdsp.

    As long as you do not launch those other target configurations, they will not affect the debugger. You can leave them or delete them. Just continue to use the target configuration (and GEL file) that has been working.

    Thanks for bringing this topic to our attention. Let us know if you have any problems

    Hope this helps,
    Mark

  • Hi Mark,

    All SpectrumDigital projects do compile and run ok so the overall setup and connections looks ok (CCS version: 4.1.1.00014).

    When I try to run any example from the CSL on the C5515eZdsp I get this "Error initializing emulator" error and when I click on Cancel to close the error then CCS is crashing out with another error box

    8585.CCS_C5515eZdsp_error.pdf

    That happened even when the default target configuration was the user defined one, which I put in place according to SpecDig.

     

    I tried then to delete what the CSL was having (even as not being default) as a target configuration with what is my current working default target config

    0361.CCS_Target_Config_change.pdf

     

    And then I managed to succesfully connect and run the examples on the eZdsp !!

     

    Yet again some examples did work ok and provided a Succesfull Pass, others though like the I2S which I'm interrested did not.

    the succesfull DAT test

    CSL DAT Test!

    Test for DAT Channel No : 0  - Successful
    Test for DAT Channel No : 1  - Successful
    Test for DAT Channel No : 2  - Successful
    Test for DAT Channel No : 3  - Successful
    Test for DAT Channel No : 4  - Successful
    Test for DAT Channel No : 5  - Successful
    Test for DAT Channel No : 6  - Successful
    Test for DAT Channel No : 7  - Successful
    Test for DAT Channel No : 8  - Successful
    Test for DAT Channel No : 9  - Successful
    Test for DAT Channel No : 10  - Successful
    Test for DAT Channel No : 11  - Successful
    Test for DAT Channel No : 12  - Successful
    Test for DAT Channel No : 13  - Successful
    Test for DAT Channel No : 14  - Successful
    Test for DAT Channel No : 15  - Successful

    CSL DAT Test Passed!!

     

    This is the I2S failed tests console output

     

    CSL I2S DMA MODE TEST!

    I2S Module Instance opened successfully
    I2S Module Configured successfully
    I2S Reset Successful
    I2S Close Successful
    I2S Read & Write Buffers doesn't Match!!!

    CSL I2S DMA MODE TEST FAILED!!

     

    CSL I2S INTERRUPT MODE TEST!

    I2S Module Instance Open Successful
    I2S Module Configuration Successful
    I2S Write Successful
    I2S Read Successful
    I2S Reset Successful
    I2S Close Successful
    I2S Read & Write Buffers doesn't Match!!!

    CSL I2S INTERRUPT MODE TEST FAILED!!

     

    CSL I2S POLLED MODE TEST!

    I2S Module Instance opened successfully
    I2S Module Configured successfully
    I2S Reset Successful
    I2S Close Successful
    I2S Read & Write Buffers doesn't Match!!!

    CSL I2S POLLED MODE TEST FAILED!!

    Any help appreciated (before I dive myself into the CSL I2S failed code)

     

    Regards,

    Christos

     

  • Can anyone from TI help here regarding the TMDX5515EZDSP ?

    It seems to me that C55XCSL-LOWPOWER CSL library cannot be used in TMDX5515EZDSP, is that true?

     

  • Hi Christos,

    The CSL examples are written for the EVM5515, so the configuration of the periphals (DMA, I2S, etc.) in the examples will work on the EVM.

    The eZdsp has different hardware schematics: Different external memories on different chip selects, different I2S channel to communicate with the AIC3204 Codec, etc.

    Both the EVM and the eZdsp have the same C5515 DSP, so the same CSL works with both boards.

    Take a look at the two board schematics to see what parameters you need to pass to the CSL functions until more C5515 eZdsp examples emerge.

    Also check out section 6. Known Issues and Caveats in C55XCSL-LOWPOWER-2.01.00.00_Release_Notes_20100329.pdf
    for limitations with the LCD, NAND, and USB-MSC examples. These issues are being addressed in the next incremental release. This PDF file is placed in the CSL install path upon installation.

    C5515 eZdsp Support Page: http://support.spectrumdigital.com/boards/usbstk5515/

    EVM5515 Support Page: http://support.spectrumdigital.com/boards/evm5515/

    Hope this helps,
    Mark

  • Thank you Mark,

     

    I did had a look on the schematics targeting the USB module.

    No chip select or any power LDO differences noticed, so basically the two circuits are the same with the exeption of  the 12MHz signal generation but this is not so important (IMHO) since the end result is the same signal generated and feeded to USB_MXI, yet again and specifically for the simple USB DMA example

    TMS320VC55XCSL-LOWPWR\c55xx_csl\ccs_v4.0_examples\usb\CSL_USB_DmaExample

    although expected to work, it seems that it does not even start to enumerate thus not working at all.

     

    A provided SpectrumDigital's simple USB project does work ok so with this I verify that all connections and components are in place, but allas it does not use DMA.

     

    Is there anything that I might overlook, either on the schematics or somewhere else?

    In the CSL_USB_DmaExample project exists a VC5505_USB.cmd file and its contents have some differences from a .cmd file in the relevant SpectumDigital simple USB example project, does this play a significant role here?

     

    Thanks,

    Christos

     

     

     

  • Ok,

    Everything is fine now, I just reinstall everything and it worked.