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.
I have a custom board with a new MSP432E401Y chip. We have set the JTAG connector based on this configuration seen below but without populating the pull-ups, pull-down or in-line resistors. We are using the external XDS110 probe to download code.
We are using the external XDS110 probe to download code. When run the JTAG connectivity test in code composer we pass, however when we try to download code we get the error seen below. We have tried to lower the clock but it continue to fail.
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 8.1.0.00007)
What could be the cause of this error?
If there any type of configuration that we need to set a factory chip before downloading code?
Hi Sean,
There is a related thread with some proposed solutions here:
Are you able to factory reset the board?
BR,
Leo
Hi Leonardo,
This is a new chip that came from the factory that was placed in a custom board. I'm getting these errors at the very initial attempt to download the code. In fact I've tried a second chip on a second duplicate board and the same problem exists.
Do you think a factory reset should still be performed?
Thanks.
Hi Leonardo,
I am also experiencing the same problem. The JTAG interface test to be fine however I get the same error message. This is occurring on two different boards both using MSP432E401Y. I have 2 of the XDS110 Debuggers, and both work on the MSP-EXP432E401Y board, but don't connect on the new boards. The design of the new boards is nearly a copy of the MSP-EXP432E401Y board with out the crystals. By the way I have gone through the procedure of connecting to the DAP manually, however could not find the script to do a factory reset for this part. Maybe I am missing something?
Kevin
Hi Kevin, Sean,
There is another related thread here which suggests reducing the clock of the XDS might help:
https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/431831/1567672#1567672
In order to conduct a factory reset, you should refer to the instructions in section 8 of this document:
https://www.ti.com/lit/ug/slau575k/slau575k.pdf
When you run the MSP-EXP432E401Y without the crystals, do you see the same issue?
BR,
Leo
Hi Leonardo,
I've tried switching the clock rate to 100kHz from the default 2.5MHz which still exhibits the same behavior.
Thanks,
Sean
Hi Leonardo,
Apparently the issue on my boards was the clock was assumed to be generated by a crystal as is done on the MSP-EXP432E401Y. Although I don't believe it ever connected I cannot say that for certainty. I do know that since I connected a clock source to the OSC pin, the board and system have been working fine. Thanks for your assistance. Next time I develop code without a crystal, I will be careful to write the initialization that way.
Kevin
Hi Leonardo,
The issue with our board was also with the crystal. After correcting this issue we are able to download the code. Additionally, we had to program a MAC Address using CCS as the MAC Address was set a FF-FF-FF-FF-FF-FF from the factory chip. The MAC address was set while in debug mode, Tools->On Chip Flash then entering our MAC address and selecting the "Program MAC Address" button as shown in the image below:
**Attention** This is a public forum