Skip to content

Can dfu-util be updated? #28

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

Closed
chrissbarr opened this issue Oct 4, 2018 · 3 comments
Closed

Can dfu-util be updated? #28

chrissbarr opened this issue Oct 4, 2018 · 3 comments

Comments

@chrissbarr
Copy link
Contributor

I might be wrong, but it looks like the included dfu-util tool (at least on Windows) is quite an old version.

I can't get it to detect any STM32F4 microcontroller in DFU mode - either running the built-in bootloader or my own DFU bootloader in flash. I haven't tried with any other STM family yet.

More recent versions of dfu-util seem to work fine with these boards. I tested with v0.9, which seems to be the latest, and was able to get it to work by dropping it into the tools/win directory (along with the libusb-1.0.dll it is packaged with). This makes it simple to add dfu-util as an upload method in the Arduino_Core_STM32, and seems to work for me with chips that have the DFU bootloader built into them.

Is there any reason not to do this? Or should the included dfu-util be working as-is - is anyone else using it successfully?

If it's just a matter of dropping in the updated dfu-util, I can put together a pull request. It just seems too straightforward, so I figure either there's a reason not to do it, or there's more to it than I'm seeing.

@fpistm
Copy link
Member

fpistm commented Oct 4, 2018

Hi @chrissbarr
The only reason is that the time is always a missing ingredient. Feel free to provide a PR for that.
I will release soon a new version, this should be fine to include this update.

@chrissbarr
Copy link
Contributor Author

Thanks for the quick reply @fpistm! I will have a look tomorrow and submit a PR with the changes.

@fpistm
Copy link
Member

fpistm commented Feb 13, 2019

Fix thanks #29

@fpistm fpistm closed this as completed Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants