Code Monkey home page Code Monkey logo

Comments (8)

aallan avatar aallan commented on July 17, 2024 5

I think this is the correct wiring SWD debug using FT2232, but I haven't checked it for accuracy.

Screenshot 2021-01-26 at 14 23 01

Update: Should wire the SWD GND pin to GND, and also to physical pin 3 (GND nearest the UART)

from openocd.

kilograham avatar kilograham commented on July 17, 2024 3

But yes, it should work

from openocd.

nyh-workshop avatar nyh-workshop commented on July 17, 2024 3

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.

jimbojr avatar jimbojr commented on July 17, 2024 2

Yes use adjacent GNDs for UART and SWD for best signal integrity. Multiple GND pins are useful - who knew... :-)

from openocd.

aallan avatar aallan commented on July 17, 2024

Thanks @kilograham

from openocd.

aallan avatar aallan commented on July 17, 2024

Thinking about it, I think the SWD GND pin should also be wired. Doesn't SWD need its own GND?

from openocd.

dp111 avatar dp111 commented on July 17, 2024

from openocd.

dp111 avatar dp111 commented on July 17, 2024

from openocd.

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.