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

OTA No response from device.. [ask] #2503

Closed
irwanayeah opened this issue Sep 11, 2016 · 10 comments
Closed

OTA No response from device.. [ask] #2503

irwanayeah opened this issue Sep 11, 2016 · 10 comments

Comments

@irwanayeah
Copy link

hi, a have problem

Uploading .pioenvs\esp07\firmware.bin
08:36:10 [DEBUG]: Options: {'esp_ip': '192.168.137.36', 'host_port': 26909, 'image': '.pioenvs\esp07\firmware.bin', 'host_ip
': '0.0.0.0', 'auth': '', 'esp_port': 8266, 'spiffs': False, 'debug': True, 'progress': True}
08:36:10 [INFO]: Starting on 0.0.0.0:26909
08:36:10 [INFO]: Upload size: 249088

08:36:10 [INFO]: Sending invitation to: 192.168.137.36
08:36:10 [INFO]: Waiting for device...
08:36:20 [ERROR]: No response from device

@sembsa
Copy link

sembsa commented Sep 16, 2016

I have this same problem :(

@bhenn
Copy link

bhenn commented Oct 10, 2016

Me too

@sembsa
Copy link

sembsa commented Oct 10, 2016

Hello,
Check your firewall settings for Python :)

@EUA
Copy link

EUA commented Dec 6, 2016

No firewall here, using Linux 64 bit.
Looks like recent update(s) kills the OTA

@EUA
Copy link

EUA commented Dec 6, 2016

Found issue:
When you select "Generic ESP8266 module" and "512KB FLASH size with 64 SPIFFS", which is default, at generated firmware OTA doesn't work. 512KB FLASH without SPIFFS work proper.

@me-no-dev
Copy link
Collaborator

OTA on 512K is not supported. Not enough space

@EUA
Copy link

EUA commented Dec 8, 2016

But it is possible to do it. I use 512KB OTA without any issues at latest release. There are no problems.

You have better to put some compilation flag that gives error while compiling with 512KB**+64KB SPIFF** & OTA

@ghost
Copy link

ghost commented May 3, 2017

This bug is still there

@devyte
Copy link
Collaborator

devyte commented Oct 13, 2017

In recent releases, the binary size has increased beyond the point where OTA can be supported on a 512KB device. This is in part due to the Espressif SDK increasing in size, in part due to the Arduino code increasing in size.
On a 512KB device, the max sketch size for OTA support would be of the order of 230KB, less with SPIFFS. I just built a very simple sketch, and the binary size was over 300K.
Also, I seem to remember a comment by Espressif that not even the official AT firmware would fit on 512KB devices anymore.
Closing.

@devyte devyte closed this as completed Oct 13, 2017
@thepotoo
Copy link

Is it possible to change the error message here? I have no idea if I'm doing something wrong trying to flash OTA upgrades to my ESP8266-01s, or if this is something that will never work.

At least for the issue I'm seeing, this is the part that's failing:

    sock.settimeout(10)
    connection, client_address = sock.accept()
    sock.settimeout(None)
    connection.settimeout(None)

I tweaked the code to print the error message, and it looks like it's timing out (no surprise there). Increasing the timeout didn't help either.

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

7 participants