Wrong SPI Flash Size
Wrong SPI Flash Size
Postby karawin » Fri Jun 24, 2016 4:35 am
Hi
I generated user1.4096.new.6.bin and user2.4096.new.6.bin with
make BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP_6
make BOOT=new APP=2 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP_6
with RTOS sdk 1.4
But when booting i see:
2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
I flashed also blank.bin and esp_init_data_default.bin
but i am unable to have the flash size in 1024+1024
This is a problem for user2 generated at 0x101000 because system_get_flash_size_map() return a value of 4 not 6 and the ota fails in the flash erase..
What is wrong?
Thanks
I generated user1.4096.new.6.bin and user2.4096.new.6.bin with
make BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP_6
make BOOT=new APP=2 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP_6
with RTOS sdk 1.4
But when booting i see:
2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
I flashed also blank.bin and esp_init_data_default.bin
but i am unable to have the flash size in 1024+1024
This is a problem for user2 generated at 0x101000 because system_get_flash_size_map() return a value of 4 not 6 and the ota fails in the flash erase..
What is wrong?
Thanks
Re: Wrong SPI Flash Size
Postby ESP_Greg » Wed Jun 29, 2016 4:11 pm
Hi,
Do you still have this issue? Seems like some operation incorrect.
Do you still have this issue? Seems like some operation incorrect.
Re: Wrong SPI Flash Size
Postby karawin » Wed Jun 29, 2016 10:33 pm
Yes still the same. And the third byte is 0x60, it is good.
But I give up and use the 4 now and it works for the ota. (4MB 512+512)
See https://github.com/karawin/Ka-Radio
Thanks.
But I give up and use the 4 now and it works for the ota. (4MB 512+512)
See https://github.com/karawin/Ka-Radio
Thanks.
Re: Wrong SPI Flash Size
Postby ESP_Greg » Thu Jun 30, 2016 11:51 am
I never saw this before..... Sorry 

Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.