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

    REJ10J0519-0200 ( T ) M306NKT-EPB Rev.2.00 Oct. 16, 2006 User’s Manual Emulation Probe for M16C/6 N Group M16C/6N4, 6N5, 6NK, 6NL, 6NM, 6NN[...]

  • 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

    M306NKT-EPB User’s Ma nual Preface REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 3 of 104 Preface The M306NK T-EPB is an em ulation p robe for The M 16C/6N G roup M16C/6 N4, M16C/ 6N5, M16C /6NK, M16C /6NL, M16C/6NM, M16C/6N N. The M30 6NKT-EPB is used by connect ing to the PC 7501 em ulator ma in unit. This user's m anual mainl y describes sp[...]

  • Page 4

    M306NKT-EPB User’s ma nual Important REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 4 of 104 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 [...]

  • Page 5

    M306NKT-EPB User’s ma nual Important REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 5 of 104 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[...]

  • Page 6

    M306NKT-EPB User’s Manual Precautions for safety REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 6 of 104 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[...]

  • Page 7

    M306NKT-EPB User’s Manual Precautions for safety REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 7 of 104 WARNING Warnings for AC Power Su pply: z 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. z Use an AC power cable wh[...]

  • Page 8

    M306NKT-EPB User’s Manual Precautions for safety REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 8 of 104 CAUTION Cautions to Be Taken for Turning On the Power: z Turn ON/OFF the power of the emulator and use r system as sim ultaneously as possi ble. z Do not leave either the emulat or or user system powered on, because of leak age current the intern[...]

  • Page 9

    M306NKT-EPB User’s Ma nual Contents REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 9 of 104 Contents Page Preface ........................................................................................................................ .................................................. 3 Import ant ....................................................[...]

  • Page 10

    M306NKT-EPB User’s Ma nual Contents REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 10 of 104 Page 3. Usage (How to Use the Emulator Debugger) .................................................................................... ..................... 47 3.1 Starting Up the Emulator Debugger .............................................................[...]

  • Page 11

    M306NKT-EPB User’s Ma nual User Registration REJ10J0519-0200 Rev.2.00 Oct. 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 distributor[...]

  • Page 12

    M306NKT-EPB User’s Manual Terminology REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 12 of 104 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 prob[...]

  • Page 13

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 13 of 104 1. Outline This ch apter descr ibes the pac kage co mponen ts, the sy stem con fi guration, the specification s of the emulator functions an d the operatin g environm ent. 1.1 Package Components The M306NKT-EPB pac kage consists of the followi ng items. Wh[...]

  • Page 14

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 14 of 104 1.2 Other Tool Products Required for Development To bring fo rward program s developm ent on an M1 6C/6N Grou p M16C/6N 4, M16C/6 N5, M16C/6 NK, M16C/6 NL, M16C/6NM, M16C/6NN MCUs, t he products listed below are necessary in add ition to those co ntained p[...]

  • Page 15

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 15 of 104 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 s hows a confi guration of the M306 NKT-EPB syst em. Figure 1.1 Syst em configuration (1) Emulati on probe M30 6NKT-EPB (t his product ) This is an emulation probe for the M16C/6N Group M16C/6N[...]

  • Page 16

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 16 of 104 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[...]

  • Page 17

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 17 of 104 (2) Target Status LEDs The target status LEDs indicate ope rating st atus of the target MCU and power supply of the user syste m. 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 Meani[...]

  • Page 18

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 18 of 104 1.4 Specifications Tables 1.5 and 1.6 list t he specificati ons of the M30 6NKT-EPB. Table 1.5 Spec ifications of the M306NKT-E PB (1/2) Applicable M CU M16C/6N Group M16C/6N 4, M16C/6N 5, M16C/ 6NK, M16C /6NL, M16C/ 6NM, M16C/ 6NN Applicable M CU mode Sin[...]

  • Page 19

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 19 of 104 Table 1.6 Spec ifications of the M306NKT-E PB (2/2) Host machine interface - LPT parallel (ECP, EPP, Byte/compatibility and Nibble/compatibility modes) - USB (USB 1 .1, full-sp eed) *1 - LAN (10BASE-T) Pow er sup ply to e mula to r Supplied from included A[...]

  • Page 20

    M306NKT-EPB User’s Ma nual 1. Outline REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 20 of 104 1.5 Operating Environment Be sure to use this emulator with the operatin g environmental of the emulator and ho st machine listed in Tables 1.7 and 1.8. Table 1.7 Oper ating environm ental conditio ns Item Description Operating te mperature 5 to 35°C ( no[...]

  • Page 21

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 21 of 104 2. Setup This chapter describes the preparation f or using this product, t he procedure f or startin g up the em ulator and ho w to change settings. 2.1 Flowchart of Star ting Up the Emulator The procedure fo r starting up the emulator is shown in Figure 2.1[...]

  • Page 22

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 22 of 104 2.2 Installing the Emulator Debugger (M16C R8C PC7501 Emulator Debugger) If the OS used in your host machin e is Windows XP or 2 000, th is installation must be executed b y a user with administrator rights. Be aware that users without administrato r rights [...]

  • Page 23

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 23 of 104 2.3 Connecting the Host Machine When connectin g the emulator PC7501 to a host machine, you can choose yo ur desired interface fro m LPT parallel interface, USB interface and LAN int erface. Use the interface selection s witch on the emulator PC7501' s [...]

  • Page 24

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 24 of 104 2.4 Connecting the PC7501 Figure 2.3 shows how to connect th e PC7501 and the emulation probe. M3T- FLX16 0-EPB M3 0 6 NK T - E PB Figure 2.3 C onnecting the PC 7501 and em ulation probe CAUTION Note on Connecting the PC7501: z Always shut O FF power bef ore[...]

  • Page 25

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 25 of 104 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 th e AC adapter to t he [...]

  • Page 26

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 26 of 104 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 [...]

  • Page 27

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 27 of 104 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 wh en starting up the emulator sy stem. Figure 2.4 LED disp lay when the power tu rned on PC7501 IMPORTA[...]

  • Page 28

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 28 of 104 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 [...]

  • Page 29

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 29 of 104 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 sh[...]

  • Page 30

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 30 of 104 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. IMPO[...]

  • Page 31

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 31 of 104 2.9 Connecting the User System Connect the em ulation po d to the user syst em for M 16C/6N4 or M16C/6N5, and for M16C /6NK, M16C /6NL, M16C /6NM and M16C/6N N as shown in Fi gures 2.7 an d 2.8, respecti vely. Emulati on probe 0.65mm pi tch 0 . 5 mm pi t ch [...]

  • Page 32

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 32 of 104 Em ulation probe M 30800 T - PTC (included) M 3T - F 160 - 100N SD 100 -pin LQFP M 3T -100LCC-QS D 100-p in LQFP M3T - F 160 - 128 NRD 128 -pin LQFP 100-pin 0.5 m m p i t c h ● : No . 1 pin 128-pin 0 . 5mm pi t ch (not included ) (not included) (not incl u[...]

  • Page 33

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 33 of 104 2.9.1 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 Electr onics Co., Ltd.) on the user system using the inc luded M308 00T-PTC. (1) Attach the CN2 side of the M3080 0T-PTC [...]

  • Page 34

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 34 of 104 2.9.2 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 1 ) Here follo wing is a procedure o f connecting to a 100-pi n 0.65mm pitch foot pattern on the user system usi ng the M3 T-F160- 100NRB (n ot included). F or detail s on the M3T-F1 60-100NRB (no[...]

  • Page 35

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 35 of 104 2.9.3 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 2 ) Here follo wing is a procedure of connecti ng to a 100-pin 0. 65mm pi tch foot patt ern on the user sy stem using t he M3T- DIRECT100 S (not incl uded). For details on t he M3T-100LC C-DMS (no[...]

  • Page 36

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 36 of 104 2.9.4 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 3 ) Here follo wing is a procedure of connecti ng to a 100-pin 0. 65mm pi tch foot patt ern on the user sy stem using t he M3T- DUMMY100S (not included). Fo r details on the M3T- 100LCC-DMS ( not [...]

  • Page 37

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 37 of 104 2.9.5 Connecting to a 100-pin 0.5mm Pitch Foot Pattern (Part 1) Here followi ng is a proce dure of connecti ng to a 100-pi n 0.5mm pitch foot pat tern on the user system using the M 3T-F160- 100NSD (n ot included). For detai ls on the M3T- F160-100N SD (not [...]

  • Page 38

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 38 of 104 2.9.6 Connecting to a 100-pin 0.5mm pitch Foot Pattern (Pa rt 2) Here followin g is a procedu re of connecti ng to a 100- pin 0.5mm pitch foot patt ern on the user system using t he M3T-100LC C- QSD (not i ncluded). F or details on t he M3T-100LC C-QSD (n ot[...]

  • Page 39

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 39 of 104 2.9.7 Connecting to a 128-pin 0.5mm pitch Foot Pattern Here followi ng is a proce dure of connecti ng to a 128-pi n 0.5mm pitch foot pat tern on the user system using the M 3T-F160- 128NRD (not included). For detail s on the M3T-F1 60-128NR D (not includ ed)[...]

  • Page 40

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 40 of 104 2.10 Switch Settings 2.10.1 A/D Conversion Bypass Capacitors There is a foot patter n on the M 306NKT-EPB M board for mountin g by pass capacit ors for the A/ D conversion circ uit near the MCU. Mount suitable bypass capacitors as occasion dem ands. Figure 2[...]

  • Page 41

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 41 of 104 2.10.2 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 resistor a rrays (51 k Ω ) as necessary. Figure 2.17 shows th e posit[...]

  • Page 42

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 42 of 104 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.2 shows the clocks and their initial settings. Table 2.2 Cl ock suppl y to t[...]

  • Page 43

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 43 of 104 (2) Replacing an Oscillator Circuit Board 1. Remove the four screws of both sides of this product and lift off the upper cov er (see Figure 2.18). Figure 2.1 8 Removing t he upper cover[...]

  • Page 44

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 44 of 104 2. Replace the oscillator circ u it board (see Figure 2.19). Os cillator ci rcuit boar d The Figure on the left shows the position of the oscillator circuit board. Unscrew the screw securing the oscillator circuit board. Lift off the oscillator circuit board[...]

  • Page 45

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 45 of 104 (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 circu it bare board. Figure 2.20 shows an external view of the OSC-2 oscillator ci[...]

  • Page 46

    M306NKT-EPB User’s Ma nual 2. Setup REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 46 of 104 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.22 in the user system and input the oscillato r output at 50% duty (within the operatin g range of t[...]

  • Page 47

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 47 of 104 3. Usage (How to Use the Emulator Debugger) This chapter describe s how to start up the emulator debugger from the High-p erformance Embedded Workshop . 3.1 Starting Up the Emulator Debugger When debu gging the com pleted [...]

  • Page 48

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 48 of 104 (1) MCU tab 1. Specifying the MCU file Specifying the MCU file Specify the MCU file for the target M CU. (1) Click the “Refer…” Button. (2) ”Select MCU File” dialog box will be displayed. Select “M16C6NK.MCU”[...]

  • Page 49

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 49 of 104 2. Specifying the comm unication interface Specifying the communication interfa ce (LPT) - For selecting the LPT communicati on, click the radio button “LPT” of the MCU tab. - For the Type area, specify LPT interface c[...]

  • Page 50

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 50 of 104 3. Executin g the self-check Executing the self-check Enable this function when you want th e emulator to be self-checked at startup. Be sure to select the check box only when y ou want the emulator to be self-checked at s[...]

  • Page 51

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 51 of 104 (2) Debuggi ng Information tab Specifying the compiler and the obje ct format Specify the compiler you are using and the fo rmat of the object file output by the compiler. To alter this setting, use the dial og box that is[...]

  • Page 52

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 52 of 104 (3) Emulat or tab Specifying the target clock Specify the clock sources supplied to the MCU (main clock and sub clock). Select the appropriate cl ock sources according to the clock used by your target MCU. - Internal (defa[...]

  • Page 53

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 53 of 104 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. (1) MCU tab 1. MCU Setting Specifying the processor mode Select the app[...]

  • Page 54

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 54 of 104 2. Debug Opt ion Setting the debug option Check the box when not downloading the program to the internal flash ROM of the MCU. If this box is checked, the working efficiency (downloading, software break, etc.) will be impr[...]

  • Page 55

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 55 of 104 (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 “ INTERNAL” will b e allocated to the e mulation memory b[...]

  • Page 56

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 56 of 104 3.1.3 Checking Connections of the Emulator System Checking connectio ns of the emulator system When the emulator debugger is connect ed correctly to the emulator after you have finished setting up the Init dialog box and t[...]

  • Page 57

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 57 of 104 3.2 Editor (Source) Window Downloadi ng the pro gram to be debu gged. (1) Downloading from the work space window Downloading the progra m Download the object program you want to debug. Select Download from “xxx.x30” of[...]

  • Page 58

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 58 of 104 3.3 Program Execution (1) Program execution CPU re set 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 pro[...]

  • Page 59

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 59 of 104 (2) Setting address match breakpoints 1. Setting a nd executing a ddress ma tch breakpoint Program execution with addre ss match breakpoint An address match breakpoint can be set by selecting “Enable the Address Match In[...]

  • Page 60

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 60 of 104 (3) Setting software breakpoints 1. Setting and executing software breakpo int Program execution with software b reakpoint - A software breakpoint can be set or cleared by double-clicking the software breakpoint display ar[...]

  • Page 61

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 61 of 104 (4) Executing up to the cursor po sition (Come command) 1. Specifying the Com e command Setup procedure for execut ing COME command (1) Click the line in the program di splay area at which you want the program to execute. [...]

  • Page 62

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 62 of 104 3.3 Hardware Breakpoint Setting Window (1) Breakpo int setup dialog box 1. Opening the hardware breakp oint setup dialog b ox Hardware breakpoint Clicking this button opens the hard ware breakpoint setup dialog box. 2. Har[...]

  • Page 63

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 63 of 104 (2) When FETCH is selected 1. Window for sett ing addresses Setting the address You can set eight conditions, e.g., a specified address, a specified address range, etc. When you have finished setting the address, click OK.[...]

  • Page 64

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 64 of 104 (3) When DATA ACCESS is selected 1. Window for setting the address Setting the address Set in the Address tab. You can set eight conditions, e.g., a specified address, a specified address range, etc. After finishing the se[...]

  • Page 65

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 65 of 104 3. Example Da ta Settings Setting a break event A1 Address 1 : 0020E8 Data 1 : 5423 MASK : FFFF Access : WRITE Setting a break event (using 2 events) A1 A2 Address 1 : 0020E5 Address 1 : 0020E6 Data 1 : 7900 Data 1 : 00AB [...]

  • Page 66

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 66 of 104 3.5 Trace Window The trace window is used to show the results of real -time trace measurem ents. (1) Trace window 1. Opening the trace window Trace Clicking this button opens the trace window. 2. Trace window display Trace[...]

  • Page 67

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 67 of 104 3. Trace window (Bus in formation display) 4. Trace window (Disassemble display) 5. Trace window (Source display) 6. Trace window (Dat a access display) Explanation of the trace window (bus information display) The followi[...]

  • Page 68

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 68 of 104 (2) Suspending and resuming trace m easurement 1. Suspending trace measurement Stop Click this toolbar button to suspend the trace measurement in progress. 2. Resuming trace m easurement Re-Start Click this toolbar button [...]

  • Page 69

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 69 of 104 (3) Trace point setup window 1. Trace point setup window Trace Point Setting Win dow in initial state Clicking this toolbar button opens the trace point setting window. You can set events in the same wa y as for the hardwa[...]

  • Page 70

    M306NKT-EPB User’s Ma nual 3. Usage (How to Use the Emulator Debugge r) REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 70 of 104 3.6 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 p[...]

  • Page 71

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 71 of 104 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 debugged with this product. Table 4.1 Spec ifications of target[...]

  • Page 72

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 72 of 104 4.2 Access Timing Because this product emulates som e ports, access timings are diffe rent from those of the actua l MCUs. Chapters 4.2.1 (Vcc=5V) an d 4.2.2 (Vcc= 3V) descri be the access tim ing using t his produc t. 4.2.1 Operation Timing[...]

  • Page 73

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 73 of 104 Figure 4.1 M emory expa nsion mode a nd microprocess or mode (3 wait, accessing ext ernal area) Read ti ming W ri te t iming BCLK CSi ADi BHE ALE RD DBi td( BCLK- CS) th ( BCLK- CS) tcyc td( BCLK- AD) t h( BCLK- AD) th(RD -CS) td( BCLK- ALE)[...]

  • Page 74

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 74 of 104 (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-wa[...]

  • Page 75

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 75 of 104 Read ti mi ng W rit e ti ming BCLK CSi ADi BHE ALE RD ADi /DBi td( BCLK-CS ) th( BCLK-CS) tcyc td( BCLK-AD) t h(BCL K-AD) th(R D-C S) td( BCLK-AL E) th( BCLK- ALE) th(RD-AD ) td( BCLK-RD) t h(BCLK- RD) tac3(RD-DB) Hi- Z tsu (DB-RD) t h( RD-D[...]

  • Page 76

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 76 of 104 (3) Timing Requirements Table 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[...]

  • Page 77

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 77 of 104 4.2.2 Operation Timing of Memory Expansi on Mo de and Micropro cessor Mode (Vcc=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).[...]

  • Page 78

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 78 of 104 Read ti ming Wri te t i ming BCLK CSi ADi BHE ALE RD DBi td ( BCLK - CS ) t h( BCLK -CS ) tcyc td ( BCLK - AD ) t h ( BCLK -AD ) th ( RD - CS) td( B CL K - ALE ) th ( BCLK - ALE ) th( RD - AD ) td ( BCLK - RD ) th( B CL K - R D ) tac2( R D -[...]

  • Page 79

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 79 of 104 (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 [...]

  • Page 80

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 80 of 104 Read timing Write t iming BCLK CSi ADi BHE ALE RD ADi /DB i td (BCLK-CS ) th(B CL K-C S) tcyc td( BCLK-AD) th(BC LK-A D) th(R D-C S) td(B CL K-A LE ) th( BCLK-AL E) th( RD-AD) td( BCLK-RD) th(BC LK -RD) tac3 (RD -D B) Hi -Z tsu (DB- RD) th( [...]

  • Page 81

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 81 of 104 (3) Timing Requirements Table 4.7 and Figure 4. 6 show tim ing requirem ents in m emory expansio n mode 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-RD) D[...]

  • Page 82

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 82 of 104 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 b[...]

  • Page 83

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 83 of 104 IMPORTANT Note on Voltage Detect Circuit: z With this prod uct, as the power voltage cannot be change after powering on the user system, the voltage detect circuit (voltage down detect interrupt, voltage down detect reset, etc.) cannot be us[...]

  • Page 84

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 84 of 104 IMPORTANT Notes on Pullup Control: z Because this product em ulates some I/O ports (P0 to P5 , P10), you can not pullup port s P0 to P5 by the pullup control register s, Install the included resi stor arrays (51k Ω ) as necessary. z The in[...]

  • Page 85

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 85 of 104 4.4 Connection Diagrams Figure 4.7 shows a connection d iagram of the M306NKT -EPB. This connection diag ram mainly show the circuit to be connected to the user system. The circuits not connected to the user system such as the emulator’s c[...]

  • Page 86

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 86 of 104 Table 4.8 Electrical charact eristics of the 74HC4066 Standard value s Symbol Item Condition Min. Standar d Max. Unit R ON ON resistor Vcc=4.5V - 96 170 Δ R ON ON resistor difference Vcc=4.5V - 10 - Ω I OFF Leak current (O ff) Vcc=12.0V -[...]

  • Page 87

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 87 of 104 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Probe Figure 4.8 s hows exter nal dimensions of the M3 06NKT-EPB. 6NK 100.0 60.0 15.0 15.0 55.0 15.0 5.5 10.8 16.3 34.3 10.0 9.5 21.0 9.5 10.0 Un it: mm Figure 4.8 Ext ernal [...]

  • Page 88

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 88 of 104 4.5.2 External Dimensions of the M30800T-PT C Figure 4.9 s hows exter nal dimensi ons of the con verter board M 30800T- PTC for a 100- pin LCC (incl uded with t he M306NKT- EPB). 1 30 31 50 C N 2 C N 1 100 81 80 51 M AD E I N JAPAN 55. 0 40.[...]

  • Page 89

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 89 of 104 4.5.3 External Dimensions of t he Converter Board M3 T-F160-100NRB Figure 4.10 s hows external dimensions a nd a sample foot pattern of t he converte r board for a 100-pin 0.6 5mm pitch QF P M3T-F160- 100NRB (not inc luded). 21.8 40.0 5.3 16[...]

  • Page 90

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 90 of 104 4.5.5 External Dimensions of t he Converter Board M3 T-F160-128NRD Figure 4.12 s hows external dimensions a nd a sample foot pattern of the converter b oard for a 12 8-pin 0.5mm pitch LQFP M3T-F160- 128NRD (not inc luded). 55.0 21.8 40.0 5.3[...]

  • Page 91

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 91 of 104 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: z Be sure to [...]

  • Page 92

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 92 of 104 IMPORTANT Note on Display of MCU Status: z "MCU status" you can refer to in the MCU tab of the MCU Setting dialog box of the emulator debugger shows pin levels of the user syst em. Make sure that proper pi n levels are speci fied a[...]

  • Page 93

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 93 of 104 IMPORTANT Note on the Watchdog Function: z If the reset circ uit of the use r system has a watchdog t imer, disable i t when usi ng the emulator. Note on Protect Register: z The protect is not canceled when bit 2 of protect regi ster PRCR (P[...]

  • Page 94

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 94 of 104 IMPORTANT Note on Power Supply to the User System: z Pins Vcc1 and Vcc2 are connected to the user system to observe the vo ltage. Therefore, th e power is not supplied to the user system from the em ulator, de sign your s ystem so that th e [...]

  • Page 95

    M306NKT-EPB User’s Manual 4. Hardware Specifications REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 95 of 104 IMPORTANT Notes on Debugging in CP U Rewrite Mode: z When you de bug an M16C /6N Group M 16C/6N4, M 16C/6N5, M16C/6N K, M16C/6NL , M16C/6NM , M16C/6NN M CUs in CPU rewrite mode, do not change the block 0 area (F F000h--FFFF Fh) of the flash [...]

  • Page 96

    M306NKT-EPB User’s Manual 5. Troubleshooting REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 96 of 104 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 unt[...]

  • Page 97

    M306NKT-EPB User’s Manual 5. Troubleshooting REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 97 of 104 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 Error Connection to the user system Checkpoint LEDs do not light up. - Check that th[...]

  • Page 98

    M306NKT-EPB User’s Manual 5. Troubleshooting REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 98 of 104 (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 ERROR 16005: Communi cation error occur red. Data was not sent to the target. Check all emulator debugger[...]

  • Page 99

    M306NKT-EPB User’s Manual 5. Troubleshooting REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 99 of 104 (3) Errors Occu r at Em ulator Debugger Startup Table 5.3 Chec kpoints of e rrors at debu gger startup Error Checkpoint ERROR 16224: Target MCU is uncontrollable. Execute the RESET comm and. (1) Check that the N QPACK etc. m ounted on the user syste[...]

  • Page 100

    M306NKT-EPB User’s Manual 5. Troubleshooting REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 100 of 104 5.3 How to Request for Support After checking the items in "5 Troubleshoo ti ng", fill in the tex t file which is downloaded fro m the following URL, then send the information to your local distributor. http://tool-support.renesas.com/eng[...]

  • Page 101

    M306NKT-EPB User’s Manual 6. Maintenan ce and Guarantee REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 101 of 104 6. Maintenance and Guarantee This chapter describes how to maintenance, repa ir provisions and how to request for repair. 6.1 User Registration When you purchase our product, be sure r egister as a user. For user registration, refer to ?[...]

  • Page 102

    M306NKT-EPB User’s Manual 6. Maintenan ce and Guarantee REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 102 of 104 (3) Expiration of the repair period When a period of one year elapses a fter the model was dropped f rom producti on, repairin g products of t he model may become im possible. (4) Transportation fees at sending your product for repair Pl[...]

  • Page 103

    Emulation Probe for M16C/6N G roup M16C/6N4, M16C/6N5, M16C/6NK, M16C/6NL, M16C/6 NM, M16C/6NN User’s Ma nual M306NKT-EPB Publication Date: Oct. 16, 2006 Rev.2.00 Published by: Sales Strategic Planning Di v. Renesas Technology Corp . Edited by: Microcomputer Tool Development Department Renesas Solutions Co rp. © 2006. Renesas Technology Corp. an[...]

  • Page 104

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