cancel
Showing results for 
Search instead for 
Did you mean: 

Hello. I have a simple PCB board that can be flashed with a .dfu firmware file (via DfuSeDemo for example). I'd like to change USB device name shown in Windows. What are the modifications needed to the source code? Thanks in advance for the answers.

JSalo.1
Associate II
 
5 REPLIES 5
Pavel A.
Evangelist III

The change should be made in the Windows INF file used to install the DFU driver (ST's or custom).

Unfortunately any change will invalidate the signature on the driver package, and obtaining a new signature is a pain. At least you can use the "Zadig" hack (see here).

JSalo.1
Associate II

I managed to change the device name and Windows recognizes the new one but device manager shows an error -> see attached picture.

Also, the "Events" tab in USB Input Device Properties says "Device xxxxxxxxx was not migrated due to partial or ambiguous match."

Thank you for answering, I would really like to get this problem solved.

What have you changed? where?

Sorry for the delayed reply.

In the USB_DEVICE folder, in the file usbd_desc.c I have tried to change these lines

- #define USBD_VID

- #define USBD_MANUFACTURER_STRING

- #define USBD_PID_FS

- #define USBD_PRODUCT_STRING_FS

See attached pics also.

Sorry then I misunderstood your question. I thought you want a DFU device. Actually it looks like HID. Windows says that your HID descriptor is malformed. Try to find the error.

The answer for the device name visible in Windows is still the same.