Xinyuan-LilyGO / LilyGo-T-Call-SIM800

https://www.aliexpress.com/item/33045221960.html
472 stars 239 forks source link

Cannot upload sketch with Arduino #229

Open danielnitz opened 1 year ago

danielnitz commented 1 year ago

Hello,

I have a SIM800L AXP192 and a SIM800C AXP192 board recently bought off of Lilygo Official Store on Aliexpress.

I can put both into the download mode by grounding pin 0 and pushing the EN button which gives me the following (expected) output on the serial monitor:

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

But uploading any sketch fails on both devices with the following error message:

Sketch uses 243801 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21832 bytes (6%) of dynamic memory, leaving 305848 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.2.1
Serial port /dev/cu.usbserial-54790161071
Connecting...........Traceback (most recent call last):
  File "esptool.py", line 34, in <module>
  File "esptool/__init__.py", line 1004, in _main
  File "esptool/__init__.py", line 790, in main
  File "esptool/loader.py", line 1108, in flash_set_parameters
  File "esptool/loader.py", line 406, in check_command
  File "esptool/loader.py", line 375, in command
  File "esptool/loader.py", line 307, in read
StopIteration
[1864] Failed to execute script 'esptool' due to unhandled exception!

Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 94:e6:86:4b:a6:38
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Failed uploading: uploading error: exit status 1

I'm using the ESP32 Wrover Module as the board in Arduino IDE (version 2.0.3).

Any ideas what I'm doing wrong? Thanks!

lewisxhe commented 1 year ago

Try to reduce the baud rate to 115200 and try again