Home
Renesas EDK3687 Computer Hardware User Manual
Contents
1. FLASH J1 ESSS99 50000 0000000500000 000000000000 Programming o sv Power O Uvcc O GND Testpoints NMI 9 AA LIN Switch NMin ULED1 ULED2 osc o sok User LED O PRXD User2 LED RX232 SPI O 2 2 Microprocessor 5 RESET La 8 Switch lt o cts E O RTS 9 Way D Type 2 amp 000000000000000000000000000000000000 2000000006600 J2 000000000000000000000000000000000000 E 1 2 1 1 Jumper Jumper Ju A B 123 1 123 FIGURE 5 1 JUMPER CONFIGURATION The following tables define each jumper and its settings 5 2 EDK OPTIONS CJ4 The EDK options provide access to commonly used features of the EDK range These jumpers must be fitted at all times to ensure correct operation of the EDK Jumper Function Setting 1 2 Setting 2 3 CJ 4 A Serial Receive Routes the programming serial Routes the programming serial port Default 1 2 Source port to the 9Way D Connector to the LIN Interface CJ 4 B Serial Transmit Routes the programming serial Routes the programming serial port Default 1 2 Destination port to the 9Way
2. 4 2 2 CRYSTAL CHOICE The operating crystal frequency has been chosen to support the fastest operation with the fastest serial operating speeds The value of the crystal is 18 432MHz The following table shows the baud rates and Baud Rate Register BRR setting required for each communication rate using the above default operating speed It also confirms the resultant baud rate and the bit error rate that can be expected Baud Rate Register Settings for Serial Communication Rates BRR Actual setting SMR Setting Baud 110 300 1200 2400 4800 9600 19200 38400 57600 115200 230400 460800 BRR Actual ERR setting Rate Invalid ERR Rate Invalid BRR Actual setting Rate Invalid 300 1200 2400 4500 9000 18000 Invalid BRR Actual setting Rate 110 300 1125 2250 4500 Invalid ERR 0 22 0 00 6 25 6 25 6 25 Invalid Invalid 0 00 0 00 0 00 6 25 6 25 6 25 Invalid Invalid Invalid Invalid Invalid 0 00 0 00 0 00 0 00 6 25 6 25 16 67 25 00 Invalid Invalid 1200 2400 4800 9600 18000 36000 48000 144000 Invalid Invalid Invalid Invalid Invalid 0 00 0 00 0 00 0 00 0 00 0 00 0 00 16 67 25 00 Invalid 2400 4800 9600 19200 38400 57600 115200 192000 576000 Invalid 239 119 Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Inval
3. EDK3687 USER MANUAL FOR H8 3687 ON CHIP FLASH MICROCONTROLLER Cautions 1 This document may be wholly or partially subject to change without notice 2 All rights reserved No one is permitted to reproduce or duplicate in any form a part or this entire document without Renesas Technology Europe Limited s written permission Trademarks General All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations Specific Microsoft MS and MS DOS are registered trademarks and Windows and Windows NT are trademarks of Microsoft Corporation Document Information Product Code D004173 11 Version 2 0 Date 09 05 2003 Copyright Renesas Technology Europe Ltd 2003 All rights reserved Website http Avww renesas com 21 2 2 2 3 3 1 4 1 4 2 4 3 4 4 4 5 4 6 5 1 5 2 5 3 5 4 5 5 5 6 6 1 6 2 7 1 7 2 TABLE OF CONTENTS TABLE CONTE Ti ias 3 START UP INSTRUCTIONS si 4 INSTALLING THE EVALUATION DEVELOPMENT EDK sss 4 SERIAL CONNECTION siesta nits etm meet et erue cai mutet eee dd t de edid 4 POWER SUPPL cal pag eei edd ote eet 4 EDK BOARD A VOTA dida 5 EDK BLOCK DIAGRAM da ie 5 EDK OPERATION 6
4. www eu renesas com tools Installing the EDK requires power and serial connection to a host computer 2 2 SERIAL CONNECTION The serial communications cable for connecting the EDK to a host computer requires 1 1 connectivity Figure 2 1 shows how to connect the EDK to a PC or notebook computer equipped with a nine pin D connector HOST PC EDK FIGURE 2 1 SERIAL CONNECTION TO PC NOTEBOOK WITH DB 9 CONNECTOR SUPPLIED 2 3 POWER SUPPLY The EDK hardware requires a power supply of 5V Since total power consumption can vary widely due to external connections port states and memory configuration use a power supply capable of providing at least 500mA at 5V DC 5 The design is specified for evaluation of the microcontroller and so does not include circuitry for supply filtering noise reduction under voltage protection over current protection or reversed polarity protection Caution should be used when selecting and using a power supply The power connector on the EDK is a 2 5mm Barrel connector The center pin is the positive connection e 5 Y FIGURE 2 2 POWER SUPPLY CONNECTION Caution Existing customers using E6000 products note that the polarity of this board is opposite to that for the E6000 Use of the E6000 power supply with this board will damage both board and power supply 3 EDK LAYOUT The diagram shows a general layout of the EDK bo
5. FLASH PROGRAMMING HEADER The Flash Programming header is used with the Flash Debugging Module FDM The FDM is a USB based programming tool for control and programming of Renesas microcontrollers available separately from Renesas This header provides direct access for the FDM to control the EDK microcontroller To utilise this header the user must make the following changes to the board configuration 1 Selectthe FDM header using CJ4 C as marked on the silk screen Please refer to section 5 2 5 5 EXTERNAL DEBUG HEADER The External debug header may be used with the Renesas E10T Debugger Renesas LEM Debugger or a third party debugger The E10T and LEM are on chip debug emulators available separately from Renesas This header provides direct access for the debugger to control the EDK microcontroller 5 6 Boor CONTROL The EDK provides a jumper selection to place the microcontroller device into boot mode This jumper link grounds the NMI pin on the device Always remove the power from the EDK before moving this jumper to prevent unintended effects in the processor that may prevent the programming function from completing successfully 6 MICROCONTROLLER HEADER CONNECTIONS The following table lists the connections to each or the headers on the board 6 1 HEADER J1 Pin Function EDK Symb
6. utilizing the built in power on reset control of the device 2 NMI Switch This button provides a de bounced signal to the microcontroller for each operation of the button There is no maximum activation time for this button 4 2 SERIAL INTERFACE The serial port on the microcontroller directly supports three wire serial interfaces Options are provided on the board for the user to write handshaking routines using standard port pins 4 2 1 CONNECTOR PIN DEFINITIONS The EDK RS232 interface conforms to Data Communication Equipment DCE format allowing the use of 1 1 cables when connected to Data Terminal Equipment DTE such as an IBM PC The cable used to connect to the EDK will affect the available board options A fully wired cable can allow handshaking between the microcontroller and the host PC subject to setting the board options and the availability of suitable host software Handshaking is not supported as standard on the microcontroller so for normal use a minimal three wire cable can be used The minimum connections are unshaded in the following table EDK DB9 Signal Host DB9 Connector Pin Connector Pin No Connection EDK Tx Host Rx EDK Rx Host Tx No Connection Ground No Connection EDK CTS Host RTS EDK RTS Host CTS No Connection D MN A 6 55 A Mm oye TABLE 4 1 RS232 INTERFACE CONNECTIONS FIGURE 4 1 EDK SERIAL PORT PIN NUMBERING
7. 0018 H 0019 H 002E H 002F 15 7 1 5 BAUD RATE SETTING HMON has initially set to connect at 115200Baud Should the user wish to change this the value for the BRR in HMONserialconfiguser c will need to be changed and the project re built Please refer to the HMON User Manual for further information 7 1 6 INTERRUPT MASK SECTIONS The EDK3687 has fixed interrupt priorities The serial SCI3 port interrupt is used by HMON The Real Time clock external interrupt and Timer V interrupts have a higher priority than the serial port If these interrupts are used HMON may not function correctly 7 2 ADDITIONAL INFORMATION For details on how to use HEW with HMON refer to the HEW manual available on the CD or from the web site For information about the H8 3687 series microcontrollers refer to the H8 3687 Series Hardware Manual For information about the H8 300 assembly language refer to the H8300 Series Programming Manual Further information available for this product can be found on the Renesas web site at http www eu renesas com tools General information on Renesas microcontrollers can be found at the following URLs Global http www renesas com
8. D Connector to the LIN Interface CJ 4 C Serial Receive Enable the Flash Programming Enable the RS232 interface data Default 2 3 Source header data receive receive CJ 4 D BOOT Mode Default 1 2 Selection User Mode BOO Mode TABLE 5 1 BOARD OPTION JUMPER SETTINGS DEFAULT SETTINGS IN BOLD See section 5 4 The following table lists the connections to each jumper pin Pin Net Name Description 1 RX232 RS232 received data 2 RX_OPT Link to below Data from RS232 or LIN 3 LIN RX LIN received data 4 TX232 5232 transmitter 5 PTXD Data transmission 6 LIN TX LIN transmitter 7 RX_HDR Flash Programming Header received data 8 PRXD Data reception 9 RX_OPT Link to above Data from RS232 or LIN 10 NC No Connection 11 NMIn NMI used for BOOT mode selection 12 GROUND System Ground 10 5 3 OPTION LINK SELECTION The following sections show the option links that apply to each peripheral device The tables all use the same key of symbols which is given below X Groups of options one set of which must be fitted for correct operation of the EDK O Groups of options which if fitted must be connected in the groups as shown by the table row Optional selection that will enable or disable specific device functions as listed Options which when incorrectly fitted may damage the board or attached devices 5 3 1 RST RESET FUNCTION The HD643687GFP d
9. Load Resistor X3 R7 1MQ 0805 1 Welwyn WCR Series Load capacitors X2 C2 C3 12 0603 10 25 AVX 0603 3 150 KAT Load capacitors X3 5 15 0603 10 25 AVX 0603 3 A 150 KAT TABLE 4 3 REMOVABLE COMPONENT INFORMATION Care must be taken not to damage the tracking around these components Only use soldering equipment designed for surface mount assembly and rework 4 3 SPI EEPROM The board has been tested with an Atmel AT25040N 10SA 2 7 SPI EEPROM device Not supplied The device should be connected to P30 P31 P32 and P67 using OR links on R15 R16 R17 and R21 Alternative connections are available refer to section 5 3 for more information Do not fit the CAN transceiver if the SPI device is fitted while using the settings above 4 4 12C EEPROM The board has been tested with an Atmel 24 04 10 1 2 7 12C EEPROM device Not supplied The device is configured to connect to dedicated I2C pins on Ports P56 and P57 4 5 LIN INTERFACE The board has been tested with an Philips TJA1020TD device Not supplied The device should be connected to P71 and P72 using OR links on R29 and R31 Alternative connections are available refer to section 5 3 for more information The links R41 R45 and R47 need to be carefully considered before fitting Damage to the device board or connected equipment may occur if these links are fitted inappropriately Please review the specifications for the LIN transceiv
10. USER INTERFACE ra 6 SERIAL INTERFACE tdt err redo iced nta edo d cin eh peat 6 SPIIEEPROM rat eerie cioe dre pdt bea de nde cedula sd tede onec Dna tin 7 IZ EEPROM fi ben eo NOT bee tl rb eU e 8 EIN INTEREAGE 8 Bb cM TE 8 ij rp siii 9 JUMPER EINKS ou ttt be tee qtti bao teta tad nda i ted ater 9 EDK OPTIONS A RED ER a DuC etre nter e ded 10 OPTION EINK SELECTION ocio a a e n mp e i reris 11 FLASH PROGRAMMING HEADER ci circa ada et i dte dte d nee iria 12 EXTERNAL DEBUG HEADER e ritenere p ere i ta dee alate 12 BOOT CONTROL ttd enr ci tdi t eer eir ted 12 MICROCONTROLLER HEADER CONNECTIONS eeneenen entente recorre 13 HEADER iii iia ld teh e Dag tee d rd de a c nare be tereti entrata 13 HEADER J2 dt eee n ded d i beds A e t e dan 13 A JE i D 14 AMON e H gy 14 ADDITIONAL INFORMATION cho rhe ait edem reed em pde tecta 16 2 START UP INSTRUCTIONS 2 1 INSTALLING THE EVALUATION DEVELOPMENT Kir EDK Please refer to the quick start guide provided for initial installation of the EDK A copy of the quick start guide and other information relating to this EDK at http
11. ard FLASH J1 Programming ol sv 000000000000000000000000000000000000 O UVcc O GND Testpoints 5 Switch O NMin O ULED1 ULED2 OSC Power LED ED LJ User LED O PRXD OU User2LED O Rx232 SPI HB 9 RESET d Switch lt CTS RTS X 2 HB 00000060000000000000600000000000000000 2000000000000 J2 000000000000000000000000000000000000 CJ4 FIGURE 3 1 EDK BOARD LAYOUT 3 1 EDK DIAGRAM The diagram shows the connectivity of the components on the EDK board External Reset NMI PSU Switches EDK specific po Ss Se Switch De Bounce boh Peek 1 65232 SPI Programming _ amp Comms p TEC 1 Microprocessor DA al 12 A A 1 LEDs On Chip Debug User1 reader Connector Connectors amp Power User2 FIGURE 3 2 EDK BLOCK DIAGRAM 4 EDK OPERATION 4 1 USER INTERFACE The EDK provides two buttons for influencing the operation of the board The purpose of each button is clearly marked next to it Refer to the board layout for positions Section 3 1 Reset Switch This button provides the microcontroller with a reset pulse
12. er and LIN Interface before fitting any of these links 4 6 LEDs The EDK has three red LEDs The function of each LED is clearly marked on the silk screen of the PCB Please refer to the board layout diagram for position information Section 3 When the board is connected to a power source the Power PWR led will illuminate There are two LEDs dedicated for user control these are marked USR1 and USR2 Each LED will illuminate when the port pin is in a logical low state The user LEDs are connected to the following ports LED Port Microcontroller Pin Functions on Identifier Pin Pin Port Pin USRI P64 37 FTIOAI USR2 P65 38 FTIOBI TABLE 4 4 LED PORT CONNECTIONS 5 BOARD OPTIONS The EDK has a number of configuration settings set by four jumpers CJ4 A B C D and zero ohm links Common EDK functions can be set using the jumpers as described in sections 5 2 The additional zero ohm links provide additional features that may be required to interface with other systems All the Jumper link settings are three pin options There are four sets of options on each header The headers are numbered from 1 to 12 with pin 1 marked on the PCB by an arrow pointing to the pin The diagram below shows the numbering of these jumper links and indicates jumpers fitted 1 2 for each three pin jumper 5 1 JUMPER LINKS
13. evice includes a built in reset control circuit 9 TABLE 5 2 OPTION LINKS gt lt The alternate settings be fitted without damage to the device 5 3 2 LIN LIN INTERFACE The LIN interface is not fitted by default The transceiver can be connected to two groups of pins The SCI2 56 57 58 pins are shared with the CAN transceiver do not use this selection when the CAN transceiver is fitted SCI2 5012 RIRIRIRIRIRIR RRIRIR 48 49 50 56 57 58 12 27 26 29 30 31 3241 4546 47 Default TABLE 5 3 OPTION LINKS 5 3 3 SPI SERIAL PERIPHERAL INTERFACE The SPI interface is not directly compatible with the SCI interface on the device Selection of the connections to the SPI interface should therefore be chosen to allow the operation of other peripherals as required 5 12 02 RIRIRIRIRIRIRIRIRIRIRIRIR SSU 48 49 50 56 57 58 15 16 17 18 1920 21122123 24125 3537 5 X 0000 SPI SCI X SCI X ojojo HOLDn S WPn S CSn X TABLE 5 4 OPTION LINKS 5 3 4 CAN CONTROLLER AREA NETWORK The CAN device when fitted is permanently connected to microcontroller pins 56 amp 57 Other options share these pins so be sure that the alternate settings are made for the other peripheral options to avoid contentions on the board 5 4
14. id Invalid Invalid Invalid Invalid Invalid TABLE 4 2 CRYSTAL FREQUENCIES FOR RS232 COMMUNICATION Note The device used to convert the RS232 serial information to logic signals for the microcontroller is limited to 120kBaud The rates above this level can only be utilised if the user provides direct logic level communications The user may replace the HC49 U surface mounted AT cut crystal with another of similar type within the operating frequency of the microcontroller device Please refer to the hardware manual for the microcontroller for the valid operating range Alternatively the user may fit an oscillator module or provide an external clock source When providing an oscillator module or external source it is highly recommended that the load capacitors for the AT crystal are removed from the PCB These are physically placed within the PCB outline of the oscillator module for easy location and to ensure they are removed when using this option When changing the crystal frequency the pre loaded debugging monitor will not function In this situation the user is responsible for providing code to evaluate the device away from the default operating speed 4 2 3 REMOVABLE COMPONENT INFORMATION This information is provided to allow the replacement of components removed from the board as described in section 4 2 2 Component Cct Ref Value Rating Manufacturer Load Resistor X2 R8 IMQ 0805 1 Welwyn WCR Series
15. kpoints in RAM HW BREAK VECTORS HMON Break Controller Vector 12 H 0018 2 Required by HMON to create Breakpoints in ROM SCI VECTOR HMON Serial Port Vectors Vector 23 H 002E 2 Used by HMON when EDK is configured to connect to the default serial port PHMON HMON Code H 1000 2C3D CHMON HMON Constant Data 2C3E 2D10 BHMON HMON Uninitialised data H FC80 1FD FDTInit FDT User Mode Kernel H 0400 F7 This is at a fixed location and must not be moved Should the kernel need to be moved it must be re compiled FDTUserModeMicroKernel FDT User Mode Kernel H 0500 6CC This is at a 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 start of user code H 0C00 4 CUserVectors is a long word location with the upper 16 bits set to zero 14 7 1 4 0000 Vectors H 0400 FDTInit H 0500 FDTUserModeMicr H 0BC1 oKernel CUser_Vectors H 0C03 H 1000 PHMON CHMON H 2D10 On Chip FLASH ROM H DFFF H E800 On Chip RAM H EFFF H F700 Internal I O H E77F REGISTERS H F780 On Chip RAM H FC80 BHMON FE7C H FE7D H FE80 H FF7F Stack H FF80 Internal I O H EEO0 REGISTERS RESET Vector TRAP Vectors HW Break Vector SCI Vector H 0000 H 0001 H 0010 H 0017 H
16. ol Device Pin Function EDK Symbol Device No pin No pin 1 GND 8 2 RESn RESn 7 3 VCL No Connection NC3 6 4 5 5 2 CON_X2 4 6 AVCC CON AVCC 3 7 PB7 AN7 PB7 2 8 PB6 AN6 PB6 1 9 5 5 5 64 10 PB4 63 11 PBO ANO PBO 62 12 PBI ANI PBI 61 13 PB2 AN2 PB2 60 14 PB3 AN3 PB3 59 15 P30 P30 58 16 P31 P31 57 17 P32 P32 56 18 P33 P33 55 19 P17 IRQ3n TRGV P17 54 20 P16 IRQ2n P16 53 21 P15 IRQ1n TMIB1 P15 52 22 P14 IRQ0n CTS 51 23 P72 TXD 2 P72 50 24 P7I RXD 2 P71 49 25 P70 SCK3 2 P70 48 26 23 23 47 27 P22 TXD PTXD 46 28 P21 RXD PRXD 45 29 P20 SCK3 PSCK 44 30 P87 P87 43 31 P86 P86 42 32 P85 P85 41 6 2 HEADER J2 2 Function EDK Symbol Device Pin Function EDK Symbol Device No pin No pin 1 VSS GND 9 2 OSC2 CON_OSC2 10 3 OSCI CON OSCI 11 4 EVCC 12 5 P50 WKPOn P50 13 6 P51 WKPIn P51 14 7 P34 P34 15 8 P35 P35 16 9 P36 P36 17 10 P37 P37 18 11 P52 WKP2n P52 19 12 P53 WKP3n P53 20 13 P54 WKP4n P54 21 14 P55 WKP5n ADTRGn P55 22 15 P10 TMOW P10 23 16 PII PWM Pll 24 17 P12 P12 25 18 P56 SDA P56 26 19 P57 SCL P57 27 20 P74 TMRIV P74 28 21 P75 TMCIV P75 29 22 P76 TMOV P76 30 23 P24 P24 31 24 P63 FTIODO P63 32 25 P62 FTIOCO P62 33 26 P61 FTIOBO P61 34 27 NMIn NMIn 35 28 P60 FTIOAO P60 36 29 P64 FTIOA1 ULEDI 37 30 P65 FTIOBI ULED2 38 31 P66 FTIOCI RTS 39 32 P67 FTIODI P67 40 13 7 CODE DEVELOPMENT 7 1 HMON 7 1 1 MODE SUPPORT The HMON library i
17. s built to support Normal Mode only 7 1 2 BREAKPOINT SUPPORT The monitor utilises the Address Break Controller for code located in ROM allowing a single breakpoint to be set in the code Code located in RAM may have multiple breakpoints limited only by the size of the On Chip RAM Due to a limitation of the internal address break controller a breakpoint set in ROM will execute the instruction at the breakpoint and stop on the subsequent op code 7 1 2 1 CODE LOCATED IN FLASH ROM Double clicking in the breakpoint column in the code sets the breakpoint Adding a further breakpoint in the code removes the previous one A warning message will be displayed in the message window when this occurs 7 1 2 2 CODE LOCATED IN RAM Double clicking in the breakpoint column in the code sets the breakpoint Breakpoints will remain unless they are double clicked to remove them 7 1 3 HMON CODE SIZE HMON is built along with the debug code Certain elements of the HMON code must remain at a fixed location in memory The following table details the HMON components and their size and location in memory For more information refer to the map file when building code Section Description Start Location Size H bytes RESET VECTOR HMON Reset Vector Vector 0 H 0000 2 Required for Startup of HMON TRAP VECTORS Trap Vectors Vector 8 9 10 11 H 0010 8 Required by HMON to create Trap Brea
Download Pdf Manuals
Related Search
Related Contents
to - Horner APG Lenovo Miix 3 10 32GB Black Moniteur de sécurité AS-Interface - Services ISTRUZIONI DI SERVIZIO OPERATING INSTRUCTIONS USER MANUAL Varian SH-110 Dry Scroll Pump Instruction Manual Manual de Instruções Copyright © All rights reserved.
Failed to retrieve file