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.

[FAQ] PROCESSOR-SDK-AM64X: Error connecting to the target from CCS 10.4.0.00006 on TMDS64GPEVM

Part Number: PROCESSOR-SDK-AM64X

Hi:

I would have tagged onto these other two threads, but I have slightly different error messages.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1020036/sk-am64-error-connecting-to-the-target-from-ccs-10-3-1

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1028477/processor-sdk-am64x-am64x-eval-board---debugger-failure/3805074#3805074

EVM rev PROC101A (001)

I followed every step in this document to the letter, on Ubuntu 18.04

https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/08_00_00_21/exports/docs/api_guide_am64x/GETTING_STARTED.html

Two things I noticed that seemed slightly out of the ordinary is that:

  1. for the uart to work on Ubuntu, you have to chmod 666 /dev/ttyUSB0
  2. The version of CCS specified in the Getting Started manual (10.3.1) is not available, it is now 10.4

Anyhow the bootloader progamming all worked and in CCS I got this on the terminal:

Starting NULL Bootloader ...

DMSC Firmware Version 21.5.0--v2021.05 (Terrific Llam
DMSC Firmware revision 0x15
DMSC ABI revision 3.1

INFO: Bootloader_runCpu:147: CPU r5f1-0  is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:147: CPU r5f1-1 is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:147: CPU m4f0-0 is initialized to 400000000 Hz !!!
INFO: Bootloader_runCpu:147: CPU a530-0 is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:147: CPU a530-1 is initialized to 800000000 Hz !!!
INFO: Bootloader_loadSelfCpu:199: CPU r5f0-0 is initialized to 800000000 Hz !!!
INFO: Bootloader_loadSelfCpu:199: CPU r5f0-1 is initialized to 800000000 Hz !!!
INFO: Bootloader_runSelfCpu:216: All done, reseting self ...

When I launch the configuration, I get this error after a long wait:

CS_DAP_0: Error initializing emulator: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the XDS110SupportReadMe.pdf file there for instructions. (Emulation package 9.4.0.00129)

Retrying yields same result, but immediately.

I read and tried the workaround here:

https://www.ti.com/lit/ug/spruix0d/spruix0d.pdf?ts=1629821780669&ref_url=https%253A%252F%252Fe2e.ti.com%252F

However, it never works.  

Pretty much stuck at this point. 

Thank you

Howard