-
Notifications
You must be signed in to change notification settings - Fork 12
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
pine64_updater 1.0.3 crashes on Windows 11 #40
Comments
I'm having the same issue to. And ever since the app closed/crashed, my Pinecil has been stuck in DFU mode. :( I suspect it has to do with the ZADIG tool used to install the WinUSB drivers. Windows 11 apparently has changed the driver signing enforcement which appears to break ZADIG. I'm going to try and perform an update through a VirtualBox VM running Debian instead and see if I have any better luck. |
@warnesj The app crashes immediately after pressing update button? Or somewhere in the middle of process? |
@gamelaster, thanks for the quick reply! The app doesn't crash immediately after pressing the update button. I see the ZADIG installer attempt to run which sits at a blank screen for a while and then after it disappears I get a Windows alert about an unrecognized USB device. Then the Pine64 Updater closes (which I'm interpreting as a crash? It might not be). I'll try and record a video of what I'm seeing if that will help? As far as my iron being stuck in DFU, again that's a presumption on my part based on it's behavior. It no longer turns on, but when I connect it to my PC Windows does make a noise. So there's still something running. I figure it's recoverable if I can get a new firmware installed. Thanks for the recommendation for dfu-util. I was going to try that next. I just needed to install 7-zip to be able to extract the .xz archive. |
@warnesj if it's .xz file, it's very likely that you're downloading only source code, not a Windows binary. Hmm, this looks very strange, it's weird that zadig fails to install the driver. It's true that our zadic build is bit older, but I don't see an issue, because Zadic is installing WinUSB driver, which is signed by Microsoft. Will try to reproduce it, thanks! |
Yeah @gamelaster, it's strange that since v0.9 all the binaries are put into the same .xz archive on the SourceForce page for dfu-util. But I did download v0.11 and here was the output: `D:\Downloads\Firmware\Pinecil Soldering Iron\dfu-util-0.11-binaries\win64>dfu-util -D Pinecil_EN.dfu Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Match vendor ID from file: 28e9 D:\Downloads\Firmware\Pinecil Soldering Iron\dfu-util-0.11-binaries\win64>` So I suspect all my issues are related to not being able to install the WinUSB driver. :( I'll keep trying other things and report back if I have any success. |
@warnesj this looks like something wrong is with your device. The fact it's stuck in DFU is logical, because the dfu-util begin to erase, but fail in mid-time, so there is nothing to boot. There is another tool officially from vendor of chip for flashing, they have their own driver, you can use it for flash if it will help. For better help, you can ask on official Pinecil chat rooms, you can find links to Discord, Telegram, IRC or Matrix on https://wiki.pine64.org/wiki/Main_Page#Chat_Platforms |
Thanks @gamelaster for the advice and the link. I've did also download the GD32 Dfu Tool from the manufacturer and had similar problems. I'll definitely take up your advice to check out Discord or IRC. Thanks! I'll keep you posted as I make progress. |
So I have some positive news. I managed to find a Window 10 laptop and tried the updater. I'm happy to report that it worked perfectly and my Pinecil is back up and running. :) To me it still feels like there is a problem which Windows 11 is preventing ZADIG from loading the WinUSB driver. When I was using my Windows 11 desktop with the updater, after clicking the Update button the ZADIG window would appear and stay there for quite a while. Where as on my Windows 10 laptop, after clicking the Update button the ZADIG window appeared and didn't stay for nearly as long. Considering the updater was successful on Windows 10 it leads me to believe that the WinUSB driver installed fine whereas on Windows 11 it did not. I ran across an post (sorry I didn't bookmark it) that seemed to suggest that if someone had previously run ZADIG on Windows 10 and installed the WinUSB driver that it would continue to work if they upgraded to Windows 11. But if someone had not run ZADIG before upgrading to Windows 11 that the new driver enforcement would prevent the installation. In the meantime I'll keep messing around and see if I can figure it out. I'll keep you posted if I make any progress. |
Hi @warnesj , glad to hear that you successfully flashed your Pinecil and it's not hardware issue! Well, this is definitely very weird, from your description, it sounds that the WinUSB is actually successfully installed, but something interrupts the flashing or something.... Even more weird is that for you the GD32 DFU Tool didn't worked too... Thank you so much for the information :) |
I got the same crash on Windows 11.
|
Same issue in Windows 10 (may be related to an update), and also working fine with First run in win10 took time with driver installation before crashing, then crashed right after downloaded new firmware.
|
After selecting a custom dfu file, the app immediately closes when I press the update button, without any messages.
The text was updated successfully, but these errors were encountered: