Renesas Emulation Probe for M32C/88 Group M30880T-EPB manuel d'utilisation

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

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Renesas Emulation Probe for M32C/88 Group M30880T-EPB. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Renesas Emulation Probe for M32C/88 Group M30880T-EPB ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Renesas Emulation Probe for M32C/88 Group M30880T-EPB décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Renesas Emulation Probe for M32C/88 Group M30880T-EPB devrait contenir:
- informations sur les caractéristiques techniques du dispositif Renesas Emulation Probe for M32C/88 Group M30880T-EPB
- nom du fabricant et année de fabrication Renesas Emulation Probe for M32C/88 Group M30880T-EPB
- instructions d'utilisation, de réglage et d’entretien de l'équipement Renesas Emulation Probe for M32C/88 Group M30880T-EPB
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Renesas Emulation Probe for M32C/88 Group M30880T-EPB ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Renesas Emulation Probe for M32C/88 Group M30880T-EPB et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Renesas en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Renesas Emulation Probe for M32C/88 Group M30880T-EPB, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Renesas Emulation Probe for M32C/88 Group M30880T-EPB, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Renesas Emulation Probe for M32C/88 Group M30880T-EPB. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    REJ10J0497-0100Z M30880T-EPB Rev.1.00 Jan. 16, 2005 User's Manual Emulation Probe for M32C/88 Grou p[...]

  • Page 2

    1. Renesas Technology Corp . puts the maximum effort into making semicon ductor products better and more reliable, but there is al ways the possibility that trouble may occur with them . Trouble with semico nductors may lead to perso nal injury, fire or prope rty damage. Remember to give due consi deration to safety when makin g your circuit design[...]

  • Page 3

    M30880T-EPB User’s Manual Preface REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 3 of 100 Preface The M30880T-EPB is an emulatio n probe for the M32 C/88 Group MCUs. The M30 880T-EPB is used by conn ecting to the PC7501 emulator main unit. This user's m anual mainly describes specifi cations of the M308 80T-EP B emul ation probe and how to[...]

  • Page 4

    M30880T-EPB User’s Manual Important REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 4 of 100 Important Before usin g this prod uct, be su re to read t his user’s manual careful ly. Keep this use r’s manual , and refer t o this wh en you have questions ab out this pr oduct. Emulator: The emulator in this document refers to the following pro d[...]

  • Page 5

    M30880T-EPB User’s Manual Important REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 5 of 100 Usage restrictions: This emulat or has been de veloped as a means of s upporti ng system development by users. The refore, do not use it as a device used for eq uipment-em bedded appl ications. Al so, do n ot use it f or developi ng the system s or equip[...]

  • Page 6

    M30880T-EPB User’s Manual Precautions for Safety REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 6 of 100 Precautions for Safety Definitions of Signal Words In both t he user’s manual a nd on t he pro duct itself, several i cons are used to i nsure pro per handl ing of this prod uct and als o to prevent inj uries to you or other person s, or d[...]

  • Page 7

    M30880T-EPB User’s Manual Precautions for Safety REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 7 of 100 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 pl ug it forcibly. Failure to comply may cause electric shock and/or fire.  Use an AC powe[...]

  • Page 8

    M30880T-EPB User’s Manual Precautions for Safety REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 8 of 100 CAUTION Cautions to Be Taken for Turning On the Power:  Turn ON the power of the e mulator and user system as simultaneously as possible. Turn O FF the power of t he emulator and user system as sim ultaneously as possible.  Do not leav[...]

  • Page 9

    M30880T-EPB User’s Manual Contents REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 9 of 100 Contents Preface .......................................................................................................................................................................... 3 Import ant ......................................................[...]

  • Page 10

    M30880T-EPB User’s Manual Contents REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 10 of 100 4. Hardware Sp ecifications ..................................................................................................... ................................... 77 4.1 Target MCU Specific ations ......................................................[...]

  • Page 11

    M30880T-EPB User’s Manual User Registration REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 11 of 100 User Registration When you have purchased the emulator presented in this user's manua l, please be sure to register it. As the hardw are tool user registration FAX sheet is includ ed with this manual, fill it in and FAX it to your local dis[...]

  • Page 12

    M30880T-EPB User’s Manual Terminology REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 12 of 100 Terminology Some specific words used i n this user's manual are defi ned as fol lows: Emulator syst em This means an emulator system built around the PC7501 emulator. The PC7501 emulato r system is configured with an emulator m ain unit, em ulati[...]

  • Page 13

    M30880T-EPB User’s Manual 1. Outline REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 13 of 100 1. Outline This chapter describes the package c omponen ts, the system configuration and the prepar ation for using this pro duct for the firs t time. 1.1 Package Components The M30880T-EPB package co nsists of the following items. When unpack ing it, [...]

  • Page 14

    M30880T-EPB User’s Manual 1. Outline REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 14 of 100 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 s hows a confi gurati on of the M3 0880T-EPB sy stem. Figure 1.1 Syst em configurat ion (1) Emulation probe M30880T-EPB (this product) This emulat ion probe cont ains an evaluat ion MCU. (2[...]

  • Page 15

    M30880T-EPB User’s Manual 1. Outline REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 15 of 100 1.3.2 Names and Function s of the PC7501 Upper Panel LEDs Figure 1.2 s hows the nam es of the LE Ds on the u pper panel of the emulat or. Figure 1.2 Names of t he LEDs on the upper panel of the PC 7501 (1) System Status LEDs The system status LEDs indi[...]

  • Page 16

    M30880T-EPB User’s Manual 1. Outline REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 16 of 100 (2) Target Status LEDs The target status LE Ds indicat e the target M CU's operati ng status and t arget board' s power su pply. Table 1 .4 lists the defi niti on of each target status LED. Table 1.4 Defi nitions o f the target stat us LEDs N[...]

  • Page 17

    M30880T-EPB User’s Manual 1. Outline REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 17 of 100 1.4 Specifications Tables 1.5 and 1.6 list the specifi cations of t he M30880T-E PB. Table 1.5 M30880T -EPB specificati ons (1/2) Applicable MCUs M32C/88 Group Evaluation MCU M30882FJVGP ROM size: 512 KB + 4 KB, RAM size: 18 KB Usable m ode Single-chi [...]

  • Page 18

    M30880T-EPB User’s Manual 1. Outline REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 18 of 100 Table 1.6 M30880T -EPB specificati ons (2/2) Host machine interface - LPT parallel (ECP, EPP, By te/compatibility and Nibble/com patibility modes) - USB ( USB 1.1, full- speed) - LAN (10BASE-T) Pow er sup pl y t o emul ato r Supplied from included AC a[...]

  • Page 19

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 19 of 100 2. Setup This chapter describes the preparatio n for usi ng this pr oduct, the p rocedure f or startin g up the em ulator and how to cha nge settings. 2.1 Flowchart of Star ting Up the Emulator The procedure fo r starting up the emulator is shown in Figu[...]

  • Page 20

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 20 of 100 2.2 Installing the Emulator Debugger If the OS used in your host mach ine is Windows X P or 2000, th is installation must be executed by a user with administrator rights. Be aware that users without administrator rights cann ot complete the installation [...]

  • Page 21

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 21 of 100 2.3 Connecting the Host Machine When connectin g the emulator PC7501 to a host machine, you can choo se your desired interface fr om LPT parallel interface, USB interface and LAN int erface. Use the interface selection switch on the emulator PC7501'[...]

  • Page 22

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 22 of 100 2.4 Connecting the PC7501 Figure 2.3 shows how to conn ect the PC7501 and the emulation probe. M3T-FLX 160-E PB M30880T-EP B Note: Connect t he PCA7501EPBA bo ard side to the M3T-FLX160-EPB. Figure 2.3 C onnecting the PC 7501 and emulation probe CAUTION [...]

  • Page 23

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 23 of 100 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 the PC7501. (2) Connect the DC cable of AC adapter to the PC[...]

  • Page 24

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 24 of 100 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 Power  Turn [...]

  • Page 25

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 25 of 100 2.6.4 LED Display When the Emulator Starts Up No rmally Figure 2.4 shows upper panel LED ligh ting status when the emulator started up properly. Check it when star ting up the emulator sy stem . POWER CLOCK RUN RESET WARNING TARGET STATUS SYSTEM STATUS P[...]

  • Page 26

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 26 of 100 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 following are automatically d etected when the emulator d ebugger is start ed up, a nd the firm war[...]

  • Page 27

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 27 of 100 2.8 Self-check 2.8.1 Self-check Procedure To run the emulator self-check, do so as explained here below. While the self-check is in progress, LEDs will change as shown in Figure 2. 6. (1) If the user system is connected, disconnect it. (2) Set the switch[...]

  • Page 28

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 28 of 100 2.8.2 If an Error is Detected in the Self-check If the self-c heck does not resul t normall y (ERROR 1 to ER ROR 4 in Fi gure 2.6), check the following. (1) Recheck the con nection of the emulation probe and PC7501. (2) Redownload the proper firm ware. I[...]

  • Page 29

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 29 of 100 2.9 Connecting the User System There are eight ways available to c onnect the emulat ion probe to use r system s as shown in Figure 2. 7. LCC socket 100-pin LCC (inc luded) M30800T-PTC (included) M3T-DUMMY10 0S 100-pi n QF P (not included) M3T-DIRECT100S[...]

  • Page 30

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 30 of 100 2.9.1 Connecting to a 100-pin LCC Socket When connecting the em ulation probe to a 100-pi n LCC socket (Yam aichi Electronics Co., Ltd.: IC61-1004-051 etc.) on the user system, following the procedure below. (1) Attach the CN 2 side of t he M30880T-E PB [...]

  • Page 31

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 31 of 100 2.9.2 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1 ) Figure 2.9 s hows how t o connect the em ulation pr obe to a 1 00-pin 0. 65-mm-pi tch foot pat tern on the user system with the M3T-DUMMY1 00S (not i nclude d), and he re foll owing is it[...]

  • Page 32

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 32 of 100 2.9.3 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 2 ) Figure 2.10 s hows how t o connect t he emulat ion probe to a 100-pin 0.65-mm -pitch foo t pattern on t he user syst em with the M3T-DIRECT 100S (not included ), and her e following is it[...]

  • Page 33

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 33 of 100 2.9.4 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 3 ) Figure 2.11 s hows how t o connect t he emulat ion probe to a 100-pin 0.65-mm -pitch foo t pattern on t he user syst em with the M3T-FLX- 100NRB ( not incl uded), a nd here followin g is [...]

  • Page 34

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 34 of 100 2.9.5 Connecting to a 100-pin 0.5-mm-pi tch Foot Pattern (Part 1) Figure 2.12 shows how to c onnect the em ulation pr obe to a 100 -pin 0.5- mm-pitc h foot patte rn on the use r system wit h the M3T-100LCC -QSD (not incl uded), and here followi ng is it [...]

  • Page 35

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 35 of 100 2.9.6 Connecting to a 100-pin 0.5-mm-pi tch Foot Pattern (Part 2) Figure 2.13 shows how to c onnect the em ulation pr obe to a 100 -pin 0.5- mm-pitc h foot patte rn on the use r system wit h the M3T-FLX-100NSD (no t included), and her e following is its [...]

  • Page 36

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 36 of 100 2.9.7 Connecting to a 100-pin 0.5-mm-pi tch Foot Pattern (Part 3) Figure 2.14 shows how to c onnect the em ulation pr obe to a 100 -pin 0.5- mm-pitc h foot patte rn on the use r system wit h the M3T-F160-10 0NSD (not i ncluded) , and here f ollowing is i[...]

  • Page 37

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 37 of 100 2.9.8 Connecting to a 144-pin 0.5-mm-pi tch Foot Pattern Figure 2.15 shows how to c onnect the em ulation pr obe to a 144 -pin 0.5- mm-pitc h foot patte rn on the use r system wit h the M3T-FLX-144 NSD (not include d), and he re follo wing is i ts pr oce[...]

  • Page 38

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 January 16, 2005 Page 38 of 100 2.10 Setting Switches 2. 1 0. 1 Setting Switch es of Emulat ion Prob e Set the switches of the emulation probe according to th e conditio n. Figure 2.16 shows the pos ition s of the switches of the M30880T-EPBM. M30880T- EPBM   REV.B MADE I N JA PAN AV[...]

  • Page 39

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 39 of 100 (1) Setting SW1 to SW4 on the M3088 0T-EPBM Table 2.2 shows the settings of SW1 to SW4 on the M30880T-EPBM. Table 2.2 Switch settings of the M30880T-EPBM (SW1 to SW4) Switch Switch name Setting Description AVCC AVSS EXT INT (Factory-setting) Connects pi[...]

  • Page 40

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 40 of 100 (2) Setting SW5 on the M30880T-EPBM Table 2.3 lists the examples of setting the switch SW5. It is necessary to change the setting if using the analog input port selection function of the A/D converter. Setting the SW5 enables to set each analog input pi[...]

  • Page 41

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 41 of 100 IMPORTANT Notes on Switch SW5:  When setting the register below to us e the analog input port selection function , you need to set the direction register of po rt P15 f or a pin t hat perform s A/D conversi on to "in put". And you need to s[...]

  • Page 42

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 42 of 100 2.10.2 Selecting Clock Supply With this product, a clock su pply can be set i n Init dial og box of Emulat or tab of the em ulator debu gger. Ta ble 2.4 li sts the factory-settings of each clock supply. Table 2.4 Cl ock suppl y to the MCU and de fault s[...]

  • Page 43

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 43 of 100 2) Replacing an Oscillator Circuit Board Remove the f our screws of both sides of this product an d lift of f the upper cover (see Fi gure 2.17) . Figure 2.1 7 Removi ng the upper cover[...]

  • Page 44

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 44 of 100 Unscrew the screw of the oscillator circuit board of th e PC7501 and replace it (see Figure 2.18). The oscillator circuit board of the PC7501 is in the lower right corn er of the board. Unscrew the screw securing the oscillator circuit board. Lift off t[...]

  • Page 45

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 45 of 100 3) Using the Oscillator Circuit Bare Board To use this product at a frequency you like, build a desi red oscillator circuit on the inclu ded OSC-2 oscillator circuit bare board. Figure 2.19 shows an ex ternal view of th e OSC-2 oscillator circuit bare b[...]

  • Page 46

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 46 of 100 (2) Using the Oscillator Circuit on the User System To operate this product with an oscillator circuit of the us er system, input the oscillato r output at 50% duty (within the operating ra nge of the e valuation M CU) into pi n X IN as s hown in Fi gur[...]

  • Page 47

    M30880T-EPB User’s Manual 2. Setup REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 47 of 100 2.10.3 A/D Conversion Bypass Capacitors There is a foot patte rn on the M30880T- EPBM board for m ounting by pass capacit ors for the A/D conve rsion circui t. Mount applicable bypass capacitors as occasion demands. Figure 2.23 shows where they are inst[...]

  • Page 48

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 48 of 100 3. Usage (Emulator Debugger) This chapter describ es how to start up the emulato r debugger and how to u se the major windows. 3.1 Starting Up the Emulator Debugger (Init Dialog Box) To launch t he emul ator debugge r[...]

  • Page 49

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 49 of 100 3. Specifying the comm unication inte rface (LAN c ommunicati on) 4. Specifying the comm unication interface (USB com municati on) Specifying the communication interface (LAN communication) For selecting the LAN co mm[...]

  • Page 50

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 50 of 100 5. Using or not using the address m atch brea k function 6. Using or not us ing the watch dog function Using or not using the address match break function Specify whether or not to use the address match brea k functio[...]

  • Page 51

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 51 of 100 7. Using or not using the CPU re write m ode 8. Executin g the self-chec k Using or not using CP U rewrite mode Specify whether or not to debug in CPU rewrite mode. To debug the user system that uses CPU r ewrite mode[...]

  • Page 52

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 52 of 100 (2) Debugging Inform ation tab 1. Specifying the com piler used and the object form at (3) Reset tab 1. Resetting the target after download ing Specifying the compiler used and the objec t format Specify the compiler [...]

  • Page 53

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 53 of 100 (4) Emulat or tab 1. Specifying the target clock Specifying the target clock Specify the clock sources supplied to the MCU (main cloc k and sub clock). Select th e appropriate clock sources according to the clock used[...]

  • Page 54

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 54 of 100 (5) Resume tab 1. Automatically execu ting a script command 2. Restoring the last window state Automatically executing a script command To automatically execute a sc ript command when starting up the debugger, click t[...]

  • Page 55

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 55 of 100 3.2 Starting Up the Emulator Debugger (EMEM Dialog Box) (1) Status tab 1. Specifying the processor mode IMPORTANT Notes on Selecting a Processor Mode:  An available p rocessor m ode is single -chip m ode only. Ther[...]

  • Page 56

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 56 of 100 2. Referring to the MCU Status IMPORTANT Notes on Selecting a Processor Mode:  The MCU status is shown in “MCU Status” of the EMEM dialog box. Check that the level of pin CNVSS of the MCU status is “L”. Ref[...]

  • Page 57

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 57 of 100 (2) Emulat ion Mem ory tab 1. Setting the Bank Address of the De bug Monitor IMPORTANT Notes on Setting a Debug Monitor Bank Addre ss:  It is not pos sible to view or s et the conte nt of the speci fied area. Eve n[...]

  • Page 58

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 58 of 100 2. Emulat ion Memory Al location as Expansion Area Emulation Memory Allocation a s Expansion Area Because the available proce ssor mode is the single-chip mode only, select “No Use” in “Map”.[...]

  • Page 59

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 59 of 100 (3) Flash Clear tab 1. Setting to clear the MCU’s internal flash ROM Setting to clear the MCU’s internal flash ROM Specify whether or not you want the MCU’s internal flash ROM to be cleared when downloading the [...]

  • Page 60

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 60 of 100 3.3 Program Window (1) Downloading th e program 1. Initial screen o f the program window 2. Downlo ading the pro gram Menu Menu item Function D ownloa d L oad Mod ule... M emory Im age... S ymbol... R om Data... Downl[...]

  • Page 61

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 61 of 100 (2) Program execution 1. Resetting the user program 2. Executin g the user pr ogram 3. Stoppi ng the use r program 4. Program window screen af ter the user program has st opped RESET Resets the program. GO Executes th[...]

  • Page 62

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 62 of 100 (3) Setting breakpoints 1. Screen after break point setup Breakpoint setup screen There are three types of breakpoints as descri bed below. - Address match breakpoint (A) This breakpoint can be set only when you chose[...]

  • Page 63

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 63 of 100 (4) Executing up to the cursor po sition (Come command) 1. Specifying the Com e command 2. After the Come com mand has finished Setup procedure for executing COME command (1) Click the line in the progr am display are[...]

  • Page 64

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 64 of 100 3.4 Hardware Breakpoint Setting Window (1) Breakpo int setup dialog box 1. Opening the hardware breakp oint setup dial og box 2. Hardware Break Point Setting Window in initial state 3. Opening the break ev ent setting[...]

  • Page 65

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 65 of 100 4. Opening the break ev ent setting dialog box (2) When FETCH is selected 1. Window for sett ing addresses Specifying the event type Click to select the event type you want to set. - FETCH Detects an instruction prefe[...]

  • Page 66

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 66 of 100 (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for set ting data Setting the address You can set eight conditions, e.g., a specified address, a specified address range, etc. Setting data [...]

  • Page 67

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 67 of 100 3. Example Da ta Settings Event setting for even-address word access MOV.W R0,512h(R0=0203h) High-order and lo w-order data effective Event setting for odd-address wo rd access MOV.W R0,519h(R0=0203h) Odd-address high[...]

  • Page 68

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 68 of 100 (4) Setting the combinatorial event con dition 1. Window for setting the co mbinatorial event conditio n Setting the combinatorial event condition There are following four conditions that you can choose fo r the combi[...]

  • Page 69

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 69 of 100 3.5 Trace Window (1) Trace window 1. Trace window Menu Menu item Functi on Opti onalW ind ows Trace Window Opens the trac e window. Trace window The trace window is used to show the results of real-time trace measurem[...]

  • Page 70

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 70 of 100 2. Trace window (bus display) Bus display Explanation of the trace window (b us display) The following explains the displayed contents, from left to right. - Address Shows the status of the address bus. - Data Shows t[...]

  • Page 71

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 71 of 100 (2) Suspending and resuming trace m easurement 1. Suspending trace measurement 2. Resuming trace m easurement Stop Click this toolbar button to suspend the trace measuremen t in progress. Re-Start Click this toolbar b[...]

  • Page 72

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 72 of 100 (3) Trace point se tup dialog box 1. Opening the trace poi nt setup dialog box 2. Trace Point Setting Window in initial state Trace Point Setting Window in initial state Be sure to enable the trace point function in t[...]

  • Page 73

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 73 of 100 3. Specifying a trace ra nge 4. Setting the trace write condition Specifying a trace range You can specify a trace range for the trace event. - Break 256K cycles of instruction execution before the use r program stopp[...]

  • Page 74

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 74 of 100 3.6 RAM Monitor Window (1) RAM m onitor window 1. RAM m onitor wi ndow Menu Menu item Function BasicWindows RAM Monit or Win dow Opening the RAM monit or window RAM monitor window This window shows changes of memory c[...]

  • Page 75

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 75 of 100 (2) RAM m onitor area setting window 1. Opening RAM monitor ar ea setting window 2. RAM monitor area setting window in initial state RAM Monitor Area Setting Window in initial state By default, the monitor area is set[...]

  • Page 76

    M30880T-EPB User’s Manual 3. Usage (H ow to Use the Emulator Debugger) REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 76 of 100 3. RAM m onitor area sett ing dialog b ox 4. RAM m onitor area sett ing dialog b ox when R AM monitor area is chan ged from 40 0h to 1 bl ock 5. RAM m onitor area sett ing dialog b ox Specifying the start address You [...]

  • Page 77

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 77 of 100 4. Hardware Specifications This chapter describes speci fications of this product . 4.1 Target MCU Specifications Table 4.1 lists the specification s of target MCUs which can b e debugged with this product. Table 4.1 Spec ifications of[...]

  • Page 78

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 78 of 100 4.2 Differences between the Actual MCU and Emulator Differences be tween the actu al MCU and e mulator are s hown bel ow. When de bugging t he MCU using t his product , be careful about the following precautions. IMPORTANT Note on Diff[...]

  • Page 79

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 79 of 100 IMPORTANT Notes on Reset Vector Area:  For a reset vector area, memory of the emulator is always selected regardless of the setting of the EMEM dialog box.  A reset vector area can be c hanged o nly when a p rogram is stop ped. N[...]

  • Page 80

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 80 of 100 IMPORTANT Note on DMAC II Transfer Completion Interrupts:  You can use DMAC II transfer completion interrup ts duri ng program execution only. Do not g enerate DMAC II transfer completion interru pts when you use any functio n but p[...]

  • Page 81

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 81 of 100 4.3 Connection Diagrams Figures 4.1 and 4.2 show the co nnection diagrams of the M30880T-EPB. These co nnection diagrams mainly sho w the interface section. The signals not s hown in Figures 4.1 and 4.2 connect the evaluation MCU and t[...]

  • Page 82

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 82 of 100 P0 P0 P0 P0 AP15 AP15 AP15 AP15 * * * * P0 P0 P0 P0 AP15 AP15 AP15 AP15 * * * * P2 P2 P2 P2 * 2 3 9 10 1 4 8 11 13 5 6 12 P15 2 P15 3 P15 9 P15 10 1 4 8 11 13 5 6 12 2 3 9 10 1 4 8 11 13 5 6 12 P2 P2 P2 P2 P15 P15 P15 P15 0 1 2 3 0 1 2[...]

  • Page 83

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 83 of 100 4.4 External Dimensions 4.4.1 External Dimensions of the Emulation Probe Figure 4.3 shows extern al dimensions of the M30880T- EPB connected with the M30800T- PTC and LCC socket. PCA7501EPBA   REV.A MADE IN JAPAN 85.0 60.0 30.0 16.3 [...]

  • Page 84

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 84 of 100 4.4.2 External Dimensions of the M30800T-PT C Figure 4.4 s hows exter nal dime nsions of th e converter board M3 0800T-PTC for a 100-pin QFP (10 0P6S). Unit : mm Figure 4.4 Ext ernal dim ensions of the M30800 T-PTC[...]

  • Page 85

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 85 of 100 4.4.3 External Dimensions of the M3T-F160 -100NSD Figure 4.5 s hows exter nal dime nsions of t he converter board M3T -F160-10 0NSD for a 100-pin L QFP (100P 6Q). Unit : mm Figure 4.5 Ext ernal dime nsions of the M3T-F1 60-100NS D 4.4.[...]

  • Page 86

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 86 of 100 4.5 Notes on Using This Product Notes on using this product are listed below. Be sure to read these notes before using this product. IMPORTANT Notes on Downloading Firmwa re:  Before using this product for the first time, it is nece[...]

  • Page 87

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 87 of 100 IMPORTANT Notes on Clock Supply to an MCU:  Clock can be supplied to the eval uation MC U in one of the following three ways. This is determined by emulator debugger cl ock selection. (1) When Internal is selected: The clock generat[...]

  • Page 88

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 88 of 100 IMPORTANT Notes on EMEM Dialog Box: Observe the foll owing when setting u p EMEM di alog box o f the em ulator debugge r. (1) Debug Monitor Bank Address  The defaul t value o f Debug Monitor Ba nk Address is "F0". T o set [...]

  • Page 89

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 89 of 100 IMPORTANT Notes on Debugging in CP U Rewrite Mode:  To debug a program in CPU r ewrite mode, select th e check box "Deb ug the program using the CPU Rewr ite Mode" in the M CU tab of t he Init dial og box. Whe n you do n o[...]

  • Page 90

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 90 of 100 IMPORTANT Note on Protect Resistor:  A protect is not canceled when protect register bit 2 (PRC2), which enables writing in the port P9 direction register and t he function sele ct register A3, is change d with the bel ow procedu re[...]

  • Page 91

    M30880T-EPB User’s Manual 4. Hardware Specifications REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 91 of 100 IMPORTANT Notes on A/D Conversion:  When setting the register below to us e the analog input port selection function , you need to set the direction register of po rt P15 f or a pin t hat perform s A/D conversi on to "in put&qu[...]

  • Page 92

    M30880T-EPB User’s Manual 5. Troubles hooting REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 92 of 100 5. Troubleshooting This chapte r describes h ow to tr oubleshoot when this product does not wor k 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 activate[...]

  • Page 93

    M30880T-EPB User’s Manual 5. Troubles hooting REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 93 of 100 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LEDs of the PC7501 Do Not Display Normally Table 5.1 Err ors LEDs sh ow and their checkpoint s Error Connection to the user system Checkpoint LEDs do not light up. - Check[...]

  • Page 94

    M30880T-EPB User’s Manual 5. Troubles hooting REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 94 of 100 (2) EMEM Dialog Box Does Not Appear at Debugger Startup Table 5.2 Chec kpoints o f errors at debugger startup Error Checkpoint Communi cation error occ urred. Data was not sent to the target. Check all emulator debugger settings, interface ca[...]

  • Page 95

    M30880T-EPB User’s Manual 5. Troubles hooting REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 95 of 100 (3) Errors Occu r at Debugger Startup Table 5.3 Chec kpoints o f errors at debugger startup Error Checkpoint Target MC U is uncontrollable. (1) Check t hat the NQP ACK etc. m ounted on t he user system is soldered properly. (2) Check that the[...]

  • Page 96

    M30880T-EPB User’s Manual 5. Troubles hooting REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 96 of 100 5.3 How to Request for Support After checking the items in "5 Troubleshooting ", fill in the text file the installer of the emulator debugg er generates in the following directory a nd email t o your local distributor . SUPPORTpro[...]

  • Page 97

    M30880T-EPB User’s Manual 6. Maintenance and Guarant ee REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 97 of 100 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 r egister as a user. For user registration, refer[...]

  • Page 98

    M30880T-EPB User’s Manual 6. Maintenance and Guarant ee REJ10J0497-0100Z R ev.1.00 Jan uary 16, 2005 Page 98 of 100 (3) Expiration of the repair period When a period of one year el apses after the m odel was dr opped from productio n, repairing p roducts of t he model may become im possible. (4) Transportation fees at sending you r product for re[...]

  • Page 99

    Emulation Probe for M32C/88 Group M30880T-EPB User's Manual Publication Date: Jan. 16, 2005 Rev.1.00 Published by: Sales Strategic Planning Di v. Renesas Technology Corp . Edited by: Microcomputer Tool Development Department Renesas Solutions Corp. © 2005. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in J[...]

  • Page 100

    M30880T-EPB User's Manual[...]