<gamiee>
Tomas received firmware flash tool for ch347
jjulian has joined #openocd
<jjulian>
PaulFertser: Sorry, had left early yesterday. That BSCAN tunnel in the riscv target looks similar, indeed. I also thought about implementing the encoding inside vexriscv.c. What held me back from this in the first place was the TMS encoding, as the state transitions seem to be fully controlled by the JTAG adapter and not the target. But I might
<PaulFertser>
jjulian: looks quite OK actually. For a hack :)
<PaulFertser>
I do not know of a really nice way unfortunately, it feels like it needs to be another layer of "interface" for that.
<Haohmaru>
sometimes when i can't decide between 2 options - i toss a coin ;P~
<Haohmaru>
other times i invent a third option and go with that one ;P~
<karlp>
gamiee: yeah, I knew it could be reflashed, I had just misremembered it being advertised as a usb-hs mcu, but was mixing it up with ch378, or 564 maybe,
<karlp>
also https://github.com/openwch/usb-jtag-spi is firmware for v30x with usb-hs too, which I would _guess_ is compatible? because why would they make it be different? (well.... maybe... I'v enot looked)
<Haohmaru>
is this... a debugger?
<karlp>
like it says, yes?
<karlp>
it's the firmware for a usb2jtag/spi adapter...
<Haohmaru>
but i guess, jtag only, no SWD
<karlp>
in the same way that ft2232 "only" does jtag, sure...
<Haohmaru>
*shrug*
<gamiee>
karlp : ohhh. I wasn't aware of that at all. I thought all the functionality is done in sillicon