How to use total 32MB of flash ESP32-S3 chip N32R8V?

Hlsyslabs
Posts: 7
Joined: Thu Jul 07, 2022 9:16 pm

How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby Hlsyslabs » Thu Jul 07, 2022 9:26 pm

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 ?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby ESP_Sprite » Fri Jul 08, 2022 12:47 am

Do you have more details? What esp-idf version are you using, what specifically throws that error?

Hlsyslabs
Posts: 7
Joined: Thu Jul 07, 2022 9:16 pm

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby Hlsyslabs » Fri Jul 08, 2022 5:27 am

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

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby ESP_Sprite » Fri Jul 08, 2022 9:16 am

Can you disable the download stub? (Menuconfig -> serial flasher config -> disable download stub) and try again?

Hlsyslabs
Posts: 7
Joined: Thu Jul 07, 2022 9:16 pm

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby Hlsyslabs » Sat Jul 09, 2022 7:19 am

Tried with disabled download stub, but still fails with errors

Hlsyslabs
Posts: 7
Joined: Thu Jul 07, 2022 9:16 pm

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby Hlsyslabs » Mon Jul 11, 2022 4:35 am

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".

Hlsyslabs
Posts: 7
Joined: Thu Jul 07, 2022 9:16 pm

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby Hlsyslabs » Tue Jul 12, 2022 7:56 am

How to get access to the remaining 16 MB of 32 MB Flash in ESP32-S3 N32R8V chip?

vijaylohan
Posts: 4
Joined: Tue Jul 12, 2022 8:27 am

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby vijaylohan » Tue Jul 12, 2022 8:35 am

have you tried using the preference library?

Hlsyslabs
Posts: 7
Joined: Thu Jul 07, 2022 9:16 pm

Re: How to use total 32MB of flash ESP32-S3 chip N32R8V?

Postby Hlsyslabs » Wed Jul 13, 2022 6:03 am

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?

Who is online

Users browsing this forum: No registered users and 58 guests