Renesas M306H7T3-RPD-E 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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas M306H7T3-RPD-E, 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 M306H7T3-RPD-E 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 M306H7T3-RPD-E. 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 M306H7T3-RPD-E should contain:
- informations concerning technical data of Renesas M306H7T3-RPD-E
- name of the manufacturer and a year of construction of the Renesas M306H7T3-RPD-E item
- rules of operation, control and maintenance of the Renesas M306H7T3-RPD-E 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 M306H7T3-RPD-E 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 M306H7T3-RPD-E, 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 M306H7T3-RPD-E.

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 M306H7T3-RPD-E 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

    REJ10J0964-0100 ( T ) M306H7T3-RPD-E Rev.1.00 Sep. 01, 2005 User’s Manual Emulation Pod for M16C/6H Group M306H7[...]

  • 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

    M306H7T3-RPD-E User’s Manual Preface REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 3 of 88 Preface The M306H7T3-RPD-E is an emulation pod fo r the M16C/6H Group M306H7 of 16-b it MCUs. It is used with a PC4701 emulator (e xcluding the PC4700L and PC4 701L). This user's m anual mai nly describes specifications of the M306H7T3-R PD-E emulat io[...]

  • Page 4

    M306H7T3-RPD-E User’s Manual Important REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 4 of 88 Important Before using t h is product , be sure to read this user ’ s manual careful ly . Keep this user’ s manual, and re fer to this w hen you ha ve questions a bout this product. Emulator: The emulator in this document refers to the following pro d[...]

  • Page 5

    M306H7T3-RPD-E User’s Manual Important REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 5 of 88 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[...]

  • Page 6

    M306H7T3-RPD-E User’s Manual Precautions for Safety REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 6 of 88 Precautions for Safety Definitions of Signal Words In both t he user’s m anual and on the pr oduct its elf, several icons are used to in sure prope r handlin g of this product an d also to prevent inj uries to you or other persons, or damag[...]

  • Page 7

    M306H7T3-RPD-E User’s Manual Precautions for Safety REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 7 of 88 警告警告 W ARNING 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.  Us[...]

  • Page 8

    M306H7T3-RPD-E User’s Manual Precautions for Safety REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 8 of 88 注意注意 CAUTION Cautions to Be Taken for Turning On the Power:  Turn ON the power of the emulator a n d user sy stem as sim ultaneously as po ssible. Turn OFF the p ower of the emulator and user system as sim ultaneously as possible. [...]

  • Page 9

    M306H7T3-RPD-E User’s Manual Contents REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 9 of 88 Contents Page Preface ......................................................................................................................................................................... 3 Related ma nuals .............................................[...]

  • Page 10

    M306H7T3-RPD-E User’s Manual Contents REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 10 of 88 Page 3. Usage (How to Use the Emulator Debugger) .................................................................................... .................... 48 3.1. Making an MCU File .........................................................................[...]

  • Page 11

    M306H7T3-RPD-E User ’s Manual User Registration REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 11 of 88 User Registration When you ha ve purchase d the emul ator presented i n this user' s manual, p lease be sure to register it. A s the H/W T ool Custom er Registration Sheet is included with this product, fill it in an d F AX it to your local[...]

  • Page 12

    M306H7T3-RPD-E User’s Manual T erminology REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 12 of 88 T erminology Some specific words used i n this user's manual are defi ned as fol lows: Emulator m ain unit (Her eafter P C4701) This means a gene ric name for em ulators for M16C, 7700, 740 Fam ilies. T ake note of the fact t hat the M306H 7T3-RP[...]

  • Page 13

    M306H7T3-RPD-E User’s Manual 1. Outline REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 13 of 88 1. Outline This chapter describes the package c omponen ts, the system configuration and the prepar ation for using this pro duct for the firs t time. 1.1 Package Components The M306H7T3-RPD-E package consists of th e following items. When unpac king it[...]

  • Page 14

    M306H7T3-RPD-E User’s Manual 1. Outline REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 14 of 88 1.2 Other T ool Products Required for Development T o bring forward programs developm ent on the M16C/6H Group M306H7, the products listed below are necessary i n addition to those contained package above. Get t hem separately . T able 1.2 Ot he r tool [...]

  • Page 15

    M306H7T3-RPD-E User’s Manual 1. Outline REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 15 of 88 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 s hows a confi g uration of the PC470 1 system . Figure 1.1 Syst em configurat ion (1) Emulation pod M306H7T3-R PD-E (this pro duct) Emulation pod for the M 16C/6H Group M306 H7. This emul a[...]

  • Page 16

    M306H7T3-RPD-E User’s Manual 1. Outline REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 16 of 88 1.3.2 Names and Function s of the PC4701 Front Panel LEDs Figure 1.2 s hows the nam es of the LEDs on the front panel of the em ulator . Figure 1.2 Names of t he LEDs on the front pa nel of the PC 4701 (1) System Status LEDs The system status LEDs indic[...]

  • Page 17

    M306H7T3-RPD-E User’s Manual 1. Outline REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 17 of 88 (2) Target Status LEDs The target status LEDs indicate the tar get MCU's operating status and target board's power supply . T able 1.4 lists the d efiniti on of each target st atus LED. T able 1.4 Definitions of the target status LEDs Name S t[...]

  • Page 18

    M306H7T3-RPD-E User’s Manual 1. Outline REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 18 of 88 1.4 S pecifications T ables 1 .5 and 1.6 li st the speci fications of t he M306H7T3 -RPD-E. T able 1.5 M3 06H7T3-RPD-E specifications (1/2) Item Description Applicable MCU M16C/6H Group M306 H7 Usable MCU mode Single-chi p mode Emulation M emory 1MB App[...]

  • Page 19

    M306H7T3-RPD-E User’s Manual 1. Outline REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 19 of 88 T able 1.6 M3 06H7T3-RPD-E specifications (2/2) Item Description 100-pin LCC socket 1 M30800T -PTC (included) + IC61-1004-05 1 (included) Connecting the u s er system (see “2.8 Connecting the Use r System” on page 3 1) 100-pin 0. 65-m m -pitch QFP ([...]

  • Page 20

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 20 of 88 2. Setup This chapter describes the preparatio n for usi ng this pr oduct, the p rocedure fo r starting up the em ulator and h ow to cha nge settings. 2.1 Flowchart of S tarting Up the Emulator The procedure for starting up the em ulator is shown i n Figu[...]

  • Page 21

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 21 of 88 2.2 Installing the Emulator Debugger (M16C PC4701 Emulator Debugger) If the OS used in your host machine is Windows XP or 2000 , this installation must be executed by a user with administrator rights. Be aware that users without administrato r rights cann[...]

  • Page 22

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 22 of 88 2.3 Connecting the Host Machine When connecti ng the em ulator PC470 1 to a host machine, i nterface vari es dependi ng on the PC 4701 used. Figure 2. 1 shows the outline to connect each interface ca ble. For details on interface, refer to each PC4701 use[...]

  • Page 23

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 23 of 88 2.4 Connecting the PC4701 T o connect the emulation pod to the PC4701, use the FLX120 -RPD 120-p in flexible ca ble include d with this product packa ge. Connect the PC4701 side connect or of the FLX120-RPD to the cable connector of the PC4701, then secur[...]

  • Page 24

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 24 of 88 2.4.2 Connecting the FLX120-RPD to the Emulation Pod Figure 2.3 s hows how t o connect the FLX120-RP D and the em ulation pod. Figure 2.3 C onnecting the FL X120-RPD t o the emul ation pod CAUTION Note on Connecting the Cable:  Always shut OFF powe r b[...]

  • Page 25

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 25 of 88 2.4.3 PC4701 and Emulation Pod Arrangement The PC4701 a nd emulat ion pod sho uld be lai d out so th at the FLX120 -RPD becom es straight as shown i n Fig. 2. 4 below (indicated by circle). Under the condition in which the FLX120-RPD has warped and there [...]

  • Page 26

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 26 of 88 2.5 T urning ON the Power 2.5.1 Checking the Connections of the Emulator Syste m Before turning the power ON, check t he conn ection of the interface ca ble with host m achine, PC4701, emulat ion pod, and user system. 2.5.2 T urning ON/OFF the Power  T[...]

  • Page 27

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 27 of 88 2.5.3 LED Display When the Emulator S tart s Up Normally Figure 2.5 s hows front panel LED light ing status whe n the em ulator started up prop erly . Check it when starting up the emulator sy stem . Figure 2.5 L ED displa y when the power tur ned on IMPO[...]

  • Page 28

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 28 of 88 2.6 Downloading Firmware 2.6.1 When It is Necessary to Downl oad Firmware It is necessary to download the firm ware in the cases listed be low . Normally , the following are automatically detected when the emulator debugger is started up , and the fi rmwa[...]

  • Page 29

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 29 of 88 2.7 Self-check 2.7.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 Figu re 2.7. (1) If the user sy stem is connected, disc onnect it. (2) S[...]

  • Page 30

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 30 of 88 Figure 2.8 Switch settings for the self-check (factory-settings) 2.7.2 If an Error is Detected in the Self-check If the self-c heck does not resul t normally (system stat us error or target status error in Figure 2.7), ch eck the following.  Whether th[...]

  • Page 31

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 31 of 88 2.8 Connecting the User System Connect the e mulati on pod to the user system as shown in Figure 2.9. Figure 2.9 C onnecting the user sy stem CAUTION Note on Connecting the User System:  Take care not to attach the conver ter board in a wrong direction[...]

  • Page 32

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 32 of 88 2.8.1 Connecting to a 100-pin LCC socket Figure 2.10 shows how to c onnect a 100-pi n LCC sock et (IC61-100 4-051 of Y amaichi Electro nics Co., Lt d.) on the user system t o the M30800T -PTC (included). (1) Attach th e 100-pin LCC socket to th e user sys[...]

  • Page 33

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 33 of 88 2.8.2 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1 ) Figure 2.1 1 shows how to c onnect a 1 00-pin 0.65 -mm-pitch f oot patter n on the user system to the M3T -DIRECT100S (not included), a nd here f ollowing is its pr ocedure. For details on[...]

  • Page 34

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 34 of 88 2.8.3 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 2 ) Figure 2.1 2 shows ho w to connect a 100-pin 0.65-mm -pitch foot pattern on t he user sy stem t o the M3T -DUMMY100 S (not included), a nd here f ollowing is its pr ocedure. For details on[...]

  • Page 35

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 35 of 88 2.8.4 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 3 ) Figure 2.1 3 shows ho w to co nnect a 100- pin 0. 65-mm -pitch foot pattern on t he user sy stem t o the M3T -FLX-100NRB (not included), a nd here f ollowing is its pr ocedure. For details[...]

  • Page 36

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 36 of 88 2.9 Changing Settings This chapter describes how to set the inside of the emulator . 2.9.1 Removing/Attachi ng the Upper Cover (1) Removing the up per cove r T o ope n the upper cover , remove the f our screws o f both sides of this pr oduct and l ift of [...]

  • Page 37

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 37 of 88 2.9.2 Each Setting Figure 2.15 shows the positions of each part of this product. Figure 2.15 Positions of each part MCU dependent board Common board (M30620T3 -RPDC) (1) Oscillator circuit board (2) Swit ches (2) Switches (3) Socket for mounting network r[...]

  • Page 38

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 38 of 88 2.9.3 Selecting Clock Supply (1) Clock Supply to the MCU Y ou can choose a cl ock suppl ied to the evaluat ion MCU by the Emulator t ab in the Init dialog bo x of the emul ator debugger . T able 2.2 lists the factory-settings of each clock supply when you[...]

  • Page 39

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 39 of 88 (3) Replacing Oscillator Circuit Boards Figure 2.16 shows how to replace the oscilla tor circuit boards. For t he position of the osc illator circuit board, see Figure 2. 15. (1) Unscrew the sc rew securing the oscillator circuit board. (2) Lift off t he [...]

  • Page 40

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 40 of 88 (4) Changing the Internal Oscill ator Circuit of the Emulation Pod T o use the emulation pod at a desired frequency , build the de sired oscillator circuit on the included OSC-2 oscillator circuit board (bare board). Figure 2.17 shows an external view of [...]

  • Page 41

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 41 of 88 (5) Using the Oscillator Ci rcuit on the User System T o operate this product with an extern al clock, construct the oscillator circu it as shown in Figure 2.19 in the user system and input the oscillato r output at 50% duty (within the operatin g range o[...]

  • Page 42

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 42 of 88 2.9.4 Switch Settings Here follows explanations of the switches of the emulation pod. Set the switches acco rdi ng to the user sy stem. T ables 2. 3 and 2.4 li st how to set t oggle swit ches SW1 to S W5 of the M306 H7T3-PR T board (MCU- dependent ). T a [...]

  • Page 43

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 43 of 88 T able 2.4 Switch settings of the M306H7T3- PR T (2) Signal Switch Setting Description P87 Xcout Xcin Connects pin P86/Xcout of the MC U to the user system. (Factory-setting) P86/Xcout SW5 P87 Xcin Does not c onnect pin P8 6/Xcout of the MCU t o the user [...]

  • Page 44

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 44 of 88 T able 2.6 Switch settings of the M306H7T3- PR T (4) Signal Switch Setting of jumper switches FLX FLX INT INT VCC1 JP4 Connects pin VCC1 of the MC U to the internal power supply o f pod (equipotential of VCC2). Connects pin VCC1 of the MC U to the user sy[...]

  • Page 45

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 45 of 88 2.9.5 Installing and Remov ing Network Re sistors for Pullup In this product, you canno t control pullup for ports P0 to P5 by pullup co ntrol registers (pullu p control register read /write a re possible). A socket for installing the network resistor for[...]

  • Page 46

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 46 of 88 2.9.6 Bypass Cap acitors for A/D Convert er The M306H7T3-R PD-E has t he M306H7T3- PR T board whi ch has a foot pat tern for inst alling by pass capacitors f or A/D converter near the MC U and premount ed 0.1 μ F capacit ors. Mount suit able bypa ss capa[...]

  • Page 47

    M306H7T3-RPD-E User’s Manual 2. Setup REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 47 of 88 2.9.7 Connection Diagram of Dat a Slicer This product has on-board sockets to cha nge parts used for circ uits connected to a data slicer . The circuit and the arrangem ent of the parts use d for each ci rcuit are sh own in Figu re 2.23 and Figure 2.24 , [...]

  • Page 48

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 48 of 88 3. Usage (How to Use the Emulator Debugger) This chapter describ es how to start up the M16C PC4701 emulator debugg er from the High-performan ce Embedded W orkshop and how to use the main windows. 3.1. Making an MCU Fi[...]

  • Page 49

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 49 of 88 3.3 S tarting Up the Emulator Debugger When debu gging the com pleted programs, switc h the session . The sessio n can be cha nged by t he drop do wn list of t he tool bar shown below . Y ou will have as many sessions c[...]

  • Page 50

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 50 of 88 2) Specifying the communication interface S pecifying the communication interface (Parall el communication) - In case where the parallel communication is set up, click the radio button “Parallel” of MCU tab. - For t[...]

  • Page 51

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 51 of 88 S pecifying the communication interface (LPT communication) - For selecting the LPT communication, click the radio button “L PT” of the MCU tab. - For the T ype a rea, specify the LPT interface communi cation mode t[...]

  • Page 52

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 52 of 88 4) Specifying the clock fre quency S pecifying the clock frequency Specify the target MCU operation clock and clock dividing ratio. - Specify the operation clock and clock dividing r atio. - In case where no value was s[...]

  • Page 53

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 53 of 88 (3) W o rk area tab 1) Specifying the firm ware Specifying the firmware file For the radio button of the firm ware gr oup box, be sure to click “Default”. S pecifying the work area Specifies the top address which is[...]

  • Page 54

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 54 of 88 (6) Script tab Automatically executing a script command T o automatically execute a script command when starting up the debugger , click the “Refer ...” button and specify the script file to be executed. Clicking th[...]

  • Page 55

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 55 of 88 3.3.2 Checking Connections of the Emulator System Check to see that the emulator de bugger ha s been connected correctly to the emulator . Checking connectio ns of th e emulator system When the emulator debugger is conn[...]

  • Page 56

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 56 of 88 3.4 Downloading Program Download the user pr ogram to be debugged. 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 57

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 57 of 88 3.5 Program execution (1) Program execution CPU reset Resets the target MCU. Go Runs the program beginning with the curre nt PC position. Reset Go Runs the program after resetting the tar get MCU. S tep In Single-steps [...]

  • Page 58

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 58 of 88 (2) Software b reak 1) Setting the software break point Execution setup procedure with sof tware break: (1) By double-clicking the break point setting line on the software break point setting column in the editor (sourc[...]

  • Page 59

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 59 of 88 (3) Executing up to the cursor po sition (Come command) 1) Specifying the Come command Setup procedure for execut ing CO ME command (1) Click the line in the editor (source) window at which you want the program to execu[...]

  • Page 60

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 60 of 88 3.6 Hardware Break Hardware break is set by event condition such as FETCH or DA T A ACCESS, etc. The program stops after executing the instruction at the set breakpoi nt (after several cycles). (1) Break eve nt setup di[...]

  • Page 61

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 61 of 88 (2) When FETCH is selected 1) W indow for setting a ddresses Setting the address Y ou can set eight conditions, e.g., a sp ecified address, a specified address range, etc. When you have finished setting the address, cli[...]

  • Page 62

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 62 of 88 (3) Whe n DA T A ACCESS is selected 1) W indow for setting th e address Setting the address Sets the address by “Address” tab. Y ou can set eight conditions, e.g., a sp ecified address, a specified address range, et[...]

  • Page 63

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 63 of 88 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 event s) A1 A2 Address 1 :0020E5 Address 1 :0020E6 Data 1 :7900 Data 1 :00AB MA[...]

  • Page 64

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 64 of 88 3.7 T race Window The trace window is used to show the results of real -time trace m easurements. (1) T race window 1) Openin g the hard ware break point setu p dialog box T race window Clicking this button opens the tr[...]

  • Page 65

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 65 of 88 3) T race W indow (Bus mode display) 4) Trace Wind ow (Disassem ble mode di splay) 5) Trace Wind ow (Source mode displ ay) 6) Trace Window (Data access m ode display) Explanation of the trace window (b us display) Shows[...]

  • Page 66

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 66 of 88 (2) Suspending and resuming trace m easurement 1) Suspending trace m easurement Suspend Click this toolbar button to suspend the trace measurement in progress. 2) Resuming trace m easurement Re -S tart Click this toolba[...]

  • Page 67

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 67 of 88 (3) T race point setup window 1) T race point setup window T r ace Point Setting Window in initial state Clicking this toolbar button opens the trace point setting window . Y ou can set events in the sam e wa y as for t[...]

  • Page 68

    M306H7T3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugge r) REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 68 of 88 3.8 RAM Monitor Window This functi on makes i t poss ible to m ake reference t o the cha nges in m e mory cont ents without im pairing the real -time performance for target program execution. The emulator PC4701 system [...]

  • Page 69

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 69 of 88 4. Hardware S pecifications This chapter describes speci fications of this product . 4.1 T arget MCU S pecifications T able 4.1 lists the specifications of target MCUs which can be debugg ed with this product. T able 4.1 Specificati ons[...]

  • Page 70

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 70 of 88 4.2 Differences between the Actual MCU and Emulator Differences between the actual MCU and em ulator are shown belo w . When debugging the MCU using this produ ct, be careful about the following precautions. IMPORTANT Notes on Dif f ere[...]

  • Page 71

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 71 of 88 IMPORTANT Notes on Maskable Interrupt s:  Even if a user program i s not being execut ed (includi ng when run -time debug ging is be ing perform ed), the evaluation MCU keeps running so as to control the emulation pod. If a maskable [...]

  • Page 72

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 72 of 88 4.3 Connection Diagram Figure 4.1 s hows a connectio n diagram of t he M306H7 T3-RPD-E. T his connection diagram m ainly shows the i nterface section. The circu its not conne cted to the use r sy stem such as the emulator's cont ro[...]

  • Page 73

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 73 of 88 T able 4.3 Electrical characteristics of the 74HC4066 Standa rd values Symbol Item Condition Min. S tandard Max. Unit R ON ON resistor Vcc=4.5V - 96 170 Δ R ON ON resistor dif ference Vcc=4.5V - 10 - Ω I OFF Leak cu rrent (Off) Vcc=1[...]

  • Page 74

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 74 of 88 4.4 External Dimensions 4.4.1 External Dimensions of the Emulation Pod Figure 4.2 s hows exter nal dime nsions of th e M306H7T3 -RPD-E. U n i t : m m Figure 4.2 Ext ernal dim ensions of the emulati on pod 40 . 0 10 . 5 437.0 140. 0 3.0 [...]

  • Page 75

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 75 of 88 4.4.2 External Dimensions of the M30800T -PT C Figure 4.3 shows external dimens ions of the converter board M30800T -PTC for a 100-pin LCC (inc luded with the M306H7T3-RPD-E). Figure 4.3 Ext ernal dime nsions of the M30800 T -PTC 1 30 3[...]

  • Page 76

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 76 of 88 4.5 Notes on Using This Product Notes on usi ng this pr oduct are lis ted below . When debu gging the MC U using he e mulator , be careful ab out the foll owing precautions. IMPORTANT Note on the Version of the Emulator Debugge r:  B[...]

  • Page 77

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 77 of 88 IMPORTANT Note on Clock Supply to the MCU:  A clock supplied to the evaluatio n MCU is selected by the Clock tab in the Init d ialog box of the emulator deb ugger. (1) When Internal is selected: A clo ck generated by the oscillation [...]

  • Page 78

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 78 of 88 IMPORTANT Note on M1 (Mode Selection Input) Pin:  As the evaluation MCU in this product and the M1 pin of the user system are not connected, this product is not affected by the status ("H" , "L" or "OPEN"[...]

  • Page 79

    M306H7T3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 79 of 88 IMPORTANT Note on Power Supply to the User System:  Pins Vcc1 and Vcc2 are connected to the user system to observe th e voltage. Therefore, the power is not supplied to the us er system from the emulator, d esign your system so that [...]

  • Page 80

    M306H7T3-RPD-E User’s Manual 5. T roubleshooting REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 80 of 88 5. T roubleshooting This chapte r describes h ow to tr oubleshoot when this product does not wor k properly. 5.1 Flowchart to Remedy the T roubles Figure 5.1 shows the flowchart to remedy troubles from when power to the emulator is activated un[...]

  • Page 81

    M306H7T3-RPD-E User’s Manual 5. T roubleshooting REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 81 of 88 5.2 When the Emulator Debugger Does Not S tart Up Properly (1) When the LED Displ ay of the PC470 1 is Abnormal T able 5.1 LED's abnormal display and its checkpoints Error Connection to the user system Checkpoint LEDs do not light up. - Ch[...]

  • Page 82

    M306H7T3-RPD-E User’s Manual 5. T roubleshooting REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 82 of 88 (2) Program Window is No t Displaye d at Debugger S tartup (User System Co nne cted) T able 5.2 Checkpoints of erro rs when start ing up the em ulator de bugger (user sy stem connecte d) Error Checkpoint ERROR 16005: Can't connect with the[...]

  • Page 83

    M306H7T3-RPD-E User’s Manual 5. T roubleshooting REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 83 of 88 (3) Program Window is No t Displaye d at D ebugger S tartup (User System Not Conne cted ) T able 5 .3 Checkpoi nts of e rrors when starting up the emulator debugger (u ser system not connected) Error Checkpoint ERROR 16005: Can't connect w[...]

  • Page 84

    M306H7T3-RPD-E User’s Manual 5. T roubleshooting REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 84 of 88 5.3 How to Request for Support After checking the items in "5 Troubleshooting", fill in the text file which is downloaded from the following URL, then send the information to your local distributor . http://tool-support.renesas.com/en[...]

  • Page 85

    M306H5T3-RPD-E User’s Manual 6. Maintenance and Guarantee REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 85 of 88 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 purcha se our product, be sure register as a user. For user r egistration, ref er[...]

  • Page 86

    M306H5T3-RPD-E User’s Manual 6. Maintenance and Guarantee REJ10J0964-0100 Rev.1.00 August 01, 2005 Page 86 of 88 6.5 How to Make Request for Repair If your pro duct is fou nd faulty, f ollow the procedure below to se nd your pr oduct for repair. Customer Fill in the Repair Request Sheet included with this product, then send it along with this pro[...]

  • Page 87

    Emulation Pod M306H7 for M16C/6H Group M306H7T3-RPD-E User’s Manual Publication Date: Sep. 01, 2005 Rev.1.00 Published by: Sales S trategic Planning Div . Renesas Technology Corp . Edited by: Microcomputer Tool Devel opment Department Renesas Solutions Co rp. © 2005. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Prin[...]

  • Page 88

    M306H7T3-RPD-E User's Manual[...]