GitXplorerGitXplorer
k

pico-probe

public
34 stars
4 forks
2 issues

Commits

List of commits on branch master.
Verified
063c7f7b0cdf1f55c1cc77cfc9ecf55083b9dde2

Merge pull request #4 from glaeqen/master

kkorken89 committed 2 years ago
Unverified
1d1ba6b92b524eab65aa0650835f9828bb0b97db

Apply the dap-rs API changes

gglaeqen committed 2 years ago
Unverified
d9fa7f6834dac14a1e8aafc20110da6faacdcabe

Update deps

kkorken89 committed 2 years ago
Verified
12a822e447c1cb42c5195924aceeaf303c2ea855

Merge pull request #1 from thejpster/build-fixes

kkorken89 committed 3 years ago
Unverified
d49637b20cb1e8a89133ed0eda059a67dace460a

Changes to build with whatever's currently on crates.io.

jjonathanpallant committed 3 years ago
Unverified
d5587525525437adc87400af0d1c7c2c87cb9cec

JEDEC as part of UID

kkorken89 committed 3 years ago

README

The README file for this repository.

RPi Pico Probe

This firmware implements an CMSIS-DAP v1 and v2 compatible probe on the RPi Pico.

It's currently using a bit-banged driver, so expect max speeds around 2 MHz.

Current pinout

You can change this to whatever you want in setup.rs.

Pin Description
GPIO13 nRESET
GPIO14 SWDIO
GPIO15 SWCLK

Building

You can build the project and generate a .uf2 file as follows:

# Install elf2uf2-rs
cargo install elf2uf2-rs

# Build the ELF without logging
DEFMT_LOG=off cargo build --release --bin pico-probe 

# Generate .uf2 file
elf2uf2-rs target/thumbv6m-none-eabi/release/pico-probe pico-probe

Start the Pico in bootloader mode and drop the pico-probe.uf2 file to it, done!

TODO

  • [ ] Move SWD impl to PIO
  • [ ] Add support for SWO (Manchester encoding or UART via PIO)
  • [ ] Add support for VCP (it enumerates now, but ignores all data)
  • [ ] Add the automatic polling of RTT buffers
  • [ ] Document the dap-rs traits and helpers
  • [ ] Document the firmware