Closed vulemanijak closed 5 years ago
Have you put gpio0 to gnd before powering the sonoff basic?
Unlucky choice of both USB serial adapters. Both do not deliever enough current on the 3.3 V path. The deliever just a few mA... might work but the are fare fare away of there specs. ESP needs up to 300mA
I tried putting gpio0(key?) to ground b4 powering few times, but read somewhere that pressing the button will do the work... so can i use some external source of power or should i buy new adapter? I saw many videos on yt with ft232rl working flawlessly
Yes, it can work... Using a extern 3.3V power supply will solve your powering issue https://github.com/arendst/Sonoff-Tasmota/wiki/Prerequisite
Thanks, i will inform if it worked 😄
Great.
Closing this issue as it is not a Tasmota software bug.
Anyway, please tell us here if that worked for you, when you have time to do the tests and if you need further assistant please do not hesitate on asking here or in the Tasmota Chat. Thanks.
Enjoy Tasmota :)
I went through lots of different forums and guides and couldn't find any solution so I start digging on my own. I have the latest version of sonoff with esp8285 and there is no proper guide on the internet how to flash it properly. I connected standard esp8266(not sonoff), setup serial monitor to 74880 and checked that boot mode for flashing over there is: rst cause:2, boot mode:(1,0) and only in that mode I am able to flash Esp8266
So I connected sonoff with serial monitor on 74880 and went to flashing mode(pushing button with power), it turns that at the first time it's rst cause:2, boot mode:(1,7) and I am not able to flash with that mode, but there is a solution for that! After you went to boot mode:(1,7) using gpi0 button and powering up, keep gpi0 button and push power button second time after 1-2 seconds(with serial monitor you can see that it went to expected boot mode:(1,0)) keep that button pushed, start uploading process, and you should be able to flash it now! Moreover it is good practice to check in which boot mode your sonoff is before flashing.
@dawidkoldras i am trying to flash sonoff basic, gpio0 button is tall black button right? And which is power button? Maybe I didnt understand quite well sorry...
@vulemanijak What i meant by power button is to deliver power to sonoff. So basically connect 3,3v and gnd to some external power.
Oh ok, ill try that and get back here, thanks!
Exactly the same problem here trying to flash the new version of Sonoff with ESP8285.
· First I tried with the TTL to USB adapter ft232rl. I always obtained the espcomm_sync failed error. I couldn't see anything in the serial monitor. · Then I tried to use a spare Arduino as a TTL to USB by connecting reset to ground. Now I can read the serial monitor, and it does enter to boot mode:(1,7). Following dawidkildras instructions I manage to enter boot mode:(1,0), but this gives me exactly the same error. · I have tried with esptool, PlatformIO and Arduino IDE and I get the same error. · I have tried with two different Sonoff basic
Anyway, I still have doubts regarding the configuration to be choosen. I've tried multiple combinations, but I gess the correct one is generic ESP8285. I'm using board version 2.5.0 and the following options:
A final question is: do I need to hold the GPIO button the entire uploading process?
Thanks!!
Exactly the same problem here trying to flash the new version of Sonoff with ESP8285.
· First I tried with the TTL to USB adapter ft232rl. I always obtained the espcomm_sync failed error. I couldn't see anything in the serial monitor. · Then I tried to use a spare Arduino as a TTL to USB by connecting reset to ground. Now I can read the serial monitor, and it does enter to boot mode:(1,7). Following dawidkildras instructions I manage to enter boot mode:(1,0), but this gives me exactly the same error. · I have tried with esptool, PlatformIO and Arduino IDE and I get the same error. · I have tried with two different Sonoff basic
Anyway, I still have doubts regarding the configuration to be choosen. I've tried multiple combinations, but I gess the correct one is generic ESP8285. I'm using board version 2.5.0 and the following options:
A final question is: do I need to hold the GPIO button the entire uploading process?
Thanks!!
I was holding GPIO button through entire process Here are mine settings, if you enter boot mode:(1,0) it means that connection is correct. Could you give me output from serial monitor, when you enter boot mode? Another question, once you enter boot mode and it gives you all this informations as output, do serial monitor is still writing some signs like "&""%" etc. after that?
I have used arduino uno, holded jump wires douring the entire process at angle to make sure contact is good, and it worked flawlessly... watch newest drZzs tutorial, it should work, but use arduino uno to make sure you have enough curent to power sonoff
Dont use FTDI adapters as written 100x times.... (Or just the ones with a EXTRA 3.3v power supply) If flash fails it is 99% the USB serial adapter....
I was holding GPIO button through entire process Here are mine settings, if you enter boot mode:(1,0) it means that connection is correct. Could you give me output from serial monitor, when you enter boot mode? Another question, once you enter boot mode and it gives you all this informations as output, do serial monitor is still writing some signs like "&""%" etc. after that?
When I plug the current without pressing GPIO 0, I get this:
When I enter boot mode after pressing GPIO 0, only this line is prompted. The boot mode is normally (1,7), but after unplugging and plugging again the 3.3V it changes to (1,0). However, can I also get (1,#), where "#" is a number between 0 and 7.
I've been using Arduino Uno, pressing the GPIO 0 button the entire process and holding the cables to ensure a good contact, and I still get the same error :(
I have one more Sonoff that I haven't tried to flash, but I don't expect too much after having the same error in 2 of them.
Anyway, I am using the Esp 2.5.0 version in the board manager and tasmota 6.4.1. Maybe I could try chaging this, but again I don't think this is the problem.
Hey! Finally I managed to flash Tasmota to the same Sonoff as before. It seems that there was a problem with the cables I was using. I changed all of them and now it worked perfectly!
Sorry for all the troubles!!
Hi everyone, i just recently bought sonoff basic for the first time, and i was attempting to flash it but.. first it turned out to be new model with new layout, and it has esp8285 board on it. Couldn't find any youtube videos specificly for this new model, so i searched the internet and many tutorials, but no luck... what i did when i was closest to flash:
Maybe there is different setup for esp8285 that i dont know of... just to mention, i tried to follow tedsluis comment in https://github.com/arendst/Sonoff-Tasmota/issues/2344, but no luck eather... hope someone will solve this... thanks! *I am using windows 10 Sorry if my english is bad, its not my native language
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
Make sure these boxes are checked [x] before submitting your issue - Thank you!
status 0
: Error 2