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.

AWR1642: Cannot emulate the XDS110 device

Part Number: AWR1642
Other Parts Discussed in Thread: TM4C1294NCPDT

Hi,

My customer is debugging their own AWR1642 board with TM4C1294NCPDT used for xds110 conversion, when their board is connected with PC, there is no usb device detected. I found below description in the xds110 readme file, seems it is a method to solve the problem, my question is how to know the xds110 boot loader version to confirm if need to ground TDO or TCK pin? And i am confused that the ground pin depends on the xds110 boot loader version, as I think there should no bootloader in the xds110 device initially and it is need to load a new bootloader.

*** Recovering a Bricked XDS110 Without JTAG ***

In the case that your XDS110 fails to enumerate as a USB device, or it
fails to enter DFU programming mode, you can attempt the following steps
to force it into DFU mode to recover:

1) Ground the JTAG TDO pin of the XDS110's Tiva CPU. This is pin 97
on the 128 pin device. This is a JTAG pin for flashing the XDS110 via
JTAG; it is not the JTAG TDO pin of the debug target. If the board has
a JTAG header for flashing the XDS110 you may use that, otherwise you
can ground the pin on the device. (Check the TM4C1294NCPDT datasheet
for the pin location; it is located on a corner and easy to access.)

2) Unplug and re-plug the XDS110 into the host PC while the pin is grounded.

3) The XDS110 should now be in DFU programming mode and you can flash it
using the xdsdfu utility as detailed above.

Note that this feature is currently only implemented in the XDS110 boot
loader that was first available in emupack 6.0.15.0. If your XDS110's
boot loader is an earlier version, this procedure won't work. In the boot
loaders from emupack 5.1.537.0, the target JTAG TCK pin was used instead.
If your device used that version of the boot loader, try the procedure
by grounding the target TCK pin. If your XDS110's boot loader is an even
earlier version, this procedure won't work at all, and you'll need to use
JTAG to recover.

  • Hello Andy,

    In the device manager do they see the following device type listed as "Stellaris Device Firmware Upgrade" ?

    Regards,

    Vivek

  • Vivek,

    No, just see one unknown device. The customer already tried to ground the XDS110 device TDO and TCK pin, but still cannot emulate the usb device. Any other suggestion to investigate the issue?
    BR,
    Andy
  • Hello Andy,
    Could they try loading the bootloader again? In the location where the XDSDFU utility is available there would also be a "boot_loader.bin" file.
    From the windows command prompt can you run the following command to load the bootloader : Xdsdfu.exe -b boot_loader.bin –r

    Regards,
    Dham
  • Vivek,

    Tried the Xdsdfu.exe -b boot_loader.bin –r, still cannot emulate the compatible usb device.

    Normally there should be one Tiva device detected  in LM flash utility shown as below.

    But on customer's board, there is no Tiva device as below figure.

    As no usb DFU device is detected, it is unable to use the DFU command to program firmware. As it cannot connect JTAG for debug, do u know other debug method to check the device status?

    I also let the customer check their hardware connection, and replace with another xds110 device for test.

    BR,

    Andy

  • Hello Andy,
    The Tiva support team might be able to help you better on this. I will move this thread to that forum.

    Regards,
    Vivek