On April 1st, 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.
Send any inquiries to http://www.renesas.com/inquiry
.
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
2. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas Electronics products or technical information described in this document.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights
of Renesas Electronics or others.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software,
and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by
you or third parties arising from the use of these circuits, software, or information.
5. When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas
Electronics products or the technology described in this document for any purpose relating to military applications or use by
the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such informatio n is error free. Renesas Electronics assumes no liability whatsoever for any damages
incurred by you resulting from errors in or omissions from the information included herein.
7. Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as
indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular
application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior
written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for
which it is not intended without the prior written consent of 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” or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise
expressly specified in a Ren esas E lectronics data sheets or dat a books, etc.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electron ic appliances; machine tools; personal electronic equipment; and industrial robots.
crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”: Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other appl i cations or purposes that pose a d irect threat to human life.
8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as t he occu rrence o f failure at a certai n rate an d malfunct io ns under cert ain u se con dition s. Further,
Renesas Electronics prod ucts are not subject to radiation resistance design. Please be sure to implement safety measures to
guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a
Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire
control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system
manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS
Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with
applicable laws and regulations.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation an d also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
3.2. Power – Up Behaviour ...................................................................................................................................................................... 5
6.4. Serial port ........................................................................................................................................................................................ 10
6.9. USB port .......................................................................................................................................................................................... 18
10.3. Mode Support ................................................................................................................................................................................ 28
10.4. Breakpoint Support ....................................................................................................................................................................... 28
Chapter 12. Additional Information ............................................................................................................................................................. 31
ii
Chapter 1. Preface
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
Technology Europe Limited.
Trademarks
All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or
organisations.
CPU Central Processing Unit HEW High-performance Embedded Workshop
LED Light Emitting Diode RSK Renesas Starter Kit
PC Program Counter E10A FSK On-chip debugger module
LCD Liquid Crystal Display DAC Digital-to-Analog Converter
3
Chapter 2. Purpose
This RSK is an evaluation tool for Renesas microcontrollers.
This manual describes the technical details of the RSK hardware. The Quick Start Guide and Tutorial Manual provide details of the
software installation and debugging environment.
Features include:
• Renesas Microcontroller Programming.
• User Code Debugging.
• User Circuitry such as Switches, LEDs and potentiometer.
• User or Example Application.
• Sample peripheral device initialisation code.
The RSK board contains all the circuitry required for microcontroller operation.
4
Chapter 3. Power Supply
3.1. Requirements
This RSK operates from a 5V power supply.
A diode provides reverse polarity protection only if a current limiting power supply is used.
All RSK boards are supplied with an E10A debugger.
All RSK boards have an optional centre positive supply connector using a 2.0mm barrel power jack.
Warning
The RSK is neither under nor over voltage protected. Use a centre positive supply for this board.
3.2. Power – Up Behaviour
When the RSK is purchased the RSK board has the ‘Release’ or stand alone code from the example tutorial code pre-programmed into the
Renesas microcontroller. On powering up the board the user LEDs will start to flash. After 200 flashes, or after pressing a switch the LEDs
will flash at a rate controlled by the potentiometer.
5
App
p
App
Chapt
er 4. Board Layout
4.1. Component Layout
The following diagram shows top layer component layout of the board.
lication board interfaces
JA5
LCD Display
LCD
USB
JA1
J2
Reset switch
RS232 Serial
Power
Power LED
E8 Header
JA3
J3
Microcontroller
in headers
JA6
lication board interface
MCU
J4
JA2
Figure 4-1: Board Layout
J1
Potentiometer
E10A Header
User LEDs
Boot LED
User switches
6
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.
RING
Application Header
Applies to connector
80.01mm
with micriocontroller pin1
100.00mm
85.00mm
JA3
14.00mm
5.00mm
Figure 4-2: Board Dimensions
3.81mm
7
Chapter 5. Block Diagram
Figure 5-1 shows the CPU board components and their connectivity.
Power Jack Option
Application Board
Headers
Microcontroller Pin
Headers
Debug Header Option
USB Connector Option
Serial Connector Option
Potentiometer
Figure 5-2 shows the connections to the RSK.
Boot mode pins
Microcontroller
RESET pin
ADC Input
Figure 5-1: Block Diagram
IRQ pin
IRQ pin
IRQ pin
1Green, 1Orange, 2Red
RESn
SW3SW2
SWITCHES
User: 4 LEDS
Boot Circuitry
D-type
latch
BOOT
LEDs
Power: Green
Boot: Orange
BOOT & BOOTn signals
RES
8
E8
E10A
Figure 5-2: RSK Connections
9
Chapter 6. User Circuitry
6.1. Switches
There are four switches located on the CPU board. The function of each switch and its connection are shown in Table 6-1.
Switch Function Microcontroller
RES When pressed, the RSK microcontroller is reset. RESn, Pin 91
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 E10A debugger.
SW2* Connects to an IRQ line for user controls. IRQ1n, Pin 85
SW3* Connects to the ADC trigger input. Option link allows connection to IRQ line.
The option is a pair of 0R links. For more details on option links, please refer
to Sec 6.6.
*Refer to schematic for detailed connectivity information.
There are six LEDs on the RSK board. The green ‘POWER’ LED lights when the board is powered. The orange BOOT LED indicates the
device is in BOOT mode when lit. The four user LEDs are connected to an IO port and will light when their corresponding port pin is set low.
Table 6-2, below, shows the LED pin references and their corresponding microcontroller port pin connections.
LED Reference (As
shown on silkscreen)
LED0 Green Port B.3 3
LED1 Orange Port C.2 116
LED2 Red Port C.3 117
LED3 Red Port 1.2 86
Colour Microcontroller Port Pin
function
Table 6-2: LED Port
Microcontroller
Pin Number
6.3. Potentiometer
A single turn potentiometer is connected to channel AN0 (P5.0, pin 118) of the microcontroller. This may be used to vary the input analog
voltage value to this pin between AVCC and Ground.
6.4. Serial port
Serial port SCI0 is connected to the standard RS232 header. Serial port SCI5 can optionally be connected to the RS232 header. The
connections to be fitted are listed in the Table 6-3.
10
Description Function Circuit Net
Name
SCI0 Default serial port TXD0 52 R31 R37
SCI0 Default serial port RXD0 51 R30 R36
SCI5 Spare Serial Port TXD5 93 R34, R15 SCI5 Spare Serial Port RXD5 94 R35, R28 -
Table 6-3: Serial Port settings
The SCI0 port is also available on J2 and JA2 (R59 and R70 must be fitted) headers. The SCI5 port is available on J3 and JA6 headers..
CPU’s
Pin
Fit for RS232 Remove for RS232
6.5. Debug LCD Module
A debug LCD module is supplied to be connected to the connector marked ‘LCD’, so that the debug LCD module lies over J2. Care should
be taken to ensure the pins are inserted correctly into LCD. The debug LCD module uses a 4 bit interface to reduce the pin allocation. No
contrast control is provided; this is set by a resistor on the supplied display module. The module supplied with the RSK only supports 5V
operation.
Table 6-4 shows the pin allocation and signal names used on this connector.
LCD
Pin Circuit Net Name Device
Pin
1 Ground - 2 5V Only 3 No Connection - 4
5 R/W (Wired to Write only) - 6
7 No Connection - 8 No connection 9 No Connection - 10 No connection -
DLCDD4 (PB4)
11
DLCDD6 (PB6)
13
Table 6-4 Debug LCD Module Connections
130
132
Pin Circuit Net Name Device
Pin
DLCDRS (PA0)
DLCDE + 100k pull down to ground (PA2)
DLCDD5 (PB5)
12
DLCDD7 (PB7)
14
134
136
131
5
6.6.Option Links
Table 6-5 below describes the function of the option links contained on this RSK board and associated with Serial Port Configuration. The
default configuration is indicated by BOLD text.
11
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R15 Serial Port
Configuration
R19 Serial Port
configuration
R28 Serial Port
Configuration
R30 Serial Port
Configuration
R31 Serial Port
Configuration
R32 Serial Port
Configuration
R33 Serial Port
Configuration
R34 Serial Port
Configuration
Connects serial port SCI5 (Tx) to
D-type connector (J8).
Disables RS232 Serial
Transceiver
Connects serial port SCI5 (Rx) to
D-type connector (J8).
Routes on-board serial port to
SCI0 (Rx) microcontroller pin.
Routes on-board serial port to
SCI0 (Tx) microcontroller pin.
Routes serial port SCI0 (Tx) to JA6
header.
Routes serial port SCI0 (Rx) to JA6
header.
Routes on-board serial port to SCI5
(Tx) microcontroller pin.
Disconnects serial port SCI5
(Tx) from D-type connector (J8).
Enables RS232 Serial
Transceiver
Disconnects serial port SCI5
(Rx) from D-type connector (J8).
Disconnects on-board serial port
from the CPU’s SCI0 (Rx) pin.
Disconnects on-board serial port
from the CPU’s SCI0 (Tx) pin.
Disconnects serial port SCI0
(Tx) from JA6 header.
Disconnects serial port SCI0
(Rx) from JA6 header.
Disconnects on-board serial
port from SCI5 (Tx) CPU pin.
Routes on-board serial port to SCI5
(Rx) microcontroller pin.
Connects PTRX of programming port
to the on-board serial port (J8).
Disconnects on-board serial
port from SCI5 (Rx) CPU pin.
Disconnects programming port
PTRX from the on-board serial
R15, R28, R34
R37, R31, R30
port (J8).
R37 Serial Port
Configuration
Connects PTTX of programming port
to the on-board serial port (J8).
Disconnects programming port
PTTX from the on-board serial
R36, R30. R31
port (J8).
Table 6-5: Serial port configuration links.
Table 6-6 below describes the function of the option links associated with application board interface. The default configuration is indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R68 Application
board interface
Use DA0 of application board
interface.
Use AN6 of application board
interface.
R108
R108 Application
board interface
Use AN6 of application board
interface.
12
Use DA0 of application board
interface.
R68
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R71 Application
board interface
R111 Application
board interface
R60 Application
board interface
R96 Application
board interface
R95 Application
board interface
R56 Application
board interface
R114 Application
board interface
R69 Application
board interface
Use DA1 of application board
interface.
Use AN7 of application board
interface.
Use AN0 of application board
interface.
Use ADPOT of application board
interface.
Use IRQ3n of application board
interface.
Use ADTRGn of application board
interface.
Use TIOCA2 of application board
interface.
Use Up of application board
interface.
Use AN7 of application board
interface.
Use DA1 of application board
interface.
Use ADPOT of application
board interface.
Use AN0 of application board
interface.
Use ADTRG of application board
interface.
Use IRQ3n of application board
interface.
Use Up of application board
interface.
Use TIOCA2 of application
board interface.
R111
R71
R96
R60
R56
R95
R69
R114
R116 Application
board interface
R115 Application
board interface
R81 Application
board interface
R75 Application
board interface
R90 Application
board interface
R84 Application
board interface
R85 Application
board interface
R86 Application
board interface
Use TIOCB2 of application board
interface.
Use Un of application board
interface.
Use TIOCA0 of application board
interface
Use Vp of application board interface
Use TIOCB0 of application board
interface
Use Vn of application board interface
Use IO5 of application board
interface
Use Wp of application board
interface
Use Un of application board
interface.
Use TIOCB2 of application
board interface.
Use Vp of application board
interface
Use TIOCA0 of application
board interface
Use Vn of application board
interface
Use TIOCB0 of application
board interface
Use Wp of application board
interface
Use IO5 of application board
interface
R115
R116
R75
R81
R84
R90
R86
R85
R88 Application
board interface
R74 Application
board interface
Use IO4 of application board
interface
Use Wn of application board
interface
13
Use Wn of application board
interface
Use IO4 of application board
interface
R74
R88
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R67 Application
board interface
R78 Application
board interface
R82 Application
board interface
R70 Application
board interface
R76 Application
board interface
R59 Application
board interface
R79 Application
board interface
R66 Application
board interface
Use IO3 of application board
interface
Use UD of application board
interface
Use IO2 of application user interface
Use TxD0 of for onboard RS232
module
Use IO1 of application board
interface
Use RxD0 for onboard RS232
module
Use IO0 of application board
interface
Use CLK0 for onboard RS232
module
Use UD of application board
interface
Use IO3 of application board
interface
Use TxD0 for onboard RS232
module
Use IO2 of application user
interface
Use RxD0 for onboard RS232
module
Use IO1 of application board
interface
Use CLK0 for onboard RS232
module
Use IO0 of application board
interface
R78
R67
R70
R82
R59
R76
R66
R79
R54 Application
board interface
R123 Application
board interface
Use WDTOVF of application board
interface
Use TDO of E10A debugger
interface
Use TDO of E10A debugger
interface
Use WDTOVF of application
board interface
R123
R54
Table 6-6: Application board interface links.
Table 6-7 below describes the function of the option links associated with E8 and E10A debuggers. The default configuration is indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R4 E8
R132 E10A Enables E10A, also can be enabled
Enables E8
by fitting J15.
E10A is disabled, can be
enabled if J15 is set.
E10A_EN (J15)
jumper
Table 6-7: E8 and E10A debugger links.
Table 6-8 below describes the function of the option links associated with power source. The default configuration is indicated by BOLD
text.
14
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R3 Power source
Enables external 5V power supply
from ‘PWR’ (J7) connector.
R13 USB Power
source
R18 3V3 power
source
R22 Power source
R24 Power source
Enables USB VBUS as power supply
for this RSK board.
Board can be powered from external
source CON_3V3.
Enables power supply for E8.
Enables 3V3 power supply for
on-board devices.
R40 3V3 power
source
R47 Power source
The RSK board uses on-board
voltage regulator.
LCD is powered directly from
PWR connector or from CON_5V
header
R48 5V External
Board can be powered from external
Disables power supply from ‘PWR’
R13, R47, R48
(J7) connector.
Disables USB VBUS as power
R3, R50
supply.
Board can’t be powered from
R24, R40, R52
external source CON_3V3.
Disables E8 power supply R3, R13
Disables 3V3 power supply for
R18, R40
on-board devices. Current can be
measured across R24
The board can be powered from
R18, R24
CON_3V3 header.
LCD is not powered directly from
R49, R51
PWR connector or from CON_5V
header
Board cannot be powered from
R50, R52
power supply
R49 USB Power
source
R50 USB Power
source
source CON_5V
Enables on-board debug LCD power
supply from USB VBUS.
Enables USB VBUS as 5V power
supply for an external application
boards.
R51 Power source
Enables on-board LCD to be
powered from external 5V PSU
R52 Power source
Enables power supply for a
general application board from
external 5V PSU
R42 Ground
Enables ground connection to
ADC module.
external source CON_5V.
Disables on-board debug LCD
power supply from USB VBUS.
Disconnects USB VBUS from
external application board
header.
Disables on-board LCD to be
powered from external PSU
Disables power supply of a
general application board from
external 5V PSU
Disconnects ground connection to
ADC module.
R13, R47, R50,
R51
R13
R47, R49
R48, R50
-
Table 6-8: Power configuration links.
Table 6-9 below describes the function of the option links associated with clock configuration. The default configuration is indicated by
BOLD text.
15
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R93 32.768 KHz
Routes OSC1 CPU pin to J3 header
Clock Oscillator
R94 32.768 KHz
Routes OSC2 CPU pin to J3 header
Clock Oscillator
R103 32.768 KHz
Clock Oscillator
R105 32.768 KHz
Clock Oscillator
R98 32.768 KHz
On-board low-speed clock source
is used
On-board low-speed clock source
is used
Parallel resistor for a crystal
Clock Oscillator
R99 12 MHz Clock
Oscillator
R102 12 MHz Clock
Oscillator
R101 12 MHz Clock
Oscillator
Routes EXTAL CPU pin to J3
header.
Routes XTAL CPU pin to J3 and JA2
headers
On-board main clock source is
used
OSC1 CPU pin and J3 header
are not connected
OSC2 CPU pin and J3 header
are not connected
R94, R103,
R105
R93, R103,
R105
External clock source is used R93, R94, R104
External clock source is used R94, R93, R103
Not fitted
EXTAL CPU pin and J3 header
are not connected
XTAL CPU pin and J3 and JA2
headers are not connected
-
R102, R101,
R100
R99, R101,
R100
External clock source is used R99, R102
R100 12 MHz Clock
Parallel resistor for a crystal
Not fitted
-
Oscillator
Table 6-9: Clock configuration links.
Table 6-10 below describes the function of the option links associated with reference voltage source. The default configuration is indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R64 Voltage
Reference
Voltage Reference set to
Board_ Vcc signal.
Voltage Reference taken from
external connector.
R83
Source
R83 Voltage
Reference
Voltage Reference is taken from
external connector.
Voltage Reference set to
Board_Vcc signal.
R64
Source
Table 6-10: Voltage reference links.
Table 6-11 below describes the function of the option links associated with analog power supply. The default configuration is indicated by
BOLD text.
16
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R21 Analog Voltage
Source
R46 Analog Voltage
Source
R137 Analog Voltage
Ground
Table 6-12 below describes the function of the option links associated with MCU modes. The default configuration is indicated by BOLD
text.
Reference Function Fitted Alternative (Removed) Related To
R44 MCU Mode,
USB unit
R131 MCU Mode Enables SDRAM interface.
Analog Voltage Source is set to
on-board Vcc.
Analog Voltage Source is taken from
external connector.
Analog Voltage Ground is routed to
external connector.
Table 6-11: Analog power supply links.
Option Link Settings
The CPU is self powered.
Analog Voltage Source is taken
from external connector.
Analog voltage source is set to
on-board Vcc.
Analog Voltage Ground is
disconnected from external
connector.
The CPU is power from USB
bus.
Disables SDRAM interface.
R46
R21
-
J10
J14
R130 MCU Mode,
USB unit
R133 MCU Boot mode Serial Boot Mode is selected.
USB dedicated clock is EXTAL × 3
(choose this option if 16 MHz crystal
is used).
Table 6-12: MCU mode links.
USB dedicated clock is
× 4 (choose this option if 12
MHz crystal is used).
USB Boot Mode is selected.
EXTAL
J13
J16
6.7. Oscillator Sources
Two crystal oscillators are fitted on the RSK and used to supply the main clock input to the Renesas microcontroller. Table 6-13 details the
oscillators that are fitted and alternative footprints provided on this RSK:
The CPU Board includes a simple latch circuit that links the mode selection and reset circuit. This provides an easy method for swapping
the device between Boot Mode and User mode. This circuit is not required on customer’s boards as it is intended for providing easy
evaluation of the operating modes of the device on the RSK. Please refer to the hardware manual for more information on the
requirements of the reset circuit.
The Reset circuit operates by latching the state of the boot switch on pressing the reset button. This control is subsequently used to
modify the mode pin states as required.
17
The mode pins should change state only while the reset signal is active to avoid possible device damage.
The reset is held in the active state for a fixed period by a pair of resistors and a capacitor. Please check the reset requirements carefully
to ensure the reset circuit on the user’s board meets all the reset timing requirements.
6.9. USB port
This RSK has a Full-speed (12 Mbps) USB port compliant to USB 2.0 specification. It is available as J12 on the RSK. This port allows Boot
mode programming using USB Direct connection. For more details please refer to H8SX/1668R Group Hardware Manual.
18
Chapter 7. Modes
This RSK supports two Boot modes and Single Chip mode.
Details of programming the FLASH memory is described in the H8SX/1668R Group Hardware Manual.
7.1. Boot mode
The boot mode settings for this RSK are shown in Table 7-1: Boot Mode pin settings below:
EMLE MD2 MD1 MD0 PM2 LSI State after Reset End
0 0 1 0 0 SCI boot mode
0 0 1 0 1 USB boot mode
Table 7-1: Boot Mode pin settings
The software supplied with this RSK supports debugging with E10A which does not need Boot mode. To enter the Boot mode manually, do
not connect the E10A in this case. Press and hold the SW1/BOOT. The BOOT LED will be illuminated to indicate that the microcontroller is
in boot mode.
SCI boot mode: boot mode executes programming/erasure of the user MAT or user boot MAT by means of the control command and
program data transmitted from the externally connected host via the on-chip SCI_4.
USB boot mode: executes programming/erasing of the user MAT by means of the control command and program data transmitted from the
externally connected host via the USB.
7.2. Singe chip mode
This is default operating mode of this RSK. Refer to H8SX/1668R Group Hardware Manual for details of Single chip mode. The Single chip
mode settings for this RSK are shown in Table 7-2: Single chip mode pin settings below:
EMLE MD2 MD1 MD0 LSI State after Reset End
0 1 1 1 Single chip Mode
Table 7-2: Single chip Mode pin settings
Programming/erasure of the user MAT is executed by downloading an on-chip program. The user boot MAT cannot be
programmed/erased in user program mode.
19
Chapter 8. Programming Methods
The board is intended for use with HEW and the supplied E10A debugger. Refer to H8SX/1668R Group Hardware Manual for details of
programming the microcontroller without using these tools. Please note that to use E10A debugger, jumper E10A_EN (J15) must be
fitted.
20
Chapter 9. Headers
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 pin unless otherwise stated.
* - Optional link. By default, these signals are disconnected.
** - Optional link. Please refer to schematic for details.
27
Chapter 10. Code Development
10.1. Overview
Note: For all code debugging using Renesas software tools, the RSK board must be connected to a PC USB port via an E10A. An E10 A
pod is supplied with the RSK product.
10.2. Compiler Restrictions
The compiler supplied with this RSK is fully functional for a period of 60 days from first use. After the first 60 days of use have expired, the
compiler will default to a maximum of 64k code and data. To use the compiler with programs greater than this size you need to purchase
the full tools from your distributor.
Warning: The protection software for the compiler will detect changes to the system clock. Changes to the system clock back in time may
cause the trial period to expire prematurely.
10.3. Mode Support
HEW connects to the Microcontroller and programs it via the E10A. Mode support is handled transparently to the user.
10.4. Breakpoint Support
HEW supports breakpoints on the user code, both in RAM and ROM.
Double clicking in the breakpoint column in the code sets the breakpoint. Breakpoints will remain unless they are double clicked to remove
them.
28
10.5. Memory Map
Figure 10-1: Memory Map
29
Chapter 11. Component Placement
Figure 11-1: Component Placement – Front view
30 31
Chapter 12. Additional Information
For details on how to use High-performance Embedded Workshop (HEW, refer to the HEW manual available on the CD or from the web
site.
For information about the H8SX/1668R series microcontrollers refer to the H8SX/1668R Group hardware manual.
For information about the H8SX/1668R assembly language, refer to the H8SX Series Software Manual.
Online technical support and information is available at: http://www.renesas.com/renesas_starter_kits