Giter Club home page Giter Club logo

tool-pico-openocd's Introduction

tool-pico-openocd's People

Contributors

wiz-io avatar waaflee avatar

Stargazers

 avatar JD Saravaiya avatar  avatar  avatar YoungChief avatar  avatar Chuck avatar John Heaton avatar Hyperphonic avatar audioman avatar muuk avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

tool-pico-openocd's Issues

Linux x86_64: libftdi1.so.2 No such file or directory

When entering a debug session using Linux Mint 21, the debug console generates an error message for missing shared libraries

error while loading shared libraries: libftdi1.so.2: cannot open shared object file: No such file or directory

I built the openocd from the RaspberryPi repository using the RP2040 branch as directed in the RP2040 getting started guide Appendix A (see below).

$ cd ~/pico
$ sudo apt install automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev
$ git clone https://github.com/raspberrypi/openocd.git --branch rp2040 --depth=1 --no-single
-branch
$ cd openocd
$ ./bootstrap
$ ./configure --enable-picoprobe โ‘ 
$ make -j4
$ sudo make install

$ cp ./src/openocd ~/.platformio/packages/tool-pico-openocd/linux_x86_64/openocd_rp2040

I also have copied the openocd executable to openocd_rp2040 as instructed in the readme. This issue seems to be related to the file picoprobe executing rather than openOCD.

a quick workaround fix is:

mv picoprobe old-picoprobe
mv openocd_rp2040 picoprobe

Thanks for the great platform and for adding the debugging capability! Very much appreciate all the hard work that went into this

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.