Content for the cmsis-dap Debug Probe in "Getting Started with Raspberry Pi Pico"
@nathan-contino is already working on this.
Since Sep 5, 2023.
Assessment
This issue has not been assessed yet.
Description
Regarding: https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf
As the official Debug Probe is now available, it would be helpful to have this formally covered for C/C++ development - especially for use with an IDE such as Visual Studio Code.
The changes are small but significant (and quite hard to track down!)
Section 7.3
Having worked through this document for the first time, it was not clear that pico debug was different to the debug probe. I wasted considerable time trying to unpick the problem. I suspect I will not be the only person to make this incorrect assumption. I wonder if this is worth highlighting?
For the pico debug probe, the key to seamless debug in VS Code seems to be launch.json
I've raised a PR to have a suitable template added to the examples. However, the change is quite easy (summarised below) and might be worth documenting?
Changes:
The file that becomes launch.json would need changing as follows:
-
Line 15 would need "interface/raspberrypi-swd.cfg" replaced with "interface/cmsis-dap.cfg"
-
To get the correct adapter speed, add the following:
"serverArgs": [ "-c", "adapter speed 5000" ],
This might save someone a lot of time.
- Dominant language
- No language data
- Stars
- 35
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/pico-feedback
-
documentation hardware pdf
Difficulty 1/5 Under an hour Newbie friendliness 92/100
raspberrypi/pico-feedback#503 ·
-
documentation pdf
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
raspberrypi/pico-feedback#485 ·
-
documentation rp2350
Difficulty 1/5 Under an hour Newbie friendliness 88/100
raspberrypi/pico-feedback#478 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
raspberrypi/pico-feedback#390 ·
-
documentation pdf rp2040 rp2350
raspberrypi/pico-feedback#501 · 1 comment · 1 assignee ·