forked from paparazzi/luftboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature] a few improvements on the luftboot bootloader and host program
-speed improvement by optimizing the bwPollTimeout for each command -transfer integrity using CRC (evry block is now checked for error) -programming integrity using CRC, the whole bin and flash memory are checked. -better error handling by returning different error STATUS: *VERIFY when CRC check is false *ADDRESS when provided address is out of flash range -changed led pattern, 3 are dancing, 2 blink for flash erase/program TODO: -switch to stm32 crc32 engine, check if the formula in binascii.crc32 give the same results -add CRC to small commands (erase, set address, crc, crc_full) as they give frequent error. and error detection is only base on addresse outside flash range. -add an ID(text) to each firmware so it is impossible to upload the wrong plane with a wrong firmware
- Loading branch information
Corentin Chéron
committed
Oct 29, 2013
1 parent
9e035c3
commit d552729
Showing
4 changed files
with
419 additions
and
131 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
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
Oops, something went wrong.