Skip to main content
Visitor II
June 10, 2024
Question

DFU with custom VID / PID

  • June 10, 2024
  • 2 replies
  • 1832 views

Hi,

We would like to use the standard USB DFU supplied with a STM32H747IGT6 with our own Vendor ID (VID) and Product ID (PID) instead of the default STM VID and PID. We are entering USB DFU mode by pulling the boot mode pin hi. We can run the DFU through the USB without problems, however the device appears in Windows Device Manager as an ST Microelectronics device, and we wish to change the vendor to ourselves. We have a VID and PID for this product and can sign drivers. 

What is the procedure for altering the VID and PID shown by the embedded USB bootloader in STM32H747 from 0x0483 (VID) and 0xdf11 (PID) so that when connecting to a host, the device string descriptors reflect custom data?

 

Thanks!

    This topic has been closed for replies.

    2 replies

    Super User
    June 11, 2024

    To alter the VID and PID in the built-in bootloader in the "system ROM" you'll have to order a custom batch of chips from ST. Good luck with that.

     

    Technical Moderator
    June 11, 2024

    Dear @slc2015 ,

    As explained by @Pavel A. , the only way is to change the embedded Firmware code and update the VID and PID , this is possible only using your own IAP custom bootloader to put in flash . This is not possible with our built in ROM bootloader .

    Hope it helps you

    STOne-32

    Visitor II
    January 14, 2025

    Hi,

    I have the same problem with another STM32 chip.

    The impossibility of setting my own VID and PID makes the DFU mode almost unusable. Since you can't know which kind of device is in DFU mode, you can't make sure the right firmware is downloaded in the right device.

    Flash Option bytes should be used for this.

    Regards,
    Nicolas

     

    Super User
    January 14, 2025

    Flash Option bytes should be used for this

    Good idea! @STOne-32