Giter Club home page Giter Club logo

Comments (4)

majbthrd avatar majbthrd commented on August 22, 2024

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):

98-CMSIS-DAP.rules.txt

from pico-debug.

znmeb avatar znmeb commented on August 22, 2024

Thanks! I added the udev rules and tried with -d. There was a permissions issue so I ran it again as root. Logs attached:

not-root.log.txt
root.log.txt

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.

majbthrd avatar majbthrd commented on August 22, 2024

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.

znmeb avatar znmeb commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.