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

Update ESP Firmware #271

Open
mclausha1 opened this issue May 7, 2024 · 3 comments
Open

Update ESP Firmware #271

mclausha1 opened this issue May 7, 2024 · 3 comments

Comments

@mclausha1
Copy link

I am looking to find out how to go about upgrading the firmware I have a V2.5

image

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
image

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.

@kpfleming
Copy link
Contributor

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.

@greggitter
Copy link

I had same problem and this resolved it. Of course you need to verify how much storage your D1 mini or equivalent has.

@mwaterbu
Copy link

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.

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

4 participants