Pid vid modification uploading problem

I have a PID, VID problem.
I read the platform specification post and looked on the internet, but I don't find solution.

So I tried to change my variant minima PID, VID, so It can be automaticaly detected by the IDE and not confused with the standard minima.

To do that, I changed the USB_VID and PID value on the pins_arduino.h variant file and after uploading, I successfully modify it (I can see it when I look at the board COM properties).

So after that, I changed the .upload.pid and vid items of the boards.txt to match pins_arduino file but when I try to compile, I get this error :

It seems the ide doesn't give the right to upload to a pid vid that are not written in a file somehere...

Need help with that please.
Is there other file than pins_arduino.h and boards.txt I need to modify ?
Do I have to change something in dfu utility ?

Is there a solution ?

Thanks!

The files I only modified is pins_arduino.h and boards.txt, nothing else.

I think the error comes from the fact that dfu utility maybe check if vid pid you set are written in a file somewhere, so If the custom one doesn't appear in this file, dfu consider that the device with this custom vid pid is not DFU capable.

Still don't find solution.
Nobody to help me ? :face_exhaling:
@ptillisch

closing this request to open a new one, because what I request need to modify the bootloader.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.