Skip to content
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

Can't download intermeadiate firware #18

Open
angyp opened this issue Feb 25, 2023 · 10 comments
Open

Can't download intermeadiate firware #18

angyp opened this issue Feb 25, 2023 · 10 comments

Comments

@angyp
Copy link

angyp commented Feb 25, 2023

Anyone else unable to dowload the this?

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

@xi-s
Copy link

xi-s commented Feb 27, 2023

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

@angyp
Copy link
Author

angyp commented Feb 27, 2023

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.

@LeeWiu
Copy link

LeeWiu commented Mar 6, 2023

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"

@xi-s
Copy link

xi-s commented Mar 6, 2023

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
Copy link

xi-s commented Mar 6, 2023

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

@LeeWiu
Copy link

LeeWiu commented Mar 6, 2023

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
Copy link

LeeWiu commented Mar 8, 2023

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?

@dflvunoooooo
Copy link

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
Copy link

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.

@LeeWiu
Copy link

LeeWiu commented Mar 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants