Commit Graph

44 Commits

Author SHA1 Message Date
Andrew Tridgell 065ef471e7 AP_Bootloader: fixed build with TEST_FLASH enabled 2024-02-01 11:43:24 +11:00
Andrew Tridgell 2e0eef20d1 AP_Bootloader: fixed use of OTG in peripheral bootloader 2023-09-06 11:21:51 +10:00
subashchandar 7d23e14f85 Tools: Change erase sectors size
Stm32L4r5 flash has 512 sectors in dual bank configuration
-tested
2023-08-29 11:07:32 +10:00
Andy Piper bfc82f283b AP_Bootloader: allow OTG2 to be used as OTG1 on boards that need it 2023-04-28 08:31:15 +10:00
tsubashmail@gmail.com df5b2f7911 Tools: port for STM32L4+ processor
Added support for stm32l4+ processor

- Added scripts for hwdef generation
- Tested in custom hardware prototype (stm32l4r5vit6)
- Tested all peripherals and auto pilot modes.
2023-04-14 07:48:56 +10:00
Andy Piper 7884694771 AP_Bootloader: fix virtual timer interface 2023-03-29 20:49:40 +11:00
Michael du Breuil b846bc9d77 AP_Bootloader: Add support for skipping the cleared flash check 2022-11-02 18:43:33 +11:00
bugobliterator 5cd0105971 Tools: add LED notification for bad firmware 2022-08-30 10:51:06 +10:00
Andrew Tridgell e60550a005 AP_Bootloader: use AP_CheckFirmware 2022-08-15 09:18:34 +10:00
Andy Piper 10d99a52eb AP_Bootloader: allow external flash load in middle 2022-02-09 12:47:55 +00:00
Andy Piper f6c07df162 Tools: make CPUInfo test fairer, add data for external flash
fix CPUInfo on linux
make cache disabling optional in CPUInfo
2022-02-09 12:47:55 +00:00
Andrew Tridgell 90bb0d6310 AP_Bootloader: support L496 MCUs 2021-09-24 18:08:00 +10:00
Siddharth Purohit 7cf9db4cc9 AP_Bootloader: fix bootloader build issues 2021-09-01 17:10:53 +10:00
Siddharth Purohit fc4be3695f AP_Bootloader: add support for running from external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit 75bcc76189 AP_Bootloader: add support for flashing erasing and verifying ext flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit a1499f9593 AP_Bootloader: add support for erasing external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit 6d76990c1e AP_Bootloader: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
bugobliterator 3edf26dff9 Bootloader: complete GET_DEVICE commands before allowing timeout reset 2021-05-12 17:21:14 +10:00
Andrew Tridgell af64b86c9e AP_Bootloader: support STM32G4 2021-03-23 12:01:20 +11:00
Andrew Tridgell 246e790484 AP_Bootloader: use new hal CAN interface for CAN support 2020-09-24 12:32:19 +10:00
Siddharth Purohit 4bfd3c0782 AP_Bootloader: add support for HAL CANIface based bootloader 2020-09-24 12:32:19 +10:00
Siddharth Purohit 2edcd852eb AP_Bootloader: add support for app start offset 2020-09-24 12:32:19 +10:00
Andrew Tridgell e62cf21ce6 AP_Bootloader: added more protection against line noisy triggering bootloader
this is in reponse to a report from Ryan of the Hybrid project who
found that mavlink on telem1 could make bootloader get stuck
2019-12-06 11:39:48 +11:00
Andrew Tridgell e612ab92ff AP_Bootloader: added error codes for failing to load app
use the vendor code to indicate failure reason
2019-10-28 15:53:16 +11:00
Andrew Tridgell 31f7a62cdc AP_Bootloader: use crc32_small() 2019-10-28 15:53:16 +11:00
Andrew Tridgell c1ef2e29d7 AP_Bootloader: stay in CAN bootloader if in watchdog reset
if the app has not been running for at least 30s then stay in
bootloader to allow used to load new fw
2019-10-26 15:32:10 +11:00
Andrew Tridgell 3bc5458a82 AP_Bootloader: added CAN support for AP_Periph 2019-08-27 10:29:56 +10:00
Andrew Tridgell 5c9b3842e6 Tools: fixed bootloader hang on GPS data
don't kill the timeout till we get valid sync and get_device
calls. This makes accidental bootloader triggers very unlikely
2019-05-06 08:08:05 +10:00
Andrew Tridgell bff040c58e AP_Bootloader: added support for READ_MULTI
this is useful for comparing the firmware on a board with the known
expected firmware
2019-05-06 08:08:05 +10:00
Andrew Tridgell ac070c92f5 AP_Bootloader: fully working on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 9013c15f4d AP_Bootloader: fixed sys lock for timer 2019-02-26 16:18:26 +11:00
Andrew Tridgell 660a790401 AP_Bootloader: improved flash test code 2019-02-26 16:18:26 +11:00
Andrew Tridgell 2fee1ffba4 AP_Bootloader: first working bootloader for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 4d3cbd95ac AP_Bootloader: support building on STM32H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 9727328e0c AP_Bootloader: updates for new ChibiOS version 2018-08-03 13:44:59 +10:00
Andrew Tridgell 7316a478b6 AP_Bootloader: fixed rcc reset when no USB 2018-07-09 20:59:51 +10:00
Andrew Tridgell c955d7b824 AP_Bootloader: fixed issue loading NuttX firmwares
NuttX assumes a lot more about MCU state on startup
2018-06-29 08:17:38 +10:00
Andrew Tridgell d470c161e8 AP_Bootloader: protect against random input to bootloader
require both a good sync and get_device before accepting destructive
operations
2018-06-29 08:17:38 +10:00
Andrew Tridgell 0ebd05aa1a AP_Bootloader: support changing baudrates on UARTs 2018-06-25 21:22:31 +10:00
Andrew Tridgell fe4aa4bbc7 AP_Bootloader: support uarts and usb for bootloading 2018-06-25 21:22:31 +10:00
Andrew Tridgell b5fc7f10f3 AP_Bootloader: added flash size limiting on old CPUs 2018-06-25 21:22:31 +10:00
Andrew Tridgell 4fbd1e409f AP_Bootloader: make flashing a bit faster 2018-06-25 21:22:31 +10:00
Andrew Tridgell c1d4362555 AP_Bootloader: added MCU descriptions 2018-06-22 08:00:31 +10:00
Andrew Tridgell e7c43b9df7 AP_Bootloader: initial version of ChibiOS bootloader 2018-06-22 08:00:31 +10:00