Sample Application Program (Apl) - Renesas X 600 Series Manual

Usb host mass storage class driver (hmsc)
Table of Contents

Advertisement

Renesas USB Device
8.

Sample Application Program (APL)

8.1
Application Overview
8.1.1
Operating Environment
The figure below shows a sample operating environment for the software.
Host Mass Storage
Device Class Driver (HMSC)
Renesas USB Device
8.1.2
Overview of Application Program Functions
The HMSC bundles a sample application (APL) intended for switch operation on the board such as RX62N RSK.
After enumeration, the process executes the file Write/Read operation on the connected USB mass storage device
Explanations for APL processes are provided below.
• Press SW on RX62N RSK after configuration is completed, to write 512-byte 'a' data to the "hmscdemo.txt" file
(Write process, 1 time).
• Press SW after the above process, to read the data in" hmscdemo.txt" (Read process, loop). During the Read process,
each time the device is read 100 times, LED0~3 on RX62N RSK light up in sequence.
• If an access error occurs on the connected device, the device will go to the SUSPEND state.
R01AN0513EJ0110 Rev.1.10
Aug 10, 2011
Evaluation
USB
Board
PORT
+
USB Basic Firmware
Figure 8.1 Example Operating Environment
USB Host Mass Storage Class Driver(HMSC)
USB Commnnication
(BOT protocol)
Text Data file
Write "aaaaa"
Text Data file
Read "aaaaa"
USB mass storage device
USB storage
USB
device
PORT
(USB memory,
etc.)
Page 42 of 55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx62n groupR8a66597

Table of Contents