brgokce / LibUsbDfu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C# 100.0%