This commit is contained in:
JF 2020-09-20 11:29:56 +02:00
parent d45cf23611
commit 8d2e56bf00
4 changed files with 5 additions and 5 deletions

View file

@ -67,14 +67,14 @@ 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). - 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 ## Bootloader binary
The binary comes from https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.7 The binary comes from https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v5.0.4
It must be flash at address **0x00** in the internal flash memory. It must be flash at address **0x00** in the internal flash memory.
Using OpenOCD: Using OpenOCD:
` `
program mynewt_nosemi.elf_4.1.7.bin 0 program bootloader-5.0.4.bin 0
` `
## Application firmware image ## Application firmware image

View file

@ -19,7 +19,7 @@ echo ""
# Flashing Bootloader # Flashing Bootloader
echo "Flashing bootloader..." echo "Flashing bootloader..."
program ./mynewt_nosemi_4.1.7.elf verify 0x00000000 program ./bootloader-5.0.4.elf verify 0x00000000
# Flashing Application # Flashing Application
echo "Flashing application..." echo "Flashing application..."

View file

@ -18,7 +18,7 @@ This firmware is standalone, meaning that it does not need a bootloader to actua
**This firmware must be flashed at address 0x00 in the main flash memory** **This firmware must be flashed at address 0x00 in the main flash memory**
### Bootloader ### Bootloader
The bootloader is maintained by [lupyuen](https://github.com/lupyuen) and is a binary version of [this release](https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.7). The bootloader is maintained by [lupyuen](https://github.com/lupyuen) and is a binary version of [this release](https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v5.0.4).
- **bootloader.hex** : Firmware in Intel HEX file format. - **bootloader.hex** : Firmware in Intel HEX file format.

View file

@ -11,6 +11,6 @@ cp /sources/build/src/*.bin /sources/build/output/
cp /sources/build/src/*.hex /sources/build/output/ cp /sources/build/src/*.hex /sources/build/output/
cp /sources/build/src/*.out /sources/build/output/ cp /sources/build/src/*.out /sources/build/output/
cp /sources/build/src/*.map /sources/build/output/ cp /sources/build/src/*.map /sources/build/output/
cp /sources/bootloader/mynewt_nosemi_4.1.7.elf.bin /sources/build/output/bootloader.bin cp /sources/bootloader/bootloader-5.0.4.bin /sources/build/output/bootloader.bin