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

NVS initialization error #443

Closed
Janrupf opened this issue Mar 21, 2024 · 1 comment
Closed

NVS initialization error #443

Janrupf opened this issue Mar 21, 2024 · 1 comment

Comments

@Janrupf
Copy link

Janrupf commented Mar 21, 2024

Calling esp_wifi::wifi::new_with_mode yields InternalError(EspErrWifiNvs). I'm unsure why this happens, my best guess is that because I'm not using the esp-idf at all the driver somehow fails to use the flash for storing WiFi configuration (I don't want it to do that anyway...).

From the bootloader:

I (63) boot: ## Label            Usage          Type ST Offset   Length
I (71) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (78) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (86) boot:  2 factory          factory app      00 00 00010000 003f0000

So the matching partition is there.

@Janrupf
Copy link
Author

Janrupf commented Mar 21, 2024

Whoops, I guess I discovered a duplicate of #412 - I presume the error was caused by some kind of memory corruption.

@Janrupf Janrupf closed this as completed Mar 21, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant