Discussion about this post

User's avatar
9names's avatar

Hi Jim, rp-rs developer + maintainer here.

Thanks for the write-up, both for where things worked and where they didn't. We haven't had too much feedback on that, so it is most welcome!

Great to see a good step-by-step configuration options for OpenOCD - I haven't used it for debugging rp2040 but I know that a few have and had issues getting it set up correctly; we should really have some of this documentation as part of the project.

It's a bit late to help now (since you look to be done with this series) but I'd be interested in trying to work out why the probe / debug configuration from rp2040-app-template didn't work for you so that others don't have the same problems.

We spend most of our time in https://app.element.io/#/room/#rp-rs:matrix.org if you'd prefer a real-time group chat style conversation, or you could raise an issue on github on either rp2040-app-template or rp-hal - whichever works best for you.

This is an open invitation by the way - everyone is welcome in the matrix room, and issues / PRs for the repos most welcome.

Expand full comment
Oleg Eterevsky's avatar

Hey! Thank you for this series of post.

I was just playing around with some RP2040 controllers, and ended up with a slightly simpler setup (IMO). Instead of using a separate controller for handling the debug, I've just set up debug logging via USB serial port. This requires a bit more boilerplate (handling the USB interrupt and such), but is much simpler from the hardware perspective: you need to just plug in a single Pico board in your USB, flash it and you can immediately see the debug output.

Here's my repo: https://github.com/eterevsky/rp2040-blink

Expand full comment
14 more comments...

No posts