Open shw19791031 opened 5 years ago
PS: The contents of all 3 files in flash are same as original files, except SPI mode field in File Header.
Original File 0x000000: E9 03 02 2F 04 00 10 40 00 00 10 40 88 6B 00 00
Actually Written 0x000000: E9 03 00 2F 04 00 10 40 00 00 10 40 88 6B 00 00
Now, I have a trouble while upgrading ESP8266 firmware. I use DIO(not QIO) only SPI Flash. I wrote my own firmware download program according to esp8266-sdk_application_note_firmware_download_protocol_en.pdf. The process I have done are as follows.
After all processes done, esp8266 module not boots correctly. As far as I can see, the field of SPI mode in File Header has changed to 0(QIO). Originally sent value was 2(DIO), but when I read SPI flash using another tool I can see 0(QIO). Would you please let me know why it has changed to QIO mode? And is there any other way to set it as DIO?