-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonoff Mini "bricking" after Full Firmware Update #6358
Comments
The problem seems that some incorrect data remains in the flash. Should be recommendable to do a We should test that |
Could you test that? |
I asked to a friend of mine to try that. Will report as soon as I receive the feedback. In the meantime perhaps @digiblur can test it for us since he has a sonoff R3 too? |
Got a reply right now: update to sonoff-basic using |
Had a Sonoff mini I did via DIY. Did a reset 5 command and it came back without issue. Then I flash http://thehackbox.org/tasmota/release/sonoff-basic.bin via the OTA URL method and it went through without issue. Any other tests? |
Still works? |
I won't be able to test that. No itead firmware anymore. |
Just buy another batch of your beloved Sonoff Minis 😉 |
Ha! Only reason I bought two was since they had a sale for $5 or so. |
Does anyone know if will there be a firmware update to resolve these Sonoff MINI DIY model so they will just work with standard firmware without the need to issue any further commands? |
You can compile your own sonoff firmware. Disable all the features you do not need. |
Added this suggestion to the Sonoff DIY article. |
Team I followed usual DIY OTA on Sonoff Mini and all went well. I did Tasmota OTA on 6.6.0.12 sonoff-basic and I can not wake up the device. i can flash via serial successfully but the unit will cycle in Serial monitor and won`t broadcast SSID, what can I do? |
When you flashed serial did you erase flash first? |
When it first boots, does it stay booted long enough so you can enter Are you using a pre-compiled binary? Does the device go into this reboot cycle upon a "fresh" flash or after attempting to configure the device? |
HALLELUJAH!!!! I flashed blank_1MB.bin from ESP EASY FLASHER then flashed tasmota and they are BACK!!! also tested Tasmota OTA and they are fine. So yeah we should RESET 5 after eWeLink OTA I was so happy that the eWeLink DIY OTA worked for me after 2 hours of try and failed than ended up soldering anyway. Second time in the row. Next time I solder right a way. :-) |
We have suspected the NodeMCU PyFlasher "wipe" may not be as thorough as it sometimes needs to be. When using esptool.py we can make the erase explicit and as a matter of fact, we sometimes recommend doing it twice (each one performs a "write" to flash and also calibrates Wi-Fi. In other words, it's much more thorough an erase. Plus, when using esptool, we also recommend a power cycle between erase and upload. PyFlasher obviously doesn't do that either. Nevertheless, PyFlasher is still a great tool for a huge majority of users. |
@Vendo232 You didnt follow wiki howto flash ;-) |
Wiki refined to provide detailed guidance. Nothing to be done beyond that I'm afraid. |
Did update as described in the wiki
Now the device is not respondig. It seems that as soon as connected to the Wifi it will reboot again. Any other sugestions then flashing via the serial way ? |
Flash 1MB empty bin file, Google it |
3 Sonoffs minis bricking. One of them I see on the network "sonoffDiy" but I can not access it. The other 2 don't even see them on the net. |
Solder serial and flash with empty 1MB bin than flash tasmota. Good luck, you are almost there |
In the first Sonoff Mini: I soldered the wires.. I connect it and the LED flashes. I have run "esptool.py flash_id" and it doesn't connect. |
I have the same issue, 4 Mini's flashed, 3 out of 4 bricked, flashed all with tasmota-wifiman.bin, one worked just fine and manged to connect to my WiFi Network then updated with Sonoff basic worked flawlessly. The other 3 flashed the same way, all of them are showing on My DNS server but I can't connect to them, any suggestions? Its really frustrating! |
same for me. bricked my second mini today. those pads are tiny. any tips to solder the serial connectors? |
Solder serial and flash with empty 1MB bin than flash tasmota. Good luck, you are almost there http://www.pratikpanda.com/wp-content/uploads/2016/05/blank_1MB.zip |
Hi, |
@Vendo232 got right but may be more detailed.
Output should looks like:
Output should looks like:
|
Done, I had revived all my Sonoff's and working now ... Great every one and
thanks ...
…On Sun, Jan 12, 2020 at 1:02 AM sredni ***@***.***> wrote:
@Vendo232 <https://github.com/Vendo232> got right but may be more
detailed.
1. Solder 4 wires to mini board
[image: 1FCF5367-097B-4788-85BC-985D16CC4FDE]
<https://user-images.githubusercontent.com/1628634/72211460-f6181400-34cb-11ea-9c23-61dec99a9632.JPG>
2. Connect it to your uart/ftdi but *do not connect* it to your
computer yet (make sure that your adapter uses 3v3 not 5v).
3. Download/install esptool.py
4. Download empty flash image (
http://www.pratikpanda.com/wp-content/uploads/2016/05/blank_1MB.zip)
5. Download latest tasmota (i suggest to use lite version - after all
it may be easy updated via ota)
6. Hold button on your sonoff mini and connect uart/ftdi to computer
7. Burn empty image:
esptool.py --port <path_to_port_which_sonoff_is_connected> --chip esp8266 write_flash -fs 1MB -fm dout 0x0 <path_to_blank_image>/blank_1MB.bin
Output should looks like:
esptool.py v2.8
Serial port <path_to_port_which_sonoff_is_connected>
Connecting....
Chip is ESP8285
Features: WiFi, Embedded Flash
Crystal is 26MHz
MAC: d8:f1:5b:82:82:dd
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Warning: Image file at 0x0 doesn't look like an image file, so not changing any flash settings.
Compressed 1048576 bytes to 1039...
Wrote 1048576 bytes (1039 compressed) at 0x00000000 in 0.1 seconds (effective 88756.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
1. Disconnect uart/ftdi from computer
2. Hold button on your sonoff mini and connect uart/ftdi to computer
3. Burn tasmota:
esptool.py --port <path_to_port_which_sonoff_is_connected> --chip esp8266 write_flash -fs 1MB -fm dout 0x0 <path_to_tasmota_image>/tasmota-lite.bin
Output should looks like:
esptool.py v2.8
Serial port <path_to_port_which_sonoff_is_connected>
Connecting....
Chip is ESP8285
Features: WiFi, Embedded Flash
Crystal is 26MHz
MAC: d8:f1:5b:82:82:dd
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Compressed 474576 bytes to 328553...
Wrote 474576 bytes (328553 compressed) at 0x00000000 in 29.0 seconds (effective 130.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
1. Sonoff led should start blinking and you can be happy now because
you just bring back your sonoff to life :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6358?email_source=notifications&email_token=AOE5ISFYZLKBCLKXEDRZYQ3Q5JFZLA5CNFSM4IUB6XC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWNBKY#issuecomment-573362347>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOE5ISBJUE6BMJXDGTZRLDTQ5JFZLANCNFSM4IUB6XCQ>
.
--
BR,
Amr AboTaleb
+20100-1953030
+20114-3999948
|
I'm at another project but have also this message.
Is this an issue or should the firmware run as expected? |
@mf01 Depends on what you are doing. If you trying to upload non empty image esptool try’s to check what is in the image and adjust some flashing settings. But when the image is empty this warning can be ignored. |
... 4 units, 3 is dead, Tried the OTA, first battle to get it into DIY mode... eventually lucky and get it (these are new units without the jumper). working on a MAC. i have 1 unit left, would love a step by step that will work from a MAC. G |
I had the same issue. Flashing minimal bricked the mini r2. But, you can recover by soldering to the header pins (which are tiny on the R2) and I got the first one running. I had better luck with my 2nd mini r2. My OTA sequence was:
Its a bit of a pain doing all of these steps, but worth trying before heating up your soldering iron. Hope this helps others. |
Hello, how to download empty flash? |
This app has it included https://github.com/letscontrolit/ESPEasy/releases |
I got many devices bricked after doing an OTA upgrade. The firmware was a custom build. |
I cannot provide template information. I'm just reporting three instances in the past several days of seeing this from users.
A user uses Sonoff DIY to flash sonoff-basic and it completes successfully. However, when performing an update to sonoff.bin via web OTA, the device does not come back online. No AP is broadcasting. It cannot be reset with 40s button press. The only recovery is to flash via serial.
The text was updated successfully, but these errors were encountered: