I’m having problems programming the ESP32 SIM800L
I am using RandomNerd example code for the ESP32 SIM800L and The program compiles ok using com8 and the board set as ‘esp32 dev board’ but I get the error shown below.
I’m using a usb-c to micro-usb converter and on connection to my PC there are no lights showing.
I get the same error if I try to make a simple blink sketch – do I have to do anything special to put the chip into programming mode?
Any ideas ??
Connecting.... Chip is ESP32D0WDQ5 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: c8:2b:96:87:96:6c Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... A fatal error occurred: Invalid head of packet (0x00) A fatal error occurred: Invalid head of packet (0x00)
That error usually means that the ESP32 is not in flashing mode.
Try to connect GPIO 0 to GND while the code is uploading.
However, we never need to do that with that particular board.
Our articles with SIM800L:
Hi Sara, I’ve found I’ve left tiny solder bridge when I soldered the header pins and it now works perfectly, thanks for your excellent service.