Skip to main content
jeba
Associate II
May 6, 2011
Question

Change device USB properties for DFU Mode

  • May 6, 2011
  • 4 replies
  • 1544 views
Posted on May 06, 2011 at 12:36

Change device USB properties for DFU Mode

    This topic has been closed for replies.

    4 replies

    tsuneo
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:34

    Ah, C:\Windows\inf folder is invisible as the default.

    You may need to make it visible.

    For example,

    http://www.howtogeek.com/howto/windows/display-hidden-folders-in-xp/

    Tsuneo

    tsuneo
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:34

    The second string ''STM Device in DFU Mode'' derives exactly from the INF file, as you expected. But it is copied to the registry at the first plug in. Therefore, to update the message, you have to delete the device instance from the registry once. And re-install the device using modified INF file again.

    This utility is convenient to delete (uninstall) device instances from registry, because it lists up all devices registered, regardless of device connection.

    USBDeview

    http://www.nirsoft.net/utils/usb_devices_view.html

    Also, the original INF file is renamed and copied to \Windows\inf\ folder, as oemXXX.inf. Delete this oemXXX.inf and oemXXX.pnf files. To find the renamed INF file, search a specific string on the INF file, using ''grep'' utility, or text editor. For example using Windows command line,

    > findstr /I vid_0483 c:\Windows\inf\*.inf

    Tsuneo

    jeba
    jebaAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:34

    Thanks. That helped.

    Now to the next question. I have the INF file with ST VID (0483), but I want to change to our VID. So I change in target DFU_DeviceDescriptor list and I replace all 0483 to my VID.

    It seems that the driver is installed correctly but there is a message that the driver could not be started (error code 10). Is VID integrated in some kind of checksum in the INF file. Like:

    [STTub30.AddLicences]

    ; 24BE_DF11

    HKR,6f72a98be4e1edad,''{3FE809AB-FB91-4cb5-A643-69670D52366E}'',, ''''

    BR

    Jens

    ke_it
    Visitor II
    January 19, 2012
    Posted on January 19, 2012 at 01:30

    Hi Jens,

    I faced the exactly same problem. Have you figured it out why the PC will report the device cannot be started?

    Regards

    Frank