Search found 27 matches

by balix53
Thu Jan 07, 2021 3:51 pm
Forum: ESP-IDF
Topic: Using FatFs directly fails with a Guru Meditation Error
Replies: 5
Views: 4096

Using FatFs directly fails with a Guru Meditation Error

Hi, I am developing an application with FS features and it uses directly FatFs API for FS operations. At some point I got crashes with the FS in SD card, I have tested FS in flash to see if there was any difference and it worked as expected. So I went back to the basic example for SD card on the Git...
by balix53
Thu Mar 05, 2020 8:34 am
Forum: ESP-IDF
Topic: Wi-Fi PM behavior
Replies: 2
Views: 4173

Re: Wi-Fi PM behavior

by balix53
Wed Mar 04, 2020 10:16 am
Forum: ESP-IDF
Topic: Wi-Fi PM behavior
Replies: 2
Views: 4173

Re: Wi-Fi PM behavior

So I tried it on the LTS version (v3.3.1) and I got the same behavior. The power management is stopped right before we receive the disconnected event, maybe I can try to reenable the power management at this time and prevent the ESP32 to consume the battery power.
by balix53
Mon Mar 02, 2020 10:48 am
Forum: ESP-IDF
Topic: Wi-Fi PM behavior
Replies: 2
Views: 4173

Wi-Fi PM behavior

Hi, I am working on a project using Wi-Fi and power management features and I noticed that if the Wi-Fi on which the ESP32 is connected is shut down, then the power management will stop. The following message is displayed and the battery level with which the ESP32 module is powered will drop quickly...
by balix53
Mon Sep 23, 2019 8:38 am
Forum: ESP-IDF
Topic: Error with make monitor
Replies: 1
Views: 2657

Re: Error with make monitor

I managed to work around this issue by reinstalling my toolchain.
by balix53
Mon Sep 16, 2019 11:58 am
Forum: ESP-IDF
Topic: Error with make monitor
Replies: 1
Views: 2657

Error with make monitor

Hi, I followed the getting started for the esp-idf release v3.3. I can compile and flash via the make command, however monitor does not work. The message I get is: $ make monitor Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5 Compil...
by balix53
Fri Mar 29, 2019 9:15 am
Forum: ESP-IDF
Topic: How to properly disable Bluetooth ?
Replies: 0
Views: 7168

How to properly disable Bluetooth ?

Hi, I have an application that will mount a GATT server for a specific task. Once this task is done I need to be sure that the bluetooth is totally and properly disabled. Here is how it is initialized (note that I am using esp-idf v3.1.3) : static bool initialize_ble(void) { esp_err_t status = esp_b...
by balix53
Fri Mar 29, 2019 8:38 am
Forum: Report Bugs
Topic: [SOLVED] Power management fail after WiFi join
Replies: 3
Views: 6493

Re: Power management fail after WiFi join

It seems that one of the listen_interval field of a wifi_sta_config_t structure in my code was not initialized. This field is used when in WIFI_PS_MAX_MODEM mode.
by balix53
Thu Mar 21, 2019 4:55 pm
Forum: Report Bugs
Topic: [SOLVED] Power management fail after WiFi join
Replies: 3
Views: 6493

Re: Power management fail after WiFi join

For a moment I was happy with the setting WIFI_PS_MIN_MODEM however the mode WIFI_PS_MAX_MODEM seems to be mandatory for my application. So I tried to change the setting just before joining an access point and the device managed to join it without crashing but it messes a bit with my application. I'...
by balix53
Fri Mar 08, 2019 2:26 pm
Forum: Report Bugs
Topic: [SOLVED] Power management fail after WiFi join
Replies: 3
Views: 6493

Re: Power management fail after WiFi join

I managed to narrow down this issue to the WiFi power save settings. First, I wasn't setting the listen_interval in my WiFi configuration (wifi_config_t) so I added it and set it to zero. It wasn't working either so I tried the other power save mode (WIFI_PS_MIN_MODEM instead of WIFI_PS_MAX_MODEM) a...