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] SK-TDA4VM: How do I connect the external debugger Blackhawk USB560v2 (XDS560v2) USB System Trace to the JTAG on the board?

Part Number: SK-TDA4VM
Other Parts Discussed in Thread: TDA4VM, DRA829

The SK-TDA4VM does not have an on-board debugger like the J721E EVM. How can I connect debugger to JTAG to debug remote cores?

  • This FAQ is based off of "Debugging with HLOS running on A72 (Linux / QNX)" section of https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/08_04_00_06/exports/docs/psdk_rtos/docs/user_guide/ccs_setup_j721e.html

    The following instructions are under the following assumptions/prerequisites.

    Hardware:

    • BHUSB-560v2 debugger
    • SK-TDA4VM evaluation board
    • PC to run CCS

    Software:

    As a disclaimer, the following instructions are for debugging the remote cores like the R5, C66, C7x cores running RTOS code, but does not include the A72 running HLOS (Linux):

    1. Connect debugger to SK board using adapter that should be included with debugger as shown in following picture:
    2. Connect debugger to PC. Ensure green LEDs show up. This may take 1-2 minutes. If no green LEDs show up, then check cable/connection
    3. Start up CCS, and if Blackhawk debugger drivers are not installed, go to Help->Install Device Support... which will restart the installer. Go through the installation until the "Install debug probes" screen is reached and check off Blackhawk Debug Probes, and continue forward until installation is finished.
    4. In a Linux terminal, run lsusb with debugger connected, and lsusb without debugger connected. If no debugger is detected (ie, no changes in lsusb output with/without debugger), manually run driver installer in <ccs1040 installation directory>/ccs/install_scripts/install_drivers.sh. Restart computer if the script was ran.
    5. Start up CCS and create new Target Configurations file with below settings in screenshot, that is, "Connection" is "Blackhawk XDS560v2-USB System Trace Emulator", and "Board or Device" is "EVM_J721E", and remove the gel file path (....emulationgelJ721E_DRA829_TDA4VMgelJ721E.gel) from DMSC cortex M3 settings.
    6. Info: If errors come up while connecting to cores or testing connection that mentions lowering TCLK, they can be changed in Advanced Setup->Target Configuration->Blackhawk XDS560v2-USB System Trace Emulator_0->Connection Properties->JTAG TCLK Frequency (MHz).
    7. Save configuration file, right click newly created configuration file, and launch. Following screen should show up.
    8. By default, the 8.4 SDK for SK-TDA4VM has the following cores up and running, as well as the A72 cores. Right clicking and connecting to any of the following cores should halt the core to load in symbols and programs.
      root@tda4vm-sk:/lib/firmware# ls | grep j7
      j7-c66_0-fw
      j7-c66_1-fw
      j7-c71_0-fw
      j7-main-r5f0_0-fw
      j7-main-r5f0_1-fw
      j7-mcu-r5f0_0-fw
      root@tda4vm-sk:/lib/firmware#