Renesas EDK3687 User Manual

Loading...

EDK3687

USER MANUAL

FOR H8/3687

ON-CHIP FLASH MICROCONTROLLER

Preface

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://www.renesas.com/

2

1.TABLE OF CONTENTS

1.

TABLE OF CONTENTS .............................................................................................................................................

3

2.

START-UP INSTRUCTIONS .......................................................................................................................................

4

2.1.

INSTALLING THE EVALUATION DEVELOPMENT KIT (EDK)...........................................................................

4

2.2.

SERIAL CONNECTION .......................................................................................................................................

4

2.3.

POWER SUPPLY ................................................................................................................................................

4

3.

EDK BOARD LAYOUT ............................................................................................................................................

5

3.1.

EDK BLOCK DIAGRAM.......................................................................................................................................

5

4.

EDK OPERATION...................................................................................................................................................

6

4.1.

USER INTERFACE..............................................................................................................................................

6

4.2.

SERIAL INTERFACE...........................................................................................................................................

6

4.3.

SPI EEPROM.......................................................................................................................................................

7

4.4.

I2C EEPROM.......................................................................................................................................................

8

4.5.

LIN INTERFACE ..................................................................................................................................................

8

4.6.

LEDS....................................................................................................................................................................

8

5.

BOARD OPTIONS....................................................................................................................................................

9

5.1.

JUMPER LINKS...................................................................................................................................................

9

5.2.

EDK OPTIONS – CJ4 ........................................................................................................................................

10

5.3.

OPTION LINK SELECTION...............................................................................................................................

11

5.4.

FLASH PROGRAMMING HEADER ..................................................................................................................

12

5.5.

EXTERNAL DEBUG HEADER ..........................................................................................................................

12

5.6.

BOOT CONTROL ..............................................................................................................................................

12

6.

MICROCONTROLLER HEADER CONNECTIONS.........................................................................................................

13

6.1.

HEADER J1 .......................................................................................................................................................

13

6.2.

HEADER J2 .......................................................................................................................................................

13

7.

CODE DEVELOPMENT ...........................................................................................................................................

14

7.1.

HMON ................................................................................................................................................................

14

7.2.

ADDITIONAL INFORMATION ...........................................................................................................................

16

3

2.START-UP INSTRUCTIONS

2.1. INSTALLING THE EVALUATION DEVELOPMENT KIT (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://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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EDK

PC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

3

2

2

5

5

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.

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.

4

Renesas EDK3687 User Manual

3.EDK BOARD LAYOUT

The diagram shows a general layout of the EDK board.

FLASH

 

J1

 

 

Programming

5V

 

 

Power

UVcc

 

 

 

 

 

 

 

 

GND

Testpoints

 

 

 

RESn

 

LIN

NMI

 

LIN

Switch

FW

 

 

NMIn

 

 

 

 

 

 

 

 

ULED1

 

 

 

ULED2

OSC

 

Power LED

PSCK

 

 

PTXD

 

 

 

User1 LED

 

 

 

PRXD

 

 

 

User2 LED

 

SPI

 

RX232

 

RESET

TX232

 

Microprocessor

DEBUG

 

XTAL

 

Switch

 

 

 

CTS

 

 

RTS

 

 

 

 

 

9-Way

 

 

 

 

D-Type

 

 

I2C

I2C

 

 

J2

 

 

CJ4

 

 

 

 

 

 

FIGURE 3-1: EDK BOARD LAYOUT

 

3.1. EDK BLOCK DIAGRAM

The diagram shows the connectivity of the components on the EDK board.

External

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset

 

 

 

NMI

Switches

PSU

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Switch De-Bounce

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RS232

Programming

& Comms

Microprocessor

 

 

 

 

 

 

 

LEDs

 

 

 

 

 

 

 

 

Header

User1

 

Power

 

Connectors

&

 

 

 

 

 

 

 

User2

 

 

 

 

 

 

 

 

 

 

 

 

EDK specific

LIN

SPI

I2C

On-Chip

Debug

Connector

FIGURE 3-2: EDK BLOCK DIAGRAM

5

+ 11 hidden pages