Search found 445 matches

by snahmad75
Thu Mar 28, 2019 4:23 pm
Forum: ESP32 IDF
Topic: Maximum and mimumim SD card storage support by ESP32
Replies: 0
Views: 383

Maximum and mimumim SD card storage support by ESP32

Hi,

I am using FAT

allocation_unit_size = 16 * 1024

https://docs.espressif.com/projects/esp ... fatfs.html


Sector size = 512

Maximum is

allocation_unit_size = 64 * 1024


What is maximum and mimum storage esp32 can mount and use.
by snahmad75
Fri Mar 22, 2019 12:31 pm
Forum: ESP32 IDF
Topic: Fast scan option and set_country to limit channel range (1-11)
Replies: 0
Views: 250

Fast scan option and set_country to limit channel range (1-11)

Hi, Kindly help. urgent attention. What is meaning of fast scan. // configure the softAP and start it */ wifi_config_t ap_config; ap_config.sta.scan_method = WIFI_FAST_SCAN; ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_AP, &ap_config)); ESP_ERROR_CHECK(esp_wifi_start()); It is working for better than...
by snahmad75
Fri Mar 15, 2019 4:00 pm
Forum: ESP32 IDF
Topic: SD card interface speed issues
Replies: 7
Views: 4128

Re: SD card interface speed issues

My SD card read is better now. I change mongoose web server which serve files. changes it stack buffer size from 1k to 4K Better speed now. Still puzzles with these settings. allocation_unit_size = 64K Our SD card is by default formatted with 32K. Is this issue? // If format_if_mount_failed is set t...
by snahmad75
Thu Mar 14, 2019 12:44 pm
Forum: ESP32 IDF
Topic: Can driver stop transmitting after a while in release
Replies: 6
Views: 1304

Re: Can driver stop transmitting after a while in release

Not entirely sure how this relates to CAN driver. CONFIG_FREERTOS_CORETIMER selects which timer to use to generate the tick interrupt for FreeRTOS, thus affects the entire operating system not just the CAN driver. I would recommend you use FREERTOS_CORETIMER_0 as tick interrupts should be of the lo...
by snahmad75
Wed Mar 13, 2019 3:34 pm
Forum: ESP32 IDF
Topic: [Answered] How to build a subset of the possible components in ESP-IDF?
Replies: 24
Views: 10678

Re: [Answered] How to build a subset of the possible components in ESP-IDF?

No support for LTO yet, unfortunately. Regarding the original post's question of building with a subset of components, doing this is a lot smoother in the new CMake preview branch . You can supply a minimal list of components you need in your build (as little as one or two) in the COMPONENTS, and t...
by snahmad75
Wed Mar 13, 2019 12:49 pm
Forum: ESP32 IDF
Topic: Find free and total space bytes on sd card
Replies: 1
Views: 554

Re: Find free and total space bytes on sd card

Working now. My mistakes.

cast DWORD 32-bit to 64 bit before multiple.


u64 tmp_total_bytes = (64)tot_sect * FF_SS_SDCARD;
u64 tmp_free_bytes = (64)fre_sect * FF_SS_SDCARD;
by snahmad75
Wed Mar 13, 2019 9:21 am
Forum: ESP32 IDF
Topic: Can driver stop transmitting after a while in release
Replies: 6
Views: 1304

Re: Can driver stop transmitting after a while in release

Should I use

CONFIG_FREERTOS_CORETIMER_0=y

or

CONFIG_FREERTOS_CORETIMER_1=

for Can driver.
by snahmad75
Tue Mar 12, 2019 6:55 pm
Forum: ESP32 IDF
Topic: Find free and total space bytes on sd card
Replies: 1
Views: 554

Find free and total space bytes on sd card

Hi, https://github.com/espressif/esp-idf/issues/1660 FATFS *fs; DWORD fre_clust, fre_sect, tot_sect; /* Get volume information and free clusters of sdcard */ auto res = f_getfree("/sdcard/", &fre_clust, &fs); if (res) { return ES_Unspecified; } /* Get total sectors and free sectors */ tot_sect = (fs...
by snahmad75
Fri Mar 08, 2019 2:00 pm
Forum: ESP32 IDF
Topic: Can driver stop transmitting after a while in release
Replies: 6
Views: 1304

Re: Can driver stop transmitting after a while in release

Can you try the following: Have a task periodically call can_get_status_info() and print the values of can_status_info_t before and after the CAN driver stops transmitting. When initializing your CAN driver, enable the alerts that indicate some form of error (e.g. CAN_ALERT_ERR_PASS). The various a...
by snahmad75
Fri Mar 08, 2019 12:36 pm
Forum: ESP32 IDF
Topic: wifi: alloc eb len=76 type=2 fail after update esp-idf
Replies: 3
Views: 1458

Re: wifi: alloc eb len=76 type=2 fail after update esp-idf

My settings are now. CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=6000 CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=y CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=45768 It failed when CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST is disabled. CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST= Any idea? Is it going to ...

Go to advanced search