summaryrefslogtreecommitdiff
path: root/bootloader/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/README.md')
-rw-r--r--bootloader/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/bootloader/README.md b/bootloader/README.md
index a6ab1626..83d9c622 100644
--- a/bootloader/README.md
+++ b/bootloader/README.md
@@ -1,5 +1,22 @@
# Bootloader
+## Bootloader graphic
+The bootloader loads a graphic (Pinetime logo) from the SPI Flash memory. If this graphic is not loaded in the memory, the LCD will display garbage (the content of the SPI flash memory).
+
+The SPI Flash memory is not accessible via the SWD debugger. Use the firmware 'pinetime-graphics' to load the graphic into memory. All you have to do is build it and program it at address 0x00 :
+
+ - Build:
+```
+$ make pinetime-graphics
+```
+
+ - Program (using OpenOCD for example) :
+```
+program pinetime-graphics.bin 0
+```
+
+ - Let it run for ~10s (it does nothing for 5 seconds, then write the logo into the SPI memory, then (slowly) displays it on the LCD).
+
## Bootloader binary
The binary comes from https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.7