cancel
Showing results for 
Search instead for 
Did you mean: 

Hot Swap USB

paulsmitton9
Associate II
Posted on April 07, 2008 at 07:06

Hot Swap USB

1 REPLY 1
paulsmitton9
Associate II
Posted on May 17, 2011 at 12:28

I need USB that can be plugged in and out during execution, not just at power-up.

Does anybody have any hints, rules or source code examples for making hot swapable USB?

All of the ST examples wait for USB communications with a host before they will execute any further code:

Code:

while (pInformation->Current_Configuration == 0)

{

NOP_Process();

}

Are the project_init() and PowerOn() functions are the only two that will require re-writing?