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

File size changed #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

File size changed #66

wants to merge 1 commit into from

Conversation

Aryankids
Copy link

These days Tasmota major changes take place and the hardcoded 508k act as a showstopper to upgrade to a new version. Such a change will remove the obstacle whilst it does not require the code to change substantially.

@dzek69
Copy link

dzek69 commented Jul 21, 2020

The limit there is for a reason - flash memory size of Sonoff devices is 1MB.

To upgrade via OTA/WIFI you should fit your existing firmware on a device plus new firmware. Then new one can replace old.
Putting a limit of firmware size to 50% of available memory seems right.

If you want to install bigger firmwares you should use cables connection using "USB-TTL converter", as described here: https://rutg3r.com/sonoff-firmware-tutorial-to-esp-easy/

I don't know the original firmware size (at this moment of time), but if it is or grows on new devices to for example 480 KB increasing the limit to 608 KB (so total is 1088 KB) would cause new firmware not to upload correctly. I suspect this change works for you now but may hit you back in the future.

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

Successfully merging this pull request may close these issues.

2 participants