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.

AWR1843: issue with XDS110 debug probe - JTAG mode in custom board

Part Number: AWR1843
Other Parts Discussed in Thread: , UNIFLASH

Hi, I am connecting the XDS110 to my custom awr1843 board, the debug session starts ok, I run the test connection and CCS detects the UART with no problem, but when I open the GUI no points are shown, in the AWR1843BOOST evk schematic I can see that TI uses 2 UARTS (user and data), but in the XDS110 only 1 UART is available (in the auxiliari port), so what UART from the awr1843 should I connect to the XDS110?, I think that should be the data UART (B) right?, I tried with both UARTs but the GUI does not displays any point, and now I have read this article where says:

UART considerations

1. When using the UART channel without an active debug session and the debug connector disconnected, the voltage translation circuitry is not powered to provide the proper signaling to the UART TX pin and therefore the UART communications will not work properly. In order to power the voltage translators, it is necessary to also connect the pin TGTVDD(Sense) of the breakout adapter to the Vdd line of the target board.

but what means  "without an active debug session"?, means that if I am in a debug session I don´t need to connect this pin? (I haven´t connected it), could this be the issue?

note: I have used the awr1843boost evk in debug mode so I know how to start the debug session and run the labs

note 2: we have not design our evk with the TM4C1294NCPDTT3, that is why we need an external debugger

should I change the aux com port target?, I am using JTAG, no SWO mode which uses the TDO pin

  • Hi,

    Jairo Gallardo said:
    but what means  "without an active debug session"?, means that if I am in a debug session I don´t need to connect this pin? (I haven´t connected it), could this be the issue?

    I have connected the pin TGTVDD and now we detect data using the osciloscope, but I do not know which UARTs need to be connected or maybe both using the expansion ports like this post

  • Hello Jairo,

    XDS110 which is connected with AWR1843BOOST, emulated two UART connection. And mmw Demo from mMWave SDK uses both of those, one for sending command to device and another to read the object data from the device.

    Now in your case you are saying that with that external XDS110, you are getting only one UART emulated. Could you check that on your custom board, both of UART pins are connected to JTAG connector on which you are connecting this external XDS110. This way we can find UART connection emulated over XDS110 to PC.

    And you are saying that you are debugging with CCS, that means you may have flashed the ccsdebug.bin file to AWR device. Which UART or interface did you use to flash that (using Uniflash Tool). As this flashing requires UART line of device (named as RS232RX, RS232TX).

    These same pin is being used by application to send the command to the device.

    You can use UART driver test application instead to check if data is available on UART line,

    C:\ti\mmwave_sdk_03_05_00_01\packages\ti\drivers\uart\test (there you can do UART instance change to switch UART interface).

    Regards,

    Jitendra

  • Hi,

    Jitendra Gupta said:
    Now in your case you are saying that with that external XDS110, you are getting only one UART emulated. Could you check that on your custom board, both of UART pins are connected to JTAG connector on which you are connecting this external XDS110. This way we can find UART connection emulated over XDS110 to PC

    When I connect the XDS110 I can see 2 COM ports (data and user) in the PC, now, the XDS110 has 2 output connectors, one of 20 pins and the other of 14 pins (auxiliary) right?, but the debug tool only has 1 UART available (auxiliary port)

    the issue is that in the AWR1843 labs we have 2 UARTS (user and data), so how could I connect 2 UARTs from the awr1843 with 1 UART in the XDS110?

  • Hello Jairo,

    You can use different application (from TI-Rex) which uses single UART compare to mmw demo.

    Like MRR here which uses Auxiliary COM port only to transmit object data at device boot up. It has configuration parameters embedded within application so you don't need to send command over UART to device.

    https://dev.ti.com/tirex/explore/node?node=AObIl5yAPR-DjIwxgdgyuA__AocYeEd__LATEST

    You can try this application to verify UART connection on your board.

    Regards,

    Jitendra

  • Hi,

    Jitendra Gupta said:
    Like MRR here which uses Auxiliary COM port only to transmit object data at device boot up. It has configuration parameters embedded within application so you don't need to send command over UART to device

    So you are telling that if I want to debug my custom awr1843 board with the xds110 I only can debug the labs where the GUI only needs the data port to work because the xds110 only have 1 UART available?

  • Hi Jairo,

    THat statement was in impression if you emulator (UART to USB) emulated only one UART.

    And for that you need to check in datasheet which of UART is connected with your emulator and emulated as COM port in PC, based on your last reply it is equivalent to auxiliary COM port (XDS110 of AWR1843BOOST). 

    This COM port / UART of device is of TX only (wrt AWR), sending object data, so on PC you can only receive the data. To verify your connection, I was recommending that TI-Rex which has all the configuration embedded within the app and sends object data over auxiliary COM port on boot up.

    Regards,

    Jitendra

  • Hi,

    Jitendra Gupta said:
    And for that you need to check in datasheet which of UART is connected with your emulator and emulated as COM port in PC, based on your last reply it is equivalent to auxiliary COM port (XDS110 of AWR1843BOOST). 

    So, the UART that is available in the XDS110 debug tool is the one that appears like auxiliary COM port when I connect the XDS110 to the PC?

  • Ok, that means with this connection you can use only one UART which is Auxiliary COM port. You can check that connection by following above suggestions.

    Regards,

    Jitendra