RFC: A complete PIO State Machine debugger #13396
Replies: 2 comments 1 reply
-
Hey Paul, firstly a big congratulation on your achievement. I had intended to achieve the same but got distracted a few months ago. The remaining hurdle for me to be taken was to Read write-only PIO instruction memory. Then a decision has to be taken as for how the user interface should look like. A few questions:
Once I have tried it out I can give more feedback. Nice greetings, |
Beta Was this translation helpful? Give feedback.
-
I decided starting to play with PIO programming and found piodebug really usefull. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I've coded up a complete RP2040 PIO state machine debugger extension for Micropython. It can non-destructively read the complete state of a PIO state machine, including registers, shift counters, fifo queues, and irq status. It can step through the code line by line, and set breakpoints. It can operate in any state machine configuration, even if the fifo queues are joined. Check it out here:
https://github.com/PaulAccisano/piodebug
I'm hoping to get some feedback on the code, and maybe find out if there are other features that people would like to see added. If people find this useful, I think it would be great to make available in micropython-lib. How would I get started on that?
Beta Was this translation helpful? Give feedback.
All reactions