diff options
author | JF <jf@codingfield.com> | 2020-06-06 19:28:01 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-06-06 19:28:01 +0200 |
commit | 46b8bf9fc1b9a32c6d84d4b85cf43ab72c697679 (patch) | |
tree | 20c11ca02b92c474df680193e560dbabec9d524c /bootloader/README.md | |
parent | e7723598a65c6c041e3b4dff4d0bb144d1c697a0 (diff) |
Add new target (pinetime-graphics) that flash the bootloader logo into the spi flash memory.
Diffstat (limited to 'bootloader/README.md')
-rw-r--r-- | bootloader/README.md | 17 |
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 |