logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dfu-suffix - add, check, or remove DFU firmware file suffix

Authors

       See AUTHORS file in source.

dfu-util 0.11                                    September 2021                                    DFU-SUFFIX(1)

Bugs

       https://sourceforge.net/p/dfu-util/tickets/

Description

       The  program  dfu-suffix  can be used to add, check or remove a DFU firmware file suffix, recommended for
       safely matching a firmware file and device.

       Note that a suffix is recommended by the DFU standard, but not required.  A DFU host tool  like  dfu-util
       will recognize the suffix and use it to check that the device is matching, but not transfer the suffix to
       the device.

Examples

dfu-suffix --vid 0123 --add firmware.dfu
              Adds  a  suffix matching vendor 0x0123 and product ID 0x4567.  Since product and device ID are not
              specified, they will contain the wildcard value 0xFFFF.

       dfu-suffix --check firmware.dfu
              Checks the file firmware.dfu for a valid DFU suffix

       dfu-suffix --delete firmware.dfu
              Removes a valid DFU suffix from the file firmware.dfu

Exit Values

0      Success (also if suffix is missing)

       -64    Usage error

Limitations

dfu-suffix can not tell a broken DFU suffix (e.g. checksum mismatch) from a non-existing suffix, so  only
       a valid suffix can be removed.

Name

       dfu-suffix - add, check, or remove DFU firmware file suffix

Options

-v,--vidvendorID
              Specify USB vendor ID (hexadecimal)

       -p,--pidproductID
              Specify USB product ID (hexadecimal)

       -d,--diddeviceID
              Specify USB device ID (hexadecimal)

       -S,--specversion
              Specify DFU specification version (hexadecimal)

       -h,--help
              Displays a help message.

       -V,--version
              Displays the software version.

See Also

dfu-prefix(1), dfu-util(1)

Synopsis

dfu-suffix [options] --addDFU_FILEdfu-suffix--checkDFU_FILEdfu-suffix--deleteDFU_FILEdfu-suffix--helpdfu-suffix--version

See Also