Help - update bricked S20

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#21 Post by scorpion46 » 03 Jun 2018, 16:29

TungstenE2 wrote: 04 Apr 2018, 19:35 I have now tested with 'ESP Easy Flasher'.

Tried several .bin including ESPEasy_R147_1024 and with or without setting Wifi.

In all cases flashing is done, but Wifi is not working.

without setting: no ESP wifi is started

with setting: error message 'Unit do not have IP'

Any other idea? Please help!

This is really frustrating. How come that updating via OTA is failing and the device is dead?
Have the same problem. During the flash by the GUI the s20 was blinking and at a specific moment
there was a major flash of the leds en the s20 was dead.
Connecting the programmer shows no com port and several leds on the programmer.
After a short of the rx/tx pins in connection with the programmer powered via usb,
The programmer showed up in the com ports.
Then loaded the blank.bin and after that the easysp that goes well. But no activity on the
S20 after that. No Wifi No leds. It seams that there is no power on it. Is it possible to
measure it and so yes where/what?

Is it possible that the s20 goes defective when programming FW over the GUI of the easysp?

Is the s20 realy dead or can I make it alive again?????? And how do I use the tool to clear
the s20 total to load a new FW.

Thanks in advance for all the help.

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Help - update bricked S20

#22 Post by TungstenE2 » 03 Jun 2018, 16:37

see post #18
viewtopic.php?p=27171#p27171

S20 only has 1MB and should not be updated OTA.

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#23 Post by scorpion46 » 03 Jun 2018, 22:30

TungstenE2 wrote: 03 Jun 2018, 16:37 see post #18
viewtopic.php?p=27171#p27171

S20 only has 1MB and should not be updated OTA.
Hi Tungsten

Did all steps several times. S20 responds on all actions but
the s20 stays dead after each action. No wifi and no leds at all.

I think the s20 is realy dead. Q is there a security resistor/whatever
that has/can been destroid?

Oxyandy
Normal user
Posts: 95
Joined: 09 Mar 2018, 08:45

Re: Help - update bricked S20

#24 Post by Oxyandy » 03 Jun 2018, 22:43

Connect to Serial Monitor program, then power up S20, you should see output
The LEDs are not pre-configured in the firmware..
If you have serial output - set the wifi via serial, then you should be able to use web-interface

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#25 Post by scorpion46 » 04 Jun 2018, 21:09

Oxyandy wrote: 03 Jun 2018, 22:43 Connect to Serial Monitor program, then power up S20, you should see output
The LEDs are not pre-configured in the firmware..
If you have serial output - set the wifi via serial, then you should be able to use web-interface
Thanks for the tip but

after reprgramming is en looking at the serial monitor I got

uptime 1 coomunication faillure 0 freemem 14968

????

Oxyandy
Normal user
Posts: 95
Joined: 09 Mar 2018, 08:45

Re: Help - update bricked S20

#26 Post by Oxyandy » 04 Jun 2018, 22:59

Sure, this says it's still alive, ;)
Assume by now you have cold booted while connected to a serial monitor ?
Information you need will be visible to you then..

Then it will help to know the available serial commands
https://www.letscontrolit.com/wiki/inde ... _Reference
EG setting Wifi DHCP

Code: Select all

WifiSSID Your_Wifi_Name
WifiKey your_secret_pass
save
WifiConnect
Then the serial log will show the IP the node has been given, typing that IP into browser will take you there
EG
http://192.168.0.201

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#27 Post by scorpion46 » 08 Jun 2018, 11:34

Oxyandy wrote: 04 Jun 2018, 22:59 Sure, this says it's still alive, ;)
Assume by now you have cold booted while connected to a serial monitor ?
Information you need will be visible to you then..

Then it will help to know the available serial commands
https://www.letscontrolit.com/wiki/inde ... _Reference
EG setting Wifi DHCP

Code: Select all

WifiSSID Your_Wifi_Name
WifiKey your_secret_pass
save
WifiConnect
Then the serial log will show the IP the node has been given, typing that IP into browser will take you there
EG
http://192.168.0.201
Dear Oxandy

I have cleared the memory, loaded a new easy sp and looked at the serial monitor.
I only see rules about connection failure as earlier described.
Via a serial program terminate I have given the commands. But nothing happens.

I am a newbee on this and dont know how further

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

Re: Help - update bricked S20

#28 Post by grovkillen » 08 Jun 2018, 12:36

Could you copy the serial output and post here? If not able to do that, at least take a screenshot for us to look at.
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:

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#29 Post by scorpion46 » 08 Jun 2018, 14:30

grovkillen wrote: 08 Jun 2018, 12:36
screen s20.gif
screen s20.gif (118.05 KiB) Viewed 22071 times
screen s20.gif
screen s20.gif (118.05 KiB) Viewed 22071 times
screen s20.gif
screen s20.gif (118.05 KiB) Viewed 22071 times
Could you copy the serial output and post here? If not able to do that, at least take a screenshot for us to look at.
I posted one screenprint but you have got 3 some went wrong.
sorry about that.
Last edited by scorpion46 on 08 Jun 2018, 14:32, edited 1 time in total.

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

Re: Help - update bricked S20

#30 Post by grovkillen » 08 Jun 2018, 14:31

By the looks of those pictures the unit is working. Did you do the "post-flash" using my tool?
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:

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#31 Post by scorpion46 » 08 Jun 2018, 14:34

grovkillen wrote: 08 Jun 2018, 14:31 By the looks of those pictures the unit is working. Did you do the "post-flash" using my tool?
Yes Post-flash marked and with wifi name and password, no effective/result.

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

Re: Help - update bricked S20

#32 Post by grovkillen » 08 Jun 2018, 14:51

If you reset the unit (power off and then on) while the serial monitor is open, what do you see?
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:

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#33 Post by scorpion46 » 08 Jun 2018, 15:18

grovkillen wrote: 08 Jun 2018, 14:51 If you reset the unit (power off and then on) while the serial monitor is open, what do you see?
The sreen of the serial monitor goes away when I disconnect.
When I connect after that the serial monitor must be opened
and after that I see the same message Uptime number connectfailure 0 freemem 14968
Last edited by scorpion46 on 08 Jun 2018, 16:22, edited 1 time in total.

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

Re: Help - update bricked S20

#34 Post by grovkillen » 08 Jun 2018, 15:43

Ah, the Sonoff don't have a reset button...
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:

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

Re: Help - update bricked S20

#35 Post by grovkillen » 08 Jun 2018, 15:45

But, you're using a serial programer right? Just disconnect the power cable between the programer and the Sonoff, don't disconnect the programer from the USB.
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:

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#36 Post by scorpion46 » 08 Jun 2018, 16:39

grovkillen wrote: 08 Jun 2018, 15:45 But, you're using a serial programer right? Just disconnect the power cable between the programer and the Sonoff, don't disconnect the programer from the USB.
after disconnecting the sonoff from the FTDI nothing happens on the serial monitor.
When I connected the FTDI again on the sonoff the serial connection port is gone
an the FTDI power led and the 2 comm leds are on. It is not possible to open the
serial monitor because there is no com port detected. The sonoff seams to be locked.
I had this before and have to clear the memory with the tool from ESPressif with the internal
commands and after that I can see the com port again and programm the sonoff with the
cleared memory. But after the reloading of the esp bin nothing happens no wifi no leds.

Oxyandy
Normal user
Posts: 95
Joined: 09 Mar 2018, 08:45

Re: Help - update bricked S20

#37 Post by Oxyandy » 08 Jun 2018, 23:09

Grab Termite
https://www.compuphase.com/software_termite.htm
with FTDI plugged in & Sonoff connected, no other serial monitors open (will only work with one at a time)
Configure correct COMs port to match FTDI
You should see output like you have already (every 30 seconds)

Code: Select all

Uptime 2 ConnectFailures 0 FreeMem 18856
yes ? good.. now
With Termite running..
Click the button "Clear"
Unplug & Plug in FTDI to USB port with Sonoff connected, you should see output at power up
A line or 2 of garble, then Clear Readable text...
Copy paste that here

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: Help - update bricked S20

#38 Post by hans65 » 09 Jun 2018, 08:35

I doubt, the S20 is bricked, I have also a S20 and had some problems in the past.

- If you working with Windows, check the to see the port, where the adapter is connected
- Go back to the R_148 version, flash your S20. If you don't have the correct port (normally is 3 or 4) try the other one

Hans

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#39 Post by scorpion46 » 10 Jun 2018, 10:55

Oxyandy wrote: 08 Jun 2018, 23:09 Grab Termite
https://www.compuphase.com/software_termite.htm
with FTDI plugged in & Sonoff connected, no other serial monitors open (will only work with one at a time)
Configure correct COMs port to match FTDI
You should see output like you have already (every 30 seconds)

Code: Select all

Uptime 2 ConnectFailures 0 FreeMem 18856
yes ? good.. now
With Termite running..
Click the button "Clear"
Unplug & Plug in FTDI to USB port with Sonoff connected, you should see output at power up
A line or 2 of garble, then Clear Readable text...
Copy paste that here
After a reset by shorting the tx rx pins on the sonoff the com port comes up again.

Then i have looked at the serial and got the message connectfaillure again.

I have done the termite proc. and got

úëjúëjúëjúëjúëj

Hope you can determine what is the matter.

Thanks in advance for all the help

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#40 Post by scorpion46 » 10 Jun 2018, 11:03

hans65 wrote: 09 Jun 2018, 08:35 I doubt, the S20 is bricked, I have also a S20 and had some problems in the past.

- If you working with Windows, check the to see the port, where the adapter is connected
- Go back to the R_148 version, flash your S20. If you don't have the correct port (normally is 3 or 4) try the other one

Hans
Hi Hans

I work with WIN10 all updated and an FTDI interface have done several clearance
of the memory, reloaded a blank bin and also an old R 120 version nothing works
until now.

Oxyandy
Normal user
Posts: 95
Joined: 09 Mar 2018, 08:45

Re: Help - update bricked S20

#41 Post by Oxyandy » 11 Jun 2018, 01:34

Did you set the baud rate in Termite to 115200 ?
Are you seeing any 'Readable Text' in Termite ?
If so go back read my earlier post...
(You need to see the text output as Sonoff is first powered)

scorpion46
Normal user
Posts: 11
Joined: 03 Jun 2018, 15:17

Re: Help - update bricked S20

#42 Post by scorpion46 » 11 Jun 2018, 21:14

Dear Users of this forum

You have been very helpfull to me to solve my problem
of the possible bricked sonof s20.

I let you know how I worked it out.

At first to solve the lock of the com port I used the
FTDI with the power and ground and shorted for a
second the rx and tx pins of the sonoff.

Now I can reach the sonoff again. The serial output
was totaly nothing.
I cleared the memory with the programm of espressif
ande the internal commands.
Then I loaded the blank.bin and after that I cleaned again
with the espressif tool.
After this I loaded the espeasy bin with the tool from Tungsten
In that tool I put the data of the wifi to contact with and marked
also the force DOUT.

At the end on the screen came the message of the loading and the
IP number 192.168.4.1 But this adress could not been reached by
the ping. Also where there the messages of the serial commands to
the wifi name and password.

After this I disconnected the FTDI and put the s20 sonoff in the
powerbox for electricity. I saw on my telephone for the first time
the esp easy 0 again. But it had not the ip adress 192.168.4.1.
The adress it had was 192.168.244.1.

After contacting this adress in the browser I could give up the wifi
network and password and than the sonoff s20 was available for use.

All setting where available and working.

Thank You all for thinking with me and the variable solutions where
given in wich a combination of them where effective to get it working
again. And I have learned a lot of the sonoff.

WARNING
DONOT USE THE UPDATE FUNCTION IN THE GUI OF THE ESPEASY IT
WILL GIVE YOU A AMOUNT OF WORK TO GET IT WORKING AGAIN.

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

Re: Help - update bricked S20

#43 Post by TD-er » 14 Jun 2018, 19:22

scorpion46 wrote: 11 Jun 2018, 21:14 [...]
WARNING
DONOT USE THE UPDATE FUNCTION IN THE GUI OF THE ESPEASY IT
WILL GIVE YOU A AMOUNT OF WORK TO GET IT WORKING AGAIN.
I will add a warning to that screen when running on 1M of flash.
And I will do it now.... (well this evening)

TungstenE2
Normal user
Posts: 123
Joined: 03 Apr 2018, 21:46

Re: Help - update bricked S20

#44 Post by TungstenE2 » 09 Nov 2018, 14:27

@TD-er please als add a warning that flashing on Wemos D1 min from v2.0 to mega will also very likely fail and brick the device.

http://www.letscontrolit.com/forum/view ... f=4&t=6050

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 103 guests