Go Down

Topic: VID PID change on Pro Micro (Read 277 times) previous topic - next topic

ptrav

I am quite new at Arduino, but understand the programming in general. Recently came across a problem on changing VID/PID on Pro Mini.

So, the task is as following:
The board has VID/PID 2341/8037 and I need C1ED/2312 to make my stupid "smart TV" believe it is a keyboard after all.

I have modified the boards.txt file as pharaohamps suggested here:

https://forum.arduino.cc/index.php?topic=360330.0

micro.build.mcu=atmega32u4
micro.build.f_cpu=16000000L
micro.build.vid=0xc1ed
micro.build.pid=0x2312
micro.build.usb_product="Keyboard"
micro.build.board=AVR_MICRO
micro.build.core=arduino
micro.build.variant=micro
micro.build.extra_flags={build.usb_flags}

-- compiled and uploaded a sketch.
The board still shown as 2341/8037, nothing changed. A web search produced no useful links.

Could anybody enlighten the newbie or point to a decent tutorial how to change VID/PID?

pert

That should work fine.

You need to close all Arduino IDE windows and restart the IDE before changes you make to boards.txt take effect.

You may have multiple copies of Arduino AVR Boards installed. You need to be sure to edit the boards.txt file of the active copy. The easiest way to find the active hardware package location  is as follows:
  • Tools > Board > Arduino Leonardo
  • File > Examples > SPI > BarometricPressureSensor
  • Sketch > Show Sketch Folder
  • Move up folder levels until you reach the one that contains boards.txt

gdsports

The Pro Mini (328p) is not the same as the Pro Micro (32u4).

You cross posted in the Zero Forum.

https://forum.arduino.cc/index.php?topic=360330.msg3626916#msg3626916

And you cross posted on the sparkfun forum.

https://forum.sparkfun.com/viewtopic.php?t=44883

pert

Ah, good catch gdsports. Changing the VID/PID of the Pro Mini is a whole different story. Definitely can not be done simply by editing boards.txt. The fact that you're talking about making it appear as a keyboard is strange since that's an application more appropriate to the Pro Micro.

Robin2

The OP has "pro micro" in the title and "pro mini" in the first sentence of the Original Post.


Just out of curiosity, if the VID and PID are changed on a Pro Micro will that mean that it is no longer recognized as a Pro Micro for the purpose of using the Arduino IDE?

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up