Comments (4)
If you add a "-d" to the openocd arguments:
openocd -d -f board/pico-debug.cfg
there will be additional openocd debugging information that might provide some clues as to what is awry. I would suspect that it has nothing to do with pico-debug per se and would happen with any CMSIS-DAP adapter.
One possibility is that you haven't yet given permission to access said USB device. I'm assuming that you are familiar with adding udev rules, and here's a udev rule for any and all CMSIS-DAP adapters (including pico-debug). You'll have to rename it from 98-CMSIS-DAP.rules.txt to 98-CMSIS-DAP.rules (since github wouldn't let me upload it as a .rules):
from pico-debug.
Thanks! I added the udev
rules and tried with -d
. There was a permissions issue so I ran it again as root
. Logs attached:
I don't have a hardware debug setup wired but it's looking like I'll need to do so if I want to do any debugging. Troubleshooting openocd
is a tad above my pay grade when the hardware cost is in the $25US range. :-)
from pico-debug.
It looks to be similar, if not the same, as another user's prior experience (OS has libhidapi missing or not implemented). Take a look at #22 and see what he did to solve his problem.
from pico-debug.
Thanks! I'm getting a second reTerminal this week so I'll try hacking the kernel on one of them to see if I can save the money I would have spent on a soldering iron.
from pico-debug.
Related Issues (20)
- openocd build error for macOS HOT 10
- Support for Adafruit Feather RP2040? HOT 1
- pico-debug.cfg? where is it? HOT 2
- Can I include the two pico-debug-xxxx.uf2 in my repository? HOT 2
- pico-debug might interfere "no-flash" image HOT 13
- Any way to use pico-debug over UART? HOT 3
- pico-debug under WSL2 using usbipd-win - openocd with debug output reports "skipping interface 0, endpoint[0] is not bulk out" HOT 8
- Crash after a few steps with simple blink HOT 6
- pico-debug is not recognised in Win11 for Arm in Parallel Desktop (for Mac M1) HOT 3
- I met a problem "Error: Sequence 4 not supported" HOT 1
- Can't Find Any CMSIS-DAP Device HOT 5
- Core 0 with pico-debug resident wakes up at different clock frequency HOT 4
- OpenBSD compatibility HOT 9
- breakpoint has to be set twice? HOT 2
- DAP init failed with OpenOCD and arduino-pico HOT 3
- Is there any way to use serial port in this daplink? HOT 2
- Does it work for pico-w ? How to build pico-debug for pico W board? HOT 1
- MacOS: CMSIS-DAP command CMD_DISCONNECT failed HOT 5
- Pico Debug SDK: What are the differences between official SDK and Pico Debug SDK? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico-debug.