-
Notifications
You must be signed in to change notification settings - Fork 31
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 flash M2 #12
Comments
If you are using M2 EU, the flash is not support M2 EU. |
I had exactly the same issue with M2 CN, the aqaragateway.exe does not work for me as well with above mentioned issue. In the end I flashed by using "gateway3utils.exe", now works fine. See the CMD history for reference: D:\aqara>gateway3utils.exe -x -c COM5 -t linux_0 -f .\linux_3.3.0_0017.0526.bin D:\aqara>gateway3utils.exe -x -c COM5 -t rootfs_0 -f .\rootfs_3.3.0_0017.0526_modified.bin |
NOT recommend to use gateway3utils to flash M2. |
@niceboygithub THanks for the information. But the aqarawaygateway.exe does not work for me with error: Seems like a python error. Would it be possible to output more debug info? |
Please plug-in USB2Uart first and have try. |
Hi, I have the same error code with M1S. I can see the boot sequence from putty. Before using the tool, do we need to do something in Putty? Like, interrupt the boot sequence? |
do not open COM port with other app, like putty. |
@niceboygithub I tried again with 3.3.2_0008.0605. First plugged in the USB-Serial then start the exe, same error on Windows 10: As a fallback and only solution, I have to use "gateway3utils.exe". If you say this is not recommended, would it be possible to provide a command line tool like gateway3utils.exe, for M2 ? Thanks |
You can test UART connection by putty first. |
I did use Putty to see log so I can confirm my UART connection is working. Same error from the .exe tool no matter what I do. I have talked to Miniknife88 who had the same issue. I’m wondering what am I doing different than you |
Please try the latest one |
aqaragateway.exe is not working with Aqara M2
M2 current firmware version 3.2.7_0018_0524
When i trying to flash rootfs, i see
Goto flasher failed, try again.
Error: 'NullWriter' object has no attribute 'fileno'
The text was updated successfully, but these errors were encountered: