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
Flashing firmware binary directly #169
Comments
I just did it like this on windows connecting a device to COM5:
Pitfalls are:
|
Thanks for your input! Looks like a good start.
My guess is the flash will simply fail otherwise (alternative would be that the flashed image can't be read back afterwards). One could hence first try dio, then dout!? Another option might be an evaluation of |
Download the Bin file and flash using the esp flash tool that can be download from here: |
I doubt this will work... https://github.com/BattloXX/ESPEasyFlasher/blob/master/FlashESP8266/Form1.cs#L57 |
Used it last night, first flashed a 1024 all zero bin file to wipe the rom and then flash the tasmota bin. worked fine here :) |
I will give it a look even though I'm not fluent in python, but I have a lot of time 😄 |
I have written some code: https://github.com/yann25/sonoff_autoflash It worked fine on Windows, I will try it on Raspbian tomorrow. Since I'm not a professional programmer comments are welcome. :) |
Nice one @yann25 ! I'll leave a few ideas over in your issue tracker ;) |
@gajotnt What's the full command to do this with esptool? |
https://drive.google.com/open?id=0BwVQa3PrL2G3aUF6NldsSV9QZzQ And in case you are worried about virus here you go: Where %comport% is the COM port of the programer :) You just need to extract the reset.bin file from the above zip file. |
This might be a gui alternative: https://github.com/marcelstoer/nodemcu-pyflasher |
As well you could use a Raspberry for uploading and flashing a bin file to the sonoff, have a look at this link |
Managed to flash, but no temporary Access point popped up as I was expecting. I've only tried by powering through the serial connection via PC & via a known 2 A USB charger, so I don't think it is because I have a brown out problem!? I'd prefer not to try messing around on 240Vac,if it's not necessary. Any pointers will be appreciated. Graham 00:00:14 WIF: WPSConfigactive for 3 minutes load 0x4010f000, len 1384, room 16 ets Jan 8 2013,rst cause:1, boot mode:(3,7) load 0x4010f000, len 1384, room 16 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
FYI... |
Did anyone successfully flash a fresh Sonoff module with the Tasmota firmware binary directly?
I've no factory firmware Itead Sonoff module left in my collection, so can't test myself. I'd like to add this option to the wiki https://github.com/arendst/Sonoff-Tasmota/wiki/Upload because I recently learned that flashing a microcontroller using the Arduino IDE or PlatformIO is not as easy for non-programmers. I'd like to give easier instructions for these end users.
Which Software did you use, which pitfalls are there to look out for?
The text was updated successfully, but these errors were encountered: