Switch branches/tags
Nothing to show
Find file History
Latest commit 25c1527 Dec 23, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.settings Checkpoint Dec 23, 2016
Debug Added bootloader Jun 14, 2016
Release Added bootloader Jun 14, 2016
include Added bootloader Jun 14, 2016
ldscripts Added bootloader Jun 14, 2016
src Final version with split board Dec 3, 2016
system Added bootloader Jun 14, 2016
.cproject Added bootloader Jun 14, 2016
.project Added bootloader Jun 14, 2016
README.md README Jun 14, 2016

README.md

Bootloader

The bootloader is a small (~10K) application that occupies the first few pages of flash at 0x0800000. Its only purpose is to determine whether an application is installed by inspecting a specific Flash page for special metadata. If the application is installed it just passes control to it, otherwise it enters UART software upload mode.

When an upload completes, the bootloader writes the special metadata page and resets the system, which will cause its next reincarnation to launch the application.

When the application receives a command to start a "software update", it will simply erase the special metadata and reset the system, which will cause the bootloader to enter UART upload mode.