Zadig is dead, long live libdwi

What antivirus software are you using?
What browser are you using?

Trying out libdwi today on a brand new compyter (that never had Zaddig installed on)…and the Arduino config compile shows 100% file downloaded successfully, done.

But the last line says:

Error during download get_status
Failed uploading: uploading error: exit status 74

is this something i can ignore?

Yes. The upload resets the device which confuses dfu-util a bit.
The error is normal and harmless.

Btw, zadig and proffie-dfu-setup.exe do exactly the same thing, and if you get to the download part, then it worked. If something breaks afterwards, then that is due to some other problem.

Windows 11 stock microsoft antivirus and chrome.

Cylance blocked proffie-dfu-setup

Why? Virus-total says “undetected” for cylance:

CylanceOPTICS and CylancePROTECT flagged it hard. Just relaying what happened.

Not sure if there is anything I can do about that.

I installed the exe, but Arduino doesn’t show the Port under Serial Ports. Installation was successful, and this PC has never had Zadig. Did I miss something?

The serial port doesn’t need a driver, it should just work.
If it doesn’t show up, then either you have a bad USB cable, the board isn’t programmed right, or the computer has drivers issues, but those driver issues are not related to the driver that is installed by proffie-dfu-setup.exe

I have a similar setup and initially hit a snag–the browser was blocking the download until I clicked on it in the download log and confirmed that I trust the source and wanted to keep it.

Unfortunately I think it’s always going to do that for unsigned binaries.
Signing binaries the microsoft way seems expensive, so I’m not doing that.

Yeah… I looked into that briefly for the same reason, to try and avoid the same issue and I decided it was not worth it :laughing:

2 Likes

Happy New Year, I just used the “proffie-dfu-setup” and it worked! Thank you
I have a Win10 PC. I’m just registered and I hope I haven’t broken any forum rules. I’m just so happy, that had to be said! Thanks

4 Likes

I know this is an older post, but I ran the proffie-dfu-setup.exe through a malware scanner, and it came back dirty via 3 engines. Malwarebytes claims it’s Malware.AI.4182766747, the link below shows that Dr.Web noted it as Trojan.Siggen19.43396, and Fortinet claims it as W32/PossibleThreat… While these could all be a false positive due to the nature of the application, I found it valid to note what I found.

https://virusscan.jotti.org/en-US/filescanjob/ufd8e0l9qw

The sha256 is still 4773c8693cf62777cd8da4c95441690e7ae7c4171e8c1d533b1f6225f3bdc29e, so nothing has infected the binary since I uploaded it.

It is a driver installer, which triggers lots of false positives unfortunately.

1 Like

I appreciate your response and validation @profezzorn!

Ok, ANOTHER question from me tonight… So as I’m trying to get stuff uploaded to my board, suddenly when I try to upload I get this error which I’ve never had before:

Cannot open DFU device 0483:df11

I read the posts on this thread Cannot open DFU device error and couldn’t really get anywhere. I ran the DFU setup again but it didn’t fix the problem. I don’t know why there is an issue now, I can only assume that in the past few days when I was trying to get my windows defender working correctly (my virus scan feature was gone) I messed some of these files up.

Anyways, when I first got the error tonight, I got a popup telling me I had to turn off memory integrity in windows core isolation… which I did, but that also didn’t fix the problem, and NOW I can’t get memory integrity to turn back on because it says the driver “STTub30.sys” is incompatible which is a whole other problem…ARGH!!!

When I look in device manager, the board seems to show up as STM Device in DFU Mode, under universal serial bus controllers. Unless I’m looking in the wrong area.
Do you guys know what I need to do to fix this? I can’t update that driver from the device manager, it says the most current version is installed. Do I need to delete it? I don’t want to screw my system up. I’m tearing my hair out in frustration here, I thought I had this all set up and now it’s all gone sideways. HELP!

So the all-knowing trash heap seems to suggest that “STTUB30.SYS” is a ST-micro development driver. Something (possibly some MSI software) has helpfully installed this driver for you, and not only is it preventing your from uploading to your proffieboard(s), but it’s also old and incompatible with windows core isolation apparently.

Basically, you want to figure out where this driver came from and uninstall the software that installed it for you.

If that doesn’t work, you probably just want to delete the STTUB30.SYS driver and hope that fixes things.

proffie-dfu-setup.exe does not install STTUB30.SYS, so it came from somewhere else…