AnsweredAssumed Answered

Problem when trying to change USB VID for DFU

Question asked by jeba on May 31, 2011
Latest reply on Jun 10, 2011 by jeba
Hello,
I want to change USB VID on our device. So VID is changed in DFU_DeviceDescriptor[] in usb_desc.c.
Also, I changed DFU_StringVendor[], DFU_StringProduct and DFU_StringSerial[].
StringVendor = StringProduct, StringSerial = some letters and numbers

Then I changed the STDFU.inf that is installed from UM0412.ZIP:
- Replaced all ST VID (0483) with my own VID
- Set ProviderName to company name (same as  DFU_StringVendor above)
- Set MfgName to company name (same as  DFU_StringVendor above)
- Set USB\VID_XXXX&PID_DF11_DeviceDesc to "Device in FW upgrade mode"

Everything is working well if I don't change VID in any of the files. But as soon that is done Windows says the device can't be started, error = Code 10.

Note that I'm very carefull to uninstall and remove all USB drivers and enumerations (windows/inf) before each try, so windows should not be confused (I think).

Any Ideas anyone? I don't think it is a good idea if someone thinks our product comes from ST.

Best regards
Jens

Outcomes