Chat freely about anything...

User avatar
By davidcbittner
#21368 Hi, I am new to the forum I apoligize in advance if I am posting this to the wrong place. I recently started to work with the ESP8266-01 and wanted to try to test some of the examples I see on the web simple turn on led from the browser, etc just sumple ones at first to get my feet wet. however I am having zero success flashing it using NodeMcu firmware programmer and the nodemcu bin files. So far I have tried every thing I could find on the subject... I've tried 2 different types of USB/FTDI devices and 2 different ESP8266-01 modules and 2 different computer and no success at all.
This is the first FTDI adapter I tried: http://www.ebay.com/itm/231227363471?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
and this is the second one http://www.ebay.com/itm/361071401255?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
I have tried just about every type of configuration pulling power from the FTDI and/or from my external power supply. The FTDI I am assuming are working properly and so are the ESP8266 units since when I got them I hooked them up to both of my FTDI units and can communicate with them in the AT command mode and have no problems comunicating with them and setting them up to connect to my wifi network via the AT commands but as soon as I try to flash them everything stops working.

What I get is about 10% of an upload then in nodemcu I get an Error:Write flash timeout . I've tried to flash a bunch of different bin files trying to get it back to the "out of the box" and the AT commands to work again but all of those too stop at about 10%. It blinks for a while on both the FTDI and ESP8266 as it is uploading then just stops. Like I said I have tried just about every combination I can but nothing seems to get me past that 10% upload so I am just plain and simple stuck. I am about to try a third computer for giggles but I suspect that is not going to work. If it does I will update my post with the news otherwise I'm stuck. I am willing to try another FTDI programmer in case I got 2 lemons or one that has been bricked as I have read by the device driver set up to stop cheap chinese ones from working properly (I read that somewhere that that could be a cause too) but I suspect they mean it just does not work at all and mine at least work somewhat until I try to flash my modules.

p.s. none of the programmers or ESP8266 came directly from China but that doesn't really mean anything ultimately all of this came from China I am sure.

Any help would be greatly appreciated in solving this so I can get on with expermenting with these.
Thanks
David
User avatar
By tytower
#21457 Yes david they are all from China .Brilliant buggers they are . Go to the wiki above on this page and look for 101 . Set the chip up that way to start and work through with AT commands . Follow it carefully because I think you will have made a wiring mistake .Thats the most common error I have seen here . As long as your cable is on the right pins you should get something . I have a module that is spasmodic like that at times and i fiddle with the wires and it comes good . That said if you dont have GPIO15 low and GPIO2 floating then pulling GPIO0 to ground and booting may not get you into the right boot mode .
User avatar
By martinayotte
#21459
tytower wrote:That said if you dont have GPIO15 low and GPIO2 floating then pulling GPIO0 to ground and booting
may not get you into the right boot mode .


Wrong again ! https://github.com/esp8266/esp8266-wiki ... ot-Process

Both GPIO0 and GPIO2 needs to be pulled-up ! Never leaves pins floating, even if it worked for you !
User avatar
By tytower
#21462 Mate settle down .
Wrong again ! https://github.com/esp8266/esp8266-wiki ... ot-ProcessBoth GPIO0 and GPIO2 needs to be pulled-up ! Never leaves pins floating, even if it worked for you !

I don't believe you are right there . When running I leave GPIO0 high and use GPIO2 as one of my sensor pins. Have a better look round but I don't set GPIO2 high on the basic module when flashing . Thats why these people are having so much trouble I think .

You seem to know what you are doing so explain why you think it is so ? What modules are you refering to ? Node MCU baybe ,Olimex's chart shows the position of the jumpers to obtain those modes and is confusing . The module though on its own does not seem to follow that truth table, that I have seen and tried.

I am open to discuss this so we can work out why they are different in different reference areas . I have looked at your references and they look good and believable but with my modules ESP-12 with 0.9.5 firmware on them GPIO2 is left floating and my modules are working atm ! So something else is wrong here and needs to be identified .

For a start I will pull one of mine out of service and try to flash it with GPIO2 high and see what happens . I have not done that before . Perhaps it is a don't care situation on the truth table.

Why don't you PM me if you disagree rather than flaming me ?
I am going to be wrong often but at least i am giving these people an answer which you are rarely doing atm

And I said "may not" because there is an element of doubt
Oh and where was I wrong the first time? I don't remember
Last edited by tytower on Tue Jun 23, 2015 11:17 pm, edited 1 time in total.