-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hardware probe model to README #7
Comments
The readme states you need a CMSIS-DAP probe and a custom fork of probe-run-rp As for listing which hardware supports CMSIS-DAP, how to program it and flash the debugger firmware, how to connect it - well, it quickly ends up becoming over half of the readme! Here's a brief list I've got going at the moment: You can use a second Pico as a CMSIS-DAP debug probe by installing the following firmware on it in bootloader mode: Another popular option is to use a WeAct MiniF4 as described here under The powerful route Another popular option is a st-linkv2 clone or other stm32f103 board and You can use a commercial probe like these ones from NXP. Note that you still need to load CMSIS-DAP firmware onto these probes - they default to running LPC-Link firmware. Finally, you can use DAPLink firmware with any of it's supported chips. You'll need to use the 'develop' branch to use GCC to build it, find a board with the correct chip, etc. |
Thanks very much for the reply. I did utilize a RPi4 with SWD to do some live debugging but wasn't familiar with CMSIS-DAP debuggers at all to say whether one could get any of them out there and have it generally be plug and play. I also have an st-linkv2 debugger. But what I was hoping for was to not really have to spend any time setting up a hardware debugger since I want to focus on learning and debugging Rust on the RP2040 Pico board. |
I totally understand, and that is why the examples in rp2040-hal are set up to run without a debugger - so those who do not want to use one do not have to deal with buying or setting anything up. Thanks for the details, and the initial issue for prodding me to make this a bit more documented. |
It'd be really helpful to people getting started with Rust and the RPi Nano to list what hardware probe model was used in testing this project and how to connect it.
I've successfully used SWD through an RPi4 to the Nano, but not with
probe-run
.The text was updated successfully, but these errors were encountered: