Skip to content
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

Fix: Added pinout documentation to the stlink platform #1633

Merged
merged 1 commit into from
Oct 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/platforms/stlink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ then they often don't provide a UART interface. In this case, build the firmware

Note: on some clones, SWIM is strongly pulled up by a 680 Ohm resistor.

## External connections

| Function | Normal Pin | Alt Pin |
| --------- | ---------- | ------- |
| SWCLK/TCK | PA5 | - |
| TDO | PA6 | - |
| TDI | PA7 | - |
| SWDIO/TMS | PB14 | - |
| SWO | PA10 | - |
| nRST | PB0 | PB6 |

The alternative pinout uses the same pins as the normal unless noted otherwise for a function.
This second pinout is used on some clone boards - if you are using a clone, check the schematic.

NB: SWDIO/TMS is on P**B**14, not P**A**14.

## Upload BMP Firmware

* Keep the original ST Bootloader.
Expand Down