Search found 9 matches

by boborjan
Sun Nov 12, 2023 8:23 pm
Forum: General Discussion
Topic: ESP32: Slow OTA on encrypted flash
Replies: 3
Views: 2178

Re: ESP32: Slow OTA on encrypted flash

I found the reason for the slow encrypted writes, details can be found here: https://github.com/espressif/esp-idf/issues/12553
by boborjan
Fri Nov 10, 2023 9:43 pm
Forum: General Discussion
Topic: ESP32: Slow OTA on encrypted flash
Replies: 3
Views: 2178

Re: ESP32: Slow OTA on encrypted flash

I made a simple test that runs on the encrypted board: esp_partition_t* partition = esp_partition_find_first( ESP_PARTITION_TYPE_APP, ESP_PARTITION_SUBTYPE_ANY, "ota_0"); if(partition) { int64_t beginT, endT; //const int RUNS = 1000; static uint8_t data[8192]; esp_fill_random(data, sizeof(data)); fo...
by boborjan
Thu Nov 09, 2023 2:25 pm
Forum: General Discussion
Topic: ESP32: Slow OTA on encrypted flash
Replies: 3
Views: 2178

ESP32: Slow OTA on encrypted flash

Hi, I have a problem with flash write speed on encrypted flash when using esp_ota_write(). The time needed to flash a 8kByte array increases from 25ms to ~400ms after flash encryption and secure boot v2 is enabled. Esptool.py wite times increase from 17s to only 22s which I assume as correct (this i...
by boborjan
Mon Jan 31, 2022 3:25 pm
Forum: Hardware
Topic: ESP32-WROOM-32E internal VDD_SDIO failure
Replies: 1
Views: 2441

ESP32-WROOM-32E internal VDD_SDIO failure

One of our custom boards with ESP32_WROOM-32E came back from user testing as non-responding. Serial port data showed that it had some issues with flash content in a boot loop containing "invalid header: 0xffffffff". We checked fuses and strapping pins according to the rare similar issue reports and ...
by boborjan
Thu May 13, 2021 10:31 am
Forum: General Discussion
Topic: UART baud rate >460800 leads to partial garbage
Replies: 13
Views: 18283

Re: UART baud rate >460800 leads to partial garbage

I have a very similar issue but without CONFIG_PM set. Baudrates 460800 and 921600 work just fine until the device first goes to light sleep. I can program the flash, see the printouts, everything is OK. After the device enters light sleep (and comes back), I see garbage. The very same setup works w...
by boborjan
Sat Mar 27, 2021 7:52 pm
Forum: ESP-IDF
Topic: IRAM_ATTR timer ISR
Replies: 0
Views: 2785

IRAM_ATTR timer ISR

It is well described in the docs that interrupt service routines that need to be enable during flash activity (write/erase only?) have to be put in ram and marked by IRAM_ATTR. These ISRs cannot call functions that are not placed in RAM - or exception will follow (discussed e.g. here: https://www.es...
by boborjan
Fri May 22, 2020 5:06 pm
Forum: ESP-IDF
Topic: I2S to Internal DAC is Broken
Replies: 11
Views: 15720

Re: I2S to Internal DAC is Broken

Could you tell then which git tag or commit we shall use? Or is it already solved since?

Thx,
Viktor
by boborjan
Sat May 16, 2020 1:37 pm
Forum: Hardware
Topic: I2S: tx via PDM while rx from internal ADC
Replies: 0
Views: 2127

I2S: tx via PDM while rx from internal ADC

Hi, ESP32 reference manual says it is only I2S0 that supports both PDM mode and internal adc/dac mode. I see from i2s_hal.c that if one selects I2S_MODE_PDM, it gets set for both RX and TX (in i2s_hal_config_param()). My question is: even though current IDF does not support it, is it possible to hav...
by boborjan
Thu Sep 19, 2019 5:59 pm
Forum: ESP-ADF
Topic: ESP32-LyraTD-MSC CP210x USB to UART This device cannot start(Code 10)
Replies: 2
Views: 5990

Re: ESP32-LyraTD-MSC CP210x USB to UART This device cannot start(Code 10)

Any follow-up on this issue? I have exactly the same phenomenon with a ESP32-LyraT just bought from mouser. CP2102N shows up as VID=10C4,PIC=EA62 that is not included in the factory inf that is available from silabs. If I add the PID to the inf, I get "This device cannot start. (Code 10)".