Search found 27 matches

by doglike
Mon Mar 16, 2020 9:32 am
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 2565

Re: Wear levelling FATFS performance really slow even for reading?

Important hint:
You have to make sure that there is always only one process/task that is accessing LittleFs at the same time.
Otherwise you will get error-codes, malfunction or even a complete crash.

SPIFFS and FFat are more robust in that cases.
by doglike
Thu Mar 12, 2020 8:09 am
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 2565

Re: Wear levelling FATFS performance really slow even for reading?

OK fine. I could get it running yesterday and it looks good :) I am using this implementation, because of a very nice esp_spiffs_xxx like API: https://github.com/joltwallet/esp_littlefs First tests: - writing 60kB file in 600ms :) (SPIFFS=800ms, FFAT=9sec) Thanks for that, vonnieda @ESP team: Is the...
by doglike
Thu Mar 12, 2020 8:01 am
Forum: ESP32 IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 1051

Re: anyone using Ubuntu under Windows 10?

No issues at all. Just passthrough the connected USB port to Virtualbox, that's it.
by doglike
Wed Mar 11, 2020 1:27 pm
Forum: ESP32 IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 1051

Re: anyone using Ubuntu under Windows 10?

I am using Ubuntu with Virtualbox on a Win10 machine. Without any issues.
Dont forget to configure the number of CPU cores in Virtualbox to use full CPU power during build
by doglike
Tue Mar 10, 2020 7:43 am
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 2565

Re: Wear levelling FATFS performance really slow even for reading?

Thanks vonnieda! Studied the library, but didn't have time yet to implement it in my project. Could you maybe share your experiences with littlefs regarding writing speed? I my usecase I am writing 60kB logfiles into the flash in ~9sec (FFAT). With SPIFFS the job was done in ~800ms, what was ok for ...
by doglike
Thu Feb 27, 2020 9:19 pm
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 2565

Re: Wear levelling FATFS performance really slow even for reading?

Thanks! Is there any example? I am trying to implement it since some hours with no success :(
by doglike
Thu Feb 27, 2020 11:58 am
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 2565

Re: Wear levelling FATFS performance really slow even for reading?

I have a similar problem. I'm saving log files first to a memory buffer then to flash with fatfs. 3-4 KB takes 470 ms :( Same issue... Writing a log file with ~60kB takes ~9sec. During this time I have to block that core completely for the write-task, otherwise it takes even longer. This is disappo...
by doglike
Mon Oct 28, 2019 5:36 pm
Forum: ESP32 IDF
Topic: Clean start and stop wifi ap + http server
Replies: 0
Views: 297

Clean start and stop wifi ap + http server

Hi, in some cases I want to shut down the wifi and http server. So I wrote this simple piece of code and wanted to ask you guys, if I did it right (API-calls and sequencing) or if there is a cleaner way to do it. (???) Thanks in advance! PS: It works quite well, but in some rare cases wifi ap starts...
by doglike
Tue Aug 27, 2019 9:08 am
Forum: ESP32 IDF
Topic: Flash encryption - flashing pre-encrypted app.bin
Replies: 11
Views: 1452

Re: Flash encryption - flashing pre-encrypted app.bin

Hi ESP_Angus,

thanks for your reply!
I will check "espefuse.py summary" asap and post it here. But it is not so bad, if one chip is bricked. It's more important to learn from mistakes.

Meanwhile I found another post with lots of good information: https://esp32.com/viewtopic.php?t=7348
by doglike
Mon Aug 26, 2019 6:50 pm
Forum: ESP32 IDF
Topic: Flash encryption - flashing pre-encrypted app.bin
Replies: 11
Views: 1452

Re: Flash encryption - flashing pre-encrypted app.bin

Hi rudi,
great! Lets shut down this forum - the answer to questions is always RTFM :P

So... is my understanding right or did I miss anything in the steps above?
Thanks :)

Go to advanced search