Report Bugs Here

Moderator: Mmiscool

User avatar
By drhaitch
#47108 I have a whole pile of esp8266. I generally just grab stuff from ebay, I have basic modules, nodemcu etc. Almost all of them fail to program with the esp8266basic flasher utility. I almost always get

1
2 etc
..
12

Failed Wifi Connect
Creating WIFI access point
ESP
APname
APpass
file open failed




However if I use arduino 1.6.5
load in the esp8266 boards to arduino

https://learn.sparkfun.com/tutorials/es ... uino-addon

Choose the closest board to whatever I am using.
then download the lastest esp8266basic from git, compile it
its all great.
Especially for boards like wemos d1 mini which dont have a flash button, just a reset button.

Initially I thought compiling on arduino etc would be too hard, and tried lots of other flasher utilies , which would sometimes work.
Note that the most recent arduino 1.6.7? I think doesnt work as some sort of linking in it is broken.

Hope this helps others, as there seem to be a few people who have trouble with flashing the chip.
Its really frustrating when the flash utility seems to work but something just isnt correct and you get the file open failed error.
User avatar
By viscomjim
#47113 Hi drhaitch, it looks like you are successfully flashing basic. Try connecting your pc to the wifi ESP and then typing 168.192.4.1 in your browser.