spi_flash size warning

raldone01
Posts: 8
Joined: Thu Apr 18, 2019 9:37 pm

spi_flash size warning

Postby raldone01 » Thu Jul 18, 2019 5:30 pm

When the chip boots I receive the following warning:

Code: Select all

W (287) spi_flash: Detected size(4096k) larger than the size in the binary image
 header(2048k). Using the size in the binary image header.
What does it mean?

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

Re: spi_flash size warning

Postby ESP_Sprite » Mon Jul 22, 2019 3:54 am

It means that your software setup assumes you have a 2MiB chip (as indicated under make menuconfig, serial flasher settings, iirc), but your actual board is lucky enough to have a 4MiB one. The warning is just that, a warning to show you your software won't be able to use the other 2MiB that exists on your board.

Ritesh
Posts: 1385
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: spi_flash size warning

Postby Ritesh » Mon Jul 22, 2019 7:23 pm

raldone01 wrote:
Thu Jul 18, 2019 5:30 pm
When the chip boots I receive the following warning:

Code: Select all

W (287) spi_flash: Detected size(4096k) larger than the size in the binary image
 header(2048k). Using the size in the binary image header.
What does it mean?
Default flash size configuration is 2 MByte which you need to change as per your flash size of hardware which you are using like 4 MByte or 16 MByte.

So, Please check by updating it and let us know if still same issue.
Regards,
Ritesh Prajapati

raldone01
Posts: 8
Joined: Thu Apr 18, 2019 9:37 pm

Re: spi_flash size warning

Postby raldone01 » Wed Jul 24, 2019 1:01 pm

I had already selected the correct option and flashed the app multiple times. Reflashing the bootloader fixed the issue.

Ritesh
Posts: 1385
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: spi_flash size warning

Postby Ritesh » Thu Jul 25, 2019 5:13 am

raldone01 wrote:
Wed Jul 24, 2019 1:01 pm
I had already selected the correct option and flashed the app multiple times. Reflashing the bootloader fixed the issue.
Great. Thanks for update.

Let us know if any issue into future for same.
Regards,
Ritesh Prajapati

acsoprana
Posts: 22
Joined: Mon Oct 14, 2024 1:50 pm

Re: spi_flash size warning

Postby acsoprana » Wed Nov 27, 2024 11:10 pm

Hello, I have the same problem, I have two devices, an esp32c6 with 8 mb of memory and the h2 with 4 mb, but in the terminal it informs that it will only use what is in the header of the binary image (2048k). Even setting in the ESP-IDF settings it only maintains the use of 2048k. How can I configure it to use the memory in its entirety?

acsoprana
Posts: 22
Joined: Mon Oct 14, 2024 1:50 pm

Re: spi_flash size warning

Postby acsoprana » Thu Nov 28, 2024 8:13 pm

Hello again guys.. I found where to configure the
Flash Size ->menuconfig->Flash size, Select the value that the device has available...

Thanks

Ritesh
Posts: 1385
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: spi_flash size warning

Postby Ritesh » Tue Dec 10, 2024 11:01 am

acsoprana wrote:
Thu Nov 28, 2024 8:13 pm
Hello again guys.. I found where to configure the
Flash Size ->menuconfig->Flash size, Select the value that the device has available...

Thanks
Hello,

So you issue has been resolved? or still looking for support for your queries?
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: ESP_wangning and 94 guests