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 from Arduino IDE 2.0.3 and esp8266 3.1.1 #4

Open
rgov opened this issue Jan 22, 2023 · 2 comments
Open

Cannot upload from Arduino IDE 2.0.3 and esp8266 3.1.1 #4

rgov opened this issue Jan 22, 2023 · 2 comments

Comments

@rgov
Copy link

rgov commented Jan 22, 2023

I'm running macOS 13.1 and Arduino IDE 2.0.3 with esp8266 version 3.1.1.

I've configured the Arduino IDE according to the Getting Started document, or as close as I can given that the IDE is a little different now.

When I reset the board and then press "Upload", it eventually fails with:

esptool.py v3.0
Serial port /dev/cu.usbmodem32123101
Connecting........_____.
A fatal esptool.py error occurred: Timed out waiting for packet header
Chip is ESP8266EX
Features: WiFi
WARNING: Detected crystal freq 6.62MHz is quite different to normalized freq 26MHz. Unsupported crystal in use?
Crystal is 26MHz
MAC: a0:20:a6:01:22:a5
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...

Are there other settings that need to be configured? Or is there a version of the esp8266 board package that is known to work?

@cibomahto
Copy link
Member

cibomahto commented Jan 26, 2023

I can repeat this with Arduino 2.0.3 and esp8266 3.1.1 on a Windows machine.

I was able to get it working by changing the esp8266 version to 2.0.0, and uploading the 'blinkydemo' sketch with the following settings:
board: generic esp8266 module
reset method: nodemcu
upload speed: 512000

Can you try these settings and see if they work for you?

(edit: wrong version, I used 2.0.0 not 2.7.4)

@rgov
Copy link
Author

rgov commented Jan 26, 2023

Thanks. I was also able to get it to work with an older version of the esp8266 package for the Arduino IDE. I think it depends on the version of esptool included. See espressif/esptool#827

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