Search found 28 matches

by Leander
Mon Aug 22, 2022 3:10 pm
Forum: ESP-IDF
Topic: Crash when using stack on external PSRAM
Replies: 3
Views: 4468

Re: Crash when using stack on external PSRAM

Flash writes aren't supported from tasks allocated in the PSRAM as it uses the same SPI-bus. Queue writes and use other task to actually write them.
by Leander
Mon Aug 22, 2022 3:05 pm
Forum: ESP-IDF
Topic: Using ULP on ESP32-S3 while main cores are awake.
Replies: 4
Views: 3272

Re: Using ULP on ESP32-S3 while main cores are awake.

Had the same idea before. You could use a share register and counter to check if the main cores are still running. But the ULP has no means to execute a reboot/reset. It can just exit it's running state back to the point the ULP started and the core task stopped.
by Leander
Mon Jun 13, 2022 8:37 am
Forum: ESP-IDF
Topic: How to set UART xon xoff characters?
Replies: 1
Views: 2729

Re: How to set UART xon xoff characters?

The struct is used in the uart.c file when calling the SW Flow Conrol function. esp_err_t uart_set_sw_flow_ctrl(uart_port_t uart_num, bool enable, uint8_t rx_thresh_xon, uint8_t rx_thresh_xoff) { ESP_RETURN_ON_FALSE((uart_num < UART_NUM_MAX), ESP_FAIL, UART_TAG, "uart_num error"); ESP_RETURN_ON_FALS...
by Leander
Wed Mar 23, 2022 10:26 am
Forum: ESP IoT Solution
Topic: ESP32 WPA2 Enterprise Connection via Identity and Certificate
Replies: 5
Views: 12522

Re: ESP32 WPA2 Enterprise Connection via Identity and Certificate

I don''t believe esp32 supports networks with an authentication website after connecting to the wifi. The other network with wpa2-enterprise PEAP authentication should work. You will need to know the following before connecting: PEAP identity (can be the username or device mac address) PEAP username...
by Leander
Sat Mar 19, 2022 9:21 am
Forum: ESP IoT Solution
Topic: ESP32 WPA2 Enterprise Connection via Identity and Certificate
Replies: 5
Views: 12522

Re: ESP32 WPA2 Enterprise Connection via Identity and Certificate

Enable the debug log on mbedtls, lwip and WiFi to see any errors during authentication. This worked for me and I could see that there was insufficient heap to validate the customer ServerCa.crt upon handshake. Customer used quite a large certificate of 20kb. Also make sure the identity is set the wa...
by Leander
Mon Mar 07, 2022 1:14 pm
Forum: ESP-IDF
Topic: Cancel Http client data download
Replies: 5
Views: 4856

Re: Cancel Http client data download

toljatyr wrote:
Mon Mar 07, 2022 10:41 am
Hi, Leander
Have you found any solution for the issue?
I'm still using the same method with the 15s timeout:
If I'm calling the "esp_http_client_close(evt->client);" function, the download stops without the HTTP_EVENT_ON_FINISH (no problem) but also after timeout of 15s.
by Leander
Tue Jul 06, 2021 11:51 am
Forum: ESP-IDF
Topic: BLE Channel Map for scanning
Replies: 2
Views: 5703

Re: BLE Channel Map for scanning

Did anyone find a solution in this topic?
by Leander
Mon Jul 05, 2021 1:04 pm
Forum: ESP-IDF
Topic: Coredump to flash with external SPIRAM
Replies: 0
Views: 1791

Coredump to flash with external SPIRAM

If using external SPIRAM the coredump to flash is disabled in the kconfig from the Coredump component: https://github.com/espressif/esp-idf/commit/4f32a06f871fb8dbdc12e466c6c8e954be9c05aa#diff-e8f10881ed58b01c5ef8e1603fed171ad1ac7b6a6b4587433c940b323b3c1ed2 Does anyone have experience with ignoring ...
by Leander
Mon Jul 05, 2021 12:53 pm
Forum: ESP-IDF
Topic: How to fill a a flash partition with files/data
Replies: 5
Views: 6870

Re: How to fill a a flash partition with files/data

I believe that the only way to populate the internal flash fatfs partition is to write files from the ESP to the partition. The fatfs filesystem is useful for reading SD-Cards connected to the ESP as these are compatible with other operating systems such as Windows. I'm using the SPIFFS storage myse...
by Leander
Mon Jul 05, 2021 10:34 am
Forum: ESP-IDF
Topic: OTA Firmware update fails
Replies: 1
Views: 3202

Re: OTA Firmware update fails

What's your partition table? Mark that the app partitions need to be aligned with 0x10000 Can you set the bootloader logging? You should see somthing like this: I (36) boot_comm: chip revision: 3, min. bootloader chip revision: 0 I (43) qio_mode: Enabling default flash chip QIO I (48) boot.esp32: SP...