soundpaint/rp2040pio

Is the project abandoned?

Opened this issue ยท 5 comments

Is the project abandoned?

So it seems. :(
What a shame, such a wonderful project!
It would be nice if someone could fork and at least apply the existing PR.

d-c-d commented

I found this scaprile/rp2040pio fork that had made some improvements. 7 commits ahead

I'm currently working on a fork with some improvements, though it's not ready to merge yet..

https://github.com/byteit101/pio-debugger-emulator/

@byteit101 I gave your fork a try, and eventually got it working. Wanted to drop some additional usage notes for other folks. I'd add these directly to your fork, but it looks like the issues tab is unavailable, so sharing notes here instead.

git clone https://github.com/byteit101/pio-debugger-emulator.git
cd pio-debugger-emulator
./gradlew jar
# Ubuntu 22.04 has an older java version. Update required:
sudo apt install openjdk-17-jdk

# In three separate terminals:
java -jar ./app/build/libs/app.jar server
java -jar ./app/build/libs/app.jar monitor
java -jar ./app/build/libs/app.jar gui

# In the monitor window:
script -e blink -d
# Then repeat this command to step through the instructions
trace

Small bug: In the GUI, I could not run the monitor script when clicking "reload" from the script loader dialog. It gave me this error, complaining about the enter command, which should be a valid command:

(pio*:sm*) running script pio-debugger-emulator/app/src/main/resources/examples/blink.mon
script> # Script: PIO Blink
...
script> # The code.
script> enter -a 00 -v 0x80a0 # pull block
unknown command: enter

The .mon file filter was also hiding all *.mon files.

@milesfrain Thanks for the finds!

  1. I'm not sure why issues were disabled, they should be enabled now, though.
  2. Nice find on the file filter, I pushed a fix for that to my fork
  3. enter isn't as simple of a command as it seems, but I've partially re-enabled it for now.

Even with those changes, the blink example still has a few issues in the gui, though I'm not sure why. I'd need to sit down to debug that. However, the non-interactive portion does seem to be working at least

Thanks for trying out my branch! Do let me know any more issues you run into, either here or on the issue page on my fork. Life interrupted this project this summer and fall, but I'm hoping to hack on it some more this winter.