pinMode(7,INPUT_PULLUP);
Which is dedicated pin for external flash chip (gpio7/SDIO_DATA_0/SPI_MISO) that not supposed to use for sketch. after uploading sketch now ESP is not responding to any further programming.
Could be Flash chip got corrupted due to the above mistakes?. Is it possible to recover? I already bricked two of my modules with same sketch before identifying above mistake. Sketch where working normal on Modules without above code.
When I connect to module with boad-rate 74880 chip returns
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
Please check the output when I try to upload the code
esptool.py v2.6
Serial port COM9
Connecting....
Chip is ESP8266EX
Features: WiFi
MAC: 4c:11:ae:0e:46:03
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
A fatal error occurred: Timed out waiting for packet header
*** [upload] Error 2
Complete output on link below.
https://hastebin.com/oxeyuqeyib.rb