Set your own PID and VID

Working libraries, libraries being ported and related hardware
Post Reply
dgoins
Posts: 6
Joined: Fri Mar 06, 2020 11:13 pm

Set your own PID and VID

Post by dgoins »

Hello,
Im running Arduino IDE 2.3.6 and the latest STM32 core 2.11.0.
My processor is an STM32L432 and I load my firmware via STM32Cubeprogrammer dfu.
I need to be able to change PID, VID and Manufacturer for my custom board. I cant find a good tutorial that works with these latest revisions.
It doesnt have to be elegant as I already change a file in the core anyway.
Thanks.
GonzoG
Posts: 508
Joined: Wed Jan 15, 2020 11:30 am
Answers: 36
Location: Prudnik, Poland

Re: Set your own PID and VID

Post by GonzoG »

You can change those but drivers will stop loading, as they use VID and PID values to recognize device.

There a few files where those are set. The easiest way it to search all core files for VID or PID value (eg. using Unreal Commander or Total Commander).
Attachments
Zrzut ekranu 2025-09-18 002706.png
Zrzut ekranu 2025-09-18 002706.png (47.93 KiB) Viewed 7 times
Post Reply

Return to “Libraries & Hardware”