Instruction manual

Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 5 of 157
Apr 1, 2013
1.3 List of Terms
Terms and abbreviations used in this document are listed below.
ANSI : ANSI-C File I/O System Calls
APL : Application program
ASSP(assp) : Application Specifec Standard Produce
cstd : Prefix of unction and ile for Peripheral & Host Common Basic (USB low level) F/W
HCD : Host control driver of USB-BASIC-FW
HDCD : Host device class driver (device driver and USB class driver)
HEW : High-performance Embedded Workshop
hstd : Prefix of function and file for Host Basic (USB low level) F/W
HUBCD : Hub class sample driver
H/W : Renesas USB device
MGR : Peripheral device state maneger of HCD
non-OS : USB basic firmware for OS less system
PCD : Peripheral control driver of USB-BASIC-FW
PDCD : Peripheral device class driver (device driver and USB class driver)
PP : Pre-processed definition
pstd : Prefix of unction and ile for Peripheral Basic (USB low level) F/W
RTOS : USB basic firmware for uITRON system
RX62N-RSK : Renesas Starter Kit + for RX62N
RX63N-RSK : Renesas Starter Kit + for RX63N
RX63T-RSK : Renesas Starter Kit + for RX63T
RX630-RSK : Renesas Starter Kit for RX630
R8A66597 : Renesas Hi-Speed USB2.0 ASSP R8A66597 board
(Use in combination with RX62N-RSK.)
R8A66593 : Renesas Hi-Speed USB2.0 ASSP Peripheral only.
Scheduler : Used to schedule functions, like a simplified OS.
Scheduler Macro : Used to call a scheduler function (non-OS)
STD : USB Basic Host and Peripheral firmware
SW1/SW2/SW3 : User switches on theRSK Borad (Note1)
Task : Processing unit
uITRON, ITRON : Industrial The Real-time Operating system Nucleus
USB : Universal Serial Bus
USB-BASIC-FW : USB basic firmware for USB Basic Host and Peripheral firmwareRenesas (non-OS/RTOS)
(Note 1) When RX62N-RSK is used in conjunction with R8A66597, SW1 is allocated to the port used by an interrupt.
Therefore, please do not use SW1
1.4 How to Read This Document
To run the demo, start with the installation guide; document nr. R01AN0495EJ. See 1.2.
This document is not intended for reading straight through. Use it first to gain acquaintance with the package, then to
look up information on functionality and interfaces as needed for your particular solution.
To get acquainted with the source code, read Chapter
2.4 and note which MCU-specific files you need select at directory
"HwResourceForUSB". Observe which files belong to the application level.
Chapter
3 of this document are only for the peripheral mode. Chapter 5 of this document are only for the host mode.
Chapter
4.8 explains how the default peripheral vendor application works. Chapter 5.10 explains how the default host
vendor application works. You will change this to create your own solution.
Understand how all code modules are divided into tasks, and that these tasks pass messages to one another. This is so that
functions (tasks) can execute in the order determined by a scheduler and not strictly in a predetermined order. This way
more important tasks can have priority. Further, tasks are intended to be non-blocking by using a documented callback
mechanism. The task mechanism for non-OS version is described in Chapter
2.6. How to regist the task is described in
Chapter
9.