Cant program ESP32-S2
Posted: Mon Jul 20, 2020 8:32 am
Hello everyone!
I recently switched processor from ESP32 to ESP32-S2 in some hardware that I’m designing. I changed processor because the ESP32 lacked some functionality that I needed and it happened to exist in the ESP32-S2.
I can’t figure out why I’m not able to program the ESP32-S2, i followed the hardware design guidelines from Espressif.
The processor is configured in "Download Mode" to program it through RS232.
The RF side of the chip is not implemented in hardware/software.
4MB external flash memory is added according to the design recommendations (The same has worked for the ESP32).
If I open the serial monitor with a baud rate of 115200 I get the following error:
I get the following error when I try to flash the processor
I have attached a stripped down version of my microcontroller schematic.
I’m not sure what’s going on but would appreciate any help!
I recently switched processor from ESP32 to ESP32-S2 in some hardware that I’m designing. I changed processor because the ESP32 lacked some functionality that I needed and it happened to exist in the ESP32-S2.
I can’t figure out why I’m not able to program the ESP32-S2, i followed the hardware design guidelines from Espressif.
The processor is configured in "Download Mode" to program it through RS232.
The RF side of the chip is not implemented in hardware/software.
4MB external flash memory is added according to the design recommendations (The same has worked for the ESP32).
If I open the serial monitor with a baud rate of 115200 I get the following error:
Code: Select all
5hESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
//And then it repeats "invalid header: 0xffffffff" and spams the console with it.
Code: Select all
esptool.py v2.8
Serial port COM12
Connecting....
Detecting chip type...
A fatal error occurred: Unexpected UART datecode value 0x00000500. Failed to autodetect chip type.
esptool.py failed with exit code 2
I’m not sure what’s going on but would appreciate any help!