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

esp-dev-kits/examples/esp32-s3-lcd-ev-board/examples /smart_panel/ fail with ESP-IDF v5.4 (AEGHB-987) #122

Open
3 tasks done
klaatu2a opened this issue Feb 19, 2025 · 8 comments

Comments

@klaatu2a
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.4

Espressif SoC revision.

1

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

Development Kit.

ESP32-S3_LCD_EV_BOARD v1.1

Power Supply used.

USB

What is the expected behavior?

Update ESP-IDF to version v5.4.
Smart_Panel example Compiles, flashes, but fails to run

E (2065) wifi:Config authmode threshold is invalid, -1515870811
ESP_ERROR_CHECK failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x4200d771
--- 0x4200d771: wifi_init_sta at E:/ESPIDF/esp32-s3-lcd-ev-board2/examples/smart_panel/main/app/app_wifi.c:208 (discriminator 1)

file: "./main/app/app_wifi.c" line 208
func: wifi_init_sta
expression: esp_wifi_set_config(WIFI_IF_STA, &wifi_config)

abort() was called at PC 0x40380c47 on core 0
--- 0x40380c47: _esp_error_check_failed at E:/ESPIDF/v5.4/esp-idf/components/esp_system/esp_err.c:49

On the readme page for the smart_panel example, it states:

wifi Configuration
ESP_WIFI_SSID: The name of default Wi-Fi AP.
ESP_WIFI_PASSWORD: The password of default Wi-Fi AP.

They are no longer in menuconfig

What is the actual behavior?

The boot screen appears, then it reboots over and over.

Steps to reproduce.

  1. Step
  2. Step
  3. Step
    ...

Debug Logs.


More Information.

No response

@github-actions github-actions bot changed the title esp-dev-kits/examples/esp32-s3-lcd-ev-board/examples /smart_panel/ fail with ESP-IDF v5.4 esp-dev-kits/examples/esp32-s3-lcd-ev-board/examples /smart_panel/ fail with ESP-IDF v5.4 (AEGHB-987) Feb 19, 2025
@GrantGeno
Copy link

See also #123. I have a workaround that allows for boot, but I don't know if that's an intelligent fix or nonsensical.

@klaatu2a
Copy link
Author

I commented out this line
file: "./main/app/app_wifi.c" line 208

And it worked. The wifi seems to work too,

@GrantGeno
Copy link

I commented out this line file: "./main/app/app_wifi.c" line 208

And it worked. The wifi seems to work too,

If you unplug the board (power it down), then try again, does it work? Curious how the wifi works without that call, but maybe it's a duplicate that's also done elsewhere...

@klaatu2a
Copy link
Author

I commented out this line file: "./main/app/app_wifi.c" line 208
And it worked. The wifi seems to work too,

If you unplug the board (power it down), then try again, does it work? Curious how the wifi works without that call, but maybe it's a duplicate that's also done elsewhere...

Yes, No issues. Wifi evenconnected to the access point on its own

@GrantGeno
Copy link

Thank you.

@klaatu2a
Copy link
Author

I commented out this line file: "./main/app/app_wifi.c" line 208
And it worked. The wifi seems to work too,

If you unplug the board (power it down), then try again, does it work? Curious how the wifi works without that call, but maybe it's a duplicate that's also done elsewhere...

There appears to be no incentive to upgrade to a new version of ESP-IDF. Its only met with problems. And there is so much code and so many layers, it crushing to go through it all. I have a LVGL project, and its a mess.... with v5.4 it does not run.

@GrantGeno
Copy link

Thanks for the heads-up. I see the releases come out in an interesting order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants