Comments (8)
I think this is the correct wiring SWD debug using FT2232, but I haven't checked it for accuracy.
Update: Should wire the SWD GND pin to GND, and also to physical pin 3 (GND nearest the UART)
from openocd.
But yes, it should work
from openocd.
Hello team, I've tested it again. I have to jiggle the wires and reconnect again. The diagram by @aallan is working fine.
$ openocd -f tcl/interface/ftdi/ft232h-module-swd.cfg -f tcl/target/rp2040.cfg
Open On-Chip Debugger 0.10.0+dev-g7c96119-dirty (2021-01-25-21:56)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : FTDI SWD mode enabled
adapter speed: 8 kHz
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : clock speed 8 kHz
Info : SWD DPIDR 0x0bc12477
Info : SWD DLPIDR 0x00000001
Info : SWD DPIDR 0x0bc12477
Info : SWD DLPIDR 0x10000001
Info : rp2040.core0: hardware has 4 breakpoints, 2 watchpoints
Info : rp2040.core1: hardware has 4 breakpoints, 2 watchpoints
Info : starting gdb server for rp2040.core0 on 3333
Info : Listening on port 3333 for gdb connections
from openocd.
Yes use adjacent GNDs for UART and SWD for best signal integrity. Multiple GND pins are useful - who knew... :-)
from openocd.
Thanks @kilograham
from openocd.
Thinking about it, I think the SWD GND pin should also be wired. Doesn't SWD need its own GND?
from openocd.
from openocd.
from openocd.
Related Issues (20)
- 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
- add flash definition for xiao rp2040 HOT 3
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.