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.
Tool/software: Code Composer Studio
Hi,
I am trying to connect AWR1642 through JTAG, using Spectrum Digital XDS560v2 STM Traveler Emulator. I was able to flash the binary on the board but not able to connect the debugger.
Q1. When I launch the ccxml file by selecting correct device type and debugger type and do "Test Connection", My log is:
[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\VARSHA~1.VAN\AppData\Local\TEXASI~1\
CCS\ti\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'.
The library build date was 'May 30 2018'.
The library build time was '22:02:11'.
The library package version is '8.0.27.9'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
An error occurred while hard 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 '-180' (0xffffff4c).
The title is 'SC_ERR_CTL_NO_TRG_POWER'.
The explanation is:
The controller has detected a target power loss.
The user must turn-on or connect the power supply for the target.
[End: Spectrum Digital XDS560V2 STM USB Emulator_0]
Q2. My power supply led glows. The JTAG adapter i.e CTI20/TI14 to MIPI60 JTAG Adapter is used to connect both? Is this correct?
Q3. When I directly launch the .ccxml file without doing "test connection", it goes well until I try to connect target (i.e DSP or R4). When I connect the target I face issue as specified in screenshot:
Additional info is Debugger works properly when connected to other boards. I dont know what is cause of error when connecting to AWR1642.
Please help me with this. Kindly reply me without delay, as I posted the same query on the other e2e sensor forum and they redirected me here.
Regards,
Varsha
Varsha,
Are you trying to use the XDS560v2 emulator with just the IWR1642BOOST board? Because according to this post and the MMWAVE_DEVPACK User's Guide, I suspect you may need to use it in conjunction with the DevPack and disconnect the JTAG lines to the onboard XDS110 emulator.
I will ask someone with more knowledge on this to confirm but it may be until tomorrow before we can provide an update.
Hi Aarti,
Yes I am trying to use the XDS560v2 with AWR1642BOOST board, I have referred the document "mmw_16xx_user_guide" present in Industrial toolbox labs, I could not see any mention related to MMWAVE_DEVPACK. As per the procedure mentioned in the document, the emulator selected for connection is "Texas Instruments XDS110 USB Debug Probe" and I am using XS560v2 STM Traveller Emulator.As per my previous conversation in the following threads and some search in the forum there is no mention of DEVPACK.
Clear my thoughts though.
CCS/AWR1642: Build mmwave sdk for AWR1642 through ccs - Sensors forum - Sensors - TI E2E support for...
AWR1642: AWR1642 JTAG programming/debugging pod? - Sensors forum - Sensors - TI E2E support forums
I wish to ask about the pin which is used to connect both of these i.e 14/20 pin. Is this different for respective boards?
Will be waiting for your reply.
Regards,
Varsha
Hi Aarti,
For some more light:
As per the AWR1642 userguide sec 2.4 PC connection:
"The connectivity is provided through the micro USB connector over the onboard XDS110(TM4C1294NCPDT) emulator. This connection provides the following interfaces to the PC:
• JTAG for Code Composer Studio™ (CCS) connectivity
• UART1 for flashing the onboard serial flash, downloading FW through Radar Studio, and getting
application data sent through the UART
• MSS logger UART (can be used to get MSS code logs on the PC)"
The JTAG connectivity is directly specified from the board over emulator.
As per the same document sec2.5 Connecting the BoosterPack to the LaunchPad or the MMWAVE-DEVPACK
The development pack may be required with the BoosterPack for the following use cases:
• Connecting to Radar Studio
Radar Studio is a tool that provides capability to configure the mmWave front end from the PC. This
tool is available in the DFP package.
• Capturing high-speed LVDS data using the SW1400 FPGA platform from TI (see High Speed Data
Capture and Pattern Generation Platform).
The TSW1400 FPGA platform allows users to capture the raw ADC data over the high-speed debug
interface and post process it in the PC.
• Getting DSP trace data through the MIPI 60-pin interface
• Use the DMM interface
JTAG connection is not specified as a usecase in the above section.
I am bit confused by reading the docs and the thread which you have directed me to. Please clear my misunderstandings.
Regards,
Varsha
Varsha,
A few remarks that hopefully can clear out the confusion:
- The AWR1642BOOST board does not allow connecting an external Debug probe directly to its HD_CONN connector. This is the connector shown in section 2.3.2 of SWRU508.
- The photograph in one of your posts shows exactly the scenario above highlighted by Aarti and I.
- The AWR1642BOOST has a built-in XDS110 Debug Probe that can be used via the micro USB connector. This is mentioned in section 2.4 of the same SWRU508.
- The MMWAVE-DEVPACK contains, among other things, two JTAG connectors that are standardized to be used with external Debug Probes. This is mentioned in sections 2.4.4 and 2.4.5 of the SWRU506.
- Section 2.5 of the SWRU508 mentioned by you is talking about the applications and systems but not about the JTAG connectivity. I will try to contact the team that is responsible for this document to clarify this.
Hope this helps,
Rafael