Hi, I am trying to extend the UAVCAN drivers to be able to update the firmware through UAVCAN. However I do not uderstand how the bootloader process works. I see in the file commands.c several functions that I think are relevant but I dont know the order in which they are called, for example:
COMM_JUMP_TO_BOOTLOADER_ALL_CAN (I suppose after the application has been recived this is called)
COMM_ERASE_NEW_APP_ALL_CAN (probably called before the hosts sends the application?)
COMM_WRITE_NEW_APP_DATA_ALL_CAN (used to send the app data to the other CAN node ESC??)
COMM_ERASE_BOOTLOADER_ALL_CAN (erase the bootloader on the other CAN ESC?)
If someone could quickly explain how the flashing process works that would be a great help towards supporting flashing via UAVCAN. Thanks.