Giter Site home page Giter Site logo

Comments (12)

smittytone avatar smittytone commented on May 27, 2024

Indeed. Ready to go and in a way that can be extended to other boards

from debugprobe.

werediver avatar werediver commented on May 27, 2024

Those QWIIC, Stemma QT, Grove ports, they are not suitable for debugging. Those are just IĀ²C interface and power lines.

from debugprobe.

thezim avatar thezim commented on May 27, 2024

Those QWIIC, Stemma QT, Grove ports, they are not suitable for debugging. Those are just IĀ²C interface and power lines.

I can assure you it is suitable and it works. You might be misunderstanding that pins can be mapped to other IO functions and not locked to i2c functionality. I have used both of the above to debug another RP2040 target.

from debugprobe.

werediver avatar werediver commented on May 27, 2024

Those QWIIC, Stemma QT, Grove ports, they are not suitable for debugging. Those are just IĀ²C interface and power lines.

I can assure you it is suitable and it works. You might be misunderstanding that pins can be mapped to other IO functions and not locked to i2c functionality. I have used both of the above to debug another RP2040 target.

Looking at RP2040 datasheet, the SWD pins don't seem to be remappable. You can, of course, solder any connector to any pins, but that's not what QWIIC et al. typically mean.

If you're saying it's possible, I trust there may be such a possibility in some cases, though.

from debugprobe.

thezim avatar thezim commented on May 27, 2024

I see where you are coming from now. In this case we can use the above boards as a pico probe to connect to a different target. On the probe side we are not limited to which pins can be assigned. Now if we were trying to debug the boards as a target you are 100% corrected. Those lines have to go to SWDIO/SWCLK directly.

from debugprobe.

werediver avatar werediver commented on May 27, 2024

Ah, that's what you mean, now I understand šŸ‘

I'd personally prefer to use an IDC-10 with the standard Cortex Debug pinout (ideally the suggested 1.27 mm pitch size), but that's not always possible šŸ¤·

Picoprobe seems to be focusing on Pico quite sharp, though. And the custom debugger protocol (requiring a custom OpenOCD build) doesn't really help promoting it.

from debugprobe.

thezim avatar thezim commented on May 27, 2024

Ah, that's what you mean, now I understand šŸ‘

I'd personally prefer to use an IDC-10 with the standard Cortex Debug pinout (ideally the suggested 1 mm pitch size), but that's not always possible šŸ¤·

Had to solder my own header to my SparkFun Thing Plus - RP2040, not fun in the through hole position at that pitch . I do wish all target boards had an IDC-10 but I understand trying to keep price point low and gearing most RP2040 board towards Arduino core for easier user adoption.

from debugprobe.

lurch avatar lurch commented on May 27, 2024

I'd personally prefer to use an IDC-10 with the standard Cortex Debug pinout

See also https://datasheets.raspberrypi.com/debug/debug-connector-specification.pdf (as used on the Raspberry Pi Pico H).
And yes, of course https://xkcd.com/927/ also applies šŸ˜†

Picoprobe seems to be focusing on Pico quite sharp, though.

Because when picoprobe was written, Pico was the only RP2040 board šŸ˜‰
(we're a small engineering team, so we've not had the time or resources to actively support non-Pico boards)

And the custom debugger protocol

It's not really my area of knowledge, but see #31

from debugprobe.

werediver avatar werediver commented on May 27, 2024

@lurch My understanding regarding #31 is it's never going to be merged šŸ˜ž Which is, probably, not that big of a deal, because there is other CMSIS-DAP compliant firmware that can run on Pico, e.g.
https://github.com/majbthrd/DapperMime and https://github.com/ciniml/rust-dap (in Rust, using PIO).

from debugprobe.

Dandy-Don avatar Dandy-Don commented on May 27, 2024

Hi, thezim.

So am I correct in stating that I can buy the adafruit Raspberry Pi Debug Probe Kit for Pico and RP2040 (product #5699) & use it to debug the adafruit QT Py RP2040?

Just asking before buying.....

Thanks for your help!
--Don

from debugprobe.

thezim avatar thezim commented on May 27, 2024

Hi, thezim.

So am I correct in stating that I can buy the adafruit Raspberry Pi Debug Probe Kit for Pico and RP2040 (product #5699) & use it to debug the adafruit QT Py RP2040?

Just asking before buying.....

Thanks for your help! --Don

No. The QT Py RP2040 does not expose the SWDIO or SWCLK pins to allow it to be debugged as a target.

from debugprobe.

smittytone avatar smittytone commented on May 27, 2024

If it's the QTPy's small form-factor that appeals, @Dandy-Don, then the Pimoroni Tiny is of a similar size and does expose SWD and SWD pins.

from debugprobe.

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.