Hello everyone,
I'm using the DSP TMS320F28335 with the eZdsp dev board and a custom hardware.
I'm able to successfully flash (and debug) the DSP when using Code Composer Studio 5.5 through our XDS560v2 debuggers. That's fine.
However, for internal reasons and process purposes, I have to flash the code executable through the XDS560v2 Debugger, via USB and JTAG, without using Code Composer Studio. The only more or less documented solution I found is using the (unmaintened ?) SDFlash tool.
But I can't get it to work.
I followed the following guides:
- emulators.spectrumdigital.com/.../SDFlash2833x_Readme.pdf
- http://www.ti.com/lit/an/spraaw0/spraaw0.pdf
- c2000.spectrumdigital.com/.../ezf2812_qsg.pdf
This is the message I have when trying to flash my program with the SD Flash tool:
MSG: Loading flash image file
ERR: Failed emulation connection to the target
I think there is a driver set-up problem. Below is the complete SD Flash project configuration I use:
- Processor: C28x
- Driver: C:\CCS5.5\ccsv5\ccs_base\emulation\drivers\tixds560c28x.dvr => I think the problem comes from here. My Debugger is the XDS560v2 and not the XDS560. However I can't find any "tixds560v2" .dvr file on my hard drive. I'm sure the XDS560v2 is installed on my PC and working fine because I daily flash and run debug sessions with the XDS560 v2 USB debugger and CCS5.5 since six months. I have a seedxds560v2.sys file in C:\CCS5.5\emulation\win32 but I can't select it in the SDFlash project driver selection dialog box which only accetps *.dvr files.
Also note that my debugger is recognized by Windows and listed in the Windows' Peripherals Manager as the name "SEED XDS560v2 USB".
- Emulator Address/Id: I set 513 because I'm using a PC USB Port. However in the box on the left it automatically chooses XDS510USB. I don't think it's correct.
- Board File: C:\CCStudio_v3.3\specdig\SDFlash\myprojects\tif2833x_v2_1\ccBrd028x.dat
- Processor name: cpu_0
- Erase Tab - Algorithm file: C:\CCStudio_v3.3\specdig\SDFlash\myprojects\tif2833x_v2_1\f28335\flash28\Debug\SDFlash28335_Erase.out (I downloaded it on Spectrum Digital website)
- Erase Tab - Timeout: 3000 (default)
- Erase Tab - User Options 1: 00FF (default)
- Programming Tab - Algorithm file: C:\CCStudio_v3.3\specdig\SDFlash\myprojects\tif2833x_v2_1\f28335\flash28\Debug\SDFlash28335_Program.out
- Programming Tab - Flash Data File: The path to my .out file
- Programming Tab - Timeout: 3000 (default)
- Verify Tab - Algorithm file: C:\CCStudio_v3.3\specdig\SDFlash\myprojects\tif2833x_v2_1\f28335\flash28\Debug\SDFlash28335_Verify.out
- Verify Tab - Timeout: 3000 (default)
- Verify Tab - User Options 1: 0F0F (default)
- Verify Tab - User Options 2: 001F (default)
Any help would be greatly appreciated in order to elucidate this problem.
Thanks in advance.