Delen via


Zelfstandig hulpprogramma voor componentfirmware-update (CFU)

Met het zelfstandige CFU-hulpprogramma worden updatebestanden van firmware-installatiekopieën naar een apparaat verzonden. Het kan worden gebruikt om tijdens de ontwikkeling uw firmware-update op uw apparaat te testen en voordat u deze uploadt naar Windows Update.

Opmerking

CFU is beschikbaar in Windows 10, versie 2004 (Windows 10 mei 2020 Update) en latere versies.

Voordat u firmware-image verzendt, stuurt het hulpprogramma verschillende opdrachten naar het apparaat met firmware-aanbiedingen. Alleen als het apparaat accepteert, zal de tool de firmware verzenden. De communicatie tussen het hulpprogramma en het apparaat is in overeenstemming met het CFU-protocol, een opensource-specificatie (opgenomen in CFU) op basis van het HID-protocol.

Dit hulpprogramma leest een aanbiedingsbestand en geeft een firmware-updatebestand door aan een apparaat. Het is ook in staat om te zoeken naar het apparaat op basis van de protocolinstellingen en het aanvragen/afdrukken van firmwareversiegegevens.

Hiervoor moet een tekstbestand voor protocolinstellingen, aangeduid als .csv, worden doorgegeven als argument.

Voorbeelden van opdrachtindeling voor hulpprogrammagebruik

FwUpdateCfu.exe version \<protocolSettingsPath\> (to retrieve version of device)
FwUpdateCfu.exe update \<protocolSettingsPath\> \<offerfile\> \<binfile\> [forceIgnoreVersion] [forceReset]

Voorbeeld van protocolinstellingen (in .csv bestand)

#instructions:
#Fill in csv tag and the value in hex for each item
#order not important
#only the first 2 fields will be looked at so values after that are considered comments
VID,0x045e,#mandatory (each vendor must maintain their own Vendor defined Utility Page collections)
PID,0x07cd,#optional
USAGEPAGE,0xFF07,#mandatory (each vendor must maintain their own Vendor defined Utility Page collections)
USAGECOLLECTION,0x31,#optional (if you don't specify, the tool will attempt to talk to all devices with matching UsagePage/Vid/Pid on the usages specified below)
VERSION_FEATURE_USAGE,0x62,#mandatory for all procedures
CONTENT_OUTPUT_USAGE,0x61,#mandatory for fwUpdate procedure
CONTENT_RESPONSE_INPUT_USAGE,0x66,#mandatory for fwUpdate procedure
OFFER_OUTPUT_USAGE,0x8e,#mandatory for fwUpdate procedure
OFFER_RESPONSE_INPUT_USAGE,0x8a,#mandatory for fwUpdate procedure