1
0
mirror of https://github.com/peterantypas/maiana.git synced 2025-05-15 06:50:08 -07:00

Added bootloader binaries

This commit is contained in:
Peter Antypas 2023-09-13 08:18:58 -07:00
parent e6faea9c80
commit d97310ad0a
7 changed files with 16 additions and 2 deletions

1
.gitignore vendored
View File

@ -7,7 +7,6 @@
*.s#*
*.bin
*.map
.metadata

View File

@ -1,6 +1,5 @@
*.o
*.elf
*.bin
*.map
*.hex
*~

View File

@ -0,0 +1,13 @@
# MAIANA bootloader Python scripts
To install a binary after flashing the bootloader, run one of the included Python scripts. The arguments are:
- The serial port name (platform dependent)
- The path to the application binary
## Rescuing the board
If you end up with an unusable system because you installed the wrong application binary, power cycle it and toggle the "TX" switch quickly during the first 2 seconds. This will force the bootloader to enter DFU mode so you can try installing the correct binary.

View File

@ -22,4 +22,7 @@ DFU mode automatically.
If the TX switch is toggled twice during the first 2.5 seconds after power-up, the bootloader enters DFU mode again, regardless of application firmware state.
## Pre-built binaries
The Binaries/ folder contains pre-built binaries for L422, L431 and L432. You can flash those via SWD into the top of flash (0x08000000) and then use one of the scripts in the Python folder for installing an application binary.