impossible to flash sonoff 4ch Pro

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
tortuegeniale69
New user
Posts: 5
Joined: 17 Mar 2018, 19:15

impossible to flash sonoff 4ch Pro

#1 Post by tortuegeniale69 » 17 Mar 2018, 21:08

Hi,

I'm trying to flash Sonoff 4ch Pro with ESPeasy firmware but I have an issue.
I'm using a surface pro 4 running on windows 10 and I have already done a firmware flash on sonoff basci and sonoff S20...that was OK and working.

But now, on sonoff 4ch pro I have tried the same operation and failed.
Here is what I did:

- firmware : ESP_Easy_v2.0-20180227_normal_ESP8285_1024.bin
- flashing tool : FlashESP8266.exe
- connections :
GND (sonoff) on GND (FDTI)
RX (sonoff) on RX (FDTI)
TX (sonoff) on TX (FDTI)
VCC 3.3v (sonoff) on VCC 3.3v (FDTI)


I get error as described in attached files.

For info, I have also tried with external power supply 12v / 2250ma..same issue.

I think/suppose the sonoff is not correctly in programming mode.

Do you have an idea?

Thanks
Laurent
Attachments
03.jpg
03.jpg (10.39 KiB) Viewed 9714 times
02.jpg
02.jpg (284.93 KiB) Viewed 9714 times
01.jpg
01.jpg (42.04 KiB) Viewed 9714 times

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: impossible to flash sonoff 4ch Pro

#2 Post by grovkillen » 17 Mar 2018, 21:26

Swap RX/TX since the transmitter should be sending to the receiver.
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 :idea: :idea: :idea:

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: impossible to flash sonoff 4ch Pro

#3 Post by TD-er » 17 Mar 2018, 21:26

Why try such an old version (3 weeks old)?
In the newer builds are versions included with "_DOUT" in the filename.
For newer SONOFF devices, you need those DOUT versions.

tortuegeniale69
New user
Posts: 5
Joined: 17 Mar 2018, 19:15

Re: impossible to flash sonoff 4ch Pro

#4 Post by tortuegeniale69 » 18 Mar 2018, 09:29

Ok works fine thanks ;-)

but is it normal that the first 3 lights are on ?
The blue light (for wifi) is off...but I can see ESP_Easy_0 wifi network.

See picture attached.
Attachments
IMG_20180318_092238.jpg
IMG_20180318_092238.jpg (400.51 KiB) Viewed 9691 times

tortuegeniale69
New user
Posts: 5
Joined: 17 Mar 2018, 19:15

Re: impossible to flash sonoff 4ch Pro

#5 Post by tortuegeniale69 » 18 Mar 2018, 09:34

TD-er wrote: 17 Mar 2018, 21:26 Why try such an old version (3 weeks old)?
In the newer builds are versions included with "_DOUT" in the filename.
For newer SONOFF devices, you need those DOUT versions.
sorry, I made a mistka with my copy/paste, firmware I use is : ESPEasy_v2.0-20180316

tortuegeniale69
New user
Posts: 5
Joined: 17 Mar 2018, 19:15

Re: impossible to flash sonoff 4ch Pro

#6 Post by tortuegeniale69 » 18 Mar 2018, 13:30

on sonoff 4ch pro, do you know where is the button to use to include it on jeedom (inclusion mode) ?

radebebek
New user
Posts: 5
Joined: 05 Feb 2018, 11:06

Re: impossible to flash sonoff 4ch Pro

#7 Post by radebebek » 21 Mar 2018, 13:00

I have same issues. I try flash sonoff4ch pro with firmware ESP_Easy_v2.0-20180313_normal_ESP8285_1024.
Flashing doing well. But I have 3 lights on 4ch pro, and on my usb to ttl blink Rx led lights.
ESP0 does not appear. I also try old firmware.

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: impossible to flash sonoff 4ch Pro

#8 Post by Methuselah » 21 Mar 2018, 18:30

On all my 4CH Pros the red LEDs light up on reboot -- some all 3, some just 2. No idea why.

I just do this:

on System#Boot do
GPIO,12,0
GPIO,15,0
GPIO,5,0
GPIO,4,0
endon

in my rules to reset them.

You have to go into hardware and set GPIO13 for the LED. If you're not using the I2C interface, set those to none, otherwise you'll get random green flashes on one of the LEDs.
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

radebebek
New user
Posts: 5
Joined: 05 Feb 2018, 11:06

Re: impossible to flash sonoff 4ch Pro

#9 Post by radebebek » 22 Mar 2018, 15:22

That is ok, but I cant login with browser. I cant find esp 0 wifi.
So I think that problems about flashing.

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: impossible to flash sonoff 4ch Pro

#10 Post by Methuselah » 24 Mar 2018, 01:06

what do you see on your serial output when you boot?
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

tortuegeniale69
New user
Posts: 5
Joined: 17 Mar 2018, 19:15

Re: impossible to flash sonoff 4ch Pro

#11 Post by tortuegeniale69 » 25 Mar 2018, 16:59

Hi,

I have added this rule into RULES tab.
Works fine but everytime I switch off sonoff power supply and then when I turn it on again, garage door open or close (depending of his initial position).

this is not very safe because If I'm out of my home, if there is a main electricity failure, and then when electricty's back, doors will be opened.

do you know why I get this behavior?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: impossible to flash sonoff 4ch Pro

#12 Post by grovkillen » 25 Mar 2018, 17:29

Are you using MQTT? Do you have the command retained on the broker side?
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 :idea: :idea: :idea:

ajager
New user
Posts: 3
Joined: 10 Nov 2018, 20:24

Re: impossible to flash sonoff 4ch Pro

#13 Post by ajager » 11 Nov 2018, 23:41

radebebek wrote: 21 Mar 2018, 13:00 I have same issues. I try flash sonoff4ch pro with firmware ESP_Easy_v2.0-20180313_normal_ESP8285_1024.
Flashing doing well. But I have 3 lights on 4ch pro, and on my usb to ttl blink Rx led lights.
ESP0 does not appear. I also try old firmware.
Have the same issue. 3 lights on 4ch pro R2 and can't flash (after success flashing). viewtopic.php?f=5&t=6054&p=33065#p33065

Does anybody solved this?

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests