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
    • Arduino IDE: "Upload using a Programmer" feature, select "ESP32 UART"
  • Ensure the receiving ESP32 is in bootloader mode
This should work fine
Was this page helpful?