Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

USB multiple configurations

Status
Not open for further replies.

chandu.kurapati

Full Member level 3
Full Member level 3
Joined
Oct 31, 2013
Messages
186
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Location
Bengaluru, India
Visit site
Activity points
2,778
Hi every one,

Here my doubt is i want to set my device with multiple configurations, one as VCP port and another one is normal data logger. when i switched to control request my device default state is VCP configuration after completion of enumeration i want to transfer some data to the my device.

then I want to change the configuration of the my device to another type for specific application, how to change the configuration of my device and how to switch my previous configuration when i need that one.

my doubt is it possible to change the configuration of the device one type to another type, in control transfer host asks for a configuration descriptor i have two configurations which configuration it select and what basis it select the particular configuration.

I have too many doubts about multiple configurations for a single device, please can any one help me.

Thanks & Regards,
Chandu.Kurapati.
 

Hi,

it depends on what devices, what OS and what drivers you use.

Klaus
 

Hi KlausST,

I want to write some USB application, in that i require two types of configurations, one is to flash the code in to the controller and another for serial port.

I want to switch from one configuration to another configuration when i required it, is it possible to switch from one configuration to another configuration, there is any special commands or any thing else require to change the configuration.

here my application is first i flash my code into the controller and then switch to serial port(like data logger), when i want to flash the code again switch to the initial USB configuration is it possible? please help me.

Thanks & Regards,
Chandu.Kurapati.
 

it is possible for some microcontrollers to have a composite device interface, e.g. the Microchip MLA has examples of HID and MSD

what device are you planning to use
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top