summaryrefslogtreecommitdiff
path: root/doc/SWD.md
diff options
context:
space:
mode:
authorJF <JF002@users.noreply.github.com>2021-11-28 12:59:09 (GMT)
committerGitHub <noreply@github.com>2021-11-28 12:59:09 (GMT)
commit583c7ee22fdf576490169643762240bf9bb6b375 (patch)
treec0bca6afa9b570bb2f78370c1096131acafd32d0 /doc/SWD.md
parentf9613d28c06f96fbc93ccbc59a8f749bbc5f7fa5 (diff)
parent4257073a02215e3f182d993765e4c5edef2d9845 (diff)
Merge branch 'develop' into motionservice_fix_typo_in_include
Diffstat (limited to 'doc/SWD.md')
-rw-r--r--doc/SWD.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/SWD.md b/doc/SWD.md
new file mode 100644
index 0000000..4146e6a
--- /dev/null
+++ b/doc/SWD.md
@@ -0,0 +1,14 @@
+# How to flash InfiniTime using the SWD interface
+Download the files **bootloader.bin**, **image-x.y.z.bin** and **pinetime-graphics-x.y.z.bin** from the release page:
+
+![Image file](imageFile.png)
+
+The bootloader reads a boot logo from the external SPI flash memory. The first step consists of flashing a tool in the MCU that will flash the boot logo into this SPI flash memory. This first step is optional but recommended (the bootloader will display garbage on screen for a few second if you don't do it).
+Using your SWD tool, flash **pinetime-graphics-x.y.z.bin** at offset **0x0000**. Reset the MCU and wait for a few second, until the logo is completely drawn on the display.
+
+Then, using your SWD tool, flash those file at specific offset:
+
+ - bootloader.bin : **0x0000**
+ - image-x.y.z.bin : **0x8000**
+
+Reset and voilĂ , you're running InfiniTime on your PineTime!