Renesas M16C/30P 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

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Renesas M16C/30P. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoRenesas M16C/30P vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Renesas M16C/30P você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Renesas M16C/30P, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Renesas M16C/30P deve conte:
- dados técnicos do dispositivo Renesas M16C/30P
- nome do fabricante e ano de fabricação do dispositivo Renesas M16C/30P
- instruções de utilização, regulação e manutenção do dispositivo Renesas M16C/30P
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Renesas M16C/30P não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Renesas M16C/30P e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Renesas na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Renesas M16C/30P, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Renesas M16C/30P, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Renesas M16C/30P. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    REJ10J0868-0200 ( T ) M3062PT2-EPB User’s Manual Emulation Probe for M16C/ 62P and M16C/30P Grou p s Rev.2.00 Jan. 16, 2006[...]

  • Página 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,[...]

  • Página 3

    M3062PT2-EPB User’s Ma nual Preface REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 3 of 102 Preface The M3062PT 2-EPB is an em ulation pro be for M16C/ 60 Series M16C 62P and M16C /30 Series M16 C30P Groups MCUs. The M3062PT2-E PB is used by connectin g to the PC7 501 emulator m ain unit. This user's m anual mainl y describes spe cification[...]

  • Página 4

    M3062PT2-EPB User’s ma nual Important REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 4 of 102 Important Before usin g this prod uct, be sure to read thi s user’s m anual carefully. Keep this use r’s manual, an d refer to thi s when yo u have questi ons about thi s product. Emulator: The emulator in this document refers to the following pro d[...]

  • Página 5

    M3062PT2-EPB User’s ma nual Important REJ10J0868-0200 Rev.2.00 January 16, 200 6 Usage restrictions: This emulat or has been devel oped as a m eans of supp orting system development 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 equipm ent used fo [...]

  • Página 6

    M3062PT2-EPB User’s Manual Precautions for safety REJ10J0868-0200 Rev.2.00 January 16, 200 6 Precautions for Safety Definitions of Signal Words In both t he user’s manual a nd on the product i tself, several icons a re used t o insure pro per handl ing of t his product and also to prevent inj uries to you or other persons, or damage to your pro[...]

  • Página 7

    M3062PT2-EPB User’s Manual Precautions for safety REJ10J0868-0200 Rev.2.00 January 16, 200 6 WARNING Warnings for AC Power Su pply:  If the attached AC power cable does not fi t 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.  Use an AC power cable which c[...]

  • Página 8

    M3062PT2-EPB User’s Manual Precautions for safety REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 8 of 102 CAUTION Cautions to Be Taken for Turning On the Power:  Turn ON/OFF the power of the emulator and use r system as sim ultaneously as possi ble.  Do not leave either the emulat or or user system powered on, because of leak age current t[...]

  • Página 9

    M3062PT2-EPB User’s Ma nual Contents REJ10J0868-0200 Rev.2.00 January 16, 200 6 Contents Page Preface ..........................................................................................................................................................................3 Important ................................................................[...]

  • Página 10

    M3062PT2-EPB User’s Ma nual Contents REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 3. Usage (How to Use the Emulator Debugger) .........................................................................................................49 3.1 Starting Up the Emulator Debugger .........................................................................[...]

  • Página 11

    M3062PT2-EPB User’s Ma nual User Registration REJ10J0868-0200 Rev.2.00 January 16, 200 6 User Registration When you have purc hased the emulat or presented in this user's m anual, please be sure to regist er it. As the H/W Tool Customer Registration Sheet is included with this manual, fill it in and FAX it to your local distributor or email [...]

  • Página 12

    M3062PT2-EPB User’s Manual Terminology REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 12 of 102 Terminology Some specific words used in this user's m anual are define d as follows: Emulator sys tem This means an emulator system built around the PC7501 emulator. The PC7501 emulator system is configured with an emulator m ain unit, emul ation[...]

  • Página 13

    M3062PT2-EPB User’s Ma nual 1. Outline REJ10J0868-0200 Rev.2.00 January 16, 200 6 1. Outline This ch apter descri bes the pack age comp onents , the system c onfi guration, th e specifications of the emu lator functions and the operatin g environm ent. 1.1 Package Components The M3062PT2-EPB pack age consists of the following ite ms. When unpacki[...]

  • Página 14

    M3062PT2-EPB User’s Ma nual 1. Outline REJ10J0868-0200 Rev.2.00 January 16, 200 6 1.2 Other Tool Products Required for Development To bring f orward program s development on an M16C/60 Series of the M 16C/62P G roup, and M 16C/30 Seri es of the M16C/30P Group MCUs, the products listed below are necessary in addition to those contained packag e ab[...]

  • Página 15

    M3062PT2-EPB User’s Ma nual 1. Outline REJ10J0868-0200 Rev.2.00 January 16, 200 6 1.3 System Configuration 1.3.1 System Configuration Figure 1.2 s hows a confi guration of the M306 2PT2-EPB s ystem. Figure 1.2 Syst em configuration (1) Emulation pr obe M3062PT 2-EPB (this p roduct) This is an em ulation probe fo r the M16C/60 Series M16C/62P G ro[...]

  • Página 16

    M3062PT2-EPB User’s Ma nual 1. Outline REJ10J0868-0200 Rev.2.00 January 16, 200 6 1.3.2 Names and Functio ns of the PC7501 Upper Panel LEDs Figure 1.3 s hows the nam es of the LEDs on the upper pa nel of the em ulator. Figure 1.3 Names of the LE Ds on the up per panel of t he PC7501 (1) System Status LEDs The system status LEDs indicate the emul [...]

  • Página 17

    M3062PT2-EPB User’s Ma nual 1. Outline REJ10J0868-0200 Rev.2.00 January 16, 200 6 (2) Target Status LEDs The target status LEDs indicate operating status of the target MCU and power supply of the user system. Table 1.4 lists the definition of each target st atus LED. Table 1.4 Defi nition of t he target statu s LEDs Name Status Meaning ON Power i[...]

  • Página 18

    M3062PT2-EPB User’s Ma nual 1. Outline REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 18 of 102 1.4 Specifications Tables 1.5 and 1.6 list t he specifications of the M3062PT 2-EPB. Table 1.5 Spec ifications of the M3062PT2 -EPB (1/2) Applicable M CU M16C/60 Series M16C /62P Grou p and M16C /30 Series M 16C/30P Gr oup MCUs Applicable M CU mode Si[...]

  • Página 19

    M3062PT2-EPB User’s Ma nual 1. Outline REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 19 of 102 Table 1.6 Spec ifications of the M3062PT2 -EPB (2/2) For 80-pin 0. 65-mm-pi tch QFP ( PRQP0080JA-A Prev ious code: 80P6S-A): M3062PT-8 0FPB (not i ncluded) For 100-pi n LCC soc ket: M30800T-PT C (include d) + IC61-1 004-051 (included) For 100-pi n 0.6[...]

  • Página 20

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 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 Star ting Up the Emulator The procedure fo r starting up the emulator is shown in Figur e 2.1. For det[...]

  • Página 21

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.2 Installing the Emulator Debugger (M16C R8C PC7501 Emulator Debugger) If the OS used in your host machin e is Windows XP or 2000 , th is installation must be executed by a user with administrator rights. Be aware that users without administrato r rights cannot comp[...]

  • Página 22

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.3 Connecting the Host Machine When connectin g the emulator PC7501 to a host machine, you can choose your desired interface from LPT parallel in terface, USB interface and LAN int erface. Use the interface selection s witch on the emulator PC7501' s rear panel [...]

  • Página 23

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.4 Connecting the PC7501 Figure 2.3 shows how to connect th e PC7501 and the emulation probe. M3T-FLX160-E PB M3062PT2 -EPB Figure 2.3 C onnecting the PC 7501 and em ulation probe CAUTION Cautions for Connecting the PC7 501:  When connecti ng the emulat ion probe,[...]

  • Página 24

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.5 Connecting the Power Supply for the Emulator The power is supplied from AC adapter to the emulator PC7501. Here following ex plains how t o connect the AC adapter. (1) Turn OFF the power to th e PC7501. (2) Connect the DC cable of AC adapter to the PC7501. (3) Con[...]

  • Página 25

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 25 of 102 2.6 Turning ON the Power 2.6.1 Checking the Connections of the Emulator Syste m Before turning the power ON, check the connection of the interface cable with host machine, PC7501, emulation probe, and user system. 2.6.2 Turning ON/OFF the Powe r  Tur[...]

  • Página 26

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.6.3 LED Display When the Emulator Starts Up No rmally Figure 2.4 shows upper pan el LED lighting status when the emulator started up properly. Check it when star ting up the emulator sy stem. Figure 2.4 LED disp lay when the power tu rned on PC7501 IMPORTANT Note on[...]

  • Página 27

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.7 Downloading Firmware 2.7.1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below. Normally, the follo wing are automatically detected when the emulator d ebugger is start ed up, and t he firmware is d ownloade[...]

  • Página 28

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.8 Self-check 2.8.1 Self-check Procedure The self-check is a function t o check the memory etc. m ounted in the emulator. To run th e self-check of the em ulator, do so as explained here below. While the self-check is in progress, the LEDs will change as s hown in Fi[...]

  • Página 29

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.8.2 If an Error is Detected in the Self-check If the self-c heck does not result no rmally (ERR OR 1 to ERROR 4 in Figure 2.6), check t he followin g. (1) Recheck th e connection of the emulation probe and PC7501. (2) Redownload the proper firm ware. IMPORTANT Note [...]

  • Página 30

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9 Connecting the User System Figure 2.7 shows how to connect this product according to your user syst em. Figure 2.7 Connecting the user sy stem according to user system CAUTION Note on Connecting the User System:  Take care not to attach a converter board in a w[...]

  • Página 31

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.1 Connecting to an 80-pin 0.65-mm-pitch Foot Pattern Here followin g is a procedure of connecting to an 80-pin 0 .65-mm -pitch foot patte rn on the user syst em using the M30 62PT- 80FPB (not i ncluded) . For detail s on the M306 2PT-80FPB (not include d), refer t[...]

  • Página 32

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.2 Connecting to a 100-pin LCC Socket Here following is a procedure of connecting to a 100-pin LCC socket (IC61- 1004-051 of Yamaichi Electro nics Co., Ltd.) on the user system using the inc luded M308 00T-PTC. (1) Attach the CN2 side of the M30800T-PTC to the J4 s[...]

  • Página 33

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 33 of 102 2.9.3 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1 ) Here followin g is a procedure of connecting t o a 100-pin 0.65 -mm-pitc h foot pattern on the user system usi ng the M3T-F16 0- 100NRB (n ot included). F or detail s on the M3T-F1 60-10[...]

  • Página 34

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.4 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 2 ) Here followin g is a procedure of co nnecting to a 100 -pin 0.65-mm -pitch foot pattern on the user system usi ng the M3T- DIRECT100 S (not incl uded). For details on t he M3T-100LC C-DMS (not i nclude[...]

  • Página 35

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.5 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 3 ) Here followin g is a procedure of co nnecting to a 100 -pin 0.65-mm -pitch foot pattern on the user system usi ng the M3T- DUMMY100S (not included). Fo r details on the M3T- 100LCC-DMS ( not included) [...]

  • Página 36

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.6 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 4 ) Here followi ng is a proce dure of con necting to a 10 0-pin 0.65 -mm-pit ch foot patter n on the user system usi ng the M3T-FL X- 100NRB (n ot included). For detai ls on the M3T-100LCC -DMS (n ot incl[...]

  • Página 37

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.7 Connecting to a 100-pin 0.5-mm-pi tch Foot Pattern (Part 1) Here following is a pro cedure of conn ecting to a 100-pin 0.5-mm-p itch foot pattern on the user system using the M3T- F160- 100NSD (n ot included). For detai ls on the M3T- F160-100N SD (not incl uded[...]

  • Página 38

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.8 Connecting to a 100-pin 0.5-mm-pi tch Foot Pattern (Part 2) Here follo wing is a pr ocedure of con necting to a 1 00-pin 0.5-m m-pitch foot pattern on the use r system usi ng the M3T- 100LCC-QS D (not include d). For det ails on the M 3T-100LCC-QS D (not incl ud[...]

  • Página 39

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.9 Connecting to a 100-pin 0.5-mm-pi tch Foot Pattern (Part 3) Here followin g is a procedure of c onnecting to a 100-pin 0. 5-mm-pit ch foot patte rn on the user sy stem using the M3T- FLX- 100NSD (not includ ed). For details on the M3T-100 LCC-DMS (not included) [...]

  • Página 40

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.9.10 Connecting to a 128-pin 0.5-mm -pitch Foot Pattern Here following is a pro cedure of conn ecting to a 128-pin 0.5-mm-p itch foot pattern on the user system using the M3T- F160- 128NRD (not included). For detail s on the M3T-F1 60-128NR D (not includ ed), refer [...]

  • Página 41

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.10 Switch Settings 2.10.1 Switch Settings of the JP1 Set jumper switch JP1 according to a powe r s upply you use. Figure 2.18 shows the po sitions of jum per switch JP1. Table 2.2 lists how to set the switch. Figure 2.1 8 Position of the JP1 Table 2.2 Switch setting[...]

  • Página 42

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.10.2 A/D Conversion Bypass Capacitors There is a f oot pattern o n the M3062PT2-E PBM board for m ounting bypass ca pacitors for t he A/D co nversion circui t near the MCU. Mount suitable bypass capacitors as occasion dem ands. Figure 2.19 s hows where they are inst[...]

  • Página 43

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.10.3 Pullup of Emulation Ports Because this product emulates some I/O port s (P0 to P5, P10), you ca n not pullup ports P0 to P5 by the pu llup control registers . Install the included resist or arrays (51 k Ω ) as necessary. Figure 2.20 shows the po sitions of th[...]

  • Página 44

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.11 Selecting Clock Supply 2.11.1 Clocks You can choos e a clock sup plied to the eval uation MCU b y the Emulat or tab in the I nit dialog b ox of the em ulator debu gger. Table 2.4 shows the clocks and their initial settings. Table 2.4 Cl ock suppl y to the M CU Cl[...]

  • Página 45

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 (2) Replacing an Oscillator Circuit Board 1. Remove the four screws of both sides of this product and lift off the upper cover (see Fig ure 2.21). Figure 2.2 1 Removing t he upper cover Page 45 of 102[...]

  • Página 46

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2. Replace the oscillator circ u it board (see Figure 2.22). Os cillator ci rcuit boar d The Figure on the left shows the oscillator circuit board. Unscrew the screw securing the oscillator circuit board. Lift off the oscillator circuit board. Attach another oscillato[...]

  • Página 47

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 (3) Using the Internal O scillator Circuit Bare Board To use the emulation probe at a frequency you like, build a desi red oscillator circuit on the included OSC-2 o scillator circuit bare board. Figure 2.23 shows an external view of the OSC-2 oscillator circuit bare [...]

  • Página 48

    M3062PT2-EPB User’s Ma nual 2. Setup REJ10J0868-0200 Rev.2.00 January 16, 200 6 2.11.3 Using the Oscillator Circuit on the User System To operate this product with an external clock, con struct the oscillator circuit as shown in Figure 2.25 in the user system and input the oscillato r output at 50% duty (within the operatin g range of the evaluat[...]

  • Página 49

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3. Usage (How to Use the Emulator Debugger) This chapter describe s how to start up the emulator debugger from the High-per formance Embedded Workshop. 3.1 Starting Up the Emulator Debugger When debu gging the com pleted prog rams, [...]

  • Página 50

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 2. Specifying the comm unication interface Specifying the communication interface (LPT communication) - For selecting the LPT communication, click the ra dio button “LPT” of the MCU tab. - For the Type area, specify the LPT inte[...]

  • Página 51

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3. Executin g the self-check Executing the self-check Enable this function when you wa nt the emulator to be self- checked at startup. Be sure to select the check box only when you want the emulator to be self-checked at startup. Th[...]

  • Página 52

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 (2) Debuggi ng Information tab Specifying the compiler used and the ob ject format Specify the compiler you are using and the f ormat of the object file output by the compiler. - Compiler Select the compiler you are using. (By defau[...]

  • Página 53

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 (4) Automatically executing a script c ommand Automatically executing a scri pt command To automatically execute a script command when starting up the debugger, click the “Refer...” button and specify the script file to be execu[...]

  • Página 54

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3.1.2 MCU Setting Dialog Box MCU setting dialog box sets the information of th e user system . It will be displayed after closing the Init dialog box. When the tab settings of 1 to 3 have been fini shed, click “OK”. (1) MCU tab [...]

  • Página 55

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 2. Option Setting the debug options Check the box when not downloading the program to the internal flash ROM of the MCU. If this box is checked, the working efficiency (dow nloading, software break, etc.) will be improved because th[...]

  • Página 56

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 (2) MAP tab Specifying the emulation memory allocation Sets the memory area assigned to the emulation memory by 4KB. Up to four areas can be set. An area set to [INTERN AL] will be allocated to the emulation memory by selecting the [...]

  • Página 57

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3.1.3 Checking Connections of the Emulator System Checking conne ctions of the emulator system When the emulator debugger is connected cor rectly to the emulator after you’ve finished setting up the Init dialog box and the MCU Set[...]

  • Página 58

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3.2 Editor (Source) Window (1) Program window Downloading the progra m Download the object program you want to debug. Select Download from “xxx.x30” of “Download module”. Or you can select “Downloa d” from the “Debug?[...]

  • Página 59

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 (3) 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 reset the tar get MCU. Step In Single-steps the program executing each statement (in[...]

  • Página 60

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 (4) Setting break p oints 1. Screen afte r software b reakpoint setup Breakpoint setup scre en There are three types of breakpoints as described below. - Address match breakpoint This breakpoint can be set only when you chose to use[...]

  • Página 61

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 61 of 102 (5) Executing up to the cursor po s ition (Come command) 1. Specifying the Com e command Setup procedure for executing CO ME command (1) Click the line in t he progr am dis play are a at whic h you want the program to[...]

  • Página 62

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 62 of 102 3.3 Hardware Breakpoint Setting Window (1) Breakpo int setup dialog box 1. Opening the hard ware breakpoint set u p di al og b ox Hardware Break Poi nt Clicking this button opens the hardware breakpoint setup dialog b[...]

  • Página 63

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3. Opening the break ev ent setting dialog box Specifying the event type Click to select the event type you want to set. - FETCH Detects an instruction prefetch. - DATA ACCESS Detects a memory access. - BIT SYMBOL Detects a bit acce[...]

  • Página 64

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 (3) When DATA ACCESS is selected 1. Window for setting the address Setting the address You can set eight conditions, e. g., a specified address, a specified address range, etc. 2. Window for set ting data Setting data You can set ei[...]

  • Página 65

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3. Example Da ta Settings Setting a break event A1 Address 1 : 0020E8 Data 1 : 5423 MASK : FFFF Access : WRITE Setting a break event (using 2 events) A1 A2 Address 1 : 0020E5 Address 1 : 0020E6 Data 1 : 7900 Data 1 : 00AB MASK : FF0[...]

  • Página 66

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 (4) Setting the combinatorial event con dition 1. Window for setting the co mbinatorial event condition Setting the combinatorial event condition There are following four conditions t hat you can choose for the combinatorial events.[...]

  • Página 67

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3.4 Trace Window The trace window is used to show the results of real -time trace measurem ents. (1) Trace window 1. Trace window display Trace window The trace window is used to show the results of real-time trace measurements. It [...]

  • Página 68

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 2. Trace window (Bus display) 3. Trace window (Disassemble display) 4. Trace window (Source display) Explanation of the trace window (b us display) The following explains the displayed contents, from left to right. - Address Shows t[...]

  • Página 69

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 69 of 102 (2) Trace point setup window 1 Trace point s etup window Trace Point Setting Win dow in initial state Clicking this toolbar button opens the t race point setting window. You can set events in the sa me way as for the [...]

  • Página 70

    M3062PT2-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0868-0200 Rev.2.00 January 16, 200 6 3.5 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 fo r target progra m execution. The emulator PC7501 system is provided wi[...]

  • Página 71

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 4. Hardware Specifications This chapter describes speci fications of thi s product. 4.1 Target MCU Specifications Table 4.1 lists the specification s of target MCUs which can be debugg ed with this product. Table 4.1 Spec ifications of target MCUs f o[...]

  • Página 72

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 4.2 Access Timing Because this product emulates som e port s, access timings are different from those of t he actual MCUs. Chapters 4.2.1 and 4.2.2 describe the access ti ming using t his product. 4.2.1 Operation Timing of Memory Expansi on Mode and M[...]

  • Página 73

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 Figure 4.1 M emory expa nsion mode a nd microprocess or mode (3 wait, accessing ext ernal area) Re a d tim in g Wr i t e t i m i n g BCLK CSi ADi BHE ALE RD DBi td( BCLK-CS) th( BCLK-CS ) tcyc td(BC LK-A D) th (BC LK-A D) th(RD -CS) td( BCLK-ALE) th(B[...]

  • Página 74

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 (2) Multiplex Bus Timing Table 4.3 and Figure 4.2 show the bu s timing in m emory expansion mode an d microprocessor m ode (2-wait, accessing external area, using multiplex bus). Table 4.3 Memory expansion mode and micro processor mode (2-wait, access[...]

  • Página 75

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 Figure 4.2 Memory expansion mode and micropro cessor mode (2 wait, accessing external area, using multiplex bus) Read timing Write timing BCLK CSi ADi BHE ALE RD ADi /DBi td(BCL K-C S) th(BCLK-CS ) tcyc td(BCLK-AD) th(BCLK -AD) th(RD-CS) td(BCLK-ALE) [...]

  • Página 76

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 (3) Timing Requirements Tables 4.4 and Figure 4. 3 list the tim ing requirem ents in m emory expansio n mode and m icroprocessor m ode.. Table 4.4 Tim ing requirem ents Actual MCU [ns] This product [ns] Symbol Item Min. Max. Min. Max. tsu(DB-R D) Dat [...]

  • Página 77

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 4.2.2 Operation Timing of Memory Expansi on Mode and Microproce ssor Mode (Vcc1=Vcc2=3V) (1) Separate Bus Timing Table 4.5 and Figure 4.4 show the bus tim ing in memory expa nsion mode and m icropr ocessor m ode (3 wait, accessing external area). Tabl[...]

  • Página 78

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 Figure 4.4 M emory expa nsion mode a nd microprocess or mode (3 wait, accessing ext ernal area) Read timing Write timi ng BCLK CSi ADi BHE ALE RD DBi td(BCLK -CS) th(BCLK- CS) tcyc td(BCLK- AD) th(BCLK-AD) th(RD- CS) td(BCLK-AL E) th(BCLK-ALE ) th(RD-[...]

  • Página 79

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 (2) Multiplex Bus Timing Table 4.6 and Figure 4.5 show the bus tim ing in memory expa nsion mode and m icropr ocessor m ode (2 wait, accessing external area and using multiplex bus). Table 4.6 Mem ory expansion mode and m icroprocessor mode (2 wait, a[...]

  • Página 80

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 Figure 4.5 Memory expansion mode and micropro cessor mode (2 wait, accessing external area and using multiplex bus) Read timing Write timing BCLK CSi ADi BHE ALE RD ADi /DBi td(BCLK-CS) th(BCLK-CS) tcyc td(BCL K-A D) th(BCLK-AD) th(RD-CS) td(BCLK-ALE)[...]

  • Página 81

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 (3) Timing Requirements Table 4.7 and Figures 4. 6 show tim ing requirem ents in mem ory expansion m ode and m icroprocessor m ode. Table 4.7 Tim ing requirem ents Actual MCU [ns] This product [ns] Symbol Item Min. Max. Min. Max. tsu(DB-R D) Dat a inp[...]

  • Página 82

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 4.3 Differences between the Actual MCU and Emulator Differences be tween the actual MCU and em ulator are show n below. When debuggin g the MCU usin g this product , be careful about the following precautions. IMPORTANT Note on Differences between the[...]

  • Página 83

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 83 of 102 IMPORTANT Note on Voltage Detect Circuit:  With this pro duct, as the powe r voltage cannot be change after powering on the user system, the voltage detect circuit (voltage down detect interrup t, voltage down det ect reset, etc.) ca[...]

  • Página 84

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 Page 84 of 102 IMPORTANT Notes on Pullup Control:  Because t his product emulates some I/O ports (P0 t o P5 , P10), you can not pullup port s P0 to P5 by t he pullup control register s, Install the included resi stor arrays (51 k Ω ) as necessary[...]

  • Página 85

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev.2.00 January 16, 200 6 4.4 Connection Diagrams Figure 4.7 shows a connection d iagram of the M3062PT2-EPB. Th is connection diagram mainly show th e circuit to be connected to the user system. The circuits not connected to the user system such as the emulator’s control sy[...]

  • Página 86

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 Table 4.8 Electrical charact eristics of the 74HC4066 Condition Standa rd values Unit Symbol Item VCC Min. Standar d Max. R ON ON resistor 4.5V - 96 170 Δ R ON ON resistor difference 4.5V - 10 - Ω I OFF Leak current (Off) 12.0V - - ±100 nA I IZ L[...]

  • Página 87

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Probe Figure 4.8 s hows exter nal dimensions of the M3 062PT2-EPB . Figure 4.8 Ext ernal dimensi ons of the emulation pro be 512 100.0 60.0 15.0 15.0 55.0 15. 0 5.5 10.8 16.3 34.3 10.[...]

  • Página 88

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 4.5.2 External Dimensions of the M30800T-PT C Figure 4.9 s hows exter nal dimensions of the convert er board M 30800T-PTC for a 100-pin LCC (included with the M30 62PT2- EPB). Figure 4.9 Ext ernal dimensi ons of the M30800T-P TC 1 30 31 50 C N 2 C N [...]

  • Página 89

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 4.6 Notes on Using This Product Notes on usi ng this prod uct are listed bel ow. When deb ugging the M CU using he emul ator, be careful about the followi ng precautions. IMPORTANT Note on the Version of the Emulator Debugge r:  Be sure to use thi[...]

  • Página 90

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 IMPORTANT Note on Clock Supply to the MCU:  A clock suppl ied to the evalu ation MCU is selected by the Em ulator tab in the Init dialog box of the emulator debugger. (1) When "Interna l" is selected: A clock generated by the oscillator [...]

  • Página 91

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 IMPORTANT Note on Access Prohibited Area:  You cannot use internally reserved ar eas. Write signals to the areas will be igno red, and values read will be undefine d. Note on Breaks:  The area displa ying break points in the pr ogram windo w of[...]

  • Página 92

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 IMPORTANT Notes on Internal Flash ROM of the MCU:  In single-c hip mode and memory expa nsion modes, this prod uct downloa ds a user prog ram to the flas h ROM of an MCU. By checking "Debug Option " in the MCU tab of the MCU setting dial[...]

  • Página 93

    M3062PT2-EPB User’s Manual 4. Hardware Specifications REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 IMPORTANT Notes on Debugging in CP U Rewrite Mode:  When you deb ug an M16C/6 0 Series MCUs i n CPU rewrit e mode, do not change t he block 0 a rea (FF000h-- FFFFFh) of the flash memory . Otherwise, the emulator will be uncontrollable.  If you [...]

  • Página 94

    M3062PT2-EPB User’s Manual 5. Troubleshooting REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 5. Troubleshooting This chapte r describes h ow to troubl eshoot whe n this prod uct does not work properly . 5.1 Flowchart to Remedy the Troubles Figure 5.1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the em[...]

  • Página 95

    M3062PT2-EPB User’s Manual 5. Troubleshooting REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 5.2 When the Emulator Debugger D oes Not Start Up Properly (1) When the LEDs of the PC7501 Do Not Display Normally Table 5.1 Err ors LEDs show and their check points Error Connection to the user system Checkpoint LEDs do not light up. - Check that the power [...]

  • Página 96

    M3062PT2-EPB User’s Manual 5. Troubleshooting REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 (2) MCU Setting Dialog Box Does Not Appear at Emulator Debugger Startup Table 5.2 Chec kpoints of e rrors at debu gger startup Error Checkpoint Communi cation error occur red. Data was not sent to the target. Check all emulator debugger settings, interface c[...]

  • Página 97

    M3062PT2-EPB User’s Manual 5. Troubleshooting REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 (3) Errors Occu r at Em ulator Debugger Startup Table 5.4 Chec kpoints of e rrors at debu gger startup Error Checkpoint Target MCU is uncontroll able. (1) Check that the NQPAC K etc. mounted on the user sy stem is soldere d properly. (2) Check that the conne[...]

  • Página 98

    M3062PT2-EPB User’s Manual 5. Troubleshooting REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 5.3 How to Request for Support After checking the items in "5 Troubleshoo ti ng", fill in the text file wh ich is downloaded from the fo llowing URL, then send the information to your local distributor. http://tool-support.renesas.com/eng /toolnews[...]

  • Página 99

    M3062PT2-EPB User’s Manual 6. Maintenance and Guarantee REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 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 purchase our product, be sure register as a user. For user registration, refe r to “Use r reg[...]

  • Página 100

    M3062PT2-EPB User’s Manual 6. Maintenance and Guarantee REJ10J0868-0200 Rev. 2.00 Januar y 16, 2006 (3) Expiration of the repair period When a period of one y ear elapses after the model was dr opped from production, repairing prod ucts of the m odel may become im possible. (4) Transportation fees at sending your pro duct for repair Please send y[...]

  • Página 101

    Emulation Probe for M16C/62P and M16C/30P Groups User’s Ma nual M3062PT2-EPB Publication Date: Jan. 16, 2006 Rev.2.00 Published by: Sales Strategic Planning Div. Renesas Technology Corp . Edited by: Microcomputer Tool Development Department Renesas Solutions Co rp. © 2006. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved[...]

  • Página 102

    M3062PT2-EPB User’s Manual[...]