![Texas Instruments BIOSUSB User Manual Download Page 18](http://html.mh-extra.com/html/texas-instruments/biosusb/biosusb_user-manual_1094839018.webp)
Page 18 of 21
BIOSUSB User Guide
6
Building and Running USB Application Example
This chapter discusses how to configure and run the USB host or device example
provided along with the package.
Note : Before running any USB example, user should perform system reset
or reset the target board or EVM . The system reset can be performed
through code composer studio IDE. (From CCS IDE, select menu item
Debug->”Advanced Resets”->”System Reset”). Note that CPU Reset from
CCS does only the resetting the CPU, it does not reset the entire system
.
Setup Procedure for CCS4 Environment ( Building and Loading the
executable)
1. Invoke the CCS4 and perform Target configuration to configure
C6747/OMAPL137 or C6748/OMAPL138 EVM platform and use the appropriate
DSP gel file and Launch the target by selecting Debug-> “TI Launch
Debugger”, then connect to the target.
2. Select C/C++ perspective window (click on window->”open perspective”-
>C/C++) and Open the USB example’s appropriate CCS4 project file. Select
Project->”Import existing CCS/CCSE eclipse project” and provide project
directory path from “<INSTALL_DIR> \biosusb_xx_yy_zz\ packages\ ti\
biosusb\ examples\ <usbdevmsc, usbdevhid, usbhosthid >\build\ <C6747/
C6748>\ ccs4”. This will load the selected project. Set Project configuration to
Debug/Release mode.
3. Build the project in Release/Debug mode. Switch to Debug window by
selecting Debug Perspective window (click on window->”open perspective”-
>Debug) and load the executable.
4. Run the application program by pressing F8 key.
6.1
Building the USB MSC Device example for NAND OR MMC/SD OR SATA.
Below steps details how to build the USB device mass-storage application, where the
target platform acts as USB mass-storage device with NAND or MMC/SD or SATA
(only on C6748/OMAPL138 platform) as local storage media. User can choose the
storage media to be either NAND or MMCSD or SATA with this application. Make sure
all the dependent packages/components are installed and the environment variables
are created and the values are initialized correctly.
For CCS3 Environment
1. Setup the CCSV3 to configure C6747/OMAPL137 or C6748/OMAPL138 EVM
platform and use the appropriate DSP gel file and connect to the target.
2. Open the project (PJT file) for the USB device sample application from
“<INSTALL_DIR>\biosusb_xx_yy_zz\packages\ti\biosusb\examples\usbdevm
sc\build\<C6747/C6748>\ccs3\usb_dev_msc_sample.pjt”.
Set
Project
configuration to Release mode.
3. User can chose either NAND or MMC/SD or SATA (only C6748 paltform) as
storage media. Refer to block media user guide from BIOSPSP package for
further details with respect to media selection to expose over USB.
Summary of Contents for BIOSUSB
Page 1: ...Template Version 1 4 User Guide BIOSUSB User Guide 01 10 01 ...
Page 2: ...Page 2 of 21 BIOSUSB Release Notes This page has been intentionally left blank ...
Page 4: ...Page 4 of 21 BIOSUSB User Guide This page has been intentionally left blank ...