Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

VSCode hardware debugging #1092

Merged
merged 3 commits into from
Nov 4, 2020
Merged

Conversation

hamishwillee
Copy link
Collaborator

Adds section on hardware debugging


The instructions in [SWD (JTAG) Hardware Debugging Interface](../debug/swd_debug.html) explain how to connect to the SWD interface on common flight controllers (for example, using the Dronecode or Blackmagic probes).

After connecting to the SWD interface, hardware debugging in VSCode is then typically the same as for [SITL Debugging](#debugging_sitl) except you select the debug target for your firmware - e.g. `px4_fmu-v5`.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@julianoes @dagar This is a complete guess - is there more to setting up VSCode for hardware debugging than this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry no idea. I'm ignoring this for now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's mostly correct, but there are different options per debugger type.

Screen Shot 2020-10-27 at 7 54 56 PM

@hamishwillee hamishwillee marked this pull request as ready for review November 4, 2020 23:49
@hamishwillee
Copy link
Collaborator Author

Thanks. Merged with additional image/info from dagar. Might not be 100% correct (not tested by me) but better than what was present.

@hamishwillee hamishwillee merged commit 90d1ba0 into master Nov 4, 2020
@hamishwillee hamishwillee deleted the hamishwillee-vscode_hardware branch November 4, 2020 23:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants