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.
Hello everyone,
Two days back we bought a new AM335x Starter Kit. Initially, we did not realize that the board has an on-board XDS100 emulator. So we tried to install a jtag connector like in this link http://processors.wiki.ti.com/index.php/Starter_kit_jtag
But the jtag connection did not work. We then realized that the board has an on-board xds100 usb emulator. So we uninstalled all the components(resistors n capacitors) we did for jtag and replaced the resistors R75, R77, R78, R79, R227, R228, R229, R230 by a short. Now the XDS100 emulator doesnt work. When I tried to program using IAR, I get the following error.
Fatal error: Failed to connect to the XDS100/200 emulator (connect DAP)... (Error -1265 @ 0x0) Device ID is not recognized or is not supported by driver. Confirm device and emulator configuration is correct, or update device driver.
When I checked the device manager the device identifies itself as
TI XDS100 Channel A
TI XDS100 Channel B
I tried to test the jtag connection using the DBGJTAG software and used the following command.
-rv -S brokenpath
I got the following log for that
-----[Print the board config pathname(s)]------------------------------------
C:\Program Files (x86)\Debug JTAG GUI\emulators\
Board_Config\TIXDS100v2.dat
-----[Print the reset-command software log-file]-----------------------------
This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'May 6 2013'.
The library build time was '21:55:37'.
The library package version is '5.1.114.0'.
The library component version is '35.34.40.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '4' (0x00000004).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.
-----[Print the reset-command hardware log-file]-----------------------------
The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the FTDI FT2232 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for FTDI FT2232 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).
-----[An error has occurred and this utility has aborted]--------------------
This error is generated by TI's USCIF driver or utilities.
The value is '-233' (0xffffff17).
The title is 'SC_ERR_PATH_BROKEN'.
The explanation is:
The JTAG IR and DR scan-paths cannot circulate bits, they may be broken.
An attempt to scan the JTAG scan-path has failed.
The target's JTAG scan-path appears to be broken
with a stuck-at-ones or stuck-at-zero fault.
Any help would be much appreciated. Replacing 0 ohm resistor by a short is an issue?
Did you remove resistors R75, R77, R78, R79, R227, R228, R229, R230 initially when you installed the JTAG connector? Shorts are no problem, check if they are soldered well.
Yes. I did remove the resistors initially when I installed the jtag connectors. They are soldered properly now.
I can also see that in the device manager there is a device under "other devices" category named "SUBARCTIC". Which disappears every 10 seconds. I think windows tries to find driver for that. Could this be an issue?
It seems that the JTAG is physically OK. I don't know about IAR, but have you tried connecting through each of the two USB channels? One is JTAG, the other is Debug UART, but I can't say which is which.
Im connecting to micro USB as that is used for USB to JTAG according to this link
http://processors.wiki.ti.com/index.php/AM335xStarterKitHardwareUsersGuide
Yes, but there are 2 USB links over that connector, as mentioned above. There is an FTDI chip on the SK board that convert both JTAG and UART0 over a single USB line.
How can I change between these two links? Where can I find this info? sorry to bother you.
Right. But how do I tell my compiler (IAR) to use a particular device. They dont seem to have an option for that.
Right-click on the TI XDS100 Channel B and select tab Advanced. Make sure the option Load VCP is checked and click OK to save any changes.
Optionally you can check the channel A to see if this option is not selected (so JTAG emulation works correctly).
I did this. But still not working.
Channel B is used for Jtag emulation. I tried both the channels. But I still did not get my issue fixed.