Page 1 of 1

ESP32: Custom bootloader via CAN bus (TWAI)

Posted: Thu May 02, 2024 10:13 pm
by Dadieter
Hello together,
I guess I need a push into the right direction...I am struggling with a custom bootloader via CAN bus.
What I want to have: in application start erasing and flashing process with specific CAN ID on unused app partition, write data into unused partition through a lot of CAN messages, verifying everything, on success switch app partition to this new one and reboot.

Is this procedure possible in general? If not, what could be the better solution?

Examples like bootloader hook or bootloader override didnt help me so far, maybe I was looking in the wrong direction.

Thanks a lot in advance!

BR
Markus