Page 1 of 1
How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Thu Jul 07, 2022 9:26 pm
by Hlsyslabs
When I try to load files to spiffs partition of 28 MB, only 16 MB flash is accessed and after that it throws error saying "file writing failed", so provide me the way how to use total 32MB flash ?
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Fri Jul 08, 2022 12:47 am
by ESP_Sprite
Do you have more details? What esp-idf version are you using, what specifically throws that error?
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Fri Jul 08, 2022 5:27 am
by Hlsyslabs
Hi ESP_Sprite, Thank you for responding,
I am using Esp-idf version 4.4.1
When trying with create_spiffs_partition_image, I got fatal error: invalid head of packets(0x6f), possible serial noise or corruption
When trying with file write operation in code, Error is Spiffs: failed to write addr fffffffe,size 00000002, err 258
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Fri Jul 08, 2022 9:16 am
by ESP_Sprite
Can you disable the download stub? (Menuconfig -> serial flasher config -> disable download stub) and try again?
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Sat Jul 09, 2022 7:19 am
by Hlsyslabs
Tried with disabled download stub, but still fails with errors
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Mon Jul 11, 2022 4:35 am
by Hlsyslabs
Hi ESP_Sprite, My spiffs partition assigned is 26MB, and remaining all partitions are less than 4MB, I tried to fill data in Spiffs partition using file operations is 24MB, After 14 MB of file write operations, File write operation fails by saying "failed to write addr fffffffe,size 00000002, err 258".
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Tue Jul 12, 2022 7:56 am
by Hlsyslabs
How to get access to the remaining 16 MB of 32 MB Flash in ESP32-S3 N32R8V chip?
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Tue Jul 12, 2022 8:35 am
by vijaylohan
have you tried using the preference library?
Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?
Posted: Wed Jul 13, 2022 6:03 am
by Hlsyslabs
Hi vijaylohan, Thank you for responding, Is Preferences library work on esp-idf 4.4.1 and will you elaborate the process how it works on accessing total 32MB flash memory of Esp32-s3 N32R8V?