Search found 132 matches

by vonnieda
Mon Mar 30, 2020 3:00 pm
Forum: ESP32 IDF
Topic: OTA partition data format?
Replies: 2
Views: 369

Re: OTA partition data format?

I haven't seen it documented, but it's open source, so you could always check there: https://github.com/espressif/esp-idf/tr ... er_support

Jason
by vonnieda
Sat Mar 21, 2020 7:00 pm
Forum: ESP32 IDF
Topic: I2C - Using both Ports - First Transaction fails
Replies: 2
Views: 667

Re: I2C - Using both Ports - First Transaction fails

Dear ESP community, If the i2c driver is 'installed twice', the first transaction of the first initialized port fails. Afterwards the communication happens without any error on both ports. Am I initializing both ports correctly? Is there anything else I could consider? My current ESP-IDF Version is...
by vonnieda
Tue Mar 17, 2020 3:34 pm
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 4238

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

Yes - personally I use ESP-IDF's VFS layer so I can use POSIX style file calls, and on each of those wrappers I've added a mutex check.

Jason
by vonnieda
Mon Mar 16, 2020 8:49 pm
Forum: General Discussion
Topic: WROVER-B Flash Config Corrupted In Field
Replies: 5
Views: 2377

Re: WROVER-B Flash Config Corrupted In Field

Suggest that you narrow it down to a partition by selectively reflashing the bad image or doing a binary diff to a working image. Also post the log from a cold boot if it is any different. Okay, I've done a bunch of further testing and have some interesting results and more questions: 1. The cold b...
by vonnieda
Sun Mar 15, 2020 4:05 pm
Forum: General Discussion
Topic: WROVER-B Flash Config Corrupted In Field
Replies: 5
Views: 2377

Re: WROVER-B Flash Config Corrupted In Field

Suggest that you narrow it down to a partition by selectively reflashing the bad image or doing a binary diff to a working image. Also post the log from a cold boot if it is any different. I did try to selectively reflash partitions, but I didn't try every single partition, and I didn't try them is...
by vonnieda
Sat Mar 14, 2020 1:17 pm
Forum: General Discussion
Topic: WROVER-B Flash Config Corrupted In Field
Replies: 5
Views: 2377

Re: WROVER-B Flash Config Corrupted In Field

boot:0x3b For wrover-b it should be booting in 3.3v mode but the strapping pins are showing 1.8v mode, did you set efuse to fix this? Thanks for the response - yes, 3.3v efuse is set during provisioning and verified in firmware at boot. I should note also that in these cases the devices have been i...
by vonnieda
Fri Mar 13, 2020 10:19 pm
Forum: General Discussion
Topic: WROVER-B Flash Config Corrupted In Field
Replies: 5
Views: 2377

WROVER-B Flash Config Corrupted In Field

Hi all, I'm experiencing an issue on a small percentage of boards where the flash config of a board appears to become corrupt in the field which essentially bricks the device. When this happens, the console starts looping with this message: rst:0x10 (RTCWDT_RTC_RESET),boot:0x3b (SPI_FAST_FLASH_BOOT)...
by vonnieda
Tue Mar 10, 2020 2:33 pm
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 4238

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 vonnieda
Thu Feb 27, 2020 9:22 pm
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 4238

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

doglike wrote:
Thu Feb 27, 2020 9:19 pm
Thanks! Is there any example? I am trying to implement it since some hours with no success :(
I can't share my implementation unfortunately, but have a look at https://github.com/lllucius/esp32_littleflash. I learned very much from that when making my own implementation.

Jason
by vonnieda
Thu Feb 27, 2020 3:06 pm
Forum: ESP32 IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 4238

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

Check out LittleFS: https://github.com/ARMmbed/littlefs

It's much faster, and pretty easy to implement using IDF's VFS layer.

Jason

Go to advanced search