Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
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
Analyze
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
Avionics
Software Development
Skyward Boardcore
Wiki
Flashing on a Target Board
Changes
Page history
New page
Templates
Clone repository
Update Flashing on a Target Board
authored
3 years ago
by
Luca Conterio
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Flashing-on-a-Target-Board.md
+11
-10
11 additions, 10 deletions
Flashing-on-a-Target-Board.md
with
11 additions
and
10 deletions
Flashing-on-a-Target-Board.md
View page @
0c5ddb3b
...
...
@@ -18,16 +18,7 @@ Simply install the ST-Link Utility.
#### Linux
##### QSTLink2
```
sudo add-apt-repository ppa:fpoussin/ppa
sudo apt-get update
sudo apt-get install qstlink2
wget https://raw.githubusercontent.com/mobyfab/QStlink2/master/res/49-stlinkv2.rules
sudo mv 49-stlinkv2.rules /etc/udev/rules.d
sudo chown root:root /etc/udev/rules.d/49-stlinkv2.rules
```
##### STLink
##### STLink (Recommended)
This is a command line tool.
[
Here
](
https://github.com/stlink-org/stlink
)
you find a guide on how to install it.
For Ubuntu you can simply do:
...
...
@@ -39,6 +30,16 @@ And in order to flash your board:
st-flash write <path-to-binary> <flash-origin-address>
```
##### QSTLink2
```
sudo add-apt-repository ppa:fpoussin/ppa
sudo apt-get update
sudo apt-get install qstlink2
wget https://raw.githubusercontent.com/mobyfab/QStlink2/master/res/49-stlinkv2.rules
sudo mv 49-stlinkv2.rules /etc/udev/rules.d
sudo chown root:root /etc/udev/rules.d/49-stlinkv2.rules
```
## Method 2: USART
If your board has at least a USART port accessible, you can also flash binaries through it. To do this, you'll need a USB-TTL module and you need to have access to the following pins of your STM32:
...
...
This diff is collapsed.
Click to expand it.