Home
Renesas Starter Kit for H8S/2215R User`s Manual
Contents
1. by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R47 Pin function select PIN 28 connected to A14 PIN 28 disconnected from A 14 R48 R48 Pin function select PIN 28 connected to 106 on J A1 PIN 28 disconnected from 106 R47 R49 Pin function select PIN 83 connected to LWRn on A3 PIN 83 disconnected from J A3 R105 R50 Pin function select PIN 31 connected to PTTX PIN 31 disconnected from PTTX R61 R51 Pin function select 20 connected to 100 A1 PIN 20 disconnected from 100 R52 R52 Pin function select PIN 20 connected to A8 PIN 20 disconnected from A8 R51 R53 Pin function select PIN 21 connected to 101 Al PIN 21 disconnected from 101 R54 R54 Pin function select PIN 21 connected to A9 on J PIN 21 disconnected from A9 R53 R55 Pin function select PIN 23 connected to 102 on J Al PIN 23 disconnected from 102 R56 R56 Pin function select PIN 23 connected to A10 on PIN 23 disconnected from A10 R55 R57 Pin function select PIN 25 connected to 103 A1 PIN 25 disconnected from 103 R58 R58 Pin function select PIN 25 connected to A11 PIN 25 disconnected from A11 R57 R59 Pin function select PIN 27 connected to A13 PIN 27 disconnected from A13 R60 R60 Pin function select PIN 27 connected to 105 A1 PIN 27 disconnected from 105 R
2. SW2 SW3 BOOT RES Potentiometer SWITCHES LEDs User 4 LEDS Power Green 1Green 1 2Red Boot Orange Figure 5 1 Block Diagram Figure 5 2 shows the connections to the RSK USB Cable connector Optional Expansion Bus Computer Figure 5 2 RSK Connctions 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 CPU board microcontroller is reset RESn SW1 BOOT Connects to an IRQ input for user controls IRQOn Pin 39 The switch is also used in conjunction with the RES switch to place Port 1 pin 4 the device in BOOT mode when not using the E8 debugger SW2 Connects to an IRQ line for user controls IRQ2n Pin 87 Port F pin 0 SW3 Connects to the ADC trigger IRQ3 input via option OR link R 105 IRQ3n Pin 83 Port F pin 3 Table 6 1 Switch Functions efer to schematic for detailed connectivity information 6 2 LEDs There are six LEDs on the CPU 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 portand will light when their corresponding port pin is setlow Table 6 2 below shows the LED pin references and their co
3. our customers Old Company Name in Catalogs and Other Documents 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 Renesas Electronics website http www renesas com April 19 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry 2 NE S AS 8 10 11 12 Notice 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 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
4. Address Bus 12 26 14 Address Bus A13 2 15 Address Bus 14 28 16 Address Bus A15 29 17 Data Bus DO DLCDRS 11 18 Data Bus D1 DLCDE 113 19 Data Bus D2 115 20 Data Bus D3 116 21 Data Bus 04 DLCD4 117 22 Data Bus D5 DLCD5 118 23 Data Bus D6 DLCD6 119 24 Data Bus D7 DLCD7 120 25 Read Write Control RDn 80 26 Read Write Control LWRn 83 2 Memory Select 50 105 28 Memory Select 51 104 29 Data Bus 08 2 30 Data Bus 09 3 31 Data Bus 010 4 32 Data Bus 011 5 33 Data Bus 012 6 34 Data Bus D13 1 35 Data Bus D14 8 36 Data Bus D15 9 37 Address Bus A16 30 38 Address Bus 17 31 39 Address Bus A18 32 40 Address Bus A19 33 41 Address Bus A20 35 42 Address Bus A21 36 43 Address Bus A22 37 44 External Device Clock PHI 78 45 Memory Select CS2n 103 46 Bus Control ASn 79 47 Data Bus Strobe HWRn 81 48 Data Bus Strobe LWRn 83 49 Reserved 50 Reserved Table 9 7 J A3 Expansion bus Header 28 5 Pin Generic Header Name CPU board Device Pin Generic Header Name CPU board Device Signal Name Pin Signal Name Pin 1 AD4 AN14 45 2 AD5 AN15 44 3 AD6 4 07 5 6 CANIRX 1 CAN2TX 8 CAN2RX 9 AD8 10 AD9 11 AD10 12 AD11 13 TIOCOA 14 TIOCOB 15 0 0 16 M2 TRISTn 17 TCLKC 18 TCLKD 19 M2 Up 20 M2 U
5. or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics C me lt D D LENESAS Renesas Starter Kit for 852215 User s Manual RENESAS SINGLE CHIP MICROCOMPUTER H8S FAMILY Renesas Electronics Rev 1 00 2006 10 www renesas com Table of Contents Chapter Is Preface as eot eme koka ada ora kE Sua muka gao ENa Roa a e da NIE 4 Chapter 2 PUrpoSe ser o a len cna eed ae i dae LLO aO 5 Chapter 3 Power SUDpIY sane redet ALA EL de ebd AM 6 EE EM REQUNEMENTS IA EI ID oa 6 3 2 Up Behaviour cii ei AA WAYA WAPA AAA AAA WAWA SE ak 6 Chapter 4 Board Layouts sci ni LO ELUI ANAS 7 4 1 Gomponent Layout aena a e e caet d edis tta cab e eei bes es 7 4 2 Board DIMENSIONS inset peo e elei eben eb 8 Ghapter 5 Block3DIagrarm dete t ta apa stan leu od t cet 9 Chapter 6 User Circ ltry sss IN EL a IO eade ug ON tA 10 GAl SWICNE Saat I ON Ul Une EN 10 0 2 LEDS ksenono eka aa utet au anl Saad a c Te edi Lond 10 6 3 Potentlometer zx oe Ep IAA KAA AA KU 10 6 4 Serial p
6. 27 21 IOPort 106 28 22 IOPort 107 29 23 Open drain IRQ3n ADTRG IRQ3n 83 24 IIC EX 25 IIC SDA 26 SCL Table 9 5 J 1 Standard Generic Header JA2 Pin Generic Header Name CPU board Device Pin Generic Header Name CPU board Device Signal Name Pin Signal Name Pin 1 Open drain RESn 72 2 External Clock Input CON EXTAL 16 3 Open drain 70 4 Regulated Supply Vss 5 Open drain output 6 Serial Port TxD0 88 1 Open drain WUP IRQO 39 8 Serial Port RxDO 89 9 Open drain IRQ2 87 10 Serial Port SCKOF 90 11 Up down UD 99 12 Serial Port Handshake 13 Motor control Up 35 14 Motor control Un 36 15 Motor control Vp 37 16 Motor control Vn 38 17 Motor control Wp 40 18 Motor control Wn 4l 19 Output TMRO 98 20 Output 1 97 21 Input TRIGa 100 22 Input TRIGb 42 23 Open drain ADTRG IRQ3n 83 24 Tristate Control TRISTn 96 25 Reserved 26 Reserved Table 9 6 J A2 Standard Generic Header 2 Pin Generic Header Name CPU board Device Pin Generic Header Name CPU board Device Signal Name Pin Signal Name Pin 1 Address Bus 0 11 2 Address Bus 1 13 3 Address Bus 2 14 4 Address Bus A3 15 5 Address Bus A4 16 6 Address Bus A5 17 1 Address Bus A6 18 8 Address Bus 7 19 9 Address Bus A8 20 10 Address Bus A9 21 11 Address Bus A10 23 12 Address Bus A11 25 13
7. RSK is purchased the CPU 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 starto flash Pressing switch 2 will cause the LEDs to flash ata rate controlled by the potentiometer Chapter 4 Board Layout 4 1 Component Layout The following diagram shows top layer component layout of the board Application Board Reset Switch BUS Interface Interface RS232 Serial LCD Displa Power Power LED E8 Header USB Microcontroller Pin Headers User LEDs E10A Header Boot LED Application Board Potentiometer User Switches Interface Figure 4 1 Board Layout 4 2 Board Dimensions The following diagram gives the board dimensions and connector positions All through hole connectors are on common 0 1 grid for easy interfacing Corners x4 3mm radius Figure 4 2 Board Dimensions Chapter 5 Block Diagram Figure 5 1 shows the CPU board components and their connectivity Power Jack Option Application Board Headers Microcontroller Pin Boot mode pins Boot Circuitry Headers Microcontroller Debug Header Option RESET pin RESn Daype latch IRQ pin USB Connector Option IRQ pin ADC Input IRQ pin Serial Connector Option
8. communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti 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 applications or purposes that pose a direct threat to human life 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 Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use co
9. iicet dee SENA e tei iat Hee til it A eee 30 10 4 Breakpoint SUpport is a dn aiaa aea ASNES 30 10 5 Gode Jocated in tte 30 10 6 FHMON Gode SI26 kaa aw wi A E LLa ep 30 10 7 Memory IEEE 32 10 8 Baud oou etta a 32 10 9 Interrupt mask sections 33 CGhapter11 GComponent Placements t erit b ater ten catt ae ra ua Hee aea o 34 Chapter 12 Additional 35 Chapter 1 Preface Cautions This document may be wholly or partially subject to change without notice All rights reserved No one is permitted to reproduce or duplicate in any form a part or this entire document 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 Copyright Renesas Technology Europe Ltd 2006 All rights reserved Renesas Technology Corporation 2006 All rights reserved Renesas Solutions Corporation 2006 All rights reserved Website http www renesas com Glossary ADC Analog to Digital Converter BRR Baud Rate Register CPU Central
10. integrated with the user code HMON is supplied as a library file and several configuration files When debugging is no longer required removing the monitor files and library from the code will leave the user s code operational The HMON embedded monitor code must be compiled with user software and downloaded to the CPU board allowing the users code to be debugged within HEW Due to the continuous process of improvements undertaken by Renesas the user is recommended to review the information provided on the Renesas website at www renesas com to check for the latest updates to the Compiler and Debugger manuals 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 will 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 The HMON library is built to support 16M byte Advanced Mode only for the H8S family 10 4 Breakpoint Support The device does not include a user break controller No breakpoints can be located in ROM code However code located in RAM may have multiple breakpoints limited only by t
11. 59 R61 Pin function select PIN 31 connected to A17 PIN 31 disconnected from A17 R50 R62 Pin function select PIN 26 connected to A12 PIN 26 disconnected from A12 R63 R63 Pin function select PIN 26 connected to 104 A1 PIN 26 disconnected from 104 R62 R64 Pin function select PIN 29 connected to A15 PIN 29 disconnected from A15 R65 R65 Pin function select PIN 29 connected to 107 on J Al PIN 29 disconnected from 107 R64 R66 Pin function select PIN 32 connected to PTRX PIN 32 disconnected from PTRX R67 R67 Pin function select PIN 32 connected to A18 on A3 PIN 32 disconnected from A18 R66 R68 Pin function select PIN 33 connected to SCK2 PIN 33 disconnected from SCK2 R69 R69 Pin function select PIN 33 connected to 19 PIN 33 disconnected from A19 R68 70 Pin function select PIN 36 connected to Un 2 36 disconnected from Un 71 71 Pin function select 36 connected to 21 36 disconnected from 21 70 72 Pin function select PIN 35 connected to Up 2 PIN 35 disconnected from Up R73 R73 Pin function select PIN 35 connected to 20 PIN 35 disconnected from A20 R72 R74 Pin function select PIN 37 connected to Vp on J A2 PIN 37 disconnected from Vp R75 R75 Pin function select PIN 37 connected to A22 PIN 37 disconnected from A22 R74 R91 Pin function select PIN 45 connected to DAO J 1 PIN 45 disconnected f
12. A2 14 15 15 16 4 16 17 5 17 18 A6 18 19 7 19 20 A8 100 20 21 A9 101 21 22 Noconnection 22 23 A10 102 23 24 No connection 24 25 A11 103 25 26 A12 104 26 27 A13 105 2 28 A14 106 28 29 A15 107 29 30 16 LED2 30 Table 9 1 J 1 23 2 Circuit Net Device Pin Circuit Net Name Device Pin Pin 1 A17 PTTX 31 2 A18 PTRX 32 3 A19 SCK2 33 4 No connection 34 5 A20 Up 35 6 A21 Un 36 7 A22 Vp 37 8 Vn 38 9 IRQOn 39 10 Wp 40 11 Wn 41 12 TRIGb 42 13 CON AVSS 43 14 15 DAI 44 15 14 DAO 45 16 AN3 46 17 AN2 47 18 48 19 ANO ADPOT 49 20 VREF 50 21 AVCC 51 22 No connection 52 23 USPND 53 24 No connection 54 25 VBUS DET 55 26 UBPMn 56 27 Board DRVCC 57 28 No connection USD 58 29 No connection 0504 59 30 GROUND DRVSS 60 Table 9 2 J 2 24 J3 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 GROUND 61 2 GROUND DRVSS 62 3 No connection PLLCAP 63 4 CON PLLVCC 64 5 CON XTAL48 65 6 CON EXTAL48 66 7 MDO 67 8 MD1 68 9 FWE 69 10 NMI 70 11 STBYn 71 12 RESn 72 13 GROUND 13 14 KTAL 74 15 Board VCC 75 16 CON EKTAL 76 17 MD2 77 18 PHI 78 19 ASn 79 20 RDn 80 21 HWRn 81 22 No connection 82 23 LWRn ADTRG IRQ3n 83 24 No connection 84 25
13. DT Settings End A B 1 1 1 User Mode 0 1 Table 7 3 Mode pin settings Please select the pin settings USER Mode using Clock Mode fi Operating l VL POLE 6 Workspace Rane CER Display Device Ira F age Target files 15 LCD mot 2 Kayboard m Comms m t zug USER 29 Device Image i Target files Outputs 2 Drive mot USER Mode Setting a orithm m al Apon USER Program Mode Setting 4 Back Cancel Figure 7 2 User mode FDT configuration 20 Chapter 8 Programming Methods All of the Flash ROM on the device can be programmed when the device is in Boot mode Once in boot mode the boot loader program pre programmed into the microcontroller executes and attempts a connection with a host for example a PC On establishing a connection with the microcontroller the host may then transmit program data to the microcontroller via the appropriate programming port Table 8 1 below shows the programming port for this Renesas Microcontroller and its associated pins Programming Port Table Programming port pins and their CPU board signal names E8 Port E8 TXD PIN 31 E8 RXD PIN 32 CPU board Signal Name PTTX PortA 1 PTRX PortA Pin2 Table 8 1 Serial Port Boot Channel 8 1 E8 Header This device supports an E8 debugging interface The E8 provides additional debugging features i
14. LEDI 85 26 LEDO 86 27 IRQ2n 87 28 TXDO 88 29 TxD0 89 30 5 0 90 Table 9 3 3 25 14 Circuit Net Device Pin Circuit Net Name Device Pin Pin 1 TXD1 91 2 RxD1 92 3 SCK1 93 4 PUD 94 5 No connection 95 6 TRISTn 96 7 TMR1 97 8 TMRO 98 9 UD 99 10 TRIGa 100 1 LED3 101 12 IRQ7n 102 19 CS2n 103 14 CS1n 104 15 50 105 16 TDO 106 17 107 18 5 108 19 TRISTn 109 20 TDI 110 21 DO DLCDRS 111 22 No connection 112 23 D1 DLCDE 113 24 No connection 114 25 D2 115 26 D3 116 21 D4 DLCDD4 117 28 D5 DLCDD5 118 29 D6 DLCDD6 119 30 D7 DLCDD7 120 Table 9 4 4 26 9 2 Application Headers Table 9 5 and Table 9 9 below show the standard application header connections 1 Pin Header Name CPU board Device Pin Generic Header Name CPU board Device Signal Name Pin Signal Name Pin 1 Regulated Supply 5V 2 Regulated Supply 1 Gnd 3 Regulated Supply 3V3 4 Regulated Supply 2 Gnd 5 Analog Supply AVcc 51 6 Analog Supply AVss 43 Analog Reference AVref 50 8 ADTRG ADTRG IRQ3n 83 9 ADO ANO 49 10 AD1 AN1 48 11 AD2 AN2 47 12 AD3 AN3 46 13 DACO DACO 45 14 DACI DAI 44 15 IOPort 100 20 16 IOPort 101 21 17 IOPort 102 23 18 IOPort 1037 25 19 IOPort 104 26 20 IOPort 105
15. Processing Unit DAC Digital to Analog Converter DMA Direct Memory Access ERR Error Rate FDT Flash Development Tool HMON Embedded Monitor RTE Renesas Technology Europe Ltd RSK Renesas Starter Kit RSO Renesas Solutions Corp USB Universal Serial Bus Chapter 2 Purpose This RSK is an evaluation tool for Renesas microcontrollers Features include e Renesas Microcontroller Programming e User Code Debugging e User Circuitry such as switches LEDs and potentiometer s e Sample Application e Sample peripheral device initialisation code The CPU board contains all the circuitry required for microcontroller operation 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 Chapter 3 Power Supply 3 1 Reguirements This CPU board operates from a 5V power supply A diode provides reverse polarity protection only if a current limiting power supply is used All CPU boards are supplied with an E8 debugger This product is able to power the CPU board with up to 300mA When the CPU board is connected to another system that system should supply power to the CPU board All CPU boards have an optional centre positive supply connector using a 2 0mm barrel power jack Warning The CPU board is neither under not over voltage protected Use a centre positive supply for this board 3 2 Power Up Behaviour When the
16. erating speeds other than the default See the HMON User Manual for details of making the appropriate modifications in the code to accommodate different operating frequencies 6 8 Reset Circuit 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 User Boot Mode and User mode This circuit is not required on customer s boards as it is intended for providing easy evaluation ofthe 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 The mode pins should change state only while the reset signal is active to avoid possible device damage The resetis 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 US B 2 0 specification Itis available as USB porton the RSK This portis used by HMon to perform Boot Mode programming when a valid monitor is not detected on the microcontroller This port also allows Boot mode programming using USB Direct con
17. granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part 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 or third parties arising from the use of these circuits software or information 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 Renesas Electronics has used reasonable care in preparing the information included in this docume
18. he size of the On Chip RAM To debug with breakpoints in ROM you need to purchase the E10A USB on chip debugger from your local disctributor 10 5 Code located in RAM Double clicking in the breakpoint column in the HEW code window sets the breakpoint Breakpoints will remain unless they are double Clicked to remove them See the Tutorial Manual for more information on debugging with the HEW environment 10 6 HMON Code Size HMON is built along with the user s code Certain elements of the HMON code must remain at a fixed location in memory Table 10 1 details the HMON components and their size and location in memory For more information refer to the map file when building code 30 Section Description Start Size Location H bytes RESET VECTOR ResetVector Vector 0 H 00000000 0x0004 Required for Start up of HMON 5 VECTORS HMON Serial Port Vectors Vector 88 89 90 0000 0160 0x000C PHMON HMON Code H 0000 3000 0x22C4 CHMON HMON Constant Data H 0000 52C4 0x0148 BHMON HMON Un initialised data Variable 0x020F FDTInit FDT Initialization functions H 0000 1000 0x0114 This is ata fixed location and must not be moved Should the kernel need to be moved it must be re compiled UGenU FDT UserMode MicroKernel H 0003 F600 0x07AC This is ata fixed location and must not be moved Should the kernel need to be moved it must be re compiled CUser Vectors Pointer used by HMON to point to the star
19. l Rights Reserved Renesas Starter Kit for H8S2215R User s Manual 5 5 Renesas Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan REG10J0022 0100
20. n 21 M2 Vp 22 M2 23 M2 Wp 24 M2 Wn Table 9 8 J A5 Optional Generic Header 6 Generic Header Name CPU board Device Pin Generic Header Name CPU board Device Signal Pin Signal Name Pin Name 1 DMA 2 DMA 3 DMA 4 Standby Open drain STBYn 71 5 Host Serial RS232TX 6 Host Serial RS232RX 7 Serial Port RxD1 92 8 Serial Port TXD1 91 9 Serial Port Synchronous PTTX 31 10 Serial Port SCK1 93 11 Serial Port Synchronous SCK2 33 12 Serial Port Synchronous PTRX 32 13 Reserved 14 Reserved 15 Reserved 16 Reserved 17 Reserved 18 Reserved 19 Reserved 20 Reserved 21 Reserved 22 Reserved 23 Reserved 24 Reserved 25 Reserved 26 Reserved Marked pins are affected by option links see 6 6 Table 9 9 J A6 Optional Generic Header 29 Chapter 10 Code Development 10 1 Overview Note For all code debugging using Renesas software tools the CPU board musteither be connected to a PC serial port via a serial cable ora PC USB port via an E8 An E8 is supplied with the RSK product The HMON embedded monitor code is modified for each specific Renesas microcontroller enables the High performance Embedded Workshop HEW development environment to establish a connection to the microcontroller and control code execution Breakpoints may be setin memory to halt code execution ata specific point Unlike other embedded monitors HMON is designed to be
21. n the available connections 6 5 LCD Module A LCD module can be fitted to the LCD connector Any module that conforms to the pin connections and has a KS0066u compatible controller can be used with the tutorial code The LCD module uses a 4bit interface to reduce the pin allocation No contrast control is provided this must be set on the display module Table 6 4 shows the pin allocation and signal names used on this connector The module supplied with the CPU board only supports 5V operation LCD Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 Ground 2 5V Only 3 No Connection 4 DO DLCDRS 111 5 R W Wired to Write only 6 DI DLCDE 113 7 No Connection 8 No connection 9 No Connection 10 No connection 11 D4 DLCDD4 117 12 D5 DLCDD5 118 13 D6 DLCDD6 119 14 D7 DLCDD7 120 Table 6 4 LCD Module Connections 11 6 6 Option Links Table 6 5 below describes the function of the option links associated with serial configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R6 Serial Port Connects programming port Rx to EB Disconnects programming port Rx R7 R37 Configuration connector from E8 connector R38 R7 Serial Port Connects programming port Tx to EB Disconnects programming port T
22. ncluding hardware breakpoints and hardware trace capability Check with the website at www renesas com or your distributor for a full feature list Connect the E8 to port labelled E8 To enable the E8 functions the user must ensure that the jumper links in position J 13 amp J 15 are removed Default positions 8 2 E10A Header This device supports an optional E10A debugging interface The E10A provides additional debugging features including hardware breakpoints and hardware trace capability Check with the website at www renesas com or your distributor for a full feature list To enable the E10A functions the user needs to fit a jumper link in position 13 When J 13 is fitted the microcontroller will not operate correctly unless operated via the E10A 8 3 USB port programming This sequence is not required when debugging using the E8 supplied with the kit The microcontroller must enter boot mode for programming and the programming port must be connected to a hostfor program download To execute the boot transition and allow programs to download to the microcontroller the user must perform the following procedure Press the BOOT switch and keep this held down Press the RESET switch once and release Release the BOOT switch The BOOT LED will be illuminated Now connect a USB cable between the host PC and USB port ofthe RSK The Flash Development Toolkit F DT is supplied to allow programs to be loaded directly on to the b
23. nditions Further Renesas Electronics products 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 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 This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products
24. nection and FDT which does not require E8 For more details please refer to 85 2215 Group Hardware Manual Chapter 7 Modes The CPU board supports User mode and Boot mode User mode may be used to run and debug user code while Bootmode may only be used to program the Renesas microcontroller with program code via the USB interface To program the user flash the device must be in Boot mode Further details of programming the flash are available in the H8S 2215 Group hardware manual When using the E8 debugger supplied with the RSK the mode transitions are executed automatically The CPU board provides the capability of changing between User and Boot User Boot modes using a simple latch circuit This is only to provide a simple mode control on this board when the E8 is not in use Do notuse the Boot Latch function while the E8 is connected To manually enter boot mode press and hold the SW1 BOOT The mode pins are held in their boot states while reset is pressed and released Release the boot button The BOOT LED will be illuminated to indicate that the microcontroller is in boot mode More information on the operating modes can be found in the device hardware manual 7 1 FDT Settings In the following sections the tables identify the settings required to connectto the board using the E8Direct debugger interface The A interface is inverted on the RSK board This is to ensure the board can function in a known state when the E8 i
25. nt but Renesas Electronics does not warrant that such information 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 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 Renesas Electronics data sheets or data books etc Standard Computers office equipment
26. oard using this method Please select USB Direct interface while downloading the program Do not use the on board boot latch function when the is connected 21 8 4 Serial Port Programming This sequence is not required when debugging using the E8 supplied with the kit The microcontroller must enter boot mode for programming and the programming port must be connected to a hostfor program download To execute the boot transition and allow programs to download to the microcontroller the user must perform the following procedure Ensure the relevant option links are made from Table 6 5 Connecta 1 1 serial cable between the host PC and the CPU board Depress the BOOT switch and keep this held down Depress the RESET switch once and release Release the BOOT switch The Flash Development Toolkit F DT is supplied to allow programs to be loaded directly on to the board using this method 22 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 J1 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 EMLEn 1 2 D8 2 3 D9 3 4 010 4 5 DJ 5 6 6 7 013 7 8 8 9 DIS 9 10 Board VCC 10 11 AO 11 12 GROUND 12 13 1 13 14
27. onnected to Microprocessor CON 5V connected to a different place R4 R14 connection 5V Source R21 R78 R80 Table 6 6 Power configuration links Table 6 7 below describes the function of the option links associated with 00 configuration default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R34 Analog Input ANO channel connected to Al ANO channel disconnected from J A1 R42 R42 Analog Input ANO channel connected to POT ANO channel disconnected from POT R34 R43 Voltage Reference Voltage Reference setto AVcc signal Voltage Reference taken from external R99 Source connector 1 7 R85 Analog Voltage Analog Voltage Source from external Analog voltage source from R86 R 131 Source connector Board Vcc R86 Analog Voltage Links analog ground to digital ground Isolates analog ground from digital R85R131 Source ground R99 Voltage Reference Voltage Reference setto AVcc signal Voltage Reference taken from R43 Source external connector J 4 R131 Analog Voltage Analog voltage source from on board Analog Voltage Source from external R85 R86 Source Vcc connector Table 6 7 Analog configuration links Table 6 8 below describes the function of the option links associated with Pin function configuration default configuration is indicated
28. ort a exit de eed HT A MAM IM deel 10 6 5 MODA CU 11 6 6 RI A 12 6 7 Gsclillator SOM Cession cec SEE o at DU 16 6 9 RESELGICUI a A Alae ded 17 0 9 USB POrtus diete he es o 17 Chapter 7 MOI e e al ordi tto wee ba l aru Pau Voce ERR RR Tet 18 dd DI NA uL AIDE MIU no un o i M I UE 18 flule BO MOAS ss dte pe es tete pen teg dede qp de a 19 FS MULTI 20 Chapter 8 Programming 21 EB Header t tel n dl n det tn 21 8 2 ETOA Fleader i e at id e Ae deed MAO ONA ZO LON MAJ eve ANON A 21 8 3 USB port programming o teet ai ote eiit 21 8 4 Serial Port Programming petu sss det SN epe id GA eot P ta Re eee 22 Ghaptler9 Eleaders s 23 9 1 Microcontroller Headers GA AAA AMAN ANALA 23 9 2 Application ss sis o Tonka misa ebo eon ur etd e eet nr penite ex 27 Chapter 10 Code 30 TOMHOVOIVIO WI e E 30 10 2 Compiler ReStricthOns sas sa AN A EA ON ENN a E 30 10 3 Mode SUppDOLFt a
29. ow describes the function of the option links associated with Power configuration default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R4 Power Source Board can be powered from PWR Disable external power connector R14 R21 connector R82 R14 Power Source Board is powered from VBUS Board is powered by another source R4 R21 R82 17 Power Source Connects external 3 3V power sourceto Disconnects external 3 3V power 41 Board VCC source from Board VCC R21 Power Source Board can be powered from E8 Disable E8 power source RA R14 R82 R23 Microcontroller Supply power to Microcontroller Fit Low ohm resistor to measure Power current Supply R41 Power Source Connects regulated 3 3V voltage Disconnects regulated 3 3V voltage R41 source to Board_VCC source from Board_VCC R76 LCD Power Source LCD powered from External 5V source LCD Powered from a different R79 R81 PWR source R78 CON 5V CON 5V connected to External power CON 5V connected to a different R80 R82 Connection source PWR place R79 LCD Power Source LCD powered from VBUS 5V source LCD powered from a different R76 R81 source R80 CON 5V CON 5V connected to VBUS 5V source CON 5V connected to a different R78 R82 connection place R81 LCD Power Source LCD powered from Microprocessor 5V LCD powered from a different source R76 R79 Source R82 CON 5V CON 5V c
30. rom DAO R113 R93 Pin function select PIN 44 connected to DA10nJA1 PIN 44 disconnected from DA1 111 R105 Pin function select PIN 83 connected to SW3 PIN 83 disconnected from SW3 R49 111 Pin function select 44 connected to 15 5 44 disconnected from 15 93 Option Link Settings Reference Function Fitted Alternative Removed Related To R113 Pin function select 45 connected to 14 5 45 disconnected from 14 91 R133 Pin function select PIN 30 connected to LED2 30 disconnected from LED2 R130 R130 Pin function select PIN 30 connected to 16 PIN 30 disconnected from A16 R133 Table 6 8 Pin function 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 Option Link Settings Reference Function Fitted Alternative Removed Related To R107 Main OscillatorC rystal Parallel resistor for crystal Not fitted R109 48MHz USB Parallel resistor for crystal Not fitted Crystal Oscillator R110 Main Oscillator Source Connects on board clock to MCU External Clock Source R112 R121 R112 Main Oscillator Source Connects external clock to MCU Disconnects external clock R110 R121 connection to MCU R114 48MHz USB Connected to Ring Connector Disconnec
31. rresponding microcontroller port pin connections LED Reference As Microcontroller Port Pin Microcontroller Pin Polarity shown on silkscreen function Number LEDO PortF1 86 Active Low LED1 Port F2 85 Active Low LED2 Port 0 30 via R133 Active Low LED3 Port GO 101 Active Low Table 6 2 LED Port efer to schematic for detailed connectivity information 6 3 Potentiometer A single turn potentiometer is connected to ANO of the microcontroller via R42 This may be used to vary the input analog voltage value to this pin between AVCC and Ground 6 4 Serial port The microcontroller programming serial port SCI2 is connected to the E8 connector by default SCIO is connected to the 9 way D type connector labelled 8 via a RS 232 transceiver The microcontroller programming serial port can optionally be disconnected from the E8 and connected to the RS232 transceiver by moving option resistors Serial channel 0 is then disconnected The connections to be moved are listed in the following table Programming via SCI2 SCIO Fit Remove E8 E8 RS232 R6 R7 R28 R29 R37 R38 Serial RS232 Disconnected R37 R38 R6 R7 R28 R29 Table 6 3 Serial Option Links The board is designed to accepta straight through RS232 cable A secondary microcontroller serial port is available and connected to the application headers Please refer to the schematic diagram for more details o
32. s connected but not powered The E8 Debugger contains the following resistors E8 Pin Resistor A Pull Down 100k B Pull Up 100k Pull Down 100k D Pull Up 100k Table 7 1 E8 Mode Pin drives 7 1 1 Boot mode The boot mode settings for this CPU board are shown in Table 7 2 below MD2 MD1 MDO LSI State after Reset FDT Settings End A B 1 0 1 Boot Mode 0 0 Table 7 2 Mode pin settings The following picture shows these settings made in the E8Direct configuration dialog from HEW lt Please select the settings BOOT Mode using Clock Mode NON Operating Mode 7253 Workspace Tag ai Industrial YA Display i Device Image Target Files M BOOT Mode a Device Image 1 3 Target files Dutputs 15 Drive BOOT Mode 131 Setting 3 Algorithm m 4 Back Cancel Figure 7 1 Boot Mode FDT configuration 7 1 2 User Mode Forthe device to enter User Mode reset must be held active while the microcontroller mode pins are held in states specified for User Mode operation 100K pull up and pull down resistors are used to set the pin states during reset The H8SX 2215R supports four user modes The memory map in all of these modes is 16M byte in size The default user mode for CPU board supporting H8S2215R is mode 7 MD2 MD1 MDO LSI State after Reset F
33. t of user code H 0000 0800 0x0004 Table 10 1 Memory Map for HMON Components 31 10 7 The memory shown in this section visually describes the locations of program code sections related to HMON the FDT kernels and the supporting code within the ROM RAM memory areas of the microcontroller H 000000 o H 000000 Vectors RESET Vector H 000003 TRAP Vectors genes H 000800 X H 00002F CUser Vectors FDT Initialization Routines H 001114 H 003000 PHMON H 000160 SCI Vect 11005406 095 H 00016C On Chip FLASH ROM H 03F600 UGenU FDT Kernel H O3FFFF 00 H FFE800 BHMON HEFEDCO stack Internal I O REGISTERS Internal REGISTERS Internal H FFFFFF Figure 10 1 Memory Map 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 altered if the user wishes to change either the serial communication baud rate of the serial port orthe operating frequency of the microcontroller This value is defined in the hmonserialconfiguser h file as 5 CFG BRR see the Serial Port section for baud rate register setting values The project must be re built and the resulting code downloaded to
34. ted from Ring Connector R117 Crystal Oscillator R118 R117 48 2 USB Force clock Input low USB Uses 48MHz Oscillator R114 R118 Crystal Oscillator USB uses main oscillator R118 48MHz USB Connected to Ring Connector Disconnected from Ring Connector R114 R117 Crystal Oscillator R121 Main Oscillator Source Connects external clock to MCU Disconnects external clock R110R112 connection to MCU R129 Crystal Selection Fit if 16MHz Crystal Fitted 24MHz Crystal Fitted R132 R132 Crystal Selection Fit if 24MHz Crystal Fitted 16MHz Crystal Fitted R129 Table 6 9 Clock configuration links 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 Another crystal oscillator is provided to drive the USB clock Table 6 10 details the oscillators that are fitted and alternative footprints provided on this CPU board Component Crystal X1 NotFitted 48MHz HC49 4H package Crystal X2 Fitted 24MHz HC49 4H package Table 6 10 Oscillators Resonators Warning When replacing the default oscillator with that of another frequency the debugging monitor will not function unless the following are corrected e programming kernels supplied are rebuilt for the new frequency e The supplied HMON debugging monitor is updated for baud rate register settings The user is responsible for code written to support op
35. the microcontroller once the BRR value is changed Please refer to the HMON User Manual for further information 32 10 9 Interrupt mask sections HMON has an interrupt priority of 6 The serial port has an interrupt priority of 7 Modules using interrupts should be set to lower than this value 5 or below so that serial communications and debugging capability is maintained 33 Chapter 11 Component Placement AA De X SSN NS 4 BOARD EDGE Figure 11 1 Component Placement Chapter 12 Additional Information For details on how to use High performance E mbedded Workshop HEW refer to the HEW manual available on the CD or installed in the Manual Navigator For information about the H8S 2215R series microcontrollers refer to the H8S 2215 Group Hardware Manual For information about the H8S 2215R assembly language refer to the H8S Series Programming Manual Further information available for this product can be found on the Renesas website at http www renesas com renesas starter kits General information on Renesas Microcontrollers can be found on the following website Global http www renesas com 35 Renesas Starter Kit for 852215 User s Manual Publication Date 1 00 25 10 2006 Published by Renesas Technology Europe Ltd Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 United Kingdom 02006 Renesas Technology Europe and Renesas Solutions Corp Al
36. x R6 R37 Configuration connector from E8 connector R38 R19 RS232 Serial Disables RS 232 Serial Enables RS232 Serial Transceiver Transceiver R28 Serial Port Connects serial portRXDO to SERIAL Disconnects serial port RXDO from R29 Configuration D type connector SERIAL D type connector R29 Serial Port Connects serial port TXDO to SERIAL Disconnects serial port TKDO from R28 Configuration D type connector SERIAL D type connector R30 Serial Port Routes RS232 serial port Rx to Disconnects RS232 serial port Rx R31 Configuration application connector J A6 from application connector J A6 R31 Serial Port Routes RS232 serial port Tx to application Disconnects RS232 serial port Tx R30 Configuration connector A6 from application connector J A6 R32 Serial Port Connects serial port 1 Tx to SERIAL Disconnects serial port 1 Tx from R16 R26 Configuration D type 8 SERIAL D type R33 R33 Serial Port Connects serial port 1 Rx to D type J 8 Disconnects serial port 1 Rx from R16 R26 Configuration SERIAL D type R32 R37 Serial Port Connects programming port Rx to Disconnects programming port Rx R6 R7 Configuration external connectors not E8 to external connectors not E8 R38 R38 Serial Port Connects programming port Tx to Disconnects programming port Tx R6 R7 Configuration external connectors not E8 to external connectors not E8 R37 Table 6 5 Serial configuration links Table 6 6 bel
Download Pdf Manuals
Related Search
Related Contents
LOT 10 FAUX PLAFONDS oct 2009 Cisco Systems CISCO7206 Getting Started Guide Gebrauchsanleitung, Welch Allyn Spot Vital Signs LXi Bonavita Coffeemaker BV1800TH User's Manual Database User Manual [U3.13.14] Modélisations *JOINT, *ELDI et *INTERFACE Wagner SprayTech PaintMate User's Manual ASTAT XT - Manual de Usuario Copyright © All rights reserved.
Failed to retrieve file