Raspberry Pi RP2040 OpenOCD
wiz-io / tool-pico-openocd Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi RP2040 OpenOCD
License: Apache License 2.0
Raspberry Pi RP2040 OpenOCD
License: Apache License 2.0
Raspberry Pi RP2040 OpenOCD
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.