-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Sometimes firmware updates reset the board profile on the E32 #345
Comments
Interesting, I haven't seen this behavior. The board profile logic changed in v3.4 to support extra parameters but didn't expect it to not recognize previous settings. Have you been able to reproduce this? |
@proddy (deleted) |
Here I did not encounter these problems myself. |
I just got an email from a user who had this issue after updating from 3.2.x to 3.3.1. |
I encountered the same issue going from 3.3.0 to 3.3.1, profile was reset to S32. |
Same here when going from 3.3.x to 3.4. |
ok, so I need to test this and load up an 3.3 onto an ESP32 and set the boardtype to E32, then upgrade to 3.4 and see if and why it switches back to S32. |
Can't reproduce this, but added some improved logging to catch it if it happens again. Would be good to know from the users experiencing this how they are upgrading, via ota, via browser (which) and which OS |
In my case I did the following
EDIT: Now when on 3.4, if I try to upgrade FW again using the same web interface, it fails but does not change the device profile. |
I suspect its related to that previous OSX firmware uploaded bug where it would try and upload a broken .bin file and it would remove part of the flash memory which has the board profile setting. If it happens again let me know! |
I had this one time, but not sure after what update, because only the project settings were on defaults, wifi, mqtt, ntp, etc. were unchanged. It was surely a update v3.4 to v3.4 with little changes. There was a upload error http:500 in one update, second upload worked and i suspect this 500 was the cause for deleting the project file. |
I don't think we can really prevent it from ever happening. Is there any failsafe we can think of? |
Don't know if it is competly failsafe and if it works. Just an idea: |
I really would like to know the root cause. Now after a recent change if the board profile is reset by chance during a f/w upload it'll be shown in the log, so we can trace it back. And instead of resetting to the S32 it will go to CUSTOM. I think we can close this and see what happens. |
I get regular emails that when someone updates the firmware on an E32, that the board profile resets to S32.
The problem here is that you loose the Ethernet connection and you have to go to the boiler, connect to the AP and set it to E32 again.
This happens I think when updating from 3.x to 3.4 and of course if you flash it via USB.
Would it be an idea to add a second bin file on the releases page with E32 as the default board profile?
So in case something goes wrong, the default profile is E32 and you can still connect remotely via Ethernet.
I was thinking to hardwire a product ID on two or three GPIO in future revisions, in this case EMS-ESP can check on boot which board it is running on.
The text was updated successfully, but these errors were encountered: