Quick Start for R8C/M12A
Renesas Promotional Board
5. When the “Found New Hardware” wizard appears, follow the wizard instructions and install the driver. Note that,
administrator privileges are required for a Windows? XP/Vista machine.
Note: The Windows driver signing dialog may be displayed. Please accept the driver to continue.
Power LED
User LEDs
6.
Extract the workspace suite downloaded in Step 2, and copy the RPBR8CM12A_Tutorial folder to C:¥WorkSpace. Open the
folder and double click on the “RPBR8CM12A.hws” file.
P4_2
VSS
7.
Click on the ‘Build’ icon to compile, assemble and link the project.
P3_7
1 Power
12
VCC
R8C/M12A
RESETn
XOUT
VSS
LED0 LED1 LED2
R8C/M12A
P1_0
P1_1
P1_2
8.
9.
In the dropdown list of the right-hand side of the toolbar, change ”DefaultSession” to “SessionR8C_E8a_System”.
The Emulator Setting dialog box will launch. Confirm the following setting and click ‘OK’.
Potentiometer
DIP Switch
XIN
VCC
MODE
P3_5
P3_4
VCC
12
J1
J2
1
P1_3
P1_4
P1_5
P1_6
P1_7
P4_5
Note: When debugging the sample code, choose an option
other than “Program Flash”. For details on debugging
mode, refer to the E8a Emulator Additional Document for
R8C/M11A and R8C/M12A.
VSS
P3_3
User Switches
Reset Switch
SW2
SW1
RV1
RES
WEEE Directive
Note: This board requires an external power source. Do
Renesas development tools and products are directly covered by the European Union's Waste Electrical and Electronic
Equipment, (WEEE), Directive 2002/96/EC. As a result, this equipment, including all accessories, must not be disposed of as
household waste but through your locally recognized recycling or disposal schemes. As part of our commitment to
environmental responsibility Renesas also offers to take back the equipment and has implemented a Tools Product Recycling
Program for customers in Europe. This allows you to return equipment to Renesas for disposal through our approved
Producer Compliance Scheme. To register for the program, click here “http://www.renesas.com/weee".
10.
11.
not check the “Power Target from emulator” checkbox.
Double click the download module and download the sample code (the sample
code can also be downloaded through the Flash Development Toolkit).
After closing the High-performance Embedded Workshop, unplug the USB cable from the board.
Running the Sample Code
12.
13.
14.
Set DIP switch SW2 as follows: 1 = ON, 2 = OFF, 3 = OFF, 4 = OFF.
After connecting the USB cable to the board and pressing the Reset Switch, the sample code downloaded to the MCU will
be executed.
First, the LEDs will start blinking. LED blink speed is controlled by the AN0 pin connected to potentiometer RV1 on-board. To
Setting Up the Development Environment
Create the necessary environment before evaluating the sample code.
1. Download and install the latest versions of the software below from the Renesas website: http://www.renesas.com/e8a .
Install the C compiler package before installing the E8a emulator debugger.
[Evaluation Software] M16C Series, R8C Family C Compiler Package M3T-NC30WA
R8C E8a Emulator Debugger
[Evaluation Software] Flash Development Toolkit
2. Download the board schematics, device placement diagram, and sample code workspace (zip file) from the Renesas
website: http://www.renesas.com/rpbr8cm12a .
15.
16.
17.
18.
change the blinking speed, adjust the RV1 control knob on the potentiometer. At the same time, as the blinking pattern is
recorded, the A/D conversion value is written to the data flash. The LEDs stop blinking after 200 times.
Pushing SW1 will cause the LEDs to blink in the pattern (A/D conversion value) written to the data flash in Step 14. The
LEDs stop blinking after 200 times.
After the blinking is finished, the sample code will run the power control demo. LED0 will turn on, and the MCU will enter
standard operating mode. Current consumption in standard operating mode is between 3 mA and 7 mA (see Note 1).
By pressing SW1 again, the MCU enters wait mode, and LED1 will turn on. Current consumption in wait mode is between 15
uA and 100 uA (see Note 1).
By pressing SW1 again, the MCU enters stop mode, and LED2 will turn on. Current consumption in stop mode is between 1
uA and 4 uA (see Note 1).
Downloading the Sample Code
Note 1. Remove R22 from the board and connect ammeter across J3 to measure current.
SW2
1 2 3 4
ON
3.
Toggle the pins on on-board DIP switch SW2 to ON. SW2 pin settings are as follows.
Operation
Power supply
Debug / Program
External 5V from USB bus power OFF
Support
Technical inquires can be submitted to:
America: techsupport.america@renesas.com
Europe: tools.support.eu@renesas.com
Debug / Program
External 5V / 3.3V (via J1 or J2)
ON
OFF
Japan:
csc@renesas.com
MCU stand-alone operation
External 5V from USB bus power
MCU stand-alone operation
External 5V / 3.3V (via J1 or J2)
ON
OFF
ON
OFF
? 2010 Renesas Electronics Corporation. All rights reserved.
? 2010 Renesas Electronics Europe Ltd. All rights reserved.
? 2010 Renesas Solutions Corporation. All rights reserved.
4.
Connect a USB cable to the USB connector on the back of the board. Next connect the USB cable to the USB port in the
computer.
R20UT0451JJ0100
相关PDF资料
R0K561668S000BE KIT STARTER FOR H8SX/1668
R0K570865S001BE KIT STARTER FOR SH7086
R0K571242S001BE KIT STARTER FOR SH7124
R0K571374S000BE KIT STARTER FOR SH7137
R0K572115S001BE KIT STARTER FOR SH7211
R1EX24002ASAS0A#U0 IC EEPROM 2K 400KHZ 8SOP
R1EX24004ASAS0A#S0 IC EEPROM 4K 400KHZ 8SOP
R1EX24008ASAS0A#S0 IC EEPROM 8K 400KHZ 8SOP
相关代理商/技术参数
R0K505210S000BE 制造商:Renesas Electronics Corporation 功能描述:RSK FOR RX210 - Boxed Product (Development Kits) 制造商:Renesas Electronics Corporation 功能描述:Renesas Electronics R0K505210S000BE Development Kits 制造商:Renesas Electronics Corporation 功能描述:DEV KIT RX210 制造商:Renesas Electronics Corporation 功能描述:Renesas Starter Kit for RX210 制造商:Renesas Electronics Corporation 功能描述:Starter Kit , RX200 microcontroller
R0K505210S003BE 制造商:Renesas Electronics Corporation 功能描述:RSK FOR RX210B - Boxed Product (Development Kits) 制造商:Renesas Electronics Corporation 功能描述:KIT DEV MCU IDE RX210 STARTER E1 制造商:Renesas Electronics Corporation 功能描述:Renesas Starter Kit for RX210 Series(B Mask).
R0K505220S000BE 制造商:Renesas Electronics Corporation 功能描述:RSK FOR RX220 - Boxed Product (Development Kits)
R0K50562GS000BE 制造商:Renesas Electronics Corporation 功能描述:RSK FOR RX62G - Boxed Product (Development Kits) 制造商:Renesas Electronics Corporation 功能描述:Renesas Starter Kit for RX62G Series Microcontroller
R0K505630S000BE 制造商:Renesas Electronics Corporation 功能描述:Starter Kit For Microcontroller With 12 MHz Main Input Clock 制造商:Renesas Electronics Corporation 功能描述:RSK FOR RX630 - Boxed Product (Development Kits) 制造商:Renesas Electronics Corporation 功能描述:Renesas Starter Kit for RX630 制造商:Renesas Electronics Corporation 功能描述:Starter Kit, RX630/RX631 microcontroller
R0K50563NS000BE 制造商:Renesas Electronics Corporation 功能描述:DEV EVALUATION KIT - Boxed Product (Development Kits) 制造商:Renesas Electronics Corporation 功能描述:KIT STARTER FOR RX63N 制造商:Renesas Electronics Corporation 功能描述:Starter Kit, RX63N microcontroller
R0K50563TS000BE 制造商:Renesas Electronics Corporation 功能描述:RSK FOR RX63T - Boxed Product (Development Kits)
R0K507269S000BE 制造商:Renesas Electronics Corporation 功能描述:RSK FOR SH7269 - Boxed Product (Development Kits) 制造商:Renesas Electronics Corporation 功能描述:DEV KIT FOR RX111 制造商:Renesas Electronics Corporation 功能描述:Renesas Starter Kit+ for SH7269