Hey y'all:
We have been fighting this for a week or more now. Here is the text we get:
Error connecting to the target:
(Error -2062 @ 0x0)
Unable to halt device. 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).
Setting the TCLK to 0.5 MHz does not solve the issue.
Here are some bullet points:
1) Seems to work fine until we start running TI-RTOS and turning on Ethernet. Bare metal apps do not see problem.
If the problem comes and we can get back to bare metal, it boots fine, so we have a software config issue.
2) We *ARE NOT* turning on any part of port C (that we can tell). Could be part of TI-RTOS or NDK, but I doubt it.
3) For a while we were able to juggle a hard reset and starting the debugger to get it to load, now it seems to get into a bad place very quickly.
4) Tried to download Uniflash version uniflash_setup_3.1.0.00026 but installing it gives an error that it is not compatible with CCSv6. Running CCS: 6.0.0.00190 . Seems pretty weird that a very recent version of CCSv6 would not work with this version of Uniflash. Also, does Uniflash need a 64 bit version? Didn't see one to download. Could use this if I could ever get it loaded.
5) running the Test Connection tool in the targetConfigs tab gives the following:
-----[Print the reset-command software log-file]-----------------------------
This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
The library build date was 'May 21 2014'.
The library build time was '18:02:25'.
The library package version is '5.1.507.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 '13' (0x0000000d).
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]-----------------------------
This emulator does not create a reset log-file.
-----[Perform the Integrity scan-test on the JTAG IR]------------------------
This test will use blocks of 512 32-bit words.
This test will be applied just once.
Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
The JTAG IR Integrity scan-test has succeeded.
-----[Perform the Integrity scan-test on the JTAG DR]------------------------
This test will use blocks of 512 32-bit words.
This test will be applied just once.
Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
The JTAG DR Integrity scan-test has succeeded.
[End: Texas Instruments XDS2xx USB Emulator_0]
So, is there some other thing that can keep the debugger from connecting? I am guessing that I may have an output connected to an input or some other really stupid configuration bug, but I can't get back to real control now.
As a head slap aside: doing Task_Sleep before you actually kick off the RTOS is pretty stupid and pointless :-) I need to find some other way of delaying code once we get the clock set to 120 MHz.
Looking for words of wisdom. (BTW, is JeanAnn still with the group?)
Ray