NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal_ has joined #openocd
tsal has quit [Ping timeout: 240 seconds]
tlwoerner has joined #openocd
Guest17 has joined #openocd
Guest17 has quit [Client Quit]
nerozero has joined #openocd
NishanthMenon has quit [Server closed connection]
NishanthMenon has joined #openocd
balrog has quit [Server closed connection]
balrog has joined #openocd
jjulian has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
<jjulian> Looking through that huge patch, one sees the JTAG hub channel selection happening in this function: https://github.com/LatticePropel/propel-sdk/blob/master/openocd_riscv/openocd_riscv.patch#L625
<jjulian> My understanding of JTAG is not enough to tell whether the instructions sent to the "cableserver" are actually JTAG instructions that could be sent using another interface as well or if it's something that the cableserver interprets before instructing the device further.
alkane has quit [Ping timeout: 252 seconds]
alkane has joined #openocd
<PaulFertser> jjulian: this actually looks really promising
<PaulFertser> jjulian: I guess since you're working with FPGA this picture https://www.allaboutcircuits.com/uploads/articles/jtag-part-ii-the-test-access-port-state-machine-SG-aac-image2_2.png should tell you most things you need to know about JTAG, it's just a simple state machine, nothing fancy.
jjulian has quit [Quit: Client closed]
jjulian has joined #openocd
<jjulian> PaulFertser: Thanks, I will take a look
<PaulFertser> jjulian: each device on the tap has an Instruction register of (normally) fixed length, so the adapter first runs through the states to load IRs of all the devices connected with the corresponding commands (often times it's BYPASS for every tap but one).
<PaulFertser> jjulian: and depending on the currently loaded IR each device would connect a specific Data Register when they're switched into Shift-DR etc states. In BYPASS it's just a dummy one-bit register.
<PaulFertser> jjulian: I'd be happy to clarify the JTAG part of this all, please ask questions. Looking at the code it really looks like the cable server is just executing regular JTAG state moves and loads.
<PaulFertser> So one thing to keep in mind is that all the taps in the chain are always in the same JTAG state, and depending on state they might have different "shift registers" connected between their TDO and TDI.
jjulian has quit [Quit: Client closed]
Haohmaru has quit [Read error: Connection reset by peer]
Haohmaru has joined #openocd
oskarmunz has joined #openocd
Haohmaru has quit [Read error: Connection reset by peer]
Haohmaru has joined #openocd
vampirefrog has quit [Server closed connection]
vampirefrog has joined #openocd
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
key2 has quit [Server closed connection]
key2 has joined #openocd
Haohmaru has quit [Quit: saionara]
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
oskarmunz has quit [Quit: Client closed]
cambrian_invader has joined #openocd
cambrian_invader has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
nerozero has quit [Ping timeout: 260 seconds]
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 240 seconds]
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
zjason`` has joined #openocd
zjason` has quit [Ping timeout: 260 seconds]
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #openocd