Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
are_we_embedded_yet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
William Eriksson
are_we_embedded_yet
Commits
58eb6e02
Commit
58eb6e02
authored
7 years ago
by
Jorge Aparicio
Browse files
Options
Downloads
Patches
Plain Diff
add a pinout diagram of the blue pill
parent
2b054273
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Quickstart.md
+10
-3
10 additions, 3 deletions
doc/Quickstart.md
with
10 additions
and
3 deletions
doc/Quickstart.md
+
10
−
3
View file @
58eb6e02
...
...
@@ -317,9 +317,16 @@ $ xargo rustc --target $TARGET --release -- -Z print-link-args
### Flash and debug
To flash the program into the microcontroller we must first start OpenOCD. OpenOCD will connect to
the SWD programmer (built into the NUCLEO-F401RE board; for the blue-pill you'll need an external
one) and start a GDB server.
To flash the program into the microcontroller we must first connect the device to our laptop. If you
are using a NUCLEO-F401RE you only to connect a USB cable. If you are using the blue-pill you'll
have to connect a external SWD programmer. The pinout of the blue-pill is shown below ;
you'll have to at least connect the GND, SWDIO and SWCLK pins. If you want to power the blue-pill
using the SWD programmer then also connect the 3V3
*or*
the 5V pin.

Then we have to start OpenOCD. OpenOCD will connect to the SWD programmer (the NUCLEO-F401RE board
has a built-in one) and start a GDB server.
```
console
$
# for the blue-pill
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment