-
Notifications
You must be signed in to change notification settings - Fork 280
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
dfu-util : can't detach, device does not revert to application code after reflash #64
Comments
workaround : needs dfu-util 0.10 which adds a ":leave" command . This is bleeding edge so I don't think we want to modify the dfu-util command before a few weeks / months. e.g. See: https://sourceforge.net/p/dfu-util/tickets/99/
|
Not sure what debian/ubuntu are waiting for. As of 2022/01, http://dfu-util.sourceforge.net/ is on release 0.11, but I'm still seeing 0.9 on https://packages.ubuntu.com/jammy/dfu-util A few more months maybe... |
Debian has a bug report for this: "dfu-util: Release very old" But that bug report is old itself :( |
According to https://tracker.debian.org/pkg/dfu-util , 0.11 is starting to "trickle down" into distros. It's in "testing" now... |
@fenugrec does this firmware support IAP ? Your first post with dfu-util -l shows the all three interfaces
After I flash my device with canette firmware I could not get the [0483:df11] and [1d50:606f] to show up at the same time. Am on windows machine BTW. Would that be the isssue? |
I'm not sure what that means, sorry.
Ah yes, in my paste if you notice the different Note, it's very unlikely that you have cannette hardware; it's a variant I was planning to build and release/sell but then massive STM shortage started so the project is on hold. I haven't released schematics since it's currently almost impossible to build more. |
@fenugrec I had my suspicions on two different devices theory, thanks for clarifying that. I am in process of building a very small batch of gs_usb board variant. That said I would request some assistance on my windows-os related query. I am having driver issues on windows. I am able to switch to DFU mode on ubuntu with native driver without shorting bootloader pin, is this something windows-os cant/wont support? Not sure if this is library/driver issue or is a dfu-util on windows limitation? If you can point me the direction, I can investigate more. |
Please open a new ticket. I'm leaving this one open for this specific issue related to recent dfu-util updates. |
After some quite deeper digging, I figured I had a newer driver and old dfu-util. |
closed by 4ebdff3 |
Quite annoying. Tried with and without -R, tried a fix suggested at https://community.st.com/s/question/0D50X00009XkhcT/application-fails-to-start-after-dfu-leave (forcing a reset of the USB peripheral), no success : device still boots right back into DFU mode.
The text was updated successfully, but these errors were encountered: