Can the ESP32 in the test circuit hold the firmware and upload it to the main circuit’s ESP32

Hey guys I have developed a circuit with an ESP32 as the main microcontroller, alongside various sensors and hardware. I am creating a test circuit to validate this main circuit. The test circuit will connect to the main circuit to verify its inputs and outputs. I aim to have the test circuit upload firmware to the ESP32 on the main circuit and monitor its inputs and outputs to ensure they are functioning correctly. Can the ESP32 in the test circuit hold the firmware and upload it to the main circuit’s ESP32, and then observe and validate the inputs and outputs?
Solution:
To upload firmware from one ESP32 to another using UART: - Connect the ESP32s (TX to RX, RX to TX) - Use a tool or library to send the firmware binary: - ESP-IDF: esptool command-line tool...
Jump to solution
3 Replies
Joseph Ogbonna
Joseph Ogbonna4mo ago
The ESP32 in the test circuit can be able to communicate with that of the main circuit. You can use a communication protocol of your choice, but I would prefer Uart Protocol. Ensure the baud rate are configured properly.
Daniel kalu
Daniel kalu4mo ago
Using UART makes sense but can you please elaborate on how the ESP32 in the test circuit can upload firmware to the ESP32 in the main circuit? Should I use a specific tool or library, like ESP-IDF or Arduino IDE, to accomplish this firmware upload process?
Solution
Joseph Ogbonna
Joseph Ogbonna4mo ago
To upload firmware from one ESP32 to another using UART: - Connect the ESP32s (TX to RX, RX to TX) - Use a tool or library to send the firmware binary: - ESP-IDF: esptool command-line tool - Arduino IDE: "Upload using a Programmer" feature, select "ESP32 UART" - Ensure the receiving ESP32 is in bootloader mode This should work fine
Want results from more Discord servers?
Add your server