Update documentation to reference picoprobe-cmsis-v1.0.1 firmware. (#38)

* Update documentation to reference picoprobe-cmsis-v1.0.1 firmware.

* improve probe firmware setup instructions
This commit is contained in:
Tim Docker 2023-01-12 19:33:53 +11:00 committed by GitHub
parent 951a29d348
commit 77daa11190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 18 deletions

View File

@ -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)
</details>

View File

@ -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/