Support required to Flash in ESP32-S2-mini via controller
Posted: Mon Nov 20, 2023 5:43 am
Support required to Flash in ESP32-S2-mini for custom board (Renesas) with customizable DFU firmware
ESP32 Official Forum
http://esp32.io/
I have referred the given example code of stm32_example, In that UART transmission is making conflict with SPI and incomplete code, even in SPI transmission final transmit function is missing can't able to track.ESP_Sprite wrote: ↑Mon Nov 20, 2023 6:21 amWhat is your question? Have you looked at https://github.com/espressif/esp-serial-flasher already?
Thanks for sharing the information,ESP_Sprite wrote: ↑Wed Nov 22, 2023 7:45 amI think you're not understanding how ESP32 chips work. ESP chips or modules don't have their own flash on-silicon; they must be paired with some kind of SPI flash that contains the program they run. That flash can be either in the chip package or in the module or added externally. That is what 'SPI' refers to. This SPI flash gets programmed by the ESP32 by putting the ESP32 into download mode and sending it commands via the UART; the UART connection is what the library I linked to implements. As the UART commands describe what the ESP32 needs to do to the SPI flash, you will see 'SPI' in the source code, but that does not refer to the connection between your microcontroller and the ESP32; that still is UART.
Hope that clears things up.
thank you for sharing thislbernstone wrote: ↑Wed Nov 22, 2023 3:44 pmIt would be easier for us to help you if you explained what you would like to achieve, instead of asking for pieces of technical information. Your diagram above is correct. Here is the documentation on the serial bootloader from esptool.
https://docs.espressif.com/projects/esp ... tocol.html