Draft
Conversation
Somewhat pocket-sized article comparing a few of the more common debug probes for Cortex-M targets.
noahp
commented
Apr 14, 2022
| 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: |
Contributor
Author
There was a problem hiding this comment.
noahp
commented
Apr 14, 2022
| | 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 | |
Contributor
Author
There was a problem hiding this comment.
fix: basically is open source, schematic + sw is published
Member
|
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. |
franc0is
reviewed
Apr 15, 2022
|
|
||
| ## Debug Adapter Hardware | ||
|
|
||
| First off, if you haven't already, take a look at Chris's deep dive on Cortex-M |
Member
There was a problem hiding this comment.
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> | ||
|
|
Member
There was a problem hiding this comment.
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 |
Member
There was a problem hiding this comment.
Suggested change
| 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 |
Member
There was a problem hiding this comment.
Suggested change
| 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 |
Member
There was a problem hiding this comment.
I'd argue that you can do this with DAPLink as well
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Somewhat pocket-sized article comparing a few of the more common debug
probes for Cortex-M targets.