Open P33M opened 1 year ago
DAP JTAG API is pretty low level. https://arm-software.github.io/CMSIS_5/DAP/html/group__DAP__JTAG__Sequence.html PIO could handle this configurable 1~64 bit "SPI".
Maybe at least Transfer commands could be handled by PIO more effectively.
Worth noting that there seem to be a few other projects that implement JTAG on the Pi Pico, perhaps some of that functionality could be ported over relatively easily?
There's https://github.com/phdussud/pico-dirtyJtag/
Given that we already swap probe programs in and out of PIO on the fly, it would be easy enough to add JTAG support.
How does PIO assist in this scenario - is the DAP protocol sufficiently high-level that we could accelerate scan-IR and scan-DR ops?