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

cross mob

Renumeration in firmware for FX1/FX2LP

Renumeration in firmware for FX1/FX2LP

Anonymous
Not applicable
Question: How can I do renumeration in firmware?

 

Answer:

At any point of time, by setting DISCON bit in USBCS register , a USB Bus disconnect can be simulated. Clearing this puts the device back on bus re-enumerating the device again, without physically unplugging and re plugging. RENUM bit in USBCS can be used in Firmware to tell FX2LP to report default descriptors/ customer defined descriptors also.

The below line of code will renumerate the device,

EZUSB_Discon(TRUE);

0 Likes
645 Views
Contributors