tasmota-to-mgos icon indicating copy to clipboard operation
tasmota-to-mgos copied to clipboard

Can't download intermeadiate firware

Open angyp opened this issue 2 years ago • 10 comments

Anyone else unable to dowload the this?

https://dl.dasker.eu/firmware/mgos512k-0x7000.bin

angyp avatar Feb 25 '23 07:02 angyp

No, it is down.

But I followed the steps in the README.md to build it myself and it worked fine! :)

I didn't flash it using OTA, but using a USB-UART dongle. I build the 0x7000 and 0x1000 version for you; see the attached files. Use them at your own risk (but the 0x1000 worked for me)

fw_7000.zip fw_1000.zip

xi-s avatar Feb 27 '23 15:02 xi-s

I actually found a copy of the file on an old PC and flashed it OTA. Ended up with a semi-dead Dimmer 2 that I needed to get out the serial programmer to resolve. Thanks for your effort above.

angyp avatar Feb 27 '23 21:02 angyp

I actually found a copy of the file on an old PC and flashed it OTA. Ended up with a semi-dead Dimmer 2 that I needed to get out the serial programmer to resolve. Thanks for your effort above.

Can you please share your fw_1000.zip if you still have it on your pc? When trying to flash by ota https://github.com/yaourdt/tasmota-to-mgos/files/10841461/fw_1000.zip provided by https://github.com/xi-s I get error "Update Failed: ERROR[10]: Magic byte is wrong, not 0xE9"

LeeWiu avatar Mar 06 '23 10:03 LeeWiu

I actually found a copy of the file on an old PC and flashed it OTA. Ended up with a semi-dead Dimmer 2 that I needed to get out the serial programmer to resolve. Thanks for your effort above.

Can you please share your fw_1000.zip if you still have it on your pc? When trying to flash by ota https://github.com/yaourdt/tasmota-to-mgos/files/10841461/fw_1000.zip provided by https://github.com/xi-s I get error "Update Failed: ERROR[10]: Magic byte is wrong, not 0xE9"

You have to be careful. You can't flash a zip file. If your device did not check the file first, you would have bricked it by now!

If you want to do it over the air, you have to create the bin file yourself. You can still use my zip files, but you have to extract all the files and build one bin file based on the manifest.json. The positions are all there; if nothing is defined, fill with zeros. If "fill" is defined, fill with 255/0xff. If 'bin' file is defined, fill with the data of the corresponding bin file.

It would probably be quicker to just flash it over UART. But if your device is physically inaccessible, you could try to flash 'my' zip file to another esp-board using mos flash, extract a bin file from that esp and then flash that bin file OTA.

xi-s avatar Mar 06 '23 13:03 xi-s

I couldn't help myself. Two bin files: fw_1000.bin.gz fw_7000.bin.gz

I can only upload gzipped files, but i think Tasmota supports those. Use them at your own risk. If for some reason they don't work, let me know so I can take them down. Removed (malformed) links based on feedback of dflvunoooooo

xi-s avatar Mar 06 '23 14:03 xi-s

I compiled the 1000 version and tried to flash but same error, should I upload only tasmota-to-mgos.bin from zip file or to extract all files and create an archive in bin format?

LeeWiu avatar Mar 06 '23 20:03 LeeWiu

I flashed a Shelly 1L with v1000 via serial and I get a hotspot named mg-xxxxxxx, then I connect to it and flash a shelly original firmware with success and rebooting confirmation but the hotspot remain active for ever. I reconnected power supply and the same hotspot is there. I destroyed the pins and can't connect to serial anymore. Some other ideas?

LeeWiu avatar Mar 08 '23 10:03 LeeWiu

I couldn't help myself. Two bin files: fw_1000.bin.gz fw_7000.bin.gz

I can only upload gzipped files, but i think Tasmota supports those. Use them at your own risk. If for some reason they don't work, let me know so I can take them down.

Sadly doesn't work for me. Device doesn't do anything anymore. No Wifi no nothing :(

dflvunoooooo avatar Mar 30 '23 16:03 dflvunoooooo

But you can simply clone this repository and there are the files in the folder 'binaries'. Flashing those does work. I had to shellys to flash to stock.

dflvunoooooo avatar Mar 30 '23 17:03 dflvunoooooo

I ended by flashing devices by serial because no more wifi connection.

LeeWiu avatar Mar 30 '23 20:03 LeeWiu