• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 SIM800L problems uploading code

Q&A Forum › Category: ESP32 › ESP32 SIM800L problems uploading code
0 Vote Up Vote Down
Peter Ashford asked 5 years ago

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 ??

Peter

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)
Question Tags: ESP32, sim800L
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
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:

  • https://makeradvisor.com/ttgo-t-call-esp32-with-sim800l-gsm-gprs/
  • https://randomnerdtutorials.com/esp32-sim800l-send-text-messages-sms/
  • https://randomnerdtutorials.com/esp32-sim800l-publish-data-to-cloud/

Regards,
Sara

0 Vote Up Vote Down
Peter Ashford answered 5 years ago

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.
Peter

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Great!
I’m glad you’ve solved the problem.
I’ll mark this issue as resolved.
If you need further help you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.