Search found 575 matches

by boarchuz
Thu Jul 04, 2024 8:19 am
Forum: ESP-IDF
Topic: deep sleep draws 4 mA. Why so much?
Replies: 6
Views: 4306

Re: deep sleep draws 4 mA. Why so much?

Is it worth revealing the rest of the schematic? I can see there's ethernet, audio, RGB, etc not shown. Do you have a second identical board to confirm the behaviour is exactly the same? Have you disconnected your USB/programmer? What's the voltage on battery +? 3V3_CORE? EN? Can you confirm that yo...
by boarchuz
Wed Jul 03, 2024 4:55 am
Forum: ESP-IDF
Topic: deep sleep draws 4 mA. Why so much?
Replies: 6
Views: 4306

Re: deep sleep draws 4 mA. Why so much?

Schematic?
by boarchuz
Thu Jun 13, 2024 11:15 am
Forum: General Discussion
Topic: Enable watchdog for bootloader?
Replies: 3
Views: 503

Re: Enable watchdog for bootloader?

That would be really inconvenient if the ESP32 restarted after 9 seconds in download mode! That wouldn't be enough time to even flash most binaries. Fortunately (or unfortunately for you) the ROM bootloader disables the watchdog for download mode. See if strong external pullups can ensure correct le...
by boarchuz
Mon Jun 03, 2024 4:43 pm
Forum: General Discussion
Topic: ESP32 crash when sending large data through shared uart.
Replies: 4
Views: 617

Re: ESP32 crash when sending large data through shared uart.

EXCVADDR (which I understand to be the address resulting in LoadProhibited) is 0x8, which is an invalid address but your NULL checks will have no effect.
by boarchuz
Fri May 24, 2024 11:44 am
Forum: ESP-IDF
Topic: Dual core bootloader on a single core chip?
Replies: 3
Views: 625

Re: Dual core bootloader on a single core chip?

A quick search for "CONFIG_FREERTOS_UNICORE" in bootloader_support reveals a lot of initialisation dependent on this, many of them calling into ROM functions. I'd expect to find something like an "assert(chip_efuse_is_dual_core());" somewhere too if I looked hard enough. So it's definitely not offic...
by boarchuz
Thu May 23, 2024 10:31 am
Forum: General Discussion
Topic: ESP32S2 Attempted hibernate, switching power domains off causes crash
Replies: 2
Views: 1627

Re: ESP32S2 Attempted hibernate, switching power domains off causes crash

ESP-IDF bug, set it to ON to increment refs first, then you can follow it with OFF.
by boarchuz
Fri May 17, 2024 1:21 am
Forum: Hardware
Topic: ESP32-PICO-V3 Pin28 SD2/IO9 appears to have pull-up
Replies: 4
Views: 773

Re: ESP32-PICO-V3 Pin28 SD2/IO9 appears to have pull-up

Pullup is enabled by default on this pin. See datasheet appendix 4 "IO MUX". These are typically around 40-50k iirc.
by boarchuz
Sun Apr 28, 2024 2:29 am
Forum: ESP-IDF
Topic: Using SDMMC in custom bootloader (ESP32-WROOM)
Replies: 3
Views: 852

Re: Using SDMMC in custom bootloader (ESP32-WROOM)

It sounds like you'll have plenty of flash available for 2 app partitions and that will definitely be the easier and more reliable approach. If the only motivation for updating via the bootloader was reducing the flash footprint of app partitions then this is the way to go. I hope I haven't talked y...
by boarchuz
Sat Apr 27, 2024 4:25 pm
Forum: ESP-IDF
Topic: Using SDMMC in custom bootloader (ESP32-WROOM)
Replies: 3
Views: 852

Re: Using SDMMC in custom bootloader (ESP32-WROOM)

Either implement a basic bootloader SDMMC component from scratch by studying the SDMMC component and TRM, or copy the existing SDMMC component to bootloader_components and go through it replacing all incompatible dependencies (eg. any FreeRTOS stuff, GPIO functions from the driver component, etc) wi...
by boarchuz
Fri Apr 12, 2024 7:25 am
Forum: ESP-IDF
Topic: FreeRTOS Task causes TWDT triggered
Replies: 14
Views: 2666

Re: FreeRTOS Task causes TWDT triggered

Try increasing the stack size. 2048 is on the low side.