Anyone had any experience using a custom serial to USB converter? I want to register the SAME chip as different devices depending on certain variables.
Sooooo.... I want to plug the usb device in and get it to come up as a keyboard. Later I might want the chip (with no changes except in the executed code) to come as a MIDI controller or USB Mass data storage or something?
Basically... What defines what a computer recognises the device as?
A good place to start would be USB protocol and give this a read. That should get you going as to how when something is plugged in the host knows what it is.
You can make it appear as all three devices at the same time if you want. If you want to change what it is then you change what descriptors you reply with and what code you execute.
You can make it appear as all three devices at the same time if you want. If you want to change what it is then you change what descriptors you reply with and what code you execute.