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/TMS320F28335: Problems connecting Spectrum Digital eZdspf28335 to CCS7 via onboard USB emulator

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hello! I am new to Code Composer and embedded programming on TI devices.

Experiencing some difficulties getting an eZdspf28335 board to communicate with CCS7 and wondering if anybody can help or tell me what I am doing wrong.  Here is the system and the issues:

Operating System: Windows 10, Version 1607, HP 90SBGRUS Laptop, Intel Core i3-7100U 2.4GHz CPU 

Code Composer Studio: Version 7.2.0.00013

Board: Spectrum Digital eZdsp F28335 (Texas Instruments TMS320F28335 Digital Signal Processor)

Emulator: None of the product documentation I have looked at explicitly states what the onboard emulator for the eZdspf28335 is, however a reply from a TI employee in this thread suggests that it is the 'Spectrum Digital DSK-EVM-eZdsp onboard USB emulator'.

Having said this, a different TI employee in another thread here has mentioned that the built-in emulator on this board is the 'Texas Instruments XDS100v1 USB Debug Probe'. 

It looks as if the emulator on this particular device may be the Spectrum Digital DSK-EVM-eZdsp, based on some crude diagnostics that I have explained in more detail below.

(I don't currently have access to a standalone/external emulator; the built-in board device is the only means of connection).

Unfortunately after several days of experimenting and delving through forum posts, documentation etc I am still unsuccessful in getting the eZdspF28335 and CCS7 to communicate.

My initial objective is simply to load an example program (Example_2833xEPwmDeadBand, downloaded from Resource Explorer) onto the dsp just to get started and familiarise myself with the platform.

When trying to set up a new 'Target Configuration' for the project in order to establish a connection with the board, it keeps getting stuck on two possible outcomes:
Firstly I create a new .ccxml file, and double click it to open the Target Configuration widow. I also link this .ccxml file to the project and ensure it is set as 'Active/Default'.
When selecting 'Spectrum Digital DSK-EVM-eZdsp onboard USB emulator' from the 'Connection' drop-down list, and either 'EZDSPF28335' OR 'TMS320F28335' as the board, the 'Test Connection' button in the Target Configuration is greyed out after I press 'Save' and I am not able to verify whether there is a connection.
When selecting 'Texas Instruments XDS100v1 USB Debug Probe' from the 'Connection' drop-down list, and either 'EZDSPF28335' OR 'TMS320F28335' as the board, I press 'Save', and in this case it is now possible to click on 'Test Connection'.
I have attempted this with both 'EZDSPF28335' and 'TMS320F28335' as the board, and in both cases, the same error message results:

[Start: Texas Instruments XDS100v1 USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\nickj\AppData\Local\TEXASI~1\CCS\
ti\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.

An error occurred while soft opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-600' (0xfffffda8).
The title is 'SC_ERR_LIB_ANY_LOCATE'.

The explanation is:
A required dynamic library could not be located.
The library isn't on the search path.

[End: Texas Instruments XDS100v1 USB Debug Probe_0]

Reading through existing forum posts on this subject, and working through the Debugging JTAG Connectivity Problems page suggests that this error usually occurs as a result of missing/incorrect installation of drivers for the board. However:

I have tried completely uninstalling and re-installing CCS7, as well as CCS3.3 and the 'eZdsp28335 Drivers and Target Content' that was provided on CD with the original kit, restarting the computer after each respective installation. The  'jioserdesusb.dll' file is present in c:\ti\\ccs_base\common\uscif and any other directories that look like they might be relevant.

Windows Device Manager detects and correctly identifies the eZdsp when it is plugged into any of the computer's 3 USB ports:

It looks like it has been possible to get *some* kind of connection using the legacy 'Code Composer Studio V3.3 setup' utility from the original kit CD. Here it is possible to select 'eZdsp_f28335' as the board, and the dialog window shows 'Connection Type: SDDSKUSB Emulator'. 

Would this suggest that the onboard emulator is the Spectrum Digital DSK USB emulator, rather than the Texas Instruments XDS100v1?

I am also able to select 'Debug>Connect to Target' in CCS3.3. When this happens, an icon in the corner tells me that we are connected to the target but in a 'HALTED' state, and a 'Disassembly' window full of a lot of assembler code appears. 

Does anyone have any advice? I am completely out of ideas. Apologies is advance if there turns out to be an existing thread that could answer this, but have tried to read through existing e2e posts pretty extensively already to solve this on my own.

Thanks

Nick

  • Nick,

    The on-board debug probe is the "Spectrum Digital DSK-EVM-eZdsp onboard USB emulator".   In the thread you found that mentions XDS100v1 they eventually figure out that it is the older board with the "Spectrum Digital DSK-EVM-eZdsp onboard USB emulator".  There are a number of F28335 boards out there with different probes/emulators on them.

    You won't be able to use the test connection button for this connection. That feature is only available if the probe provides a compatible utility for it.

    I don't have the F28335 ezdsp board but I do have an F2808.  I was able to test this out with CCSv7.2 on windows 7.

    Can you try the following in CCSv7:

    • Create a new project for F28335.  Project -> New CCS Project.
    • Select EXDSPF28335 as the device/board
    • Select "Spectrum Digital DSK-EVM-eZdsp onboard USB emulator" as the connection
    • Select "empty project (with main.c) as the template
    • Click finish
    • Then make sure the project is selected in the project explorer.
    • Click the bug button.  This will build the project and attempt to load it and start the debugger.
    • Does that work?

    As far as Debug->Connect to target in CCSV3.3.  That is going to start the debugger and connect to the device.  The disassembly window will open up as no program has been loaded.

    Regards,

    John 

  • Hi John,

    Thank you very much for such a speedy reply. I followed your instructions and the CCS window is looking like this:


    Does this seem good? Are there any other displays you would like to see? No error messages seem to have appeared. 

    Regards

    Nick

  • Nick,

    Everything looks good. It has connected, loaded the program and run to main.

    Regards,
    John