Support DFU for main chip
Posted: Tue Dec 25, 2018 3:17 am
In my production, I have to support DFU for main chip over I2C communication by ESP32.
But I don't want to do it in ESP32 main app. I want main app just downloading firmware from server and save to flash. After that, ESP32 reboot, boot loader will read firmware from flash and connect to main chip to do DFU.
But i found in document that boot loader can not use the drivers and functions from other components and boot loader size is also limited.
So anyone here have experience in customize boot loader can give me some advice? Thanks so much.
But I don't want to do it in ESP32 main app. I want main app just downloading firmware from server and save to flash. After that, ESP32 reboot, boot loader will read firmware from flash and connect to main chip to do DFU.
But i found in document that boot loader can not use the drivers and functions from other components and boot loader size is also limited.
So anyone here have experience in customize boot loader can give me some advice? Thanks so much.