REG10J0001-0100 D005961_11 Renesas Starter Kit for H8SX1582User's ManualRENESAS SINGLE-CHIP MICROCOMPUTER H8SX FAMILY
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 T
6.4.Serial port The microcontroller programming serial port (SCI4) is connected to the E8 connector. This serial port can optionally be connected to
6.5.LCD Module A LCD module can be connected to the connector J13. Any module that conforms to the pin connections and has a KS0066u compatible contr
6.6.Option Links Table 6-6 below describes the function of the option links contained on this CPU board. The default configuration is indicated by BO
6.7.Oscillator Sources A crystal oscillator is fitted on the CPU board and used to supply the main clock input to the Renesas microcontroller. Table
Chapter 7.Modes The CPU board supports User mode, Boot mode and User Boot mode. User mode may be used to run and debug user code, while Boot mode may
7.1.1.Boot mode The boot mode settings for this CPU board are shown in Table 7-2 below: FDT Settings MD1 MD0 LSI State after Reset End A B 1 0 Boo
7.1.2.User Boot mode A Note on Mats: The H8SX/1582 possesses two distinct areas of Flash, User MAT (768KByte) and User Boot MAT (8KByte). The User Bo
7.1.3.User Mode For the device to enter User Mode, reset must be held active while the microcontroller mode pins are held in states specified for Use
Chapter 8.Programming Methods All of the Flash ROM on the device (i.e. both MATs) can be programmed when the device is in Boot mode. Once in boot mod
Table of Contents Table of Contents...
Chapter 9.Headers 9.1.Microcontroller Headers Table 9-1 to Table 9-4 show the microcontroller pin headers and their corresponding microcontroller con
J2 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 PIN31 31 2 PIN32 32 3 PIN33 33 4 PIN34 34 5 PIN35 35 6 IO_0 36 7 P
J3 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 DLCD7 61 2 GROUND 62 3 PIN63 63 4 UC_VCC 64 5 DLCDE 65 6 DLCD6 66
J4 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 E8_BUSY 91 2 MD1_E8B 92 3 AD4 93 4 AD5 94 5 AD6 95 6 AD7 96 7 AD0
9.2.Application Headers Table 9-5 and Table 9-6 below show the standard application header connections. JA1 Pin Generic Header Name CPU board Signa
JA5 Pin Generic Header Name CPU board Signal Name Device Pin Pin Header Name CPU board Signal Name Device Pin 1 ADC4 I4 AD4 93 2 ADC5 I5 A
Chapter 10.Code Development 10.1.Overview Note: For all code debugging using Renesas software tools, the CPU board must either be connected to a PC s
Section Description Start Location Size (H’bytes) RESET_VECTOR HMON Reset Vector (Vector 0) Required for Start-up of HMON H’ 0000 0000 0x0004 SC
10.7.Memory Map The memory map shown in this section visually describes the locations of program code sections related to HMON, the FDT kernels and t
10.8.Baud Rate Setting HMON is initially set to connect at 250000Baud. The value set in the baud rate register for the microcontroller must be altere
10.8. Baud Rate Setting...
Chapter 11. Component Placement 30
Chapter 12. Additional Information For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW manual available on the CD o
Renesas Starter Kit for H8SX1582 User's Manual Renesas Technology Europe Ltd. Dukes Meadow, Millboard Road,
REG10J0002-0100 D005963_11 Renesas Starter KitRSK H8SX1582 Tutorial ManualRENESAS SINGLE-CHIP MICROCOMPUTER Rev
Table of Contents Table of Contents...
Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change without notice. All rights reserved. No one is permitted t
Chapter 2.Introduction This manual is designed to answer, in tutorial form, the most common questions asked about using a Renesas Starter Kit (RSK):
Chapter 3.Tutorial Project Workspace The workspace includes all of the files for two build configurations. The tutorial code is common to both the De
Chapter 4. Project Workspace 4.1.Introduction HEW is an integrated development tool that allows the user to write, compile, program and debug a soft
• The project name field will be pre-filled to match the workspace name above; this name may be changed. Note: HEW allows you to add multiple projec
Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change without notice. All rights reserved. No one is permitted t
Chapter 5. Building the Tutorial Project The tutorial project build settings have been pre-configured in the tool-chain options. To view the tool ch
The Quick Start Guide provided with the RSK board gives detailed instructions on how to connect the E8 to the host computer. The following assumes th
• Select E8DIRECT as the communication Port • Press <Next>. • The default settings are suitable for an un-modified RSK board. • Confirm t
• Confirm the default selections of ‘Automatic’ and ‘Advanced’. • Press <Next>. • The following warning dialog will be displayed. • Press
Damage to the microcontroller can be sustained with incorrect settings. • Confirm the mode pin settings. • Press <Finish>. The Flash configu
A further dialog will be displayed to confirm if it acceptable to assume only one E8 device will be connected to the host computer while using this p
Chapter 6.Downloading and Running the Tutorial Once the code has been built in HEW it needs to be downloaded to the RSK. Now that you are connected t
We will now skip over the initialisation code and proceed to the main tutorial. • Open the file called ‘resetprg.c’ by double clicking it in the pr
The code window will open ‘main.c’ and show the new position of the program counter. Support for the LCD display is included in the tutorial code. W
The code will run and flash the LEDs 200 times. The debugger will not stop running until all 200 flashes have completed or a button is pressed on the
Chapter 2.Purpose This RSK is an evaluation tool for Renesas microcontrollers. Features include: • Renesas Microcontroller Programming. • User Cod
• Open the file ‘main.c’ • Insert a breakpoint on ‘StaticsTest();’. The statics test is used to demonstrate that the initialisation has successfull
Chapter 7.Project Files 7.1.Standard Project Files The RSK tutorials are configured so that it is possible to provide the same tutorial code on multi
7.1.2.Board initialisation code (Hwsetup.c / hwsetup.h) There are four common stages to the configuration of the microcontroller device. The code to
7.1.3.Main tutorial code (Main.c / main.h) The main tutorial code is common to all tutorial projects. The display initialisation and string display f
Chapter 8.Additional Information For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW User manual available on the CD
REVISION HISTORY Description Rev. Date Page Summary 1.00 25.11.2005 - First issue
Renesas Starter Kit Tutorial Manual Renesas Technology Europe Ltd. Dukes Meadow, Millboard Road, Bourne End Buck
REJ10J0807-0200(T) E8 EmulatorRev.2.00 Aug. 1, 2005 Additional Document for User's ManualR0E000080KCE00EP2Renesas Microcomputer Development E
1. Renesas Technology Corp. puts the maximum effort into making semiconductor productsbetter and more
Contents Section 1 Specifications of the E8 Emulator...
Chapter 3.Power Supply 3.1.Requirements This CPU board operates from a 5V power supply. A diode provides reverse polarity protection only if a curren
1 Section 1 Specifications of the E8 Emulator Table 1.1 shows the specifications of the R8C/10, R8C/11, R8C/12 and R8C/13 Groups E8 Emulator. Table
3 Section 2 Connecting the Emulator with the User System Before connecting an E8 emulator (hereafter referred to as emulator) with the user system,
5 Section 3 Pin Assignments of the E8 Connector Figure 3.1 shows the pin assignments of the connector. Pin 1 markPin 2Pin 1 markConnectorPin NO.R8
7 Section 4 Example of E8 Connection Figure 4.1 shows the connecting example. *: Open-colloctor bufferMODEP00/TxD11P37/RxD1CNVssRESETR8C/13R8C/12R
8 Notes: 1. P00 and P37 pins are used by the E8 emulator. Pull up and connect the emulator and MCU pins. P00/TxD11P37/RxD1R8C/13R8C/12R8C/11R8C/10P
9 4. The RESET pin is used by the E8 emulator. Create the following circuit by connecting the open-collector output buffer so that reset input can b
10 8. Figure 4.6 shows the interface circuit in the E8 emulator. Use this figure as a reference when determining the pull-up resistance value. P37CN
11 Section 5 Differences between the MCUs and the Emulator 1. Program area for the E8 emulator Table 5.1 lists the program area for the E8 emula
12 2. ID code of flash memory When starting up the High-performance Embedded Workshop in ‘Does not download emulator firmware’ mode, the dialog bo
13 3. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in Table 5.3. Table 5.
Chapter 4.Board Layout 4.1.Component Layout The following diagram shows top layer component layout of the board. JA5 JA1JA6 JA2J1J3J2User LEDsPowerA
14 11 SFR used by the program for the E8 emulator The SFR listed in Table 5.4 is used by the program for the E8 emulator as well as the user progra
15 16. Debugging of a watchdog timer During the program for the E8 emulator operation, the watchdog timer is being refreshed. Note that if a memory
16 18. Exceptional step operation a) Software-interrupt instruction STEP operation cannot be performed by continuously executing the internal proce
17 Section 6 Applicable Tool Chain and Partner Tools With the R8C/Tiny Series E8 emulator, you can debug a module created by the inhouse tool chain
E8 EmulatorAddtional Document for User's Manual
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
Chapter 5.Block Diagram Figure 5-1 shows the CPU board components and their connectivity. MicrocontrollerUser: 4 LEDS1Green, 1Orange, 2RedApplicat
Comments to this Manuals