Usb host mass storage class driver (hmsc) (59 pages)
Summary of Contents for Renesas R8C/Tiny Series
Page 1
On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding.
Page 2
Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific”...
Page 3
Renesas Starter Kit for R8C/2D User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER M16C FAMILY / R8C/Tiny SERIES Rev.2.00 2007.10...
Cautions This document may be, wholly or partially, subject to change without notice. All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Renesas Solutions Corporation. Trademarks All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations.
• User Code Debugging. • User Circuitry such as Switches, LEDs and potentiometer(s). • User or Example Application. • Sample peripheral device initialisation code. The Renesas Starter Kit board contains all the circuitry required for microcontroller operation. Chapter 2. Purpose...
A diode provides reverse polarity protection only if a current limiting power supply is used. All Renesas Starter Kit boards are supplied with an E8a debugger. This product is able to power the Renesas Starter Kit board with up to 300mA.
4.1. Component Layout The following diagram shows the top layer component layout of the board. LCD Display Microcontroller Pin Headers (J1 to J4) Chapter 4. Board Layout Application Board Interface Application Board Interface Figure 4-1: Board Layout Reset Switch RS232 Serial Power Power LED E8 Header...
4.2. Board Dimensions The following diagram gives the board dimensions and connector positions. All through hole connectors are on a common 0.1” grid for easy interfacing. 86.36mm Short Board = 85 mm 50.80 mm 43.18 mm 35.56 mm 27.00mm (POT) Serial D9 45.00mm 120.00mm...
Application Board Interface Microcontroller Pin Headers LIN Connector, Power Connector for LIN Serial Connector Option Figure 5-2 is representative of the connections required to the Renesas Starter Kit. Power Jack Option Boot mode pins RESET pin Microcontroller IRQ pins ADC Input...
6.1. Switches There are four switches located on the board. The function of each switch and its connection are shown in Table 6-1. Switch When pressed, the board microcontroller is reset. SW1/BOOT* Connects to an IRQ input for user controls. The switch is also used in conjunction with the RES switch to place the device in BOOT mode when not using the E8A debugger.
No contrast control is provided; this is set by a resistor on the supplied display module. The module supplied with the Renesas Starter Kit only supports 5V operation. Table 6-4 shows the pin allocation and signal names used on this connector.
6.6. Option Links Table 6-5 below describes the function of the option links associated with Power configuration. The default configuration is indicated by BOLD text. Reference Function Power Source Microcontroller Power Supply Power Source Configuration Power Source Table 6-6 below describes the function of the option links associated with Clock configuration. The default configuration is indicated by BOLD text.
Page 14
Table 6-7 below describes the function of the option links associated with serial configuration. The default configuration is indicated by BOLD text. Reference Function Serial Port Configuration Serial Port Configuration Serial Port Configuration Serial Port Configuration Serial Port Configuration Serial Port Configuration Serial Port Configuration...
Boot Mode and Single chip mode. This circuit is not required on customers’ boards as it is intended for providing easy evaluation of the operating modes of the device on the Renesas Starter Kit. Please refer to the hardware manual for more information on the requirements of the reset circuit.
6.9. LIN Interface This Renesas Starter Kit has hardware LIN interface. The interface is available on connector ‘LIN’. The connector ‘J5’ functions as power connector for LIN. The device can be operated either in ‘Master’ mode or ‘Slave’ mode. The device performs LIN communication in cooperation with Timer RA and UART0.
7.2. Single chip mode Because the MODE pin is pulled high, this Renesas Starter Kit will always boot in Single chip mode when the E8a is not connected and the boot switch is not depressed. Refer to R8C/2C Group, R8C/2D Group Hardware Manual for details of Single chip mode.
Chapter 8. Programming Methods The board is intended for use with High-performance Embedded Workshop and the supplied E8a debugger. Refer to R8C/2C Group, R8C/2D Group Hardware Manual for details of programming the microcontroller without using these tools.
9.1. Microcontroller Headers Table 9-1 to Table 9-4 show the microcontroller pin headers and their corresponding microcontroller connections. The header pins connect directly to the microcontroller pins. * Marked pins are subject to option links. Circuit Net Name LED3 PIN3 PIN5 CON_XCIN RESETn...
Page 20
Circuit Net Name DLCD5 LED0 TXD1 CLK2 TXD2 TMR0 INT2n AN10 ADPOT_AN8* IO_6 Circuit Net Name IO_4 IO_2 IO_0 LED2 AN2_CLK1* CON_VREF GROUND Device Pin Circuit Net Name DLCD4 INT0n RXD1_INT3n* RXD2 TMR1 INT1n AN11 IO_7 IO_5 Table 9-3: J3 Device Pin Circuit Net Name IO_3...
9.2. Application Headers Table 9-5 to Table 9-8 below show the standard application header connections. * Marked pins are subject to option links. Header Name Regulated Supply 1 CON_5V Regulated Supply 2 CON_3V3 Analog Supply Analog Reference CON_VREF* ADC0 AN0* ADC2 AN2* DAC0...
Page 22
Generic Header Name CPU board Signal Name CAN1TX CAN2TX AD10 AN10 TIOC0A TRCIOA TIOC0C TRCIOC TCLKC TRCCLK M2_Up M2_Vp M2_Wp Generic Header Name Host Serial Serial Port Serial Port Synchronous Serial Port Synchronous Reserved Reserved Reserved Reserved Reserved Reserved Reserved Device Generic Header Name CAN1RX...
Page 23
Table 9-9 below shows the LIN header connections. Power Supply (for LIN module) GROUND Power Supply (for LIN module) LIN Bus Line GROUND Function VBAT Function VBAT Table 9-9: LIN Headers Signal Name Signal Name...
Chapter 10. Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the Renesas Starter Kit board must be connected to a PC USB port via an E8a. An E8a is supplied with the Renesas Starter Kit product.
10.4. Memory Map 00000h 002FFh Reserved area 00400 h Internal 00FFFh Reserved area 02400 h Internal (Data Area) 02BFFh Reserved area 04000h Internal Program Area 0FFDCh Fixed Vector Tables 0FFFFh Internal 13FFFh Expanded Area FFFFFh Emulator Firmware Area Emulator Firmware Area Figure 10-1 : Memory Map Note: E8a Firmware area selected...
CD or from the web site. For information about the R8C/2D group microcontrollers, refer to the R8C/2C Group, R8C/2D Group Hardware Manual. For information about the R8C/2D assembly language, refer to the R8C/Tiny Series Software Programming Manual. Online technical support and information is available at: http://www.renesas.com/renesas_starter_kits...