-
Notifications
You must be signed in to change notification settings - Fork 104
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
Update ESP Firmware #271
Comments
If there's not enough flash space to do an OTA update, you'll have to get physical access to the board and update over the USB port. |
I had same problem and this resolved it. Of course you need to verify how much storage your D1 mini or equivalent has. |
No need to get physical access in most cases. The old yaml for this project was only configured for D1 Mini Lite ESP8266 boards, rather than the more common D1 Mini, the difference being that the "Lite" only has 1MB flash, whereas the normal D1 Mini has 4MB. So, as long as you don't actually have the "Lite" you have 4MB of flash memory, but the configuration currently on your board is making it think it only has 1MB to work with, hence the error. To fix it, you need to get it flashed temporarily with anything that is configured to use the full flash memory, then flash back to your current config (changed to D1 Mini, so it can use all 4MB). The instructions in the link above should get you going again. Alternatively, if you change your config to D1 Mini from D1 Mini Lite, and disable the web server as described here, the new package should hopefully be small enough to flash. This is a very minimal change to your config, and if you don't need the web server, you're done after one flash. Otherwise, just re-enable it and flash again. |
I am looking to find out how to go about upgrading the firmware I have a V2.5
I went here to get the bin and tried to update it OTA but it came back as not enough space
https://paulwieland.github.io/ratgdo/flash.html
which took me here
https://github.com/ratgdo/mqtt-ratgdo/releases and tried to update with the latest file
Once I tried to upload the file to the device it came back and stated not enough space.
How do we update to the latest firmware. I have a issue where mine goes offline and will come back a few seconds later hoping that the update will fix the issue.
The text was updated successfully, but these errors were encountered: