Skip to content

C# USB DFU firmware upgrade utility using LibUsbDotNet

License

Notifications You must be signed in to change notification settings

nihility8848/LibUsbDfu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibUsbDfu

License

LibUsbDfu is a C# USB DFU firmware upgrade utility using LibUsbDotNet, DeviceProgramming and Mono.Options. The program performs the entire DFU upgrade procedure - booting to update mode, downloading the firmware and manifesting it - by a single command. It accepts .hex, .s19 and .dfu image file formats as input.

Example

LibUsbDfu.Cli -d 483:5740 -v 1.12 -i "newfw.hex"

Note: The USB VID:PID and version are overwritten from the .dfu file if that format is provided.

Footnotes

Unlike HID or MSC, the USB DFU class isn't recognized natively by today's OSes, therefore the interface driver must be created and distributed for each device. LibUsbDotNet is used as an underlying USB device interface, as it provides the most direct USB access on the widest platform range.

About

C# USB DFU firmware upgrade utility using LibUsbDotNet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%