Search found 107 matches

by william.ferguson.au
Mon Feb 14, 2022 12:20 pm
Forum: ESP-IDF
Topic: Reducing RAM usage
Replies: 6
Views: 4668

Reducing RAM usage

OK, I've spent 2 days now reading through the docs on reducing RAM usage and applying various tweaks. I have managed to reduce the used D/IRAM from 137,323 to 110,855 leaving me 77,561 (on an ESP32-S2 ESP-IDFv4). I need to reduce the RAM because soft app provisioning is now failing irregularly becau...
by william.ferguson.au
Sun Feb 13, 2022 6:07 am
Forum: ESP-IDF
Topic: When to use adc_power_acquire()
Replies: 0
Views: 1686

When to use adc_power_acquire()

I am using adc functions in order to read battery levels. adc1_get_raw((adc1_channel_t) m_adc_vbat_channel); uint32_t raw_voltage = esp_adc_cal_raw_to_voltage(adc_reading, adc_chars); Do I need to call adc_power_acquire() prior to doing so and adc_power_release() once finished? It seems to work with...
by william.ferguson.au
Fri Dec 31, 2021 1:29 am
Forum: ESP-IDF
Topic: High Sleep Current Usage When BLE/WiFi is Untouched
Replies: 5
Views: 6449

Re: High Sleep Current Usage When BLE/WiFi is Untouched

I can confirm that for ESP32 IDFv4.3 that deep_sleep consumes 1.89 milli amps when wifi not started (and not shutdown) 0.04 milli amps when wifi wifi started and then shutdown This seems a real issue with the firmware, albeit one that we can work around. But the difference between 1.89mA and 0.04mA ...
by william.ferguson.au
Sun Nov 28, 2021 7:00 am
Forum: ESP-IDF
Topic: ESP32 Download Tool v3.9.2 never gets past SYNC
Replies: 0
Views: 3875

ESP32 Download Tool v3.9.2 never gets past SYNC

The device is connected on COM5. I can flash it from the command line. But I'm trying to setup a config that I can send to a client so they can flash from their computer, so I am trying to use the download tool. But either Start or Erase gives the output shown in the command window (first window is ...
by william.ferguson.au
Thu Mar 11, 2021 10:37 am
Forum: General Discussion
Topic: ERROR: tool xtensa-esp32-elf has no installed versions.
Replies: 2
Views: 4471

Re: ERROR: tool xtensa-esp32-elf has no installed versions.

For the record I ended up creating 2 entirely different esp-idf folder for each of the 2 projects.
by william.ferguson.au
Mon Mar 08, 2021 5:40 am
Forum: General Discussion
Topic: ERROR: tool xtensa-esp32-elf has no installed versions.
Replies: 2
Views: 4471

ERROR: tool xtensa-esp32-elf has no installed versions.

I have 2 ESP32 projects. One built against ESP-IDF v4.3 and one built against ESP-IDF v3.3 I have a 2 ESP_IDF folders, one checkout to release/v3.3 and the other to release/v4.3 I have a single ESP_TOOLS folder. I have been working on the 4.3 project for a while and when I switched back to the the 3...
by william.ferguson.au
Wed Mar 03, 2021 2:08 am
Forum: General Discussion
Topic: ESP32-S2 abort() in locks.c with no reference to my code in backtrace [WIFI-3462][WIFI-3463]
Replies: 13
Views: 14134

Re: ESP32-S2 abort() in locks.c with no reference to my code in backtrace

Also logging

Code: Select all

I (1915) phy: pll_cap_ext 10
at INFO seems a little heavy handed considering how often it is printed.