Hello,
I would like to have a solution to reconfigure the USB-Parameters (Especially the Device-Descriptor) at runtime.
To accomplish that I tried to override the parameters right in usb_dev.c an call usb_init() - diry hack, but whatever that didn't work - nothing happens.
I heard of some Chips that support a reconfiguration of the USB-Parameters (e.g. the chip on a board called Facedancer). Basically I want that feature with the Tennsy.
I wonder if the Teensy 3.6 does at all support that kind of feature and if I would really appreciate an advice on how to enable it and maybe even some tips on how to implement the follwing.
My idee:
1. start the Tennsy in NO-USB modus
2. configure the USB-Parameters
3. call usb_init()
2 + 3 => virtual reconnect - it should be possible to make such a reconnect multiple times at runtime.
I would like to have a solution to reconfigure the USB-Parameters (Especially the Device-Descriptor) at runtime.
To accomplish that I tried to override the parameters right in usb_dev.c an call usb_init() - diry hack, but whatever that didn't work - nothing happens.
I heard of some Chips that support a reconfiguration of the USB-Parameters (e.g. the chip on a board called Facedancer). Basically I want that feature with the Tennsy.
I wonder if the Teensy 3.6 does at all support that kind of feature and if I would really appreciate an advice on how to enable it and maybe even some tips on how to implement the follwing.
My idee:
1. start the Tennsy in NO-USB modus
2. configure the USB-Parameters
3. call usb_init()
2 + 3 => virtual reconnect - it should be possible to make such a reconnect multiple times at runtime.