Renesas Emulation Probe for M32C/87 Group M30870T-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
101
102
103
104

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/87 Group M30870T-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/87 Group M30870T-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/87 Group M30870T-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/87 Group M30870T-EPB devrait contenir:
- informations sur les caractéristiques techniques du dispositif Renesas Emulation Probe for M32C/87 Group M30870T-EPB
- nom du fabricant et année de fabrication Renesas Emulation Probe for M32C/87 Group M30870T-EPB
- instructions d'utilisation, de réglage et d’entretien de l'équipement Renesas Emulation Probe for M32C/87 Group M30870T-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/87 Group M30870T-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/87 Group M30870T-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/87 Group M30870T-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/87 Group M30870T-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/87 Group M30870T-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

    REJ10J0482-0300 ( T ) M30870T-EPB User's Manual Emulation Probe for M32C/87 Grou p Rev.3.00 Feb. 16, 2006[...]

  • 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

    M30870T-EPB User’s Manual Preface REJ10J0482-0300 Rev.3.00 February 16, 2006 Preface The M30870T -EPB is an e mulation p robe for M 32C/87 Gr oup MCUs. The M30870T -EPB is used by connecti ng to the PC7501 emulator main unit. This user's m anual mainly describes specificat ions of the M30 8 70T-EPB em ulation pr obe and how to setup it. For [...]

  • Page 4

    M30870T-EPB User’s Manual Important REJ10J0482-0300 Rev.3.00 February 16, 2006 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 ducts that are ma[...]

  • Page 5

    M30870T-EPB User’s Manual Important REJ10J0482-0300 Rev.3.00 February 16, 2006 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 r [...]

  • Page 6

    M30870T-EPB User’s Manual Precautions for Safety REJ10J0482-0300 Rev.3.00 February 16, 2006 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 prop[...]

  • Page 7

    M30870T-EPB User’s Manual Precautions for Safety REJ10J0482-0300 Rev.3.00 February 16, 2006 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 co[...]

  • Page 8

    M30870T-EPB User’s Manual Precautions for Safety REJ10J0482-0300 Rev.3.00 February 16, 2006 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 OFF the power of the emulator and user system as sim ultaneously as possible.  Do not leave either the emul[...]

  • Page 9

    M30870T-EPB User’s Manual Contents REJ10J0482-0300 Rev.3.00 February 16, 2006 Contents Page Preface ........................................................................................................................ ..................................................3 Import ant ................................................................[...]

  • Page 10

    M30870T-EPB User’s Manual Contents REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 4. Hardware S pecifications ..................................................................................................... ....................................79 4.1 Target MCU Specifications ..................................................................[...]

  • Page 11

    M30870T-EPB User’s Manual User Registration REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 11 of 104 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 distribu[...]

  • Page 12

    M30870T-EPB User’s Manual Terminology REJ10J0482-0300 Rev.3.00 February 16, 2006 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, em ulation pro be, host ma[...]

  • Page 13

    M30870T-EPB User’s Manual 1. Outline REJ10J0482-0300 Rev.3.00 February 16, 2006 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 M30870T-EPB package co nsists of the following items. When unpack ing it, check to see if [...]

  • Page 14

    M30870T-EPB User’s Manual 1. Outline REJ10J0482-0300 Rev.3.00 February 16, 2006 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 s hows a confi guration of the M308 70T-EPB system . Figure 1.1 Syst em configuration (1) Emulation prob e M30870T-EPB (this product) This emulat ion probe contai ns an evaluation MCU. (2) Converter board [...]

  • Page 15

    M30870T-EPB User’s Manual 1. Outline REJ10J0482-0300 Rev.3.00 February 16, 2006 1.3.2 Names and Functio ns of the PC7501 Upper Panel LEDs Figure 1.2 s hows the nam es of the LEDs on the upper pa nel of the em ulator. Figure 1.2 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 at[...]

  • Page 16

    M30870T-EPB User’s Manual 1. Outline REJ10J0482-0300 Rev.3.00 February 16, 2006 (2) Target Status LEDs The target status LE Ds indicat e the target MCU' s operating stat us and target boa rd's power s upply. Tabl e 1.4 lists the defi niti on of each target status LED. Table 1.4 Defi nitions o f the target statu s LEDs Name Status Meanin[...]

  • Page 17

    M30870T-EPB User’s Manual 1. Outline REJ10J0482-0300 Rev.3.00 February 16, 2006 1.4 Specifications Tables 1.5 and 1.6 list t he specificat ions of the M30 870T-EPB. Table 1.5 M30870T -EPB specificati ons (1/2) Applicable MCUs M32C/87 Group Evaluation MC U M3087BFL GP ROM size: 1024 KB + 4 KB, RAM size: 48 KB Usable m ode Single-chi p mode Memory [...]

  • Page 18

    M30870T-EPB User’s Manual 1. Outline REJ10J0482-0300 Rev.3.00 February 16, 2006 Table 1.6 M30870T -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-sp eed) - LAN (10BASE-T) Pow er supp ly to emu lato r Supplied from incl uded AC adapter (power sup[...]

  • Page 19

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 detai[...]

  • Page 20

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.2 Installing the 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 complete the installation . Install the em [...]

  • Page 21

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 inter face, USB interface and LAN int erface. Use the interface selection s witch on the emulator PC7501' s rear panel to[...]

  • Page 22

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.4 Connecting the PC7501 Figure 2.3 shows how to connect th e PC7501 and the emulation probe. M3T -FL X160 -EPB M30870T- EP B Note: Co nnect the P CA7501EPB A boa rd side to the M 3T-FLX160-EP B. Figure 2.3 C onnecting the PC 7501 and em ulation probe CAUTION Cautions [...]

  • Page 23

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 PC7501. (3) Conne[...]

  • Page 24

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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  Turn ON the p ower o[...]

  • Page 25

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.6.4 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. POWER CLOCK RUN RESET WARNING TARGET STATUS SYSTEM STATUS POWER SAFE ERROR :[...]

  • Page 26

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 ownloaded.[...]

  • Page 27

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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-ch eck is in progress, LEDs will change as shown in Figure 2. 6. (1) If the user system is connected, disconnect it. (2) Set the switches as the facto[...]

  • Page 28

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 the con nection of the emulation prob e and PC7501. (2) Redownload the proper firm ware. IMPORTANT Note o[...]

  • Page 29

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.9 Connecting the User System There are eight ways available to c onnect the emulat ion pr obe to use r system s as shown in Figu re 2.7. LCC socket 100-pin LCC (inc luded) M30800T-PTC (included) M3T-DUMMY10 0S 100-pi n QFP (not included) M3T-DIRECT100S 100-pin QFP (no[...]

  • Page 30

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.9.1 Connecting to a 100-pin LCC Socket When connecting the em ulation probe to a 100-pin LCC socket (Yamaichi Electronics Co., Ltd.: IC61-1004-051 etc.) on the user system, following the procedure below. (1) Attach the CN 2 side of the M 30870T-EPB t o the CN2 side of[...]

  • Page 31

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.9.2 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1 ) Figure 2.9 s hows how to co nnect the emul ation probe t o a 100-pi n 0.65-m m-pitch foot pattern on the user system with the M3T-DUMM Y100S (not i ncluded) , and her e following is its proce dure. For d[...]

  • Page 32

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 the em ulation pr obe to a 100-pi n 0.65-mm -pitch foot pattern on th e user system with the M3T-DIRECT 100S (not included), a nd here f ollowing is i ts procedure. For[...]

  • Page 33

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 the em ulation pr obe to a 100-pi n 0.65-mm -pitch foot pattern on th e user system with the M3T-FLX- 100NRB ( not include d), and he re follo wing is i ts pr ocedure. [...]

  • Page 34

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 probe t o a 100-pin 0.5-mm-pi tch foot patte rn on the user sy stem with the M3T-100LCC -QSD (not incl uded), and her e following i s its proced ure. For d[...]

  • Page 35

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 probe t o a 100-pin 0.5-mm-pi tch foot patte rn on the user sy stem with the M3T-FLX-100NSD (no t included), and here follow ing is its procedure. Fo r det[...]

  • Page 36

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 probe t o a 100-pin 0.5-mm-pi tch foot patte rn on the user sy stem with the M3T-F160-10 0NSD (not i ncluded), an d here follo wing is its procedure. For d[...]

  • Page 37

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 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 probe t o a 144-pin 0.5-mm-pi tch foot patte rn on the user sy stem with the M3T-FLX-14 4NSD (not included ), and her e followin g is its pr ocedure. For details on[...]

  • Page 38

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 38 of 104 2.10 Setting Switches 2. 1 0. 1 Setting Switche s of Emulation P robe 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 M30870T-EPB M REV.B, a nd Figure 2.17 shows the posi tions[...]

  • Page 39

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 (1) Setting JP1, SW 1 to SW4 on the M30870T-EPBM Table 2.2 shows the settings of JP1, SW1 to SW4 on the M3 0870T-EPBM REV.B, and Table 2.3 shows the settings of JP1, SW1 to SW4 on th e M30870T-EPBM REV.C. Table 2.2 Switch settings of the M308 70T-EPBM REV.B (JP1, SW1 to[...]

  • Page 40

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 Table 2.3 Switch settings of the M308 70T-EPBM REV.C (JP1, SW1 to SW4) Switch Switch name Setting Description VCC1= 2 VCC1> 2 (Factory-setting) 3.0 V ≤ VCC1 = VCC2 ≤ 5.5 V JP1 VDDIO VCC1= 2 VCC1> 2 4.8 V ≤ VCC1 ≤ 5.2 V and 3.0 V ≤ VCC2 < VCC1 AVCC AVS[...]

  • Page 41

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 (2) Setting SW5 on the M30870T-EPBM Table 2.4 lists the examples of setting the switch SW5 on the M30870T-EPBM. It is necessa ry to change the setting if using the analog inpu t port selection function of the A/D converter when selecting the MCU file "m30870_ad.mcu[...]

  • Page 42

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 IMPORTANT Notes on Swit ch JP1:  If using t his product when the voltage of VCC1 is higher than that of VCC2, set the JP1 to VCC1>2.  If using t his product when the voltage of VCC1 is hi gher than that of VCC 2, the CPU cl ock must be 24 MHz or less. IMPORTANT[...]

  • Page 43

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.10.2 Selecting Clock Supply There are two ways to supply a clock to the MCU, using the osc illator circu it of the emulator or using the oscillator circuit o n the user system . Table 2.5 lists the factory-setti ngs of each cloc k supply. Table 2.5 Cl ock supply to th[...]

  • Page 44

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2) Replacing an Oscillator Circuit Board Remove the f our screws o f both sides o f this pro duct and lif t off the up per cover (see Figure 2.18) . Figure 2.1 8 Removing t he upper cover Page 44 of 104[...]

  • Page 45

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 45 of 104 Unscrew the screw of the oscillator circuit board of th e PC7501 and replace it (see Figure 2.19). The oscillator circuit board of the PC7501 is in th e lower right corner of the board. Unscrew the screw securing the oscillator circuit board. Lift off the[...]

  • Page 46

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 3) Using the Oscillator Circuit Bare Board To use this product at a frequency you like, bu ild a desi red oscillator circuit on the included OSC-2 oscillator circui t bare board. Figure 2.20 shows an extern al view of th e OSC-2 oscillator circuit bare board and the con[...]

  • Page 47

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 (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 operatin g range of the eval uation MC U) into pi n X IN as shown i n Figure 2.22 . Pin X OUT[...]

  • Page 48

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 2.10.3 A/D Conversion Bypass Capacitors There is a foot pattern on th e M30870T-EPBM board fo r mountin g bypass capacit ors for the A/D conversi on circuit near the MCU. Mount applicable bypass capacito rs as occasion dem ands. Figure 2.24 shows the m ounting location [...]

  • Page 49

    M30870T-EPB User’s Manual 2. Setup REJ10J0482-0300 Rev.3.00 February 16, 2006 Figure 2.2 5 Foot patt ern for the A/D conve rsion bypass capacitor o n the M308 70T-EPBM REV.C IMPORTANT Note on the A/D Converter:  Because a converter boa rd and other de vices are used be tween the evaluation MCU and the use r system, the A/D converter operates d[...]

  • Page 50

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) This chapter describ es how to start up the emulato r debugger M3T-PD 308F as an example and how to use the major wind ows. The settings will be the same when using the M32C PC7501 Emulator Debugger. 3.1 Starting Up the E[...]

  • Page 51

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Specifyi ng the comm unication interface (LAN com munication) Specifying the communication interface (LAN communication) For selecting the LAN co mm unication, click the radio button “LAN” of the MCU tab. Specify the IP address of the emulator[...]

  • Page 52

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 5. Using o r not using t he address m atch break fu nction Using or not using the addre ss match break function Specify whether or not to use the address match brea k function. - To use the address match break function (default), selec t the check bo[...]

  • Page 53

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 7. Using o r not using the CPU rewri te mode 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, selec t the check box. This option can be selected or deselec[...]

  • Page 54

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (2) Debuggi ng Information tab 1. Specifying the com piler used and the object form at (3) Reset tab 1. Resetting the target after downlo ading Specifying the compiler used and the objec t format Specify the compiler you are using and the fo rmat of [...]

  • Page 55

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (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 by your target MCU. - Internal ([...]

  • Page 56

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (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 the “Ref er...” button and spe[...]

  • Page 57

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 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:  When setting single-ch ip mode or memory expansion mode, the level of pin CNVSS of th e MCU sta[...]

  • Page 58

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 2. Referring to the MCU Status IMPORTANT Notes on Selecting a Processor Mode:  The MCU status is shown i n “MCU Status” of the EMEM dialog box. Check that it is matching the specified processor m ode.  Check that the RDY* and HOLD* are “H[...]

  • Page 59

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (2) Emulat ion Mem ory tab 1. Setting the Bank Address of the Debu g Monitor Setting the Bank Address of the Debug IMPORTANT Notes on Setting a Debug Monitor Bank Addre ss:  It is not pos sible to view or s et the content of the speci fied area. E[...]

  • Page 60

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 2. Emulat ion Memory All ocation as Ex pansion Area Emulation Memory Allocation a s Expansion Area When selecting the memory expansion mode and microprocessor mode, it is possi ble to allocate the emulation memory at the expansion area for debugging [...]

  • Page 61

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (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 user pr ogram o r data. (When cle[...]

  • Page 62

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3.3 Program Window (1) Downloading the program 1. Initial screen o f the program window 2. Downlo ading the pro gram Menu Menu item Function D ownloa d L oad Modul e... M emory Im age... S ymbol... R om Data... Downlo ads the u ser prog ram. Download[...]

  • Page 63

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (2) Program execution 1. Resetting the user program 2. Executin g the user pro gram 3. Stoppi ng the user program 4. Program window screen aft er the user pr ogram has stop ped RESET Resets the program. GO Executes the program from the current PC pos[...]

  • Page 64

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (3) Setting breakpoints 1. Screen after break point setup Breakpoint setup scre en There are three types of breakpoints as descr ibed below. - Address match breakpoint (A) This breakpoint can be set only when you chose to use the address match break [...]

  • Page 65

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (4) Executing up to the cursor po sition (Come command) 1. Specifying the Com e command Setup procedure for executing COME 2. After the Come com mand has fini shed command (1) Click the line in the progr am display area at which you want the program [...]

  • Page 66

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3.4 Hardware Breakpoint Setting Window (1) Breakpo int setup dialog box 1. Opening the hardware breakp oint setup dialog b ox Hardware Break Poi nt 2. Hardware Break Point Setting Window in initial state 3. Opening the break ev ent setting dialog box[...]

  • Page 67

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 4. Opening the break ev ent setting dialog box Specifying the event type (2) When FETCH is selected 1. Window for sett ing addresses Click to select the event type you want to set. - FETCH Detects an instruction prefetch. - DATA ACCESS Detects a me m[...]

  • Page 68

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (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 You can set eight conditions, e.g[...]

  • Page 69

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Example Da ta Settings Event setting for even-address word access Setting a break event MOV.W R0,512h(R0=0203h) A1 Address 1 : 000512 Data 1 : 0203 High-order and lo w-order data effective MASK : FFFF Access : WRITE Event setting for odd-address w[...]

  • Page 70

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (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 that you can choose fo r the combinatorial events. - AND The program[...]

  • Page 71

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3.5 Trace Window (1) Trace window 1. Trace window Menu Menu item Function Opti onalW indo ws Trace Window Opens the trace window. Trace window The trace window is used to show the results of real-time trace measurements. It has the following four dis[...]

  • Page 72

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 Explanation of the trace window (b us display) 2. Trace window (bus display) Bus display The following explains the displayed contents, from left to right. - Address Shows the status of the address bus. - Data Shows the status of the data bus. - BUS [...]

  • Page 73

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (2) Suspending and resuming trace m easurement 1. Suspending trace measurement Stop 2. Resuming trace m easurement Click this toolbar button to suspend the trace measuremen t in progress. Re-Start Click this toolbar button to resume the trace measure[...]

  • Page 74

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (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 Trace Point Setting Window in initial state Be sure to enable the trace point function in the Init dialog box be[...]

  • Page 75

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Specifying a trace ra nge Specifying a trace range 4. Setting the trace write condition You can specify a trace range for the trace event. - Break 256K cycles of instruction execution before the use r program stopped is recor ded. - Before 256K cy[...]

  • Page 76

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3.6 RAM Monitor Window (1) RAM m onitor window 1. RAM m onitor wi ndow Menu Menu item Function BasicWindows RAM Moni tor Windo w Opening t he RAM m onitor wi ndow RAM monitor window This window shows changes of memory contents while the user program [...]

  • Page 77

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 (2) RAM m onitor area setting window 1. Opening RAM monitor ar ea setting window 2. RAM monitor area setting window in initial state Base RAM Monitor Area Setting Window in initial state By default, the monitor area is set to 000400h throug h 0007FFh[...]

  • Page 78

    M30870T-EPB User’s Manual 3. Usage (Emulator Debugger) REJ10J0482-0300 Rev.3.00 February 16, 2006 3. RAM m onitor area setti ng dialog bo x Specifying the start address 4. RAM m onitor area setti ng dialog bo x when RAM m onitor area is changed from 400h to 1 block 5. RAM m onitor area setti ng dialog bo x You can set the start address of the RAM[...]

  • Page 79

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 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[...]

  • Page 80

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 4.2 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[...]

  • Page 81

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 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. Therefore when setting a microprocesso r mode, to use a ROM of t he user system etc. as an a[...]

  • Page 82

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 IMPORTANT Note on DMAC II Transfer Completion Interrupts:  You can use DMAC II transfer completion interrup ts duri ng program execution only. Do not gener ate DMAC II transfer completion interru pts when you use any function bu t program execution[...]

  • Page 83

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 83 of 104 4.3 Connection Diagrams Figures 4.1, 4.2 and 4.3 show the connecti on diagram s of the M308 70T-EPB. Fig ures 4.1 a nd 4.2 sh ow the con nection diagrams using the M308 70T-EPBM REV.B and M30870T-EPBM REV .C, respectively. These connect[...]

  • Page 84

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 84 of 104 Figure 4.2 C onnection dia gram (when using M3087 0T-EPBM R EV.C) (2/3) AVcc Vre f AVss P85 /NMI * CNVss BYTE P55 /RDY * P57/ HOLD* C1 C2 R17 R18 SW1 SW4 143 142 140 24 100 100k * R14 100k * RESET* R16 100k * R15 100k * XIN * XOUT * * U[...]

  • Page 85

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 85 of 104 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 86

    M30870T-EPB User’s M anual 4. Hardware Specifications REJ10J0482-0300 Rev.3.00 February 16, 2006 4.4 External Dimensions 4.4.1 External Dimensions of the Emulation Probe Figure 4.4 shows extern al dimensions of the M30870T-EPB connected with the M30800T-PTC and LCC socket. PCA7501EPBA   REV.A MADE IN JAPAN 85.0 60.0 30.0 16.3 15.0 5.5 10.8 55.0[...]

  • Page 87

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 4.4.2 External Dimensions of the M30800T-PT C Figure 4.5 s hows exter nal dimensions of the conve rter board M30800T-PTC for a 100- pin QFP (1 00P6S). Unit : mm Figure 4.5 Ext ernal dimensi ons of the M30800T-P TC Page 87 of 104[...]

  • Page 88

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 4.4.3 External Dimensions of the M3T-F 160-100NSD Figure 4.6 s hows exter nal dimensions of the conve rter board M3T-F160 -100NSD for a 100-pin L QFP (100P 6Q). Unit : mm Figure 4.6 Ext ernal dimensi ons of the M3T-F160 -100NSD 4.4.4 External Dimensi[...]

  • Page 89

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 4.5 Notes on Using This Product Notes on usi ng this prod uct are listed bel ow. When debu gging the MC U using this p roduct, be care ful about the foll owing precautions. IMPORTANT Notes on Downloading Firmware:  Before using this product for th[...]

  • Page 90

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 IMPORTANT Notes on Clock Supply to an MCU:  Clock can be supplied to the evaluat ion MCU in one of the following three ways. This is determined by emulator debugger cl ock selection. (1) When Internal is selected: Th e clock generated by the oscil[...]

  • Page 91

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 IMPORTANT Notes on EMEM Dialog Box: Observe the followi ng when s etting up EM EM dialog box of the em ulator debugge r. (1) Debug Monitor Bank Address  The defaul t value of De bug Monitor B ank Address is "F0". To set singl e-chip m od[...]

  • Page 92

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 IMPORTANT Notes on Debugging in CP U Rewrite Mode:  To debug a program in CPU r ewrite mode, select the ch eck box "Debug the progr am using the CPU Rewrite Mode" in the MCU tab of the Init d ialog box. When you do not debug a pr ogram i[...]

  • Page 93

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 IMPORTANT Note on Protect Resistor:  A protect is not canceled when protect register bit 2 (PRC2), which enables writing in the port P9 d irection register and t he function sele ct register A3, is changed with the bel ow procedure. (1) Step execu[...]

  • Page 94

    M30870T-EPB User’s Manual 4. Hardware Specifications REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 IMPORTANT Notes on A/D Conversion: When selecting the following MCU files in the Init dialog box of the emulator debugger to execute the A/D conversion debug, not e the following. M32C PC75 01 Emulat or Debugger: m30870_a d.mcu M3T-PD308F : m30870_a [...]

  • Page 95

    M30870T-EPB User’s Manual 5. Troubles hooting REJ10J0482-0300 Rev. 3.00 February 1 6, 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 e[...]

  • Page 96

    M30870T-EPB User’s Manual 5. Troubles hooting REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 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 show and their check points Connection to Error Checkpoint the user system LEDs do not light up. - Check that the power [...]

  • Page 97

    M30870T-EPB User’s Manual 5. Troubles hooting REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 (2) EMEM Dialog Box Does Not Appear at Debugger Startup Table 5.2 Chec kpoints of e rrors at debu gger startup Error Checkpoint Communi cation error occur red. Check all emulator debugger settings, interface cab le settings and switches on the rear of the P[...]

  • Page 98

    M30870T-EPB User’s Manual 5. Troubles hooting REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 (3) Errors Occu r at Debugger Startup Table 5.3 Chec kpoints of e rrors at debu gger startup Error Checkpoint Target MC U is uncontrollable. (1) C heck that the NQP ACK etc. m ounted on the use r system is soldere d properly. (2) Check that the connect or i[...]

  • Page 99

    M30870T-EPB User’s Manual 5. Troubles hooting REJ10J0482-0300 Rev. 3.00 February 1 6, 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 follow ing URL, then send the information to your local distributor. http://tool-support.renesas.com/eng /toolnew[...]

  • Page 100

    M30870T-EPB User’s Manual 6. Maintenance and Guarant ee REJ10J0482-0300 Rev. 3.00 February 1 6, 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 re[...]

  • Page 101

    M30870T-EPB User’s Manual 6. Maintenance and Guarant ee REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 (3) Expiration of the repair period When a period of one year el apses after the m odel was drop ped from pr oduction, repai ring products of the model may become im possible. (4) Transportation fees at sending your pro duct for repair Please send[...]

  • Page 102

    M30870T-EPB User’s Manual 6. Maintenance and Guarant ee REJ10J0482-0300 Rev. 3.00 February 1 6, 2006 Page 102 of 104[...]

  • Page 103

    Emulation Probe for M32C/87 Group M30870T-EPB User's Manual Publication Date: Feb. 16, 2006 Rev.3.00 Published by: Sales Strategic Planning Di v. Renesas Technology Corp . Edited by: Microcomputer Tool Development Dep artment Renesas Solutions Co rp. © 2006. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in[...]

  • Page 104

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