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.

CCS/TMS320C5515: File is not available even following the steps

Part Number: TMS320C5515


Tool/software: Code Composer Studio

Hello,

My name is André and I have a problem with the Teaching ROM for C5505 eZDSP (e2e.ti.com/.../2040.c5000-teaching-rom). I'm currently using a TMS320C5515, not the C5505, but the procedures are the same for both. I'm actually trying to run some of the programs included in the ROM, but none of them seems to work. I can perfectly build them on CCS v4 and successfully connect to target (run the "Hello World" program on the board and so on), but the problem appears when I have to debug. I receive the following message:

An error was encountered when attempting to load the program.
You may continue with your debug session if you wish to attempt to resolve the issue by performing such tasks as power cycling the device or editing your startup scripts.
Continue launching?

Then if I click on "Yes", nothing happens and a red message appears in the console window saying: File is not available

I've double-checked the procedures and it's all according to the ROM!

Thanks in advance!

André

  • Hi André,

    I've notified the design team. Their feedback will be posted here.

    Best Regards,
    Yordan
  • Hi André,

    Can you please re-confirm that you followed the steps to create a new project as described in CH1 of the teaching ROM?

    You should have started with a blank project with no files. Ensure you have removed any existing linker .cmd file from the project before you add files to the project - the Teaching ROM includes its own .cmd file (lnkx.cmd).

    I went ahead and also uncommented #define C5515_EZDSP on line 162 of csl_general.h when running on the C5515 eZdsp.

    Does your target configuration include the GEL file that initializes the processor when you connect to CCS?

    It could be an issue with CCSv4 itself... See this forum post that reports a similar looking error message with CCS4.1... You might try a newer version of CCS. e2e.ti.com/.../3196

    I have confirmed these files build and run for me on the C5515 eZdsp using the newer CCS6.2.0 (Download here: processors.wiki.ti.com/.../Download_CCS)
    Some options in the project properties menu has moved around in the newer CCS releases, so you'll have to find their new location...
    * Set the Memory Model to huge under Build --> C5500 Compiler --> Processor Optimizations (note I left --silicon_version as 5515)
    * Set the ptrdiffsize to 32 under Build --> C5500 Compiler --> Advanced Options --> Runtime Model Options

    Compare your build log against the build log from my working build pasted below.

    If you cannot get it working still, please attach build log and the log for the .ccxml, which should look like...
    C55xx: GEL Output: Reset Peripherals is complete.
    C55xx: GEL Output: Configuring PLL (100 MHz).
    C55xx: GEL Output: PLL Init Done.C55xx: GEL Output: Target Connection Complete.

    ---------------
    build log:

    **** Build of configuration Debug for project Ch3 ECHO REVERB ****

    "C:\\CCS6_2\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../PLL.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="PLL.d" "../PLL.c"
    'Finished building: ../PLL.c'
    ' '
    'Building file: ../aic3204.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="aic3204.d" "../aic3204.c"
    'Finished building: ../aic3204.c'
    ' '
    'Building file: ../aic3204_init.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="aic3204_init.d" "../aic3204_init.c"
    'Finished building: ../aic3204_init.c'
    ' '
    'Building file: ../bargraph5515.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="bargraph5515.d" "../bargraph5515.c"
    'Finished building: ../bargraph5515.c'
    ' '
    'Building file: ../echo.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="echo.d" "../echo.c"
    'Finished building: ../echo.c'
    ' '
    'Building file: ../main.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="main.d" "../main.c"
    'Finished building: ../main.c'
    ' '
    'Building file: ../oled5515.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="oled5515.d" "../oled5515.c"
    'Finished building: ../oled5515.c'
    ' '
    'Building file: ../pushbuttons5515.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="pushbuttons5515.d" "../pushbuttons5515.c"
    'Finished building: ../pushbuttons5515.c'
    ' '
    'Building file: ../reverberation.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="reverberation.d" "../reverberation.c"
    'Finished building: ../reverberation.c'
    ' '
    'Building file: ../stereo.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="stereo.d" "../stereo.c"
    'Finished building: ../stereo.c'
    ' '
    'Building file: ../usbstk5505.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5505.d" "../usbstk5505.c"
    'Finished building: ../usbstk5505.c'
    ' '
    'Building file: ../usbstk5505_gpio.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5505_gpio.d" "../usbstk5505_gpio.c"
    'Finished building: ../usbstk5505_gpio.c'
    ' '
    'Building file: ../usbstk5505_i2c.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5505_i2c.d" "../usbstk5505_i2c.c"
    'Finished building: ../usbstk5505_i2c.c'
    ' '
    'Building file: ../usbstk5505_led.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5505_led.d" "../usbstk5505_led.c"
    'Finished building: ../usbstk5505_led.c'
    ' '
    'Building file: ../usbstk5515.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5515.d" "../usbstk5515.c"
    'Finished building: ../usbstk5515.c'
    ' '
    'Building file: ../usbstk5515_gpio.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5515_gpio.d" "../usbstk5515_gpio.c"
    'Finished building: ../usbstk5515_gpio.c'
    ' '
    'Building file: ../usbstk5515_i2c.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5515_i2c.d" "../usbstk5515_i2c.c"
    'Finished building: ../usbstk5515_i2c.c'
    ' '
    'Building file: ../usbstk5515_led.c'
    'Invoking: C5500 Compiler'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --include_path="C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 --preproc_with_compile --preproc_dependency="usbstk5515_led.d" "../usbstk5515_led.c"
    'Finished building: ../usbstk5515_led.c'
    ' '
    'Building target: Ch3 ECHO REVERB.out'
    'Invoking: C5500 Linker'
    "C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5515 --memory_model=huge -g --define=c5535 --display_error_number --diag_warning=225 --ptrdiff_size=32 -z -m"Ch3 ECHO REVERB.map" --stack_size=0x200 --heap_size=0x400 -i"C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/lib" -i"C:/CCS6_2/ccsv6/tools/compiler/c5500_4.4.1/include" --reread_libs --display_error_number --warn_sections --xml_link_info="Ch3 ECHO REVERB_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "Ch3 ECHO REVERB.out" "./PLL.obj" "./aic3204.obj" "./aic3204_init.obj" "./bargraph5515.obj" "./echo.obj" "./main.obj" "./oled5515.obj" "./pushbuttons5515.obj" "./reverberation.obj" "./stereo.obj" "./usbstk5505.obj" "./usbstk5505_gpio.obj" "./usbstk5505_i2c.obj" "./usbstk5505_led.obj" "./usbstk5515.obj" "./usbstk5515_gpio.obj" "./usbstk5515_i2c.obj" "./usbstk5515_led.obj" "../55xdsph.lib" "../CSLc55x5h.lib" "../lnkx.cmd" -lrts55h.lib
    <Linking>
    'Finished building target: Ch3 ECHO REVERB.out'
    ' '

    **** Build Finished ****

    Hope this helps,
    Mark
  • Thank you for your response.
    Actually I'm having major difficulties with other versions of CCS, like the 6.2 or 7. I cannot even connect to target on these versions!
    Do you have a complete tutorial to correctly install the CCS 6 or 7 and all the debug packages, etc, for C5515?
    Because it seems that everytime I download a new version of CCS, rather than installing CCS 4 that comes with the CD, I get a whole new problem.

    Thank you in advance!
  • André,

    The original error usually happens when the project did not build because of errors. Can you copy the output of the build console and atttach it here?

    A step-by-step guide of using CCS is shown in the link below:
    processors.wiki.ti.com/.../CCSv5_Getting_Started_Guide

    Regarding the connection to the C5515 eZdsp kit, please check section 7.1 of the page above, or more specifically:
    processors.wiki.ti.com/.../GSG:Common_target_configurations_v5

    Hope this helps,
    Rafael
  • Everytime I try a different method to install CCS, the BIOS and Debug Server, and I'm still having bugs and problems. I'm currently working on Windows 10 x64, with a C5515 eZDSP v2 USB Stick. Can you please guide me to some links to download the correct softwares and packages that will certainly work? I mean, the CCS 6 or 7, the BIOS, Debug, and everything else I need to properly run DSP projects on my notebook? Because I really need to start working...

    And when I install all of those softwares, I still need to configure anything? Or the CCS automatically check if I have the correct BIOS, drivers, and everything else?

  • André,

    The Teaching ROM does not seem to use DSP/BIOS (Mark would know better), therefore a standard installation of CCSv6 or CCSv7 should be enough to get started with it, provided you selected the "C55x ultra low power DSP" family during install. By selecting this you automatically have the C5515 eZDSP USB Stick support installed. 

    If you need DSP/BIOS, you can get it from the CCS App Center. Go to menu View --> CCS App Center and then scroll down to Standalone Software section. There is a box to the DSP/BIOS v5 that will take you to a place to download the latest version that supports all C5500 devices. 

    If you need other libraries you will have to download them separately and follow the installation instructions of each one. The most recommended place to install them is C:\ti. 

    A few libraries that I can think of are: Chip Support Library, DSP Library and Telecom and Media Libraries.

    Hope this helps,

    Rafael