Hi Espressif,
We found that the Flash Download Tool might erase additional more sectors than expected during downloading. That is, if we download an image file, whose size may cover sectors less than sector N (a section size is 4096), and the download log also shows that burning to an address inside section N, however after downloading the image file sucessfully using espressif flash download tool, the next section N+1 is found to have been erased as well !
Example 1: try to download an image file which extends to address 0x6C004 (0x6C004 is just an example, something like these which covers only a few bytes of a start of sector), and there are some useful data stored since 0x6D000(start of the next sector 0f 4096). After downloading the image file, the useful data from 0x6D000 is found to have been erased to be all 0xFF.
Example 2: try to download an image file small in size (less than the size of a sector, 4096) to the last sector of the SPI flash(e.g. download blank.bin or esp_init_data_default.bin which is only 128Bytes to an address of 0x0FF000 on a flash of 1MBytes, or 0x1FF000 on flash of 2MBytes, or 0x3FF000 on a Flash of 4Mbytes) . After downloading successfully, the original boot at address 0 is found to have been erased and the module will not boot up successfully. Then you would have to re-download the boot at address 0.
Test Tools: previous FLASH_DOWNLOAD_TOOLS_v1.2_150512, and lastest FLASH_DOWNLOAD_TOOLS_V3.4.9.2 (downloaded from http://www.espressif.com/en/support/dow ... ther-tools)
Test modules: ESP-01, ESP-12 serials and many other ESP8266 modules
UART baudrate used during test: 115200 and 1152000 (both tell successful downloading, but with unexpected additional sectors erased)
Reproduction: always 100%.
Please help confirm or clarify.
Thanks!
Yiming
Unexpected additional sectors erased using Flash Download Tool
Unexpected additional sectors erased using Flash Download Tool
Postby YimingLi » Sun Sep 03, 2017 7:31 pm
Re: Unexpected additional sectors erased using Flash Download Tool
Postby pratik » Tue Sep 05, 2017 8:22 pm
The issue has been forwarded to the developers of the Flash Download Tool. I will let you know if I get any new info on this. Thanks for writing about it!
Re: Unexpected additional sectors erased using Flash Download Tool
Postby ESP_Faye » Fri Sep 08, 2017 10:50 am
Hi,
It is a known issue in the ESP8266 Flash Download Tool. But we decided to leave it at that since there are already so many developers using the tool. It may cause some incompatible issues for other users if we fix it.
So sorry for the inconvenience. And thanks for your interest in ESP8266!
It is a known issue in the ESP8266 Flash Download Tool. But we decided to leave it at that since there are already so many developers using the tool. It may cause some incompatible issues for other users if we fix it.
So sorry for the inconvenience. And thanks for your interest in ESP8266!
Who is online
Users browsing this forum: No registered users and 63 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.