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

ESP32 C3 crashes attempting to start WiFi #295

Closed
Slushee-a opened this issue Oct 19, 2023 · 2 comments
Closed

ESP32 C3 crashes attempting to start WiFi #295

Slushee-a opened this issue Oct 19, 2023 · 2 comments

Comments

@Slushee-a
Copy link

I'm using the Embassy DHCP example from this repo with the Seeedstudio XIAO-ESP32-C3 and the sketch crashes when attempting to start WiFi:

start connection task
Device capabilities: Ok(EnumSet(Client | AccessPoint))
Starting wifi
Exception 'Instruction access fault' mepc=0x3fc99218, mtval=0x3fc99218
0x3fc99218 - _ZN8esp_wifi7preempt10TASK_STACK17hd537f55039342cdcE
    at ??:??
0x3fc99218 - _ZN8esp_wifi7preempt10TASK_STACK17hd537f55039342cdcE
    at ??:??

Here are the code, Cargo.toml and full terminal output:
https://gitlab.com/-/snippets/3612868

I'm not fluent with cargo workspaces so it might be a missing dependency or feature flag.

Also, is there any esp-wifi documentation anywhere? I can't find any documentation webpage

@bugadani
Copy link
Contributor

You are using a slightly old version with rev = "fbb8417". That's not necessarily wrong, just odd. What happens if you use the latest commit instead?

@Slushee-a
Copy link
Author

That actually works, thanks! Seems like the cargo-generate template uses an old revision.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Oct 19, 2023
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

2 participants