-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] debug probe comparison #258
base: master
Are you sure you want to change the base?
Conversation
Somewhat pocket-sized article comparing a few of the more common debug probes for Cortex-M targets.
if you already have the host computer J-Link software installed. The integrated | ||
J-Links often have a debug serial port attached to a target UART too! | ||
|
||
Other features of note: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Black Magic Probe | $60 | ✅ | yes, +3.3v (100mA) only | ✅ | 〰️ ok (but open source!) | | ||
| DAPLink | $5-$15 | ❌ | | ✅ | 〰️ ok (but open source!) | | ||
| FTDI FT2232H | $35 ($5 for chip only) | ✅ | varies, adafruit yes | ❌ | 🔼 good | | ||
| Raspberry Pi Pico | $4 | ✅ | | ❌ | 🔼 good + open source | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix: basically is open source, schematic + sw is published
Good start! I'd argue that you need a bit more pros/cons written up for each entry. You could have the "Software" portion (which is yet to be written) be a part two follow on article. |
|
||
## Debug Adapter Hardware | ||
|
||
First off, if you haven't already, take a look at Chris's deep dive on Cortex-M |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this a callout, rather than the first sentence of the paragraph
debug interfaces, which also covers some of the probes in this article: | ||
|
||
<https://interrupt.memfault.com/blog/a-deep-dive-into-arm-cortex-m-debug-interfaces> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a sentence at the beginning of this section explaining what a debug adapter is.
Some probes will support JTAG too, but when working with Cortex-M devices, it's | ||
often not as preferrable as SWD due to higher pin utilization. | ||
|
||
Also I'll be focusing on non-trace enabled probes (though some will support some |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I'll be focusing on non-trace enabled probes (though some will support some | |
I'll be focusing on non-trace enabled probes (though some will support some |
including flash algorithms (ability to write a program to target internal | ||
flash). | ||
|
||
It's fairly commonly included on development boards, which makes setup simpler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fairly commonly included on development boards, which makes setup simpler | |
It is fairly commonly included on development boards, which makes setup simpler |
Depending on which FTDI chip you're using, you can use spare UARTs for a debug | ||
console to your target. | ||
|
||
One nice thing about this approach is it's possible to add the FTDI chip to your |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd argue that you can do this with DAPLink as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh good point 👌
Somewhat pocket-sized article comparing a few of the more common debug
probes for Cortex-M targets.