Hi,
I followed the instructions below:
https://docs.espressif.com/projects/esp ... t-up-tools
After all is installed, I navigated to the dpp-enrollee folder under wifi easy connect and tried to compile and flash.
All seem well but the output of the esp32s3 that I use shows error:
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x420093bc
file: "/IDF/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c" line 158
func: dpp_enrollee_init
expression: esp_supp_dpp_init(dpp_enrollee_event_cb)
abort() was called at PC 0x4037be53 on core 0
Please help. Thanks
ESP-IDF example for wifi easy connect not working
-
- Posts: 1
- Joined: Sun May 05, 2024 5:59 pm
Re: ESP-IDF example for wifi easy connect not working
Hello, I also found the same mistake.
My backtrace is as follows:
```
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x400d6879
0x400d6879: dpp_enrollee_init at /root/esp/esp-idf/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c:158 (discriminator 1)
file: "/IDF/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c" line 158
func: dpp_enrollee_init
expression: esp_supp_dpp_init(dpp_enrollee_event_cb)
abort() was called at PC 0x400890fb on core 0
0x400890fb: _esp_error_check_failed at /root/esp/esp-idf/components/esp_system/esp_err.c:50
Backtrace: 0x400817d2:0x3ffb9ff0 0x40089105:0x3ffba010 0x400908bd:0x3ffba030 0x400890fb:0x3ffba0a0 0x400d6879:0x3ffba0d0 0x400d69db:0x3ffba1e0 0x4015f5ff:0x3ffba200 0x40089c11:0x3ffba230
0x400817d2: panic_abort at /root/esp/esp-idf/components/esp_system/panic.c:472
0x40089105: esp_system_abort at /root/esp/esp-idf/components/esp_system/port/esp_system_chip.c:93
0x400908bd: abort at /root/esp/esp-idf/components/newlib/abort.c:38
0x400890fb: _esp_error_check_failed at /root/esp/esp-idf/components/esp_system/esp_err.c:50
0x400d6879: dpp_enrollee_init at /root/esp/esp-idf/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c:158 (discriminator 1)
0x400d69db: app_main at /root/esp/esp-idf/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c:201
0x4015f5ff: main_task at /root/esp/esp-idf/components/freertos/app_startup.c:208
0x40089c11: vPortTaskWrapper at /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:134
```
My chip worked properly in some previous tests. But after entering the wrong WIFI password one time, all programs that use the WIFI module will report this error. Perhaps it is an error in a register of the chip that cannot be reset? I don't know how to correct this error.
My backtrace is as follows:
```
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x400d6879
0x400d6879: dpp_enrollee_init at /root/esp/esp-idf/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c:158 (discriminator 1)
file: "/IDF/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c" line 158
func: dpp_enrollee_init
expression: esp_supp_dpp_init(dpp_enrollee_event_cb)
abort() was called at PC 0x400890fb on core 0
0x400890fb: _esp_error_check_failed at /root/esp/esp-idf/components/esp_system/esp_err.c:50
Backtrace: 0x400817d2:0x3ffb9ff0 0x40089105:0x3ffba010 0x400908bd:0x3ffba030 0x400890fb:0x3ffba0a0 0x400d6879:0x3ffba0d0 0x400d69db:0x3ffba1e0 0x4015f5ff:0x3ffba200 0x40089c11:0x3ffba230
0x400817d2: panic_abort at /root/esp/esp-idf/components/esp_system/panic.c:472
0x40089105: esp_system_abort at /root/esp/esp-idf/components/esp_system/port/esp_system_chip.c:93
0x400908bd: abort at /root/esp/esp-idf/components/newlib/abort.c:38
0x400890fb: _esp_error_check_failed at /root/esp/esp-idf/components/esp_system/esp_err.c:50
0x400d6879: dpp_enrollee_init at /root/esp/esp-idf/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c:158 (discriminator 1)
0x400d69db: app_main at /root/esp/esp-idf/examples/wifi/wifi_easy_connect/dpp-enrollee/main/dpp_enrollee_main.c:201
0x4015f5ff: main_task at /root/esp/esp-idf/components/freertos/app_startup.c:208
0x40089c11: vPortTaskWrapper at /root/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:134
```
My chip worked properly in some previous tests. But after entering the wrong WIFI password one time, all programs that use the WIFI module will report this error. Perhaps it is an error in a register of the chip that cannot be reset? I don't know how to correct this error.
Who is online
Users browsing this forum: Google [Bot] and 96 guests