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: 9711
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: 1383
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: 1383
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

Who is online

Users browsing this forum: No registered users and 102 guests