Sonoff - Something went wrong
Moderators: grovkillen, Stuntteam, TD-er
Sonoff - Something went wrong
Hi
I have solder and flash my new sonoff, the first of 4 I have gotten ... But the ESP_0 wifi is not coming up and the serial monitor shows funny symbols.
What have I done wrong, before I solder and flash the next 3 units
I have solder and flash my new sonoff, the first of 4 I have gotten ... But the ESP_0 wifi is not coming up and the serial monitor shows funny symbols.
What have I done wrong, before I solder and flash the next 3 units
- Attachments
-
- 20170504_191108102_iOS.jpg (411.93 KiB) Viewed 10037 times
-
- 20170504_191000743_iOS.jpg (436.23 KiB) Viewed 10037 times
-
- 20170504_190954670_iOS.jpg (543.07 KiB) Viewed 10037 times
-
- 20170504_190951768_iOS.jpg (676.33 KiB) Viewed 10037 times
Re: Sonoff - Something went wrong
Hello
Is it a cheap FTDI progger (around 2..3 USD) ?
Regards
Shardan
Is it a cheap FTDI progger (around 2..3 USD) ?
Regards
Shardan
Regards
Shardan
Shardan
Re: Sonoff - Something went wrong
Afaik cheap one should be OK, but u need another power supply. Don't power it through ac... T dangerous.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: Sonoff - Something went wrong
9600 bps is not the standard console port speed. Try with 115200, it should work fine.
There is no issue in powering a Sonoff from the 5V line from an FTDI adapter, works well. And I can see that you have correctly set the data signals to 3.3V on the FTDI adapter, which is the good thing to do.
Let us know is the correct console port speed fixes the issue.
Bye, Luca
There is no issue in powering a Sonoff from the 5V line from an FTDI adapter, works well. And I can see that you have correctly set the data signals to 3.3V on the FTDI adapter, which is the good thing to do.
Let us know is the correct console port speed fixes the issue.
Bye, Luca
Re: Sonoff - Something went wrong
5V ? are you sure ? i always thought that 5V will destroy the ESP ?!?lucaberta wrote: ↑05 May 2017, 00:37 9600 bps is not the standard console port speed. Try with 115200, it should work fine.
There is no issue in powering a Sonoff from the 5V line from an FTDI adapter, works well. And I can see that you have correctly set the data signals to 3.3V on the FTDI adapter, which is the good thing to do.
Let us know is the correct console port speed fixes the issue.
Bye, Luca
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: Sonoff - Something went wrong
You are right, I have checked and also the Vcc pin on the Sonoff needs 3.3V, like the voltage of the data lines.
The picture of the FTDI adapted shows that its jumper is correctly configured for 3.3V and that adapter correctly puts 3.3V on the Vcc cable. I have the same exact adapter and I have checked the traces on the PCB, so I can confirm that.
There are some TTL-serial USB adapter which always put 5V on the Vcc cable, unfortunately, so one should really make sure that the adapter puts 3.3V out and not 5V, to avoid damaging the ESP8266 on board.
More information from someone who has hacked a Sonoff and put ESPEasy on it can be found here:
http://www.jackenhack.com/sonoff-switch-i2c/
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Sonoff - Something went wrong
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Sonoff - Something went wrong
For the 1000. time:
Do not use cheap FTDI proggers
I think i've written it several times now:
The FT232 is one of the most faked chips on China market.
An genuine FT232 costs around 3 USD when you pick it in 1000-lots!
3 USD for the chip alone - compare with the price of these proggers yourself, maybe you will realize something.
FTDI has taken measurements against these fakes. It looks as if flashing runs nicely, but the chip driver replaces the
flashed data with zeros and a text like "FAKE CHIP DETECTED" or such. Obviously this destroyed code will never boot!
Look at the posting here for a lot more details: https://www.letscontrolit.com/forum/vie ... 232#p15118
To be honest i don't see the advantages of the FTDI besides it wears a famous brand name.
If you want a reliable and cheap progger, chose one with a CP2102 or a CH340 / CH340G.
They are even cheaper then the FTDI fakes and they do exactly the same Job.
On another note:
I strongly agree with toffel:
Do not use the internal power of the Sonoffs for flashing, use an external power supply instead.
It's much more fun to discuss with living forum members.......
Regards
Shardan
Regards
Shardan
Shardan
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Sonoff - Something went wrong
Just to be clear. The progger I got and that I linked to is CP2102 based. Here's a filtered search.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Sonoff - Something went wrong
And it looks quite nice and nice price too.grovkillen wrote: ↑05 May 2017, 14:21Just to be clear. The progger I got and that I linked to is CP2102 based. Here's a filtered search.
Might be a next one for me if i break my progging cables again
Regards
Shardan
Shardan
Re: Sonoff - Something went wrong
Thanks for all your help. I was not aware about the issues with just buying a cheap FTDI chip. I have ordered a CP2102 from the link below and I hope this will solve all issue at once
grovkillen wrote: ↑05 May 2017, 12:40 I have this USB-2-TTL which have both a 3.3V output and a 5V output. Works like a sharm:
Re: Sonoff - Something went wrong
Hi MortenEV
I have the same FTDI chip and I had the same problem with one of my Sonoff devices. The problem was not in the FTDI chip.
My problem was that somehow something was left on my Sonoff from previous flashes.
After two days research in google I solved my problem.
Just flash my sonoff with blank bin and then flash with EspEasy.
I followed instructions from here:
http://www.pratikpanda.com/completely-f ... sh-memory/
Hope this helps
I have the same FTDI chip and I had the same problem with one of my Sonoff devices. The problem was not in the FTDI chip.
My problem was that somehow something was left on my Sonoff from previous flashes.
After two days research in google I solved my problem.
Just flash my sonoff with blank bin and then flash with EspEasy.
I followed instructions from here:
http://www.pratikpanda.com/completely-f ... sh-memory/
Hope this helps
Regards from Bulgaria.
raptor
raptor
Who is online
Users browsing this forum: Ahrefs [Bot] and 22 guests