On 20.12.22 05:42, Stuart Longland VK4MSL wrote:
Hi all,
So, on Friday I had a whoopsie moment with the Olimex XDS100v3 clone
JTAG probe I was using -- and managed to blow it up (let's say, the
FPGA it uses is not 24V-tolerant on its GPIO pins), and needed to
quickly replace it with something.
The XDS100v3 probes were out of stock everywhere, but a quick Google
search for "XDS110" brought up these:
https://au.mouser.com/ProductDetail/Texas-Instruments/CC-DEBUGGER?qs=O3wcJz4o8Id%2FMa87rj4LcA%3D%3D&mgh=1&vip=1&gclid=EAIaIQobChMI7u3gqKGH_AIVVH8rCh3dCwzoEAQYASABEgI_jvD_BwE
In stock, and not expensive. Plus, the debugger itself was "encased"
meaning it was likely safe from future +24V accidents.
It may be safe from touching +24V to the PCB, but the circuit will not
survive 24V on it's pins - I had to repair one in the past that was
damaged by overvoltage.
Thinking I was buying XDS110s, I bought two (the XDS100v3 belongs to
work). Turns out, no, these are not XDS110s. TI's Uniflash refuses to
look at them too. Question is though, has anyone successfully used one
of these probes with OpenOCD, and if so, what config does one use?
I use these for TI CC2510 projects (but not with OpenOCD). The supported
targets are 8051-core based, and they use a special TI (ChipCon) 2-wire
debug interface that has nothing in common with SWD/JTAG.
It looks as if the device has full schematics, so maybe flashing its
microcontroller (CC2511) with alternate firmware is not out of the
question. The end game here is debugging and flashing TI CC2538 chips
-- and this is basically done exclusively under Linux. (I can wrustle
up a Windows 7 box to temporarily update something, but will not be
using Windows in any capacity in day-to-day operations.)
While this should be possible in theory, writing a JTAG firmware for
these devices will be quite an effort.
The Wixel SDK seems to be the best base to get started on CC2510/CC2511
with SDCC:
https://github.com/pololu/wixel-sdk
I was able to hack that up to support the CC2510 on my e-paper displays,
but you run against 8051 limitations on every corner.
For your CC2538 debugging needs, I would recommend to look at some JTAG
dongle that is already supported by OpenOCD - probably something
FT2232-based. If you need cJTAG instead of JTAG, I don't know if there
are working solutions.
cu
Michael