-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
"phy_init: saving new calibration data because of checksum failure, mode(0)" on almost every start (IDFGH-14161) #14963
Comments
I also reported the same symptom with v5.2 branch: #13251 (comment), but got no response. |
I am afraid of wrecking the flash chip prematurely by writing the calibration data over and over again. |
hi @kriegste |
@mhdong |
I don't get it, this commit does not fix anything. Also, you should have different return value for "data checksum failure" and "the calibration data is outdated" so the users can figure out the root cause. (we don't need to guess the root cause.) |
But you even didn't figure out if it's "checksum errors" or "calibration updates" for the reported case. |
If there is indeed a checksum failure it should still be logged as a warning. Don't you agree, Espressif? |
For checksum errors or calibration data being outdated, these simply indicate that we need to update calibration data. We don't need to handle them differently based on the specific return value, so there's no need for further differentiation. |
If the user cannot differentate it when reprot the issue, how could you |
hi @AxelLin |
Which means ther is no way to differentiate "Calibration data being outdated" |
Answers checklist.
General issue report
Under what circumstances does this message appear at startup?
I am asking because I get this on almost every start. Also software restart or hardware restart. I have several devices, with very different power supplies. All are affected. This may be since IDF 5.3.1. But I could be mistaken and it only caught my eye now. Experiments show that "mode(n)" refer to whether "full" or "partial" calibration is selected. However, this does not make a difference in the frequency of this message appearing.
I cannot believe this is really a "checksum failure". That would mean reading the NVS fails. But my WiFi credentials (SSID and password) which are also in the NVS, are never misread. The WiFi connection succeeds every time regardless if the message appears or not.
Any insights or ways to debug?
The text was updated successfully, but these errors were encountered: