diff --git a/README.md b/README.md index c9cad52..6026f7f 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,10 @@ If you aren't using a debugger (or want to use cargo-embed/probe-rs-debugger), c - A CMSIS-DAP probe. (J-Link and other probes will not work with probe-run) - You can use a second Pico as a CMSIS-DAP debug probe by installing either of the following firmware on it: - - https://github.com/majbthrd/DapperMime/releases/download/20210225/raspberry_pi_pico-DapperMime.uf2 - - https://raw.githubusercontent.com/9names/binary-bits/main/rust-dap-pico-ramexec-setclock.uf2 - - More details on supported debug probes can be found in [debug_probes.md](debug_probes.md) + You can use a second + [Pico as a CMSIS-DAP debug probe](debug_probes.md#raspberry-pi-pico). Details + on other supported debug probes can be found in + [debug_probes.md](debug_probes.md) diff --git a/debug_probes.md b/debug_probes.md index dcc5d86..830446f 100644 --- a/debug_probes.md +++ b/debug_probes.md @@ -2,19 +2,27 @@ ## Raspberry Pi Pico - You can use a second Pico as your debugger. +You can use a second Pico as your debugger. - - Download this file: https://github.com/majbthrd/DapperMime/releases/download/20210225/raspberry_pi_pico-DapperMime.uf2 - - Boot the Pico in bootloader mode by holding the bootset button while plugging it in - - Open the drive RPI-RP2 when prompted - - Copy raspberry_pi_pico-DapperMime.uf2 from Downloads into RPI-RP2 - - Connect the debug pins of your CMSIS-DAP Pico to the target one - - Connect GP2 on the Probe to SWCLK on the Target - - Connect GP3 on the Probe to SWDIO on the Target - - Connect a ground line from the CMSIS-DAP Probe to the Target too +Download one of these firmware files: - If you have good wiring between your Pico's, you can instead use rust-dap for faster programming: - https://raw.githubusercontent.com/9names/binary-bits/main/rust-dap-pico-ramexec-setclock.uf2 +- [picoprobe.uf2](https://github.com/raspberrypi/picoprobe/releases/download/picoprobe-cmsis-v1.0.1/picoprobe.uf2) - + Official raspberrypi probe firmware supporting CMSIS-DAP. +- [raspberry_pi_pico-DapperMime.uf2](https://github.com/majbthrd/DapperMime/releases/download/20210225/raspberry_pi_pico-DapperMime.uf2) - + Based upon an older version of the CMSIS-DAP sources. +- [rust-dap-pico-ramexec-setclock.uf2](https://raw.githubusercontent.com/9names/binary-bits/main/rust-dap-pico-ramexec-setclock.uf2) - + If you have good wiring between your Pico's, this firmware will give faster + programming. + +Then: + +1. Put the Pico into USB Mass Storage Mode by holding the BOOTSEL button while connecting it to your computer with a USB cable +2. Open the drive RPI-RP2 when prompted +3. Copy the uf2 firmware file from Downloads into RPI-RP2 +4. Connect the debug pins of your CMSIS-DAP Pico to the target one + - Connect GP2 on the Probe to SWCLK on the Target + - Connect GP3 on the Probe to SWDIO on the Target + - Connect a ground line from the CMSIS-DAP Probe to the Target too ## WeAct MiniF4 https://therealprof.github.io/blog/usb-c-pill-part1/