Comments (3)
Yeah I got this working with something like this...
openocd -f interface/jlink.cfg -c "transport select swd" -c "adapter_khz 6000" -f target/rp2040.cfg -c "program blink.elf reset exit"
Thanks for the help @lurch and @PetteriAimonen
from openocd.
It seems that openocd is selecting jtag
as the default transport, while the rp2040.cfg
has SWD-only parameters.
Putting transport select swd
somewhere might help.
from openocd.
I've not used JLink myself (and IIRC we don't "officially" support it), but it's mentioned in other issues, which might give you some useful pointers?
from openocd.
Related Issues (20)
- Failed to launch OpenOCD GDB Server HOT 1
- OpenOCD can't find the CMSIS-DAP device, but pyocd can. HOT 6
- Using a Pico W for a picoprobe not working HOT 16
- Any chance to update to openocd 0.12? HOT 6
- New install of OpenOCD and Msys2 - bootstrap and configure errors HOT 2
- Picoprobe with not working openOCD mac osx HOT 2
- Semihosting unusable due to excesive verbosity HOT 14
- Packaging raspberrypi/openocd on nixpkgs HOT 2
- Make errors out on -Werror HOT 8
- FRAM chip IDs incorrect HOT 2
- Cannot build on M1 macOS Sonoma HOT 3
- On Mac, through Visual Studio Code, OpenOcd exits immediately HOT 1
- Not able to flash the binary to picoW HOT 2
- OpenOCD + Picoprobe flashes extremely slowly HOT 1
- question about monitor reset init operation for raspberrypi pico HOT 2
- Not able to run Openocd for rp2040 on rpi5 HOT 18
- Raspberry Pi Debug Probe documentation needs clarification HOT 8
- In rp2040.cfg getting error "Unknown param: -dp-id" HOT 4
- Unable to build openocd HOT 1
- Unable to flash using openocd & gdb `load` HOT 2
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 openocd.