cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

MJ
New Contributor

I'm trying to make a code for PID switching.

It means that device's PID is changed if specific condition is true.

But I'm not sure whether it's possible or not.

If it's possible, is there any good solution for this?

If you know it, please let me know.

0 Likes
3 Replies
PranavaYN
Moderator
Moderator

Hi,

Are you using FX2LP to implement this?

PID is used during enumeration of a device. It is fixed for a given device. May I know the reason to change PID during runtime?

Best regards,
Pranava
0 Likes
MJ
New Contributor

Hi,

Yes, I'm using FX2LP now.

And the reason why I wanna change it is to separate 2 products.

One product is normal version and the other one is upgraded version that is added additional function.

Upgraded version uses different PID now.

So I was wondering if PID can be changed in the firmware so that only one firmware is used, not make a another firmware.

By any chance do you have ideas for this?

Thanks.

0 Likes
PranavaYN
Moderator
Moderator

Hi,

I am a bit unclear about your requirement. As per my understanding, you want a single firmware to support 2 PIDs and different functionalities based on the selected PID value. 

My question is how are you planning to determine which PID to be used by the device? Are you planning to use any external signaling to do so?

Best regards,
Pranava
0 Likes