We have 2 devices (already existing):
A master device (pcb) with an ESP32 with a CANBus on it.
A slave device (pcb) with a ATmega328 also with a canbus on it.
The canbus is linked together and can talk to each other.
We want to have a bootloader / sw that can be used for updating the atmega328.
The firmware can temporary be stored on the ESP32 spiffs and send over canbus to the ATmega.
If possible written in platformio, Arduino code for the atmega328 and arduino-esp32 for the esp32.
If you already have experience with this, please contact me.
An NDA needs to be signed when you need additional info, like electrical diagrams etc...