The author of 'libgpiod' has put in appearances on this forum and seems open to accepting enhancement requests. I recall they were talking about adding SPI, I2C and the like so they may be open to supporting batch operations or providing some other speedier mechanisms if the issue were discussed with themWill an improved software be forthcoming so the Pi 5 can be used for all-in-one Pico development?It's more the fact that libgpiod requires a syscall for each and every pin state transition, as there's no way to batch operations together. Even with ideal latency you end up with a ~1MHz SWCLK.
I would have thought it would be possible to update the RP1 firmware and create some driver for OpenOCD to interface through but there's perhaps little business case for that given there's the DebugProbe which earns revenue for Raspberry Pi, and people can also turn their own spare Picos into one.
There's also the question whether anyone needs to SWD debug an RP2040 or RP235X. Some people will but many get along just fine without; it all depends on what one is doing.
While having an all-in-one development system - why I was looking at a Lego / Build HAT to achieve that, it's not always that practical in practice. A Pico development board in its own box, connected via SWD or USB may be more useful. It's much easier to swap between target systems when it's not built in.
If it must be-all-in-one a bigger box may be the solution.
Statistics: Posted by hippy — Sun Aug 18, 2024 5:00 pm