START WITHOUT USING AN EXAMPLE PROJECT
The best and easiest way to get started is to take a look at the IAR PowerPac USB example projects. IAR PowerPac
USB provides USB device drivers for some USB controllers. Using one of these drivers makes it easy to get the target
up and running. Refer to section Available USB drivers on page 93 for a list of all supported devices and their valid
identifiers.
If you are going to use IAR PowerPac USB with your own hardware, you might have to write your own device driver.
A driver template for the implementation is supplied. The template is located in
the<$TOOLCHAIN_DIR$>\PowerPac\USB\Example\Driver\ directory. If you do not want to start with one of the
supplied example projects, you have to perform the following steps to get the target system to behave like a mass storage
device or generic bulk device on the USB bus:
No comments:
Post a Comment