-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd98d27
commit b9ee111
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 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 certain flash page. | ||
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. | ||
|
||
|