Page 1 of 1

spi_flash size warning

Posted: Thu Jul 18, 2019 5:30 pm
by raldone01
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?

Re: spi_flash size warning

Posted: Mon Jul 22, 2019 3:54 am
by ESP_Sprite
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.

Re: spi_flash size warning

Posted: Mon Jul 22, 2019 7:23 pm
by Ritesh
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.

Re: spi_flash size warning

Posted: Wed Jul 24, 2019 1:01 pm
by raldone01
I had already selected the correct option and flashed the app multiple times. Reflashing the bootloader fixed the issue.

Re: spi_flash size warning

Posted: Thu Jul 25, 2019 5:13 am
by Ritesh
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.