Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload sketch with Arduino #229

Open
danielnitz opened this issue Feb 18, 2023 · 1 comment
Open

Cannot upload sketch with Arduino #229

danielnitz opened this issue Feb 18, 2023 · 1 comment

Comments

@danielnitz
Copy link

danielnitz commented Feb 18, 2023

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
Copy link
Contributor

Try to reduce the baud rate to 115200 and try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants