NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
wingsorc has quit [Remote host closed the connection]
Hawk777 has joined #openocd
nerozero has joined #openocd
indy- is now known as indy
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
merethan_ has joined #openocd
Kebianizao has joined #openocd
<Kebianizao> Hello. I'm trying to connect to a TI CC2640 chip using xds110 interface. It does work when I'm on the 4-wire cJTAG interface, but this time I need going 2-wire
<Kebianizao> do you know if this is supported? (0.12.0 here)
olerem has quit [Quit: WeeChat 2.3]
olerem has joined #openocd
<PaulFertser> Kebianizao: I'm afraid 2-wire JTAG was never supported.
<Kebianizao> I see. Actually the closer I have seen is this: https://review.openocd.org/c/openocd/+/6981
<Kebianizao> I'd like to know how much effort it is to support 2-wire cJTAG. I've just arrived so I'll need quite a bit of reading
<PaulFertser> Kebianizao: that might be a good enough start for a relatively quick hack.
<PaulFertser> Kebianizao: you'd have to reimplement that for xds110 driver though.
<Kebianizao> right, or switching to an FTDI based jtag interface
_olerem has joined #openocd
_olerem has quit [Client Quit]
<PaulFertser> Kebianizao: for a test yes, to see how similar RISCV cJTAG to TI cJTATG.
<Kebianizao> thanks for the directions PaulFertser, happy to hear more hints if available :)
<PaulFertser> Kebianizao: ask questions :)
<Kebianizao> I'd rather read to come up with any sensible one :)
nerozero has quit [Ping timeout: 268 seconds]
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 252 seconds]
PsySc0rpi0n has joined #openocd
Hawk777 has joined #openocd
Haohmaru has quit []
merethan_ has quit [Ping timeout: 248 seconds]
<Kebianizao> Is there a place to document a jtag interface protocol? is there anyone already described? (talking about the openocd source)
<PaulFertser> Kebianizao: hm, if you feel like it, there's doc/manual/
<PaulFertser> Kebianizao: but regular JTAG isn't desribed there
<PaulFertser> As it's a standard
<Kebianizao> oh well, I meant how to command some jtag interfaces, besides the JTAG standard. The case is the xds110 usb protocol
<PaulFertser> Kebianizao: it was added by someone from TI, so if the document is not public all you can do is guess from the code.
<Kebianizao> ok, thx. In this case I was more looking into contributing documenting the protocol
<PaulFertser> Kebianizao: doesn't look easy at all :(
<PaulFertser> Kebianizao: I'd guess it would be quite visible as a comment in src/jtag/drivers/xds100.c .
<PaulFertser> Kebianizao: where do you know the additional details for the protocol from?
<Kebianizao> I'm snooping the communication with the XDS110 and from that figuring it out
<PaulFertser> Kebianizao: cool!
Pokey has joined #openocd