Renesas M3062PT3-RPD-E manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas M3062PT3-RPD-E, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Renesas M3062PT3-RPD-E one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Renesas M3062PT3-RPD-E. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Renesas M3062PT3-RPD-E should contain:
- informations concerning technical data of Renesas M3062PT3-RPD-E
- name of the manufacturer and a year of construction of the Renesas M3062PT3-RPD-E item
- rules of operation, control and maintenance of the Renesas M3062PT3-RPD-E item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Renesas M3062PT3-RPD-E alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Renesas M3062PT3-RPD-E, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Renesas service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Renesas M3062PT3-RPD-E.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Renesas M3062PT3-RPD-E item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    REJ10J0040-0600 ( T ) M3062PT3-RPD-E Rev.6.00 Jul. 01, 2006 User’s Manual Emulation Pod for M16C/ 62P and M16C/30P Groups[...]

  • Page 2

    1. Renesas Technology Corp. puts the m aximum effort into making semicondu ctor products better and more reliable, b ut there is always the possibility that trouble may occur with them . Trouble with semico nductors may lead to personal inju ry, fire or property damage. Remember to give due consi deration to safety when making your circuit designs,[...]

  • Page 3

    M3062PT3-RPD-E User ’s Manu al Preface REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 3 of 104 Preface The M3062PT3-RPD-E is an emulation pod for the M16C/6 0 Series M16C/62P Group and M16C/30 Series M16C/30P Group of 16-bit MCUs. It is used with a PC4701 emulator (excluding th e PC4701L and PC4700L). This user's m anual mainly descri bes speci[...]

  • Page 4

    M3062PT3-RPD-E User ’s Manu al Important REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 4 of 104 Important Before using t h is product , be sure to rea d this user’ s manual carefully . Keep this user’ s manual, and r efer to this w hen you have questions ab out this pr oduct. Emulator: The emulator in this document refers to the following pro d[...]

  • Page 5

    M3062PT3-RPD-E User ’s Manu al Important REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 5 of 104 Usage restrictions: This emulat or has been devel oped as a means of su pporting syst em developm ent by users. T herefore, do not use it as a de vice used for eq uipment-em bedded applicat ions. Also, do not us e it for devel oping the syst ems or equip[...]

  • Page 6

    M3062PT3-RPD-E User ’s Manu al Precautions for Safety REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 6 of 104 Precautions for Safety Definitions of Signal Words In both t he user’s m anual and on the pr oduct itsel f, several ic ons are use d to insure p roper handl ing of t his product and also to prevent inj uries to you or other persons, or dam[...]

  • Page 7

    M3062PT3-RPD-E User ’s Manu al Precautions for Safety REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 7 of 104 警告警告 W ARNING Warnings for AC Power Su pply: z If the attached AC power cable does not fit the receptacl e, do not alter the AC power cable and do not plug it forcibly. Failure to comply may cause electric shock and/or fire. z Use an[...]

  • Page 8

    M3062PT3-RPD-E User ’s Manu al Precautions for Safety REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 8 of 104 注意注意 CAUTION Cautions to Be Taken for Turning On the Power: z Turn ON the power of the emulator an d user system as simultaneously as possible. Turn OFF the power of the emulator and user system as sim ultaneously as possible. z Do n[...]

  • Page 9

    M3062PT3-RPD-E User ’s Manu al Contents REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 9 of 104 Contents Page Preface ........................................................................................................................ ................................................. 3 Releated Manuals ...........................................[...]

  • Page 10

    M3062PT3-RPD-E User ’s Manu al Contents REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 10 of 104 Page 3. Usage (How to Use the Emulator Debugger) .................................................................................... .................... 50 3.1. Making an MCU File ........................................................................[...]

  • Page 11

    M3062PT3-RPD-E User ’s Manual User Registration REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 11 of 104 User Registration When you ha ve purchased th e emulator pre sented in this user's manual, please be sure to register it. As the H/W T ool Customer Registration Sheet is included with this man ual, fill it in and F A X it to your local distr[...]

  • Page 12

    M3062PT3-RPD-E User ’s Manu al T erminology REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 12 of 104 T erminology Some specific words used in this user's m anual are define d as follows: Emulator m ain unit (Her eafter PC4701) This means a generic nam e for emulators for M16C, 7700, 740 Families. T ake note of the fact t hat the M306 2PT3-RPD-E[...]

  • Page 13

    M3062PT3-RPD-E User ’s Manu al 1. Outline REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 13 of 104 1. Outline This chapter describes the package c omponen ts, the system configuration and the prepar ation for using th is product for the firs t time. 1.1 Package Components The M3062PT3-RPD-E packag e consists of the following items. When unpacking it[...]

  • Page 14

    M3062PT3-RPD-E User ’s Manu al 1. Outline REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 14 of 104 1.2 Other T ool Products Required for Development T o bri ng forward programs devel opment on the M 16C/60 Seri es M16C/62P Group and M16C/30 Seri es M16C/30P Group, the products listed below are necessary in addition to tho se contained packag e above[...]

  • Page 15

    M3062PT3-RPD-E User ’s Manu al 1. Outline REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 15 of 104 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 s hows a confi guration of the PC4701 system. Figure 1.1 Syst em configuration (1) Emulation po d M3062PT3-R PD-E (this product ) Emulation pod for the M16C/60 Series M1 6C/62P Group and M1[...]

  • Page 16

    M3062PT3-RPD-E User ’s Manu al 1. Outline REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 16 of 104 1.3.2 Names and Function s of the PC4701 Front Panel LEDs Figure 1.2 s hows the nam es of the LEDs on the front panel of the emul ator . Figure 1.2 Names of the LE Ds on the f ront panel o f the PC470 1 (1) System Status LEDs The system status LEDs ind[...]

  • Page 17

    M3062PT3-RPD-E User ’s Manu al 1. Outline REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 17 of 104 (2) Target Status LEDs The target status LEDs indicate the tar get MCU's operating status and target board's power supply . T able 1.4 lists the d efiniti on of each target st atus LED. T able 1.4 Definitions of the target status LEDs Name S [...]

  • Page 18

    M3062PT3-RPD-E User ’s Manu al 1. Outline REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 18 of 104 1.4 S pecifications T ables 1 .5 and 1.6 lis t the specificat ions of the M30 62PT3-RPD-E. T able 1.5 M3062PT3-RPD-E specifications (1 /2) Item Description Applicable MCU M16C/60 Seri es M16C/6 2P Group M16C/30 Seri es M16C/3 0P Group Usable MCU m ode [...]

  • Page 19

    M3062PT3-RPD-E User ’s Manu al 1. Outline REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 19 of 104 T able 1.6 M3062PT3-RPD-E specifications (2 /2) Item Description 80-pin 0. 65mm pi tch QFP ( PRQP0080JA-A, Previous code: 80P6S-A) (1) M306 2PT -80FPB (not inc luded) 100-pin 0.65mm pitch LCC socket (1) M30800T -PTC (included) + IC61-1004-05 1 (include[...]

  • Page 20

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 20 of 104 2. Setup This chapter describes the preparation f or using this product, t he procedure f or startin g up the em ulator and ho w to change settings. 2.1 Flowchart of S tarting Up the Emulator The procedure for starting u p the emulat or is shown in Fi gu[...]

  • Page 21

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 21 of 104 2.2 Installing the Emulator Debugger (M16C PC4701 Emulator Debugger) If the OS used in your host machine is Windows XP or 2000 , this installation must be executed by a user with administrator rights. Be aware that users without administrato r rights can[...]

  • Page 22

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 22 of 104 2.3 Connecting the Host Machine When connecting the em ulator PC4701 to a host machine, interface varies depending on the PC4701 used. Table 2.1 shows the outline to connect each interface cable. For details on in terface, refer to each PC4701 use r’s [...]

  • Page 23

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 23 of 104 2.4 Connecting the PC4701 T o co nnect the emulation pod to the PC4701, use the FLX1 20-RPD 120-p in flexible ca ble included with this pr oduct package. Connect the PC4701 side connect or of the FLX120-RPD to the cable connector of the PC4701, then secu[...]

  • Page 24

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 24 of 104 2.4.2 Connecting the FLX120-RPD to the Emulation Pod Figure 2.3 s hows how t o connect the FLX120-RPD a nd the em ulation pod. Figure 2.3 C onnecting the FLX120-RPD t o the emul ation pod CAUTION Note on Connecting the FLX120 -RPD and emulatio n pod: z A[...]

  • Page 25

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 25 of 104 2.5 T urning ON the Power 2.5.1 Checking the Connections of the Emulator Syste m Before turning the power ON, check t he conn ection of the interface cable with host m achine, PC 4701, em ulation pod, and user system. 2.5.2 T urning ON/OFF the Power T ur[...]

  • Page 26

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 26 of 104 2.5.3 LED Display When the Emulator S tarts Up Normally Figure 2.4 s hows front pan el LED lighting st atus when the em ulator started up properly . Check it when starting up the emulator sy stem. Figure 2.4 L ED display when the p ower turned on IMPORTA[...]

  • Page 27

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 27 of 104 2.6 Downloading Firmware 2.6.1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed be low . Normally , the following are aut omatically detected when the emulator debugger is started up, a nd the firm wa[...]

  • Page 28

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 28 of 104 2.7 Self-check 2.7.1 Self-check Procedure To run the self-check of the emulator, do so as explain ed here below. While the self-check is in progress, the LEDs will change as shown in Fi gure 2.6. (1) If the user system is connected, disconnect it. (2) Se[...]

  • Page 29

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 29 of 104 Figure 2.7 Switch settings for the self-check (factory-settings) 2.7.2 If an Error is Detected in the Self-check If the self-check does not result normally, check the following. (1) Whether the emulat ion pod and PC 4701 are connected properly (2) Whethe[...]

  • Page 30

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 30 of 104 2.8 Connecting the User System Connect the e mulation p od to the user system as shown i n Figures 2. 8. Tip of emul ation pod probe 128-pin 0 .5mm pit ch 0 . 65mm pit ch 0 . 5mm pit ch M30800 T - PTC (inc luded) M30800 T - PTC M3 T -1 0 0 LC C- D M S M [...]

  • Page 31

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 31 of 104 2.8.1 Connecting to a 80-pin 0.65mm Pitch Foot Pattern Figure 2.9 s hows how to co nnect 80-pin 0. 65mm pit ch foot pattern on the user sy stem to the M306 2PT -80FPB (not in cluded), and here following is its procedure. For detail s on the M3062PT -80FP[...]

  • Page 32

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 32 of 104 2.8.2 Connecting to a 100-pin LCC socket Figure 2.10 shows how to c onnect a 100-pin LC C socket (IC61-1004- 051 of Y amaichi Electronics Co., Ltd.) on the user system t o the M30800T -PTC (included). (1) Attach the CN2 side of the M30 800T -PTC to the C[...]

  • Page 33

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 33 of 104 2.8.3 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 1 ) Figure 2. 1 1 shows how to c onnect a 1 00-pin 0 .65mm pi tch foot pat tern on t he user syst em to the M 3T -F160-100NRB (not included), a nd here f ollowing i s its procedu re. For deta [...]

  • Page 34

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 34 of 104 2.8.4 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 2 ) Figure 2.1 2 shows how to connect a 100-pi n 0.65mm pitch foot pattern on the user system to the M3T -DIRECT100S (not included), a nd here f ollowing is i ts procedu re. For detai ls on th[...]

  • Page 35

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 35 of 104 2.8.5 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 3 ) Figure 2.1 3 shows how to connect a 100-pin 0. 65mm pi tch foot patt ern on the user syst em to the M 3T -DUMMY100S (not included), and her e following is its procedu re. For details on th[...]

  • Page 36

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 36 of 104 2.8.6 Connecting to a 100-pin 0.5mm Pitch Foot Pattern (Part 1) Figure 2.14 shows ho w to connect a 100-pin 0. 5mm pitch f oot patter n on the use r system to the M3T -F160-100NS D (not included), a nd here foll owing is i ts procedure . For details on t[...]

  • Page 37

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 37 of 104 2.8.7 Connecting to a 100-pin 0.5mm Pitch Foot Pattern (Part 2) Figure 2.1 5 shows how t o connect a 100-pin 0. 5mm pitch f oot pattern on the user s ystem t o the M3T -100LCC-QSD ( not included), and here follo wing is its procedure. For details on th e[...]

  • Page 38

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 38 of 104 2.8.8 Connecting to a 128-pin 0.5mm Pitch Foot Pattern Figure 2.16 shows ho w to connect a 128-pin 0. 5mm pitch f oot pattern on the user s ystem to t he M3T -F160-128NRD (not included), a nd here f ollowing i s its procedu re. For details on the M3T -F1[...]

  • Page 39

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 39 of 104 2.9 Changing Settings This chapter describes how to set the inside of the emulator . 2.9.1 Removing/Attachi ng the Upper Cover (1) Removing the upper cover T o open th e upper cover , remove the four screws of both sides of th e M3062PT3-RPD-E and lif t [...]

  • Page 40

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 40 of 104 2.9.2 Each Setting Figure 2.18 shows the positions of each pa rt of the M3062PT3-RPD-E. (1) Position of oscillator circuit board (2) Position of switch es (3) Position of socket for m oun ting network resistor for pullup (4) Position of bypass capacitor [...]

  • Page 41

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 41 of 104 2.9.3 Selecting Clock Supply (1) Clock Supply to the MCU Y ou can choose a cl ock suppli ed to the evaluation MCU by the Em ulator tab in t he Init dialog box of the em ulator debug ger . T able 2.2 lists the factor y-settings of each clock supply when y[...]

  • Page 42

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 42 of 104 (3) Replacing Oscillator Circuit Boards Figure 2.19 shows how to replace the oscilla tor circuit boards. For t he position of the oscillator circuit board, see Fi gure 2. 18. (1) Unscrew the screw securing the oscillator circuit board. (2) Lift off t he [...]

  • Page 43

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 43 of 104 (4) Using the Internal O scillator Circ uit (Bare Board) of the Emulation Pod T o us e the emulation pod at a desired frequency , bu ild the de sired o scillator circuit on the in cluded OSC-2 oscillator circuit board (bare board). Figure 2.20 shows an e[...]

  • Page 44

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 44 of 104 (5) Using the Oscillator Ci rcuit on the User System T o operate th is product with an external clock, construct the oscillator circuit as shown in Figure 2.22 in the user system and input the oscillato r output at 50% duty (within the operatin g range o[...]

  • Page 45

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 45 of 104 2.9.4 Switch Settings Here follows explanations of the switches of the emulation pod. Set the switches acco rdi ng to the user system . T ables 2.3 and 2 .4 list how to set to ggle switches SW1 to S W5 of the M30620T3-PR T board (M CU-depe ndent bo ard).[...]

  • Page 46

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 46 of 104 T able 2.4 Switch setting s of the M3062PT3-RPD-E (2) Signal Switch Setting Description Xout OP Xout SW 3 (fact ory- setti ngs) Does not c onnect pin X out of the M CU to the use r system. Xout SW3 Xout OP Xout SW 3 Connects pin Xout of the MCU to the us[...]

  • Page 47

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 47 of 104 2.9.5 Jumper Switches JP1 and JP2 on the M30620T3-PR T (MCU-dependent board 1 ) T able 2.5 Switch setting s of the M3062PT3-RPD-E (3) Signal Switch Setting Description A18_SEL 1M JP1 4M (factory-settings) Always use this setting. A18_SEL JP1 A18_SEL 1M J[...]

  • Page 48

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 48 of 104 2.9.6 Installing and Remov ing Network Re sistors for Pullup In this produc t, you cannot control pullup for por ts P0 to P5 by pullup control registers (pu llup control r egister read/write a re possible). A socket for installing th e network resistor f[...]

  • Page 49

    M3062PT3-RPD-E User ’s Manu al 2. Setup REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 49 of 104 2.9.7 Bypass Cap acitors for A/D Converter The M3062PT3-R PD-E has the M3062PT 3-PR TM (MCU-depende nt board 2) board whic h has a foot pattern for installing bypass capacit ors for A/D converter near the MCU a nd premount ed 0.1 μ F capacitors. Mount s[...]

  • Page 50

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 50 of 104 3. Usage (How to Use the Emulator Debugger) This chapter describ es how to start up the M16C PC4701 emulator debugg er from the High-perfor mance Embedded W orkshop and how to use the main windows. 3.1. Making an MCU F[...]

  • Page 51

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 51 of 104 3.2 Setting the Work Area W ith this product, the emulator uses 54 by tes as a work ar ea in emulation m emory . Therefore, according to t he memory mapping of the MCU y ou use, sp ecify t he work area address es. In s[...]

  • Page 52

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 52 of 104 3.3 S tarting Up the Emulator Debugger When debu gging the com pleted programs, switc h the session. T he session ca n be change d by the dro p down list of the tool bar shown below . Y ou will have as many sessions cr[...]

  • Page 53

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 53 of 104 2) Specifying the communication interface S pecifying the communication interface (Parallel) - In case where the parallel communication is set up, click the radio button “Parallel” of MCU tab. - For the host area, [...]

  • Page 54

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 54 of 104 S pecifying the communication interfa ce (LPT) - For selecting the LPT communication, click the radio button “LPT ” of the MCU tab. - For the T ype area, specify the LPT interface communication mode to be used. Whe[...]

  • Page 55

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 55 of 104 4) Specifying t he clock freq uency S pecifying the clock frequency Specify the target MCU operation clock and clock dividing ratio. - Specify the operation clock and clock dividing ratio. - In case where no value was [...]

  • Page 56

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 56 of 104 (3) W ork area tab 1) Specifying the firm ware Specifying the firmware file For the radio button of the firm ware gr oup box, be sure to click “Default”. S pecifying the work area Specifies the top address which is[...]

  • Page 57

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 57 of 104 (6) Script tab Automatically executing a script command T o automatically execute a script command when starting up the debugger , click th e “Refer ...” button and specify the script file to be executed. Clicking [...]

  • Page 58

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 58 of 104 3.3.2 Checking Connections of the Emulator System Check to see that the emulator de bugger ha s been connected c orrectly to the emulator . Checking connectio ns of the emulator system When the emulator debugger is con[...]

  • Page 59

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 59 of 104 3.4 Downloading Program Download t he user pr ogram to be debugged. 1) Downloading from the work space window Downloading the progra m Download the object program you want to debug. Select Download from “xxx.x30” o[...]

  • Page 60

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 60 of 104 3.5 Program execution (1) Program execution CPU reset Resets the target MCU. Go Runs the program beginning with the curre nt PC position. Reset Go Runs the program after resetting the tar get MCU. S tep In Single-steps[...]

  • Page 61

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 61 of 104 (2) Software b reak 1) Setting the software break point Execution setup procedure with sof tware break: (1) By double-clicking the break point setting line on the software break point setting column in the e ditor (sou[...]

  • Page 62

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 62 of 104 (3) Executing up to the cursor po sition (Come command) 1) Specifying the Come command Setup procedure for execut ing COME command (1) Click the line in the edito r (source) window at which you want the program to exec[...]

  • Page 63

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 63 of 104 3.6 Hardware Break Hardware break is set by event condition su ch as FETCH or DA T A ACCESS, etc. The program stops after executing the instruction at the set breakpoi nt (after several cycles). (1) Break eve nt setup [...]

  • Page 64

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 64 of 104 (2) When FETCH is selected 1) W indow for setting a ddresses Setting the address Y ou can set eight conditions, e.g., a sp ecified address, a specified address range, etc. When you have finished setting the address, cl[...]

  • Page 65

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 65 of 104 (3) Whe n DA T A ACCESS is selected 1) W indow for setting the address Setting the address Sets the address by “Address” tab. Y ou can set eight conditions, e.g., a sp ecified address, a specified address range, et[...]

  • Page 66

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 66 of 104 3) Example Da ta Settings Setting a break event . A1 Address 1 :0020E8 Data 1 :5423 MASK :FFFF Access :WRITE Setting a break event A1 Address 1 :0020E5 Data 1 :AB79 MASK :FFFF Access :WRITE Setting a break event A1 Add[...]

  • Page 67

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 67 of 104 3.7 T race Window The trace window is used to show the results of real -time trace measurem ents. (1) T race window 1) Opening the trace window T race window Clicking this button opens the trace window . 2) T r ace win[...]

  • Page 68

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 68 of 104 3) T race W indow (Bus mode display) 4) Trace Wind ow (Disassem ble mode displa y) 5) Trace Wind ow (Source m ode display) 6) Trace Window (Data access m ode display) Explanation of the trace window (b us display) Show[...]

  • Page 69

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 69 of 104 (2) Suspending and resuming trace m easurement 1) Suspending trace m easurement Suspend Click this toolbar button to suspend the trace measurement in progress. 2) Resuming trace measurem ent Re-S tart Click this toolba[...]

  • Page 70

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 70 of 104 (3) T race points setup window 1) T race points setup window T race Points Setting Window in initial state Clicking this toolbar button opens the trace point setting window . Y ou can set events in the same way as for [...]

  • Page 71

    M3062PT3-RPD-E User ’s Manu al 3. Usa ge (How to Use the Emulator Debugger) REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 71 of 104 3.8 RAM Monitor Window This functi on makes it possibl e to make refe rence to t he changes in memory cont ents with out impai ring the real-t ime performance for target program execution. The emulator PC4701 system is[...]

  • Page 72

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 72 of 104 4. Hardware S pecifications This chapter describes speci fications of thi s product. 4.1 T arget MCU S pecifications T able 4.1 lists the sp ecifications of target MCUs which can be debugged with th is product. T able 4.1 Specificat io[...]

  • Page 73

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 73 of 104 4.2 Access T iming Because this product em ulates some ports, access tim ings ar e different from those of the actual MCUs. Chapters 4.2.1 (Vcc1=Vcc2=5V) a nd 4.2.2 (Vcc1=Vcc2=3V) desc ribe the access timing us ing this product. 4.2.1 [...]

  • Page 74

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 74 of 104 Figure 4.1 M emory expa nsion mode a nd microprocess or mode (3 wait, accessing ext ernal area) R ea d tim in g Wr i te ti mi ng BCLK ADi ALE DBi td(BC LK-C S) th( BCLK-CS ) tcyc td( BCLK-AD) th (BCLK-AD) th(RD -CS) td(BC LK-AL E) th(B[...]

  • Page 75

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 75 of 104 (2) Multiplex Bus Timing T able 4.3 and Figure 4.2 show the bus tim ing in memory expans i on mode and microprocessor m ode (2 wait, accessing external area, using multiplex bus). T able 4.3 Memory expa nsion mode and microprocessor mo[...]

  • Page 76

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 76 of 104 Figure 4.2 Memory expansion mode and micropro cessor mode (2 wait, accessing external area, using multiplex bus) Read ti ming Writ e timi ng BCLK ADi ALE ADi /DBi td(B CL K-CS ) th( BCLK-CS) tcyc td(BC L K-AD ) th( BCLK- AD) th(RD -CS)[...]

  • Page 77

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 77 of 104 (3) Timing Requirements T able 4.4 and Figu re 4.3 list t he timing req uirements i n memory expa nsion mode a nd microprocess or mode. T able 4.4 T imi ng requirements Actual MCU [ns] This product [ns] Symbol Item Min. Max. Min. Max [...]

  • Page 78

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 78 of 104 4.2.2 Operation T iming of Memory Expansi on Mo de and Microproce ssor Mode (Vcc1=Vcc2=3V) (1) Separate Bus Timing T able 4.5 and Figure 4.4 show the bus tim ing in memory expans i on mode and microprocessor m ode (3 wait, accessing e[...]

  • Page 79

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 79 of 104 Figure 4.4 M emory expa nsion mode a nd microprocess or mode (3 wait, accessing ext ernal area) Read ti m ing Writ e timi ng BCLK ADi ALE DBi td( BCLK-CS) th(BC LK-C S) tcyc td (BCLK- AD) th( B CLK- AD) th(RD -CS) td (BCLK- ALE) th( B[...]

  • Page 80

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 80 of 104 (2) Multiplex Bus Timing T able 4.6 and Figure 4.5 show the bus tim ing in memory expans i on mode and microprocessor m ode (2 wait, accessing external area and using multiplex bus). T able 4.6 Memory e xpansion m ode and micropr oces[...]

  • Page 81

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 81 of 104 Read timi ng Writ e timing BCLK ADi ALE ADi /DBi td (BCLK- CS) th ( BCLK- CS) tcyc td( B CLK-AD ) th( B CLK-AD) th(RD -C S) td(BCLK -ALE ) th( B CLK-AL E) th (RD-AD) td( BCLK-RD) t h(BCLK- RD) tac 3(RD- DB) Hi- Z ts u( DB-RD) t h(RD-D[...]

  • Page 82

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 82 of 104 (3) Timing Requirements T able 4.7 and Figu res 4.6 sho w timing requi r ements i n memory expa nsion mode a nd microprocess or mode. T able 4.7 T imi ng requirements Actual MCU [ns] This product [ns] Symbol Item Min. Max. Min. Max . [...]

  • Page 83

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 83 of 104 4.3 Differences between the Actual MCU and Emulator Differe nces between the actual MCU and em ulator are shown belo w . Wh en debugging the MCU using this pr oduct, be careful about the following precautions. IMPORTANT Note on Dif fe[...]

  • Page 84

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 84 of 104 IMPORTANT Note on RESET# Input: z A low input from the user sy stem to pin RESET # is accepted only while a user program is bei ng executed (only while the RUN status LED on the PC4701 's front panel is lit). Note on NMI# Input: [...]

  • Page 85

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 85 of 104 IMPORTANT Notes on Setting "1" to Protect Bit 2 (PRC2) in Division by 2 Mode: z Under the follo wing conditions, even if you enable the PRC2 bit, writing to the reg ister protected by the PRC2 bit (P D9, S3C, a nd S4C re gis[...]

  • Page 86

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 86 of 104 4.4 Connection Diagram Figure 4.7 shows a connect ion diagram of the M3062PT3-RPD- E. This connection diagram mainly shows the interface section. The circuits not connected to the user system su ch as the emulator's contro l syst[...]

  • Page 87

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 87 of 104 T able 4.10 Electrical char acteristics of the 74HC4066 Standa rd values Symbol Item Condition Min. S tandard Max. Unit R ON ON resistor Vcc=4.5V - 96 170 Δ R ON ON resistor dif f erence Vcc=4.5V - 10 - Ω I OFF Leak cu rrent (Off) [...]

  • Page 88

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 88 of 104 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Pod Figure 4.8 s hows exter nal dimensions of the M3 062PT3-R PD-E. Unit: mm Figure 4.8 Ext ernal dimensi ons of the emulation pod 40 . 0 10 . 5 437.0 140.0 3.0 52.0 1[...]

  • Page 89

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 89 of 104 4.5.2 External Dimensions of the M30800T -PTC Figure 4.9 shows external dimens ions of the converter board M30800T -PTC for a 100-pin LCC (includ ed with the M3062PT3-RPD -E). 1 30 31 50 C N 2 C N 1 100 81 80 51 MA D E I N JA P A N 55[...]

  • Page 90

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev.6.00 July 01, 2006 Page 90 of 104 4.5.3 External Dimensions of the Converter Board M3 062PT -80FPB Figure 4.1 0 shows e xternal dim ensions and a sample foot pa ttern of th e converter board for an 80- pin 0.65mm pitch QFP M3062PT -8 0FPB (not included). 55.0 21.8 40.0[...]

  • Page 91

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 91 of 104 4.5.5 External Dimensions of t he Converter Board M3 T -F160-100NSD Figure 4.1 2 shows ext ernal dim ensions and a sample foot pattern o f the convert er board for a 10 0-pin 0.5m m pitch LQ FP M3T -F160-100NSD (not incl uded). Figure[...]

  • Page 92

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 92 of 104 4.6 Notes on Using This Product Notes on using this product are l isted below . When debuggi ng the MCU using the em ulator , be careful a b out the f ollowing precautions. IMPORTANT Note on the Version of the Emulator Debugge r: z Be[...]

  • Page 93

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 93 of 104 IMPORTANT Notes on Setting the Wo rk Area When S tarting Up the Emulator Debugg er: z With this product, the emulator uses 54 bytes as a work area in em ulation memo ry. Therefore, according to the mem ory mapping o f the MCU y ou us [...]

  • Page 94

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 94 of 104 IMPORTANT Note on S tack Area: z With this pro duct, a m aximum 7 byt es of the u ser stack is co nsumed. There fore, ens ure the +7 bytes maximum capacity used by the user pr ogram as the user stack area . If the user stack does not [...]

  • Page 95

    M3062PT3-RPD-E User ’s Manu al 4. Hardware S pecifications REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 95 of 104 IMPORTANT Note on Breaks: z The area disp laying break points in the pro gram window of the emulato r debugger show s the following breaks. (1) Software brea k This is a de bugging f unction whic h generates a B RK interru ption by ch[...]

  • Page 96

    M3062PT3-RPD-E User ’s Manu al 5. T roubleshooting REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 96 of 104 5. T roubleshooting This chapte r describes h ow to troubl eshoot whe n this prod uct does not work properly . 5.1 Flowchart to Remedy the T roubles Figure 5.1 shows the flowchart to remedy troubles from when power to the emulator is activate[...]

  • Page 97

    M3062PT3-RPD-E User ’s Manu al 5. T roubleshooting REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 97 of 104 5.2 When the Emulator Debugger Does Not S tart Up Properly (1) When the LED Displ ay of the PC4701 is Abnormal T able 5.1 LED's abnor mal display and its checkpoints Error Connection to the user system Checkpoint LEDs do not light up. - [...]

  • Page 98

    M3062PT3-RPD-E User ’s Manu al 5. T roubleshooting REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 98 of 104 (2) Editor (Source) Window is Not Di splayed at Debugger S tartup (User System Conne cted) T able 5.2 Checkpoint s of errors when startin g up the emul ator debugger (user system connect ed) Error Checkpoint ERROR 16005: Can't connect wi[...]

  • Page 99

    M3062PT3-RPD-E User ’s Manu al 5. T roubleshooting REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 99 of 104 (3) Editor (Source) Window is Not Di splayed at Debugger S tartup (User System Not Connected) T able 5.3 Checkp oints of e rrors when starting up the em ulator debugger (u ser system not connected) Error Checkpoint ERROR 16005: Can't con[...]

  • Page 100

    M3062PT3-RPD-E User ’s Manu al 5. T roubleshooting REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 100 of 104 5.3 How to Request for Support After checking the items in "5 T roub leshooting", fill in the text file wh ich is downloaded from the following URL, then send the information to your local distributor . http://tool-support.renesas.[...]

  • Page 101

    M3062PT3-RPD-E User ’s Manu al 6. Maintenance and Guarantee REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 101 of 104 6. Maintenance and Guarantee This chapter describes how to maintenance, repa ir provisions and how to request for repair . 6.1 User Registration When you purcha se our product, be sure register as a user. For user r egistration, ref[...]

  • Page 102

    M3062PT3-RPD-E User ’s Manu al 6. Maintenance and Guarantee REJ10J0040-0600 Rev. 6.00 July 01, 2006 Page 102 of 104 6.5 How to Make Request for Repair If your product is found faulty, fill in the Repair Requ est Sheet included with th is product, then send it along with this prod uct for repair to your local distributor. Make sure that informati [...]

  • Page 103

    Emulation Pod for M16C/62P and M16C/30P Grou p M3062PT3-RPD-E User’s Manual Publication Date: Jul. 01, 2006 Rev.6.00 Published by: Sales S trategic Planning Div . Renesas Technology Co rp . Edited by: Microcomputer Tool Developme nt Department Renesas Solutions Co rp. © 2006. Renesas Technology Corp. and Renesas Solutions Corp., All rights reser[...]

  • Page 104

    M3062PT3-RPD-E User's Manual[...]