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.

ezdsp F28335 with CCSv9.3.0

Part Number: TDA3LX

Tool/software: Code Composer Studio

 I am trying to connect code composer version9 with target ezdsp F28335. unfortunately, the connection test failing with the following errors. Could you please help me with this matter.  


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

C:\Users\alotaibs\AppData\Local\TEXASI~1\
CCS\ccs930\0\0\BrdDat\testBoard.dat

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

This utility has selected a 560/2xx-class product.
This utility will load the program 'sd560v2u.out'.
E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_conf
Download failed for file C:\ti\ccs930\ccs\ccs_base\common\uscif\xds560v2.out

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 '-250' (0xffffff06).
The title is 'SC_ERR_ECOM_EMUNAME'.

The explanation is:
An attempt to access the debug probe via USCIF ECOM has failed.

[End: Spectrum Digital XDSPRO USB Emulator_0]

  • Saud,

    Is the board in the picture the one you have?

    http://www.spectrumdigital.com/ezdsp-f28335-board-with-code-composer-studio-dsk-tools-and-power-supply/

    The error message states that you have selected a Spectrum Digital XDS560v2 class debug probe.  Do you have such an external debug probe connected to the board or are you directly connecting the board to your PC.  If so that is the wrong type of debug probe.  This is an old board that has an XDS510 class debug probe on it.  This class of debug probe is not supported in CCSv9 and later.  If you want to use this board with CCSv9 I would suggest using a low cost XDS100v2 or XDS110 debug probe to connect the board to your PC.  If you do not wish to purchase a debug probe then another option would be to use CCSv8.3.1 which was the last version to support XDS510 class debug probes.

    Regards,

    John

  • Dear John, 

    Thank you for your prompt response to my request.

    Yes, it is the same board and I will try to use the second suggestion installing CCV8.3.1 Do you think this version of CCS will be compatible with Matlab 2019a.

    Best regards, 

    Saud 

  • Saud,

    That should be good.  THere is a compatibility table here:

    http://software-dl.ti.com/ccs/esd/documents/ccs_matlab.html

    Regards,

    John

  • John, 

    I installed the version of CCS 3.81 and I still have the following errors. Could you please advise on how to proceed with this matter.

    [Start: Spectrum Digital XDSPRO USB Emulator_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\alotaibs\AppData\Local\TEXASI~1\
    CCS\ccs831\0\0\BrdDat\testBoard.dat

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

    This utility has selected a 560/2xx-class product.
    This utility will load the program 'sd560v2u.out'.
    E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_conf
    Download failed for file C:\ti\ccs831\ccsv8\ccs_base\common\uscif\xds560v2.out

    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 '-250' (0xffffff06).
    The title is 'SC_ERR_ECOM_EMUNAME'.

    The explanation is:
    An attempt to access the debug probe via USCIF ECOM has failed.

    [End: Spectrum Digital XDSPRO USB Emulator_0]

    Regards,

    Saud

  • Saud,

    You are selecting the wrong connection type.  You have selected that you are using a "Spectrum Digtal XDSPRO" which is a high end XDS560v2 debug probe with a built in trace receiver.  That is not what is on that board.  In the connection drop down please select "Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator".

    I am not sure if you selected your connection type when creating a project.  If so you can change it by right clicking on your project and selecting properties.  Select General in the tree on the left and then the connection type is on the right.

    If you created a target configuration file (.ccxml) to specify the connection you can open that file in CCS and change the connection type there.

    Regards,

    John

  • John, 

    Thank you for your response.

    I have selected "Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator" as the connection type and then I launch it in debug. However, it is still a disconnection as shown in the attached figures.  

  • It does not look like you have loaded a program.  Basically what I see in the captures is what we call a "project-less" debug session.  i.e. a debug session has been launched for a .ccxml file but it is not associated with a project.  This is fine but you then need to select to load the program manually.  You can do this by clicking on the load button on the tool bar.  The load button looks like a folder with {}.

    If you specify the connection in your CCS projects settings, or copy the ccxml file into your project you can make launching the debugger a lot easier.  Basically once you do that, you simple select your project in the project explorer and then click the bug button.  That will launch the debugger, connect to the board, load the program and run to main().

    Here is a link to a workshop on getting started wtih C2000 and CCS.

    http://dev.ti.com/tirex/explore/node?node=ANJXzL69ZqXoHLjas70yCQ__FUz-xrs__LATEST

    Regards,

    John

  • Hi John, 

     Thank you for the detailed explanation.

    I have imported an example into my workspace and set up a configuration for the example and then i have the following errors as shown below. Please help me to successfully run the program. 

      

    Regards,

    Saud

  • Saud,

    I don't see any errors in your screen capture.  Looks like the program is loaded correctly and you are currently at the first line of the main() function.

    From here you can click the green arrow to run the program or the stepping buttons to step through it.

    Regards,

    John

  • John,

    thank you for your kind cooperation.

    I am using Matlab R2019a and I've made a very simple Simulink model. It only contains an epwm and a sine wave. Now I want to use "Build" to get the necessary files for using the model in CCS3.81. While building the model I always get the error "### Failed to generate all binary outputs." as it is shown in Diagnostic Viewer.

    Best regards, 

    Saud

  • Saud,

    In that build command I can see -I options with paths that include spaces but no quotes around the paths.  For example I see -IM:/My Desktop/DSP/testdsp_ert_rtw

    That path will need to be in quotes.

    Regards,

    John

  • The make command is failing. I don't know why, but I do see a space in the pathname - which may or may not be an issue. CCS3 is very very old, but I believe this should still work / be compatible.

    For more help on the code generation, please contact MathWorks Technical Support directly - they will need a sample model with the error to analyze.

    Cheers,

    -Brian

  • Dear John and Brian, 

    Thank you very much for your comments and suggestions.

    My issue has been solved based on your advice to change the folder path in Matlab.

    Best regards, 

    Saud