Closed vdelmedico closed 4 years ago
What is the brand of your flash chip?
I have this same problem on ESP-12F, 4MB EEPROM. I had to disassemble modules from application and flash sketch via serial port and 2.6.3 core. Brand EEPROM i dont know, i have only prtscr from new ESP.
What is the brand of your flash chip?
How can you read that info ?
May be write esptool.py --port COMx flash_id or remove heatspreader :-(
#python esptool.py --port /dev/ttyUSB0 flash_id
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: xx:xx:xx:xx:xx:xx
Uploading stub...
Running stub...
Stub running...
Manufacturer: 20
Device: 4016
Detected flash size: 4MB
Hard resetting via RTS pin...
It is a xmc flash. Same issue as #7267
Closing as duplicate of #7267.
Basic Infos
Platform
Settings in IDE
Problem Description
I have moved from Core 2.6.3 to core 2.7.0.
Since then, I've spent a long time trying to make HTTPUpdate working, but I couldn't. Even though everything seems to work perfectly, after reset the hardware is unable to run the new firmware.
I thought I had an issue somewhere, so I remembered that Arduino OTA was working fine. So I tried to update the firmware with Arduino OTA, and this time it was not working anymore ! Same behaviour : flash write seems OK, but after the reset the new firmware can't run.
Finally, I swapped back from 2.7.0 to 2.6.3, and everything works fine ( Arduino OTA, HTTPUpdate, etc... )
My guess is that core 2.7.0 added a bug in Updater.cpp on ESP8266.
MCVE Sketch