PID switching while chip is working

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MJ
Level 3
Level 3
25 sign-ins 10 replies posted 5 questions asked

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
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

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
Level 3
Level 3
25 sign-ins 10 replies posted 5 questions asked

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
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

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