<rue_mohr>
If the TDI is looped back to the TDO line, you should see one device detected on the JTAG chain. If there are no devices detected, or more than one device detected, then there may be an issue with your JTAG adapter or the loopback connection.
<rue_mohr>
---
<rue_mohr>
is it right?
<rue_mohr>
Hi, I'm Rue, the last living real person on the planet. I use a real IRC client directly with an IRC network, I do not use repeaters or bots.
rue_shop3 has joined #openocd
<rue_shop3>
invalid command name "jtag_scan_chain"
urja has joined #openocd
nerozero has joined #openocd
<rue_shop3>
anyone?
<rue_shop3>
the documentation is hopeless I need a human
<rue_shop3>
or to completely learn every line of source code in the project, at which point I might as well write my own software
<PaulFertser>
rue_shop3: hi
<PaulFertser>
rue_shop3: you can try with "irscan" command, it should be almost low-level enoough.
<PaulFertser>
rue_shop3: but are you familiar with the JTAG state machine diagram?
<PaulFertser>
rue_shop3: for irscan it will do few clock cycles with appropriate TMS transitions to go to the appropriate state.
barath has left #openocd [#openocd]
tlwoerner has quit [Ping timeout: 240 seconds]
Hawk777 has joined #openocd
nerozero has quit [Ping timeout: 276 seconds]
<rue_mohr>
PaulFertser, hey thanks, I think I tried, but it would not go without an init, and init freaked out
<rue_mohr>
at the end of the night, it looked like I might get closer with swd?
<PaulFertser>
rue_mohr: no, swd is certainly less suitable
<rue_mohr>
? I saw something that used seperate rx tx lines and the clock and it looks like there is no init
<PaulFertser>
rue_mohr: init should be fine if you do not define target
<PaulFertser>
rue_mohr: init is always there, you can't run any non-config command without it.
<PaulFertser>
rue_mohr: for the reference, SWD is using two lines: SWDIO (bidirectional) and SWCLK (clock).
Hawk777 has quit [Quit: Leaving.]
<rue_mohr>
init freaked out that the id did not match and there wasn't a 0x1 at the end
<PaulFertser>
rue_mohr: it didn't mean it failed, just warned you.
<rue_mohr>
hmm, I can show you more in a bit, I have to finish breakfast and grab a shower
marcusmae has quit [Ping timeout: 248 seconds]
shibboleth has joined #openocd
Getty4 is now known as Getty
marcusmae has joined #openocd
<rue_shop3>
whitequark suggests modeling it as a bunch of 1 bit registers