How do you load programs into RAM of an ESP32 IC, not WROVER/WROOM module?
Posted: Fri Jan 14, 2022 11:37 pm
I've used WROVER for a number of years with ESP-IDF, micropython, and sometimes arduino IDE so I'm familiar with its FLASH partitions and PSRAM etc. But I am wondering, if I use an ESP32-S2, the bare IC, not a module with PSRAM, FLASH, antenna, as a USB OTG host for instance, since it's so much cheaper than a MAX3421e, how do I go about loading its firmware into its RAM? I know that esptool can load stub into ESP32 so I wonder if that means you can send a program's binary to an ESP32 IC via some protocol. So if I can implement this protocol, and probably toggle some pins to reset ESP32-S2, I can have my main MCU send the firmware to ESP32-S2?