Renumeration in firmware for FX1/FX2LP
Anonymous
Not applicable
Jun 18, 2011
12:25 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Jun 18, 2011
12:25 AM
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);
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous