Skip to content

Rebase by merging the master branch to fix compatibility issues with probe-rs#3

Open
Mimoja wants to merge 6 commits into
sentoxo:masterfrom
Mimoja:master
Open

Rebase by merging the master branch to fix compatibility issues with probe-rs#3
Mimoja wants to merge 6 commits into
sentoxo:masterfrom
Mimoja:master

Conversation

@Mimoja

@Mimoja Mimoja commented Mar 15, 2026

Copy link
Copy Markdown

The probe-rs tool fails to talk to a rp2040 via the zero due to the dap fixes missing. Therefore rebase with a merge commit.

Commits which are added with this merge:

martamomotko and others added 6 commits January 7, 2026 10:45
- Fix obvious bug with multi-packet pending response lengths
  The length needs to go along with the data buf, not a random global

- Move to async notifications instead of polling or hacky suspend/resume
  For a tick interval ~= the time taken to transmit one full bulk packet,
  you could get a NAK and flow-controlled if usb_thread went to sleep

- Remove redundant memcpys and unused variables

- Hack the reported DAP packet count to avoid bulk-OUT/NAK conditions
  as much as possible
@Mimoja Mimoja changed the title master Rebase by merging the master branch to fix compatibility issues with probe-rs Mar 15, 2026
@Mimoja

Mimoja commented Mar 15, 2026

Copy link
Copy Markdown
Author

Build and use tested with

rm -rf build && mkdir -p build
cd build
cmake  -DDEBUG_ON_ZERO=ON _ ..
make
cp debugprobe_on_rp2040-zero.uf2 /media/$USER/RPI-RP2/
probe-rs list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants