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.

TDA3XEVM: TDA3x Users Guide Demo

Part Number: TDA3XEVM

Hi, 

I recently purchased D3Engineering TDA3x Starter kit, however they do not include their documentation but only the documentation from TI (Vision SDK TDA3xx - User Guide). 

First of all, I am totally new to this and I am aware that a lot of scripting needed to be done so I am stuck here.

I am currently trying to load the program using CCS and there is this first type which I am confused. Do I copy the file from the zip file and then paste them into the ccsv6/ccs_base directory? 

Then how do I "change the GEL" and "set VISION_SDK_CONFIG to 1"? Do I do them at cmd? Please help I am totally new to cmd scripting. 

Thanks 

Ding

  • Hello Ding,

    Yes, basically extract the zip content in ccs_base folder (it may ask you to replace already exsiting files if any). After you extract the package over, make sure it is intsalled properly. Restart CCS and creteate a new target configuration, select TDA3x, save, and test the connection.

    For the script altering, just locate the gel in ccs_base\emulation\gel\TDA3x\TDA3xx_multicore_reset.gel and edit it with a text editor. Set
    #define VISION_SDK_CONFIG 1

    Hope it helps,
    Alex
  • Hi Ding,

    You need to unzip in the directory C:\ti\<ccs_version>\ccs_base. This will add gels and device related files in correct location.
    Then you should the gel file using an editor say notepad++. The gel file TDA3xx_multicore_reset.gel is present in path C:\ti\<ccs_version>\ccs_base\emulation\gel\TDA3x\TDA3xx_multicore_reset.gel.

    Regards,
    Rishabh
  • Thanks Alex for your reply.

    However, I am still not able to connect to the board. With the below setup. 

    And the error code when I test the connection is as below. 

    [Start: Spectrum Digital XDS560V2 STM USB Emulator_0]

    Execute the command:

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

    [Result]

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

    C:\Users\Ding-PC\AppData\Local\TEXASI~1\

       CCS\ti\1\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\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 XDS560V2 STM USB Emulator_0]

    [Start: UARTConnection_0]

    Execute the command:

    The Diagnostic Command is not defined in the connection properties.

    FYI, I have already set the USB to UART port to COM6 at device manager. However, the actual cable is a USB to microusb cable. Not sure if this is the reason it couldn't connect. 

    Thanks again for your help. 

    Ding

  • Ding,

    I am under the impression you are using SD XDS560V2 JTag right, not just an UART COM port? Have you installed the JTag drivers?

    thanks
    Alex
  • Hi Alex,

    No unfortunately. My starter kit only consist of LAN, USB to microUSB and the board. You may see the complete set as below. Are there alternative to use the USB cable only to load the program?

    Below is the snapshot of the board I have from D3Engineering. It seems like the jtag is needed to connect to the bottom of the board. 

    Thanks for your reply again. 

    Ding

  • Hi Ding,

    I am not aware of alternative ways to use CCS with Vision SDK and gels scripts other than using a JTAG. CCS relies on JTAG communication. Your initial query was about going that path, to begin with. If you are looking for alternative debugging you can always flash the device and use USB/UART/etc or other various tools, see this thread: e2e.ti.com/.../261122

    thanks
    Alex