How usb device descriptors are saved ?

kamil.szu

Member
Hi. So I just wonder in which memory type those device type descriptors from usb_desc.c file are saved ? I mean, why we have to modify those files for custom devices, because those descriptors cannot be generated during runtime on the fly and have to be saved to some kind of chip during flashing ? Or changing usb descriptors can be changed during runtime but its just how API was designed ?
 
Last edited:
Hi. So I just wonder in which memory type those device type descriptors from usb_desc.c file are saved ? I mean, why we have to modify those files for custom devices, because those descriptors cannot be generated during runtime on the fly and have to be saved to some kind of chip during flashing ? Or changing usb descriptors can be changed during runtime but its just how API was designed ?
Never mind Copilot is quite good on answering those questions.
"The USB device descriptor is a static piece of information that is set during the device’s initialization and remains constant throughout the device’s lifetime. It cannot be changed dynamically during runtime"
 
Back
Top