Renesas M306V8T-EPB manual

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

Go to page of

A good user manual

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

What is an instruction?

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

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

What should a perfect user manual contain?

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

Why don't we read the manuals?

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

Why one should read the manuals?

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

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

Table of contents for the manual

  • Page 1

    REJ10J0777-0100 ( T ) M306V8T-EPB Rev.1.00 Aug. 1, 2005 User’s Manual Emulation Probe for M16C/60 Series M16C/6V Grou p M306V8[...]

  • 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

    M306V8T-EPB User’s M anual Preface REJ10J0777-0100 Re v.1.00 2005.08.01 Page 3 of 90 Preface The M306V8T -EPB is an em ulation pro be for M16C/ 60 Series M1 6C/6V Gro up M306V8. T he M306V 8T-EPB is use d by connecting to the PC7501 emulator main unit. This user's m anual mai nly describes speci fications of t he M306V8T-EP B emulati on prob[...]

  • Page 4

    M306V8T-EPB User’s m anual Important REJ10J0777-0100 Re v.1.00 2005.08.01 Page 4 of 90 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 ducts th[...]

  • Page 5

    M306V8T-EPB User’s m anual Important REJ10J0777-0100 Re v.1.00 2005.08.01 Page 5 of 90 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 equipm ent u[...]

  • Page 6

    M306V8T-EPB User’s Man ual Precautions for safety REJ10J0777-0100 Re v.1.00 2005.08.01 Page 6 of 90 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 persons, or damage to[...]

  • Page 7

    M306V8T-EPB User’s Man ual Precautions for safety REJ10J0777-0100 Re v.1.00 2005.08.01 Page 7 of 90 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 power cable[...]

  • Page 8

    M306V8T-EPB User’s Man ual Precautions for safety REJ10J0777-0100 Re v.1.00 2005.08.01 Page 8 of 90 CAUTION Cautions to Be Taken for Turning On the Power:  Turn ON/OFF the power of the emulator and use r system as si multaneously as possible.  Do not leave ei ther the emulat or or user system powered on , because of lea kage current the int[...]

  • Page 9

    M306V8T-EPB User’s M anual Contents REJ10J0777-0100 Re v.1.00 2005.08.01 Page 9 of 90 Contents Page Preface ........................................................................................................................ ..................................................3 Import ant ........................................................[...]

  • Page 10

    M306V8T-EPB User’s M anual Contents REJ10J0777-0100 Re v.1.00 2005.08.01 Page 10 of 90 Page 3. Usage (How to Use the Emulator Debugger) .................................................................................... .....................43 3.1 Starting Up the Emulator Debugger .................................................................[...]

  • Page 11

    M306V8T-EPB User’s M anual User Registration REJ10J0777-0100 Re v.1.00 2005.08.01 Page 11 of 90 User Registration When you have purchased the emulator presented in this user's manua l, please be sure to register it. As the hardwa re tool user registration FAX sheet is includ ed with this manual, fill it in and FAX it to you r local distribut[...]

  • Page 12

    M306V8T-EPB User’s M anual Terminology REJ10J0777-0100 Re v.1.00 2005.08.01 Page 12 of 90 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 ulation prob[...]

  • Page 13

    M306V8T-EPB User’s M anual 1. Outline REJ10J0777-0100 Re v.1.00 2005.08.01 Page 13 of 90 1. Outline This ch apter descr ibes the pac kage co mponen ts, the sys tem conf i guration, the specifications of the emu lator functions and th e operating e nvironm ent. 1.1 Package Components The M306V8T-EPB packag e consists of the following items. When u[...]

  • Page 14

    M306V8T-EPB User’s M anual 1. Outline REJ10J0777-0100 Re v.1.00 2005.08.01 Page 14 of 90 1.2 Other Tool Products Required for Development To bring f orward pr ograms devel opment on an M 16C/60 Se ries of t he M16C/6 V Group M306V8 M CUs, the products listed below are necessary in addition to those con tained package above. Get them separately. T[...]

  • Page 15

    M306V8T-EPB User’s M anual 1. Outline REJ10J0777-0100 Re v.1.00 2005.08.01 Page 15 of 90 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 s hows a confi gurati on of the M3 06V8T-EPB sy stem. Figure 1.1 Syst em configurat ion (1) Emul ation pro be M306 V8T-EPB This is an em ulation pr obe for the M 16C/60 Series M16C/6 V Group M3 06[...]

  • Page 16

    M306V8T-EPB User’s M anual 1. Outline REJ10J0777-0100 Re v.1.00 2005.08.01 Page 16 of 90 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 indicate th[...]

  • Page 17

    M306V8T-EPB User’s M anual 1. Outline REJ10J0777-0100 Re v.1.00 2005.08.01 Page 17 of 90 (2) Target Status LEDs The target status LEDs indicate operating status of the target MCU and power supply of the user system. Table 1.4 lists the definition of each target status LED. Table 1.4 Defi nition o f the target stat us LEDs Name Status Meaning ON P[...]

  • Page 18

    M306V8T-EPB User’s M anual 1. Outline REJ10J0777-0100 Re v.1.00 2005.08.01 Page 18 of 90 1.4 Specifications Tables 1.5 lists the specifica tions of the M306V8T-EPB. Table 1.5 Spec ifications of the M306V 8T-EPB Applicable M CU M16C/60 Series M1 6C/6V Gr oup M306 V8 Applicable M CU mode Single-chi p mode Memory expan sion m ode 16 bit bus width (N[...]

  • Page 19

    M306V8T-EPB User’s M anual 1. Outline REJ10J0777-0100 Re v.1.00 2005.08.01 Page 19 of 90 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.6 and 1.7. Table 1.6 Operat ing enviro nmental condit ions Item Description Operating te mperature 5 to 35°C ( no de[...]

  • Page 20

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 20 of 90 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 Figure 2.1.[...]

  • Page 21

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 21 of 90 2.2 Installing the Emulator Debugger (Renesas Debugger Package for M16C) If the OS used in your host mach ine is Windows XP or 2 000, th is installation must be executed b y a user with administrator rights. Be aware that users without administrator rights cann[...]

  • Page 22

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 R e v.1.00 2005.08.01 Page 22 of 90 2.3 Connecting the Host Machine When connectin g the em ulator PC7501 to a host machine, you can choose yo ur desired interface from LPT parallel interface, USB interface and LAN int erface. Use the interface selection switch on the emulator PC7501' s rea[...]

  • Page 23

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 23 of 90 2.4 Connecting the PC7501 Figure 2.3 shows how to conn ect the PC7501 and the emulation probe. (1) Slide the uppe r cover of the M306V8T-EPB to the M306V8T- PTC side. (2) Remove the upper co ver. (3) Unscrew the two screws . (4) Re move the metal plate. (5) Con[...]

  • Page 24

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 24 of 90 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. ([...]

  • Page 25

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 R e v.1.00 2005.08.01 Page 25 of 90 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, a nd user system. 2.6.2 Turning ON/OFF the Powe r  Turn ON t[...]

  • Page 26

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 R e v.1.00 2005.08.01 Page 26 of 90 2.6.3 LED Display When the Emulator Starts Up No rmally Figure 2.4 shows upper pan el LED lighting status when the emulator started up properly. Check it when star ting up the emulator sy stem . Figure 2.4 LED disp lay when the power tu rned on PC7501 IMPORTAN[...]

  • Page 27

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 R e v.1.00 2005.08.01 Page 27 of 90 2.7 Downloading Firmware 2.7.1 When It is Necessary to Downl oad 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, a nd the firm ware is [...]

  • Page 28

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 R e v.1.00 2005.08.01 Page 28 of 90 2.8 Self-check 2.8.1 Self-check Procedure To run the self-check of the emulator, do so as explain ed here below. While the self-check is in progress, the LEDs will change as shown in Fi gure 2.6. (1) If the user system is connected, disc onnect it. (2) Set the[...]

  • Page 29

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 29 of 90 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 prob e and PC7501. (2) Redownload the proper firm ware. IMPORTA[...]

  • Page 30

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 30 of 90 2.9 Connecting the User System Figure 2.7 shows how to connect this product according to your user syst em. Figure 2.7 Connecting the user sy stem according to user systems CAUTION Note on Connecting the User System:  Take care not to attach a converter boar[...]

  • Page 31

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 31 of 90 2.9.1 Connecting the User System When connect ing the em ulation pro be to a 116- pin 0.65- mm-pitch fo ot patter n on the use r system, f ollow the pr ocedures below. (1) Moun t the NQPACK116SB (included) to the user system. (2) Co nnect the YQPACK116SB ( incl[...]

  • Page 32

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 32 of 90 2.10 Switch Settings 2. 1 0. 1 Setting Switches of E mulation P robe Set the switches of the emulation probe accord ing to the cond ition. Figure 2.9 shows the positions of the switches of the M306V8T-EPB. Opening t he upper c over (1) Slide asid e the upper co[...]

  • Page 33

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 33 of 90 (1) Circuits for JP2, JP3, SW1 t o SW5 o n the M306 V8T-EPB boa rd, OSD resistor, capaci tors, etc. Figure 2.10 s hows these ci rcuits. Figure 2.1 0 Circuits for JP2, J P3, SW1 t o SW5, a nd OSD TRGT R14 470ohm J4 RCA SW5 R15 1Mohm C16 0.1uF C15 560pF C6 1000pF[...]

  • Page 34

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 34 of 90 (1) Setting JP 2, JP3, S W1 to SW5 on the M306 V8T-EPB Tables 2.1 and 2.2 sh ow the setti ngs of JP2, JP3, SW1 to S W5 on the M 306V8T-EPB . Table 2.1 Switch settings of the M306V8T-EPB (JP2, JP3, SW1 to SW5) (1/2) Switch Switch name Setting Descript ion 1 2 3 [...]

  • Page 35

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 35 of 90 Table 2.3 Switch settings of the M306V8T-EPB (JP2, JP3, SW1 to SW5) (2/2) Switch Switch name Setting Descript ion ●TRGT EPB SW3 P103/CAP (Factory-setting) Connects pin P 103/CAP of t he evaluatio n MCU to the user system . SW3 P103/C AP SW3 P103/CAP ●TRGT E[...]

  • Page 36

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 36 of 90 2.10.2 Writing Data to the OSDROM This product is not ab le to write data into the OSDROM (interna l resources of the evaluation MCU). Remove the evalu ation MCU of IC3 from the IC socket and write data to the OSDROM using the dedicated programmer. Figure 2.11 [...]

  • Page 37

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 R e v.1.00 2005.08.01 Page 37 of 90 2.10.3 Pullup of Emulation Ports Because this product emulates some I/O port s (P0 to P5, P10), you ca n not pullup ports P0 to P5 by the pu llup control registers . Install the included resist or arrays ( 51 k Ω ) as necessary. Figure 2.12 shows the positio[...]

  • Page 38

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 38 of 90 2.11 Selecting Clock Supply 2.11.1 Clocks You can cho ose a clock supplied to t he evaluation MCU by t he Emulator t ab in the I nit dialog box of t he emulator debugger. Table 2.4 shows the clocks and their initial settings . Table 2.4 Cl ock suppl y to the MC[...]

  • Page 39

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 39 of 90 (2) Replacing an Oscillator Circuit Board 1. Remove the four screws of both sides of this produc t and lift off the upper cov er (see Figure 2.13). Figure 2.1 3 Removi ng the upper cover[...]

  • Page 40

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 40 of 90 1. Replace the oscillator circ u it board (see Fi gure 2.14). 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 oscillator circuit board. Attach another o[...]

  • Page 41

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 41 of 90 (3) Using the Internal Os cillator Circuit Bare Board To use the emulation probe at a frequency you like, build a desi red oscillator circuit on the included OSC-2 o scillator circuit bare board. Figure 2.15 shows an extern al view of the OSC-2 oscillator circu[...]

  • Page 42

    M306V8T-EPB User’s M anual 2. Setup REJ10J0777-0100 Re v.1.00 2005.08.01 Page 42 of 90 2.11.3 Using the Oscillator Circuit on the User System To operate this product with an extern al clock, construct the oscillator circuit as shown in Figure 2.17 in the user system and input the oscillato r output at 50% duty (within the operatin g range of the [...]

  • Page 43

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 R e v.1.00 2005.08.01 Page 43 of 90 3. Usage (How to Use the Emulator Debugger) This chapter describe s how to start up the emulator de bugg er from the High-per formance Embedded Workshop. 3.1 Starting Up the Emulator Debugger When debu gging the c ompleted pr[...]

  • Page 44

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 44 of 90 2. Specifying the comm unication interface Specifying the communication interface (LPT communication) - For selecting the LPT communication, click the radio button “LPT” of the MCU tab. - For the Type area, specify the LPT[...]

  • Page 45

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 45 of 90 3. Executin g the self-chec k Executing the self-check Enable this function when you wa nt the emulator to be self- checked at startup. Be sure to select the check box only when you want the emulator to be self-checked at star[...]

  • Page 46

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 46 of 90 (2) Debugging Inform ation tab Specifying the compiler used and the o bject format Specify the compiler you are using and the for mat of the object file output by the compiler. - Compiler Select the compiler you are using. (By[...]

  • Page 47

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 47 of 90 (4) Automatically executing a script c ommand Automatically executing a script command To automatically execute a script command when starting up the debugger, click the “Ref er...” button and specify the script file to be[...]

  • Page 48

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 R e v.1.00 2005.08.01 Page 48 of 90 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 approp[...]

  • Page 49

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 49 of 90 2. Option Setting the debug options Check the box when not downloading the program to the internal flash ROM of the MCU. If this box is checked, the working efficiency (dow nloading, software break, etc.) will be improved beca[...]

  • Page 50

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 50 of 90 (2) MAP tab Specifying the emulation memory allocation Sets the memory area assigned to the emulation memory by 4KB. Up to four areas can be set. An area set to [INTERN AL] will be allocated to the emulation memory. An uncheck[...]

  • Page 51

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 51 of 90 3.1.3 Checking Connections of the Emulator System Checking conne ctions of the emulator system When the emulator debugger is co nnected correctly to the emulator after you’ve finished setting up the Init dialog box and the M[...]

  • Page 52

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 52 of 90 3.2 Editor (Source) Window (1) Program window Editor (Source) window The editor (source) window is a window that always shows the content of the source file corresponding to the current position of the program counter. It auto[...]

  • Page 53

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 53 of 90 (3) Setting break p oints 1. Screen afte r software b reakpoint setu p Breakpoint setup screen There are three types of breakpoints as described below. - Address match breakpoint This breakpoint can be set only when you chose [...]

  • Page 54

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 54 of 90 (4) Executing up to the cursor po sition (Come command) 1. Specifying the Com e command Setup procedure for executing CO ME command (1) Click the line in t he progr am dis play ar ea at whi ch you want the program to execute. [...]

  • Page 55

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 55 of 90 3.3 Hardware Breakpoint Setting Window (1) Breakpo int setup dialog box 1. Opening the hardware breakp oint setup dial og box Hardware Break Poi nt Clicking this button opens th e hardware breakpoint setup dialog box. 2. Hardw[...]

  • Page 56

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 56 of 90 3. Opening the break ev ent setting dialog box Specifying the event type Click to select the event type you want to set. - FETCH Detects an instruction prefetch. - DATA ACCESS Detects a memory access. - BIT SYMBOL Detects a bi[...]

  • Page 57

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 57 of 90 (3) When DATA ACCESS is selected 1. Window for setting the address Setting the address You can set eight conditions, e. g., a specified address, a specified address range, etc. When you have finished se tting the address, clic[...]

  • Page 58

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 58 of 90 3. Example Da ta Settings Setting a break event A1 Address 1 : 0020E8 Data 1 : 5423 MASK : FFFF Access : WRITE Setting a break event (using 2 events) A1 A2 Address 1 : 0020E5 Address 1 : 0020E6 Data 1 : 7900 Data 1 : 00AB MASK[...]

  • Page 59

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 59 of 90 (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 t hat you can choose for the combinatorial [...]

  • Page 60

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 60 of 90 3.4 Trace Window The trace window is used to show the results of real -time trace m easurements. (1) Trace window 1. Trace window display Trace window The trace window is used to show the results of real-time trace measurement[...]

  • Page 61

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 61 of 90 2. Trace window (Bus display) 3. Trace window (Disassemble display) 4. Trace window (Source display) Explanation of the trace window (b us display) The following explains the displayed contents, from left to right. - Address S[...]

  • Page 62

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 62 of 90 (2) Trace point setup window 1 Trace point s etup window Trace Point Setting Win dow in initial state Clicking this toolbar button opens the t race point setting window. You can set events in the sa me way as for the hardware [...]

  • Page 63

    M306V8T-EPB User’s M anual 3. Usage (How to Use the Emulator Debugger) REJ10J0777-0100 Re v.1.00 2005.08.01 Page 63 of 90 3.5 RAM Monitor Window This functi on makes i t poss ible to m ake reference t o the cha nges in m emory cont ents with out im pairing the real-time performance fo r target progra m execution. The emulator PC7501 system is pro[...]

  • Page 64

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 64 of 90 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 target [...]

  • Page 65

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 65 of 90 4.2 Access Timing Because this product emulates some ports, ac cess timings are di ffere nt from those of the actua l MCUs. Chapter 4.2.1 descri bes the access timing using this product. 4.2.1 Operation Timing of Memory Expansi on Mode and Mic[...]

  • Page 66

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 66 of 90 Figure 4.1 Me mory expa nsion m ode and micro processor mode (3-wait, ac cessing externa l area) Read ti ming Write timin g BCLK CSi ADi BHE ALE RD DBi td(BCLK-CS) th(BC LK-CS) tcyc td(BCLK-AD) th( BCLK-AD) th(RD-CS) td(B CLK -ALE ) th(BCLK-AL[...]

  • Page 67

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 67 of 90 (2) Multiplex Bus Timing Table 4.3 and Figure 4.2 show the bu s timing in m emory expansion mode an d microprocessor mode (2-wait, accessing external area, using multiplex bus). Table 4.3 Memory expansion mode and micro processor mode (2-wait,[...]

  • Page 68

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 68 of 90 Figure 4.2 Memory expansion mode and micropro cessor mode (2-wait, accessing external area, using multiplex bus) Read timing Write timing BCLK CSi ADi BHE ALE RD ADi /DBi td(BCL K- CS) th(BCLK -CS) tcyc td(BCLK-AD) th(BCLK -AD) th(RD-CS) td(BC[...]

  • Page 69

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 69 of 90 (3) Timing Requirements Tables 4.4 and Figure 4. 3 list the tim ing requi rements. Table 4.4 Tim ing requirem ents Actual MCU [ns] This product [ns] Symbol Item Min. Max. Min. Max. tsu(DB-R D) Data input setup tim e 50 75 tsu(RDY-B CLK) RDY* i[...]

  • Page 70

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 70 of 90 4.3 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 Differences [...]

  • Page 71

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 71 of 90 IMPORTANT Notes on Reset Vector Area:  Mem ory in the emulator main unit is al ways selected as a reset vector area (FF FFCh--FFFFFh) i n order to operate the eva luation MC U in the emul ator-dedicated m ode . Set the contents of the re se[...]

  • Page 72

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 72 of 90 IMPORTANT Notes on Pullup Control:  Because t his product emulates some I/O ports (P0 t o P5 , P10), you ca n not pullup port s P0 to P5 by the pullup control register s, Install the included resi stor arrays (51 k Ω ) as necessary.  T[...]

  • Page 73

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 73 of 90 4.4 Connection Diagrams Figure 4.4 shows a connect ion diagram of the M 306V8T-EPB. This connecti on diagram mainly show the circ uit to be connected to the user system. The circuits not connected to the user system such as the emulator’s co[...]

  • Page 74

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 74 of 90 Table 4.5 Electrical charact eristics of the 74HC4066 Condition Standa rd values Unit Symbol Item VCC Min. Standard Max. R ON ON resistor 4.5V - 96 170 Δ R ON ON resistor difference 4.5V - 10 - Ω I OFF Leak current (Off) 12.0V - - ±100 I I[...]

  • Page 75

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 75 of 90 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Probe Figure 4.5 s hows exter nal dime nsions of th e M306V8T-E PB. Figure 4.5 Ext ernal dime nsions of the emulati on probe RENESAS 665 320 290 55 55 140 35 Unit: mm[...]

  • Page 76

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 76 of 90 4.5.2 External Dimensions of the M306V 8T-PTC Figure 4.6 s hows exter nal dime nsions of th e converter board M306 V8T-PTC f or a 116-pin LC C (inclu ded with t he M306V8T - EPB). Figure 4.6 Ext ernal dim ensions of the M306V8 T-PTC 16.5 Unit:[...]

  • Page 77

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 77 of 90 4.6 Notes on Using This Product Notes on usi ng this pr oduct are list ed below. Whe n debuggi ng the MCU usi ng he emulator , be careful ab out the followi ng precautions. IMPORTANT Note on the Version of the Emulator Debugge r:  Be sure t[...]

  • Page 78

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 78 of 90 IMPORTANT Note on Clock Supply to the MCU:  A clock suppl ied to the evalu ation MCU i s selected by t he Emulat or tab in the I nit dialog b ox of the em ulator debugger. (1) When "Internal" is selected: A clock generated by the [...]

  • Page 79

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 79 of 90 IMPORTANT Note on Breaks:  The area displa ying break points in t he program window of the emulator d ebugger shows the followi ng breaks. (1) Address-match break This is a debugging f unction w hich breaks a program , using t he address-m [...]

  • Page 80

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 80 of 90 IMPORTANT Notes on Internal Flash ROM of the MCU:  In single-c hip mode and memory expansion m odes, this product downl oads a u ser program to the flash R OM of an MCU. By checking "Debug Option " in the MCU tab of the MCU settin[...]

  • Page 81

    M306V8T-EPB User’s M anual 4. Hardware Specifications REJ10J0777-0100 Re v.1.00 2005.08.01 Page 81 of 90 IMPORTANT Notes on Debugging in CP U Rewrite Mode:  When you deb ug an M16C/6 0 Series MCU s in CPU rewr ite mode, do n ot change the block 0 area ( FF000h-- FFFFFh) of the flash memory . Otherwise, the emulator will be uncontroll able. [...]

  • Page 82

    M306V8T-EPB User’s M anual 5. Troubleshooting REJ10J0777-0100 Re v.1.00 2005.08.01 Page 82 of 90 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 activated until t[...]

  • Page 83

    M306V8T-EPB User’s M anual 5. Troubleshooting REJ10J0777-0100 Re v.1.00 2005.08.01 Page 83 of 90 5.2 When the Emulator Debugger D oes Not Start Up Properly (1) When the LEDs of the PC7501 Do Not Display Normally Table 5.1 Err ors LEDs sh ow and their checkpoint s Error Connection to the user system Checkpoint LEDs do not light up. - Check that th[...]

  • Page 84

    M306V8T-EPB User’s M anual 5. Troubleshooting REJ10J0777-0100 Re v.1.00 2005.08.01 Page 84 of 90 (2) MCU Setting Dialog Box Does Not Appear at Emulator Debugger Startup Table 5.2 Chec kpoints of e rrors at deb ugger st artup Error Checkpoint Communi cation error occ urred. Data was not sent to the target. Check all emulator debugger settings, int[...]

  • Page 85

    M306V8T-EPB User’s M anual 5. Troubleshooting REJ10J0777-0100 Re v.1.00 2005.08.01 Page 85 of 90 (3) Errors Occu r at Em ulator Debugger Startup Table 5.3 Chec kpoints o f errors at debugger startup Error Checkpoint Target MCU is uncontroll able. (1) Check that the NQPACK etc. m ounted on t he user system is soldere d properly. (2) Check that the[...]

  • Page 86

    M306V8T-EPB User’s M anual 5. Troubleshooting REJ10J0777-0100 Re v.1.00 2005.08.01 Page 86 of 90 5.3 How to Request for Support After checking the items in "5 Troub leshooting", send the following inf ormation to your local d istributor. Customer Inf ormation - Company: - Address: - Departm ent: - Name: - Phone: - Fax: - Email add ress:[...]

  • Page 87

    M306V8T-EPB User’s M anual 6. Maintenance and Guarantee REJ10J0777-0100 Re v.1.00 2005.08.01 Page 87 of 90 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, refe r to “U[...]

  • Page 88

    M306V8T-EPB User’s M anual 6. Maintenance and Guarantee REJ10J0777-0100 Re v.1.00 2005.08.01 Page 88 of 90 (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 your product for repai r Plea[...]

  • Page 89

    Emulation Probe for M16C/60 Series M16C/6V Group M306V8 User’s Ma nual M306V8T-EPB Publication Date: Aug. 1, 2005 Rev.1.00 Published by: Sales Strategic Planning Div. Renesas Technology Corp . Edited by: Microcomputer Tool Development Department Renesas Solutions Corp. © 2005. Renesas Technology Corp. and Renesas Solutions Corp., All rights rese[...]

  • Page 90

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