Search found 73 matches

by chrismerck
Fri Dec 15, 2023 8:29 pm
Forum: ESP-IDF
Topic: Boot Failure from v3 bootloader into v5 app
Replies: 6
Views: 28658

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: 6
Views: 28658

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: 6
Views: 28658

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: 6
Views: 28658

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: 360

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: 476

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: 476

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 ...
by chrismerck
Mon Oct 02, 2023 3:33 pm
Forum: Hardware
Topic: ESP32-C6 IO21 Glitch on Boot
Replies: 1
Views: 1180

ESP32-C6 IO21 Glitch on Boot

We've got a blank (fresh from Espressif) ESP32-C6-MINI-1. We notice that there is a very brief positive pulse outputted on IO21 when the IC boots up. Less than 10 uS. Still, this is long enough to turn on a MOSFET we have connected which resets another microcontroller, causing a bootloop. We found t...
by chrismerck
Thu May 25, 2023 2:50 pm
Forum: ESP-IDF
Topic: Seeking IDF v5 Build System Expert
Replies: 0
Views: 563

Seeking IDF v5 Build System Expert

At Bond Home we have several product lines based on the ESP-IDF v3.3, which we've abused to build for a simulator on POSIX and for STM32 targets. We are now attempting to upgrade to IDF 5, to take advantage of RAM optimizations and support ESP32-H2. We don't have in-house expertise in CMake, and the...
by chrismerck
Mon Jan 30, 2023 1:39 am
Forum: General Discussion
Topic: Using LWIP Raw API
Replies: 8
Views: 13126

Re: Using LWIP Raw API

As far as I can tell, it is possible to use the raw API from a user thread if LWIP_TCPIP_CORE_LOCKING is enabled by wrapping your calls in LOCK_TCPIP_CORE / UNLOCK_TCPIP_CORE. Callbacks will occur on the tcpip thread. I'm considering using raw API in an ESP32 application. Let me explain. I currently...