Search found 76 matches

by chrismerck
Tue Jul 23, 2024 8:44 pm
Forum: ESP-IDF
Topic: Boot Failure from v3 bootloader into v5 app
Replies: 8
Views: 39688

Re: Boot Failure from v3 bootloader into v5 app

To bring some closure here for any other parties that have been supporting ESP32 devices in the field since early v3 IDF, ultimately we were unable to discover the root cause of the bootloader-app incompatibility here, despite some efforts from ESP staff to help us out. For some context, we use a 3-...
by chrismerck
Sat Apr 06, 2024 2:00 pm
Forum: ESP-IDF
Topic: Closing a socket after recv timeout results in resource leak
Replies: 1
Views: 6568

Re: Closing a socket after recv timeout results in resource leak

FWIW we still face this issue in our fw on IDF v5.1.1
by chrismerck
Tue Apr 02, 2024 7:29 pm
Forum: ESP-IDF
Topic: Boot Failure from v3 bootloader into v5 app
Replies: 8
Views: 39688

Re: Boot Failure from v3 bootloader into v5 app

Are there any consultants out there who can help with this? I really think it has to do with "memw psram workaround" flags. DM me...
by chrismerck
Fri Dec 15, 2023 8:29 pm
Forum: ESP-IDF
Topic: Boot Failure from v3 bootloader into v5 app
Replies: 8
Views: 39688

Re: Boot Failure from v3 bootloader into v5 app

@ESP_Yake any tips here? Referring to the original screen captures of gdb, you can see that the `memw` instruction is sometimes present, sometimes absent. I guess we need to check the exact compile & link flags for all files, to make sure the PSRAM workaround with memw instructions is always flagged.
by chrismerck
Fri Dec 08, 2023 8:53 pm
Forum: ESP-IDF
Topic: Boot Failure from v3 bootloader into v5 app
Replies: 8
Views: 39688

Re: Boot Failure from v3 bootloader into v5 app

> Have you tried to upgrade the v5.1 firmware with the v3.2 boot? We can successfully boot the v5.1 app from v3.3.4 bootloader. We can use esptool to write just the boot partition and observe the issue occurring and not occurring based on using v3.1 or v3.3.4 bootloader. We don't have a v3.2 bootloa...
by chrismerck
Wed Dec 06, 2023 9:47 pm
Forum: ESP-IDF
Topic: Boot Failure from v3 bootloader into v5 app
Replies: 8
Views: 39688

Re: Boot Failure from v3 bootloader into v5 app

Thank you for reply, Yake. > Have you tested using v5.1.1 bootloader to load the firmware directly? I wonder if there is a problem at this time. What I have tried is using a more recent v3.x bootloader binary. Swapping just the bootloader binaries causes the problem to follow the bootloader binary. ...
by chrismerck
Thu Nov 30, 2023 3:49 pm
Forum: ESP-IDF
Topic: Boot Failure from v3 bootloader into v5 app
Replies: 8
Views: 39688

Boot Failure from v3 bootloader into v5 app

We have many ESP32-WROVER-B (100k online, many more manufactured) with various revisions of IDF v3 bootloaders. We've been happily shipping firmware updates for ~5 years, all with IDF v3.x apps. We are now testing an IDF v5.x-based app, and sadly running into some bootloops which look like bootloade...
by chrismerck
Wed Nov 08, 2023 2:00 am
Forum: ESP-IDF
Topic: IDF 5.1.1 supporting many variants of ESP-WROVER-B
Replies: 0
Views: 791

IDF 5.1.1 supporting many variants of ESP-WROVER-B

Espressif Support: We've got 5+ years of product in the field using ESP-WROVER-B. In that time, there have been changes to the RAM and/or Flash chips. I don't think there's been ESP32 chip revision change, but perhaps? Anyways, the issue is we are getting some reports of certain units in the field b...
by chrismerck
Mon Nov 06, 2023 11:43 pm
Forum: ESP-IDF
Topic: Fail to Associate with Certain WiFi Routers after IDF3.3.4 to 5.1.1 Upgrade
Replies: 1
Views: 1141

Re: Fail to Associate with Certain WiFi Routers after IDF3.3.4 to 5.1.1 Upgrade

Solved.

We had to change:

Code: Select all

wifi_config.sta.threshold.authmode = WIFI_AUTH_OPEN;
to

Code: Select all

wifi_config.sta.threshold.authmode = strlen(_m_bwifi->sta.password) ? WIFI_AUTH_WEP : WIFI_AUTH_OPEN;
Seems there was some change in the exact interpretation of the authmode field.
by chrismerck
Mon Nov 06, 2023 10:59 pm
Forum: ESP-IDF
Topic: Fail to Associate with Certain WiFi Routers after IDF3.3.4 to 5.1.1 Upgrade
Replies: 1
Views: 1141

Fail to Associate with Certain WiFi Routers after IDF3.3.4 to 5.1.1 Upgrade

We've got a situation where we are trying to upgrade our fleet from IDF 3.3.4 to 5.1.1. We are getting reports of failure to connect to WiFi after upgrade. We were able to reproduce in our lab with one TRENDnet TEW-711BR WiFi AP. Interestingly, our firmware successfully connects with IDF 3.3.4, but ...