Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The first step to integrate the demo application into your application code is to call App_USBD_Init(). This function is responsible for the following steps:

  1. Initializing the USB device stack.
  2. Creating and adding a device instance.
  3. Creating and adding configurations.
  4. Calling USB class-specific application code.
  5. Starting the USB device stack.

The App_USBD_Init() function is described in .

lists the sections you should refer to for more details about each App_USBD_XXXX_Init() function.

After building and downloading the application into your target, you should be able to successfully connect your target to a host PC through USB. Once the USB sample application is running, the host detects the connection of a new device and starts the enumeration process. If you are using a Windows PC, it will load a driver which will manage your device. If no driver is found for your device, Windows will display the “found new hardware” wizard so that you can specify which driver to load. Once the driver is loaded, your device is ready for communication.  lists the different section(s) you should refer to for more details on each USB class demo.

  • No labels