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 Next »

Prerequisites

Before running your first application, you must ensure that you have the minimal set of required tools and components:

  • Toolchain for your specific microcontroller.
  • Development board.
  • µC/USB-Device stack with the source code of at least one of the Micrium USB classes.
  • USB device controller driver compatible with your hardware for the µC/USB-Device stack.
  • Board support package (BSP) for your development board.
  • Example project for your selected RTOS (that is µC/OS-II or µC/OS-III).

If Micrium does not support your USB device controller or BSP, you will have to write your own device driver. Refer to Device Driver Guide for more information on writing your own USB device driver.

Downloading the Source Code

µC/USB-Device can be downloaded from the Micrium customer portal. The distribution package includes the full source code and documentation. You can log into the Micrium customer portal at the address below to begin your download (you must have a valid license to gain access to the file):

http://micrium.com/customer-login/

µC/USB-Device depends on other modules, and you need to install all the required modules before building your application. Depending on the availability of support for your hardware platform, ports and drivers may or may not be available for download from the customer portal.  shows the module dependency for µC/USB-Device.

 indicates that all the µC/USB-Device classes are optional because there is no mandatory class to purchase with the µC/USB-Device Core and Driver. The class to purchase will depend on your needs. But don’t forget that you need a class to build a complete USB project.  also indicates that µC/OS-II and -III Core and Port are optional. Indeed, µC/USB-Device stack does not assume a specific real-time operating system to work with, but it still requires one.

Installing the Files

Once all the distribution packages have been downloaded to your host machine, extract all the files at the root of your C:\ drive for instance. The package may be extracted to any location. After extracting all the files, the directory structure should look as illustrated in . In the example, all Micrium products sub-folders shown in  will be located in C:\Micrium\Software\.

  • No labels