-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Bootloader will be STM32F767 specific
Will run at the very start bindings::Initialize()
on each ECU project
Only use CAN - should work for ANY CAN interface (CAN1, CAN2, CAN3), and any set of RX, TX pins
- probably want to use preprocessor and
#define
in the platformio.ini file
if hear nothing on CAN within 3 seconds, exit the bootloader function
Must reset reset all CAN, Timers, clocks, etc before exiting the bootloader
Communicate over CAN:
you will define all of the CAN messages
- message to ECU to stay in bootloader mode
- bootloader response to say in bootloader mode
- send binaries to board
bootloader should check CRC before writing to flash
code should go in lib/bootloader
check out STM32 AN2160 for the default stm32 bootloader spec
Metadata
Metadata
Assignees
Labels
No labels