Search found 10 matches

by gongli
Sat Dec 29, 2018 8:43 am
Forum: ESP-IDF
Topic: SPIFFS performance too bad?
Replies: 7
Views: 13590

Re: SPIFFS performance too bad?

Would you please explain your scenario in details with statistical data as well? Also, Would you please try with direct file instead of creating file inside directory? Because there might be chances of getting delay while writing data into file system? Also are you using standard SPIFFS or loboris ...
by gongli
Sat Dec 29, 2018 8:33 am
Forum: ESP-IDF
Topic: Panic at hwcrypto aes
Replies: 2
Views: 4208

Re: Panic at hwcrypto aes

Would you please check without using PSRAM 4MB to bifercate issue like it is due to PSRAM or something else? So that it will be helpful to debug further as per analysis or traces into deep level. Thanks. Totally cut out PSRAM from my system is somehow difficult as the data complexity in the system ...
by gongli
Tue Dec 25, 2018 6:49 am
Forum: ESP-IDF
Topic: Panic at hwcrypto aes
Replies: 2
Views: 4208

Panic at hwcrypto aes

I occasionally ran into panic as listed below: Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) Core 1 register dump: PC : 0x4011c576 PS : 0x00060f34 A0 : 0x800d8c09 A1 : 0x3ffd1150 0x4011c576: DPORT_REG_READ at /Users/gl/esp/esp-idf/components/esp32/hwcrypto/aes.c:343 (inlined...
by gongli
Tue Dec 25, 2018 3:06 am
Forum: ESP-IDF
Topic: SPIFFS performance too bad?
Replies: 7
Views: 13590

Re: SPIFFS performance too bad?

Thanks for the hint. I tried increasing page size from 256 to 1024 which did no help. Worse, it's performance downgraded by ~50%. I also tried increasing block size from 4096 to 8192 or 32768, but they won't work (complained NOT A FS error). However, by reduce partition size to 4MB I can see more th...
by gongli
Mon Dec 24, 2018 10:29 am
Forum: ESP-IDF
Topic: SPIFFS performance too bad?
Replies: 7
Views: 13590

Re: SPIFFS performance too bad?

Thanks loboris for the reply. Any clue to the cause?
by gongli
Mon Dec 24, 2018 4:21 am
Forum: ESP-IDF
Topic: SPIFFS performance too bad?
Replies: 7
Views: 13590

SPIFFS performance too bad?

Hi, I found fopen/fread spiffs files on my board are extraordinary slow. The board I have is an ESP32-WROVER-B board with 16MB spi flash. About 10M of the flash is partitioned as spiffs. On the spiffs, there are several files arranged in at most two level sub directories. Sizes of the files range fr...
by gongli
Mon Dec 24, 2018 3:17 am
Forum: ESP-IDF
Topic: can't fread files created using mkspiffs
Replies: 2
Views: 4489

Re: can't fread files created using mkspiffs

Thanks. It works now.
by gongli
Fri Dec 21, 2018 9:15 am
Forum: ESP-IDF
Topic: can't fread files created using mkspiffs
Replies: 2
Views: 4489

can't fread files created using mkspiffs

Hi, I was reading zero byte for files created using mkspiffs ( https://github.com/igrr/mkspiffs.git ) How I make the file system image mkspiffs -d 5 -c res/ -b 4096 -p 256 -s 0xF0000 spiffs.bin How I flash it python esptool.py --chip esp32 --baud 912600 write_flash -z 0x210000 spiffs.bin How are the...
by gongli
Fri Dec 21, 2018 6:57 am
Forum: ESP-IDF
Topic: readdir cause panic on 16MB spi flash board
Replies: 2
Views: 7478

Re: readdir cause panic on 16MB spi flash board

Indeed, there is one simple wraper function missing IRAM decorator actually called by my ISR. Thus cause the panic. Though, it works pretty well on my 4MB board.

Thank you sir, igrr, for help me find it out.
by gongli
Fri Dec 21, 2018 3:30 am
Forum: ESP-IDF
Topic: readdir cause panic on 16MB spi flash board
Replies: 2
Views: 7478

readdir cause panic on 16MB spi flash board

Hi, I have an ESP32-WROVER-B module with 16MB flash partitioned as follows: nvs, data, nvs, 0x9000, 0x4000, otadata, data, ota, 0xd000, 0x2000, phy_init, data, phy, 0xf000, 0x1000, factory, 0, 0, 0x10000, 2M, ota_0, 0, ota_0, 0x210000, 2M, ota_1, 0, ota_1, 0x410000, 2M, storage, data, spiffs, 0x6100...