forked from dirtyjtag/DirtyJTAG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add install doc for STM32H103 (dirtyjtag#86)
* Add SWD pinout image * Add JTAG pinout image * Add installation documentation * Add STM32H103 install doc link
- Loading branch information
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Installing DirtyJTAG on Olimex STM32-H103 | ||
|
||
Thanks Olimex for gifting us this board! You can order it [on their website](https://www.olimex.com/Products/ARM/ST/STM32-H103/) (unsponsored link). | ||
|
||
## Prerequisites | ||
|
||
* An ST-Link programmer | ||
* [stlink](https://github.com/texane/stlink) | ||
|
||
## SWD wiring | ||
|
||
The SWD signals are available on the HE20 JTAG connector: | ||
|
||
![SWD pinout on the JTAG connector of STM32H103](img/stm32h103-swd-pinout.png) | ||
|
||
## Flashing DirtyJTAG | ||
|
||
Download a binary version of DirtyJTAG (make sure to get the `bluepill` build!) or [compile it yourself](building-dirtyjtag.md), then flash it using `st-flash`: | ||
|
||
``` | ||
st-flash write /path/to/dirtyjtag.bluepill.bin 0x8000000 | ||
``` | ||
|
||
## Pinout | ||
|
||
The STM32H103 uses currently the same pinout as Bluepill (if flashed with the `bluepill` firmware): | ||
|
||
![JTAG pinout of STM32H103](img/stm32h103-pinout.jpg) |