Hello,
I'm using UniFlash v3.1.0.00026 in Win8.1 and the XDS100v2 (ARM).
I can use the XDS100v2 to program ("Debug-In") the target mcu on a TM4C123GH6PM Launchpad, but when I apply it to my custom board which has a TM4C123GH6ZRB I am getting a variety of errors.
Here is my ccxml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <configurations XML_version="1.2" id="configurations_0"> <configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> <instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/> <connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> <instance XML_version="1.2" href="drivers/tixds100v2cs_dap.xml" id="drivers" xml="tixds100v2cs_dap.xml" xmlpath="drivers"/> <instance XML_version="1.2" href="drivers/tixds100v2cortexM.xml" id="drivers" xml="tixds100v2cortexM.xml" xmlpath="drivers"/> <property Type="choicelist" Value="2" id="The JTAG TCLK Frequency (MHz)"/> <platform XML_version="1.2" id="platform_0"> <instance XML_version="1.2" desc="Tiva TM4C123GH6ZRB_0" href="devices/tm4c123gh6zrb.xml" id="Tiva TM4C123GH6ZRB_0" xml="tm4c123gh6zrb.xml" xmlpath="devices"/> </platform> </connection> </configuration> </configurations>
I keep getting errors -121, -1170, and -1063 in any order when I try to access the mcu to program it:
CORTEX_M4_0: Error connecting to the target: (Error -121 @ 0x0) A bad controller handle has been given to a function, either before attempting to open the controller, or after having opened the controller and ignored its error status. Valid controller handles are generated when attempts to open the controller return a clean error status. (Emulation package 5.1.507.0)
CS_DAP_0: Error connecting to the target: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 0.0.0.0)
CORTEX_M4_0: Error connecting to the target: (Error -1063 @ 0x0) Device ID is not recognized or is not supported by driver. Confirm device and emulator configuration is correct, or update device driver. (Emulation package 5.1.507.0)
I have used a serial sniffer to confirm that RESET is staying high, and that TDI, TDO, TMS and TCK are all toggling, though I don't have the expertise to analyze the protocol. (I could send complete serial snapshots f needed.) Supply voltage is a well-regulated 3.3V for the mcu.
Here is a 300 kB UniFlash Log which reflects error -1170: 5241.5466.UniFlashLog.log
Here is a UniFlash Log which reflects error -121: 7317.1440.UniFlashLog_121.log
Here is a UniFlash Log which reflects error -1063: 4645.8540.UniFlashLog_1063.log
Any tips? Thanks.