Renesas M306NKT3 инструкция обслуживания

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

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Renesas M306NKT3. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Renesas M306NKT3 или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Renesas M306NKT3 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций Renesas M306NKT3, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции Renesas M306NKT3 должна находится:
- информация относительно технических данных устройства Renesas M306NKT3
- название производителя и год производства оборудования Renesas M306NKT3
- правила обслуживания, настройки и ухода за оборудованием Renesas M306NKT3
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Renesas M306NKT3 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Renesas M306NKT3 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Renesas, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Renesas M306NKT3, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Renesas M306NKT3, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Renesas M306NKT3. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    REJ10J0326-0400 ( T ) M306NKT3-RPD-E Rev.4.00 Sep. 01, 2006 User’s Manual Emulation Pod for M16C/6N Group M 16C/6N4, 6N5, 6NK, 6NL, 6NM and 6NN[...]

  • Страница 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,[...]

  • Страница 3

    M306NKT3-RPD-E User’s Manual Preface REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 3 of 104 Preface The M306N KT3-RPD -E is an em ulation pod for t he M16C/ 6N Group M 16C/6N4, M 16C/6N5, M16C/6 NK, M16C /6NL, M16C/6NM and M16C /6NN of 16-bit MCUs. It is used with a PC4701 emulat or (excluding the PC4700L and PC4701L). This user's m anual mai[...]

  • Страница 4

    M306NKT3-RPD-E User’s Manual Important REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 4 of 104 Important Before using this product, be sure t o read this user ’ s manual carefully . Keep this user ’ s manual, and refer to this when y ou have questions about this product. Emulator: The emulator i n this document refers to the fol lowing products[...]

  • Страница 5

    M306NKT3-RPD-E User’s Manual Important REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 5 of 104 Usage restrictions: This emulat or has been devel oped as a means of su pporting syst em developm ent 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[...]

  • Страница 6

    M306NKT3-RPD-E User’s Manual Precautions for Safety REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 6 of 104 Precautions for Safety Definitions of Signal Words In both t he user’s m anual and on the pr oduct itsel f, several ic ons are use d to insure p roper handl ing of t his product and also to prevent injuries to you or other persons, or dam a[...]

  • Страница 7

    M306NKT3-RPD-E User’s Manual Precautions for Safety REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 7 of 104 警告警告 W ARNING Warnings for AC Power Supply:  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 shoc k and/or fire.  Us[...]

  • Страница 8

    M306NKT3-RPD-E User’s Manual Precautions for Safety REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 8 of 104 注意注意 CAUTION Cautions to Be Taken for Turning On the Power:  Turn ON the power of the emulator an d user syst em as simulta neously as possible. T urn OFF t he power of the emulator and user syst em as simult aneously as possible. [...]

  • Страница 9

    M306NKT3-RPD-E User’s Manual Contents REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 9 of 104 Contents Page Preface ........................................................................................................................ ................................................. 3 Related ma nuals ............................................[...]

  • Страница 10

    M306NKT3-RPD-E User’s Manual Contents REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 10 of 104 Page 3. Usage (How to Use the Emulator Debugger) .................................................................................... .................... 50 3.1. Making an MCU File .........................................................................[...]

  • Страница 11

    M306NKT3-RPD-E User’s Manual User Registration REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 11 of 104 User Registration When you ha ve purchased th e emulator pre sented in this user's manual, please be sure to register it. As the H/W T ool Customer Registration Sheet is included with this man ual, fill it in and F A X it to your local distr[...]

  • Страница 12

    M306NKT3-RPD-E User’s Manual T erminology REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 12 of 104 T erminology Some specific words used in this us er' s manual are defined as fol lows: Emulator main unit (Her eafter PC4701) This means a generic name for emulators for M16C, 7700, 740 Families. T ake note of the fact that the M306NKT3-RPD-E (th[...]

  • Страница 13

    M306NKT3-RPD-E User’s Manual 1. Outline REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 13 of 104 1. Outline This chapter describes the package c omponen ts, the system configuration and the prepar ation for using th is product for the firs t time. 1.1 Package Components The M306NKT3-RPD-E package con sists of the following items. When unpacking it,[...]

  • Страница 14

    M306NKT3-RPD-E User’s Manual 1. Outline REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 14 of 104 1.2 Other T ool Products Required for Development T o bring forward progra ms development on the M16 C/6N Group M16C/6N4 , M16C/6N5, M16C/6NK, M16C/6NL, M16C/6NM and M16C/6NN, the products listed b elow are necessary in addition to those contain ed pack[...]

  • Страница 15

    M306NKT3-RPD-E User’s Manual 1. Outline REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 15 of 104 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 shows a configuration of the PC4701 sy stem. Figure 1.1 System configuration (1) Emulat ion pod M306NKT3-RPD-E (this product ) Emulation pod for the M16C/6N Gr oup M16C/6N4, M16C/6N5, M16C/6[...]

  • Страница 16

    M306NKT3-RPD-E User’s Manual 1. Outline REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 16 of 104 1.3.2 Names and Functions of the PC4701 Front Panel LEDs Figure 1.2 shows the names of t he LEDs on the front panel of the emulat or . Figure 1.2 Names of the LEDs on t he front panel of the PC4701 (1) System Status LEDs The system status LEDs indicate [...]

  • Страница 17

    M306NKT3-RPD-E User’s Manual 1. Outline REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 17 of 104 (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 status LED. T able 1.4 Defi nitions of the tar g et status LEDs Name S[...]

  • Страница 18

    M306NKT3-RPD-E User’s Manual 1. Outline REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 18 of 104 1.4 S pecifications T ables 1.5 and 1.6 l ist the specificati ons of the M306NKT3-RPD-E. T able 1.5 M 306NKT3-RPD-E specifications (1/2) Item Description Applicable MCU M16C/6N Group M16C/6N4, M16C/ 6N5, M16C/6NK, M16C/ 6NL, M16C/6NM and M16C /6NN Usabl[...]

  • Страница 19

    M306NKT3-RPD-E User’s Manual 1. Outline REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 19 of 104 T able 1.6 M 306NKT3-RPD-E specifications (2/2) Item Description Power supply to em ulator AC: 100 t o 120V , AC: 200 to 240V (50/60Hz) Power supply to em ulation pod S uppli ed from the PC4701 Overseas standards U.S. EMI st andards (FCC part 15 Class A[...]

  • Страница 20

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 20 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 S tarting Up the Emulator The procedure for starting u p the emulat or is shown in Fi gur[...]

  • Страница 21

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 21 of 104 2.2 Installing the Emulator D ebugger (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 wit hout administ rator rights ca[...]

  • Страница 22

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 22 of 104 2.3 Connecting the Host Machine When connecti ng the emul ator PC4701 to a host m achine, interface va ries dependi ng on the PC 4701 used. Fig ure 2.1 sh ows the outline to connect each interface cable. For details on interface, refer to each PC4701 user[...]

  • Страница 23

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 23 of 104 2.4 Connecting the PC4701 T o co nnect the emulation pod to the PC4701, use the FLX 120-RPD 120 -pin flexible ca ble included with this pr oduct package. Connect the PC4701 side connect or of the FLX120-RPD to the cable connector of the PC4701, then secur[...]

  • Страница 24

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 24 of 104 2.4.2 Connecting the FLX120-RP D to the Emulation Pod Figure 2.3 shows how to connect the FLX120-RPD and the em ulation pod. Figure 2.3 Connecting the FLX120-RPD t o the emulati on pod CAUTION Note on Connecting the Cable:  Always shut OFF power before[...]

  • Страница 25

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 25 of 104 2.5 T urning ON the Power 2.5.1 Checking the Connections of the Emulator System Before turning the power ON, check t he conn ection of the interface ca ble with host m achi ne, PC4701, em ulation pod, and user system. 2.5.2 T urning ON/OFF the Power T urn[...]

  • Страница 26

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 26 of 104 2.5.3 LED Display When the Emulator S tarts Up Normally Figure 2.4 s hows front pan el LED lighting st atus when the em ulator started up properly . Check it when starting up the emulator system. Figure 2.4 LED display when the power t urned on IMPORTANT [...]

  • Страница 27

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 27 of 104 2.6 Downloading Firmware 2.6.1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed be low . Normally , the following are aut omatically detected when the emulator debugger i s started up, and the firm war[...]

  • Страница 28

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 28 of 104 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 Figure 2.6. (1) If the user system is connected, disconnect it. (2) Set [...]

  • Страница 29

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 29 of 104 Figure 2.7 Switch setti ngs for the self-check (factory-settings) 2.7.2 If an Error is Detected in the Self-check If the self-check does not result n ormally, check the following. (1) Whether the emulation pod and PC 4701 are connected properly (2) Whethe[...]

  • Страница 30

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 30 of 104 2.8 Connecting the User System Connect the e mulation p od to the user system for M 16C/6N4 or M16C/6N 5. and for M 16C/6NK, M 16C/6NL, M 16C/6NM and M16C/6NN as shown in Figures 2.8 and 2.9, respecti vely . Figure 2.8 Connecting the user syst em (for M16[...]

  • Страница 31

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 31 of 104 Figure 2.9 Connecting the user syst em (for M16C/6NK, M 16C/6NL, M16C/6NM and M 16C/6NN) CAUTION Note on Connecting the User System:  Take care not to at tach the conve rter board in a wrong dire ction. It m ay cause a fatal damage to t he emulati on p[...]

  • Страница 32

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 32 of 104 2.8.1 Connecting to a 100-pin LCC socket Figure 2.10 shows how to c onnect a 100-pin LC C socket (IC61-1004- 051 of Y ama ichi Electronics C o., Ltd.) on t he user system t o the M30800T -PTC (included). (1) Attach the CN2 side of the M30800T -PTC to the [...]

  • Страница 33

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 33 of 104 2.8.2 Connecting to a 100-pin 0.65mm pitch Foot Pattern (Part 1) Figure 2. 1 1 shows how to c onnect a 1 00-pin 0 .65mm pi tch foot pat tern on t he user syst em to the M 3T -F160-100NRB (not included), and here following is i ts procedure. For details on[...]

  • Страница 34

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 34 of 104 2.8.3 Connecting to a 100-pin 0.65mm pitch Foot Pattern (Part 2) Figure 2.1 1 shows how to c onnect a 100- pin 0.65mm pitch foot pattern on the user system to t he M3T -DIRECT100S (not included), and here following is i ts procedure. For details on the M3[...]

  • Страница 35

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 35 of 104 2.8.4 Connecting to a 100-pin 0.65mm pitch Foot Pattern (Part 3) Figure 2.1 3 shows how to connect a 100-pin 0. 65mm pi tch foot patt ern on the user syst em to the M 3T -DUMMY100S (not included), and here following is i ts procedure. For details on the M[...]

  • Страница 36

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 36 of 104 2.8.5 Connecting to a 100-pin 0.5mm pitch Foot Pattern (Part 1) Figure 2.14 shows ho w to connect a 100-pin 0. 5mm pitch f oot patter n on the use r system to the M3T -F160-100NS D (not included), and here following is i ts procedure. For details on the M[...]

  • Страница 37

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 37 of 104 2.8.6 Connecting to a 100-pin 0.5mm pitch Foot Pattern (Part 2) Figure 2.1 5 shows how t o connect a 100-pin 0. 5mm pitch f oot pattern on the user s ystem t o the M3T -100LCC-QSD ( not included), and here following is i ts procedure. For details on the M[...]

  • Страница 38

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 38 of 104 2.8.7 Connecting to a 128-pin 0.5mm pitch Foot Pattern Figure 2.16 shows ho w to connect a 128-pin 0. 5mm pitch f oot pattern on the user s ystem to t he M3T -F160-128NRD (not included), and here following is i ts procedure. For details on the M 3T -F160-[...]

  • Страница 39

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 39 of 104 2.9 Changing Settings This chapter describes how to set t he inside of the emulator . 2.9.1 Removing/Attaching the Upper Cover (1) Removing the upper cover T o open the upper cover , remove the four screws of both sides of the M 306NKT3-RPD -E and lift of[...]

  • Страница 40

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 40 of 104 2.9.2 Each Setting Figure 2.18 shows the positions of each part of the M306NKT3-RPD-E. (1) Position of oscillator circu it board (2) Position of switches (3) Position of socket for m ounting network resister for pull up (4) Position of bypass capacit or f[...]

  • Страница 41

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 41 of 104 2.9.3 Selecting Clock Supply (1) Clock Supply to the M CU Y ou can choose a cl ock suppli ed to the evaluation MCU by the Em ulator tab in t he Init dialog box of the em ulator debug ger . T able 2.2 lists the factory-settings of each cloc k supply when y[...]

  • Страница 42

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 42 of 104 (3) Replacing Oscillator Circuit Boards Figure 2.19 shows how to replace the oscillator circuit boards. For the position of the oscillator circuit board, see Figure 2. 18. (1) Unscrew the screw securing the oscillato r circuit board. (2) Lift off the osci[...]

  • Страница 43

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 43 of 104 (4) Using the Internal Oscillator Circuit of the Emulation Pod T o use the emu lation pod at a desired frequen cy , bu ild the de sired o scillator circuit on the includ ed OSC-2 oscillator circuit board (bare board). Figure 2.20 shows an external view of[...]

  • Страница 44

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 44 of 104 (5) Using the Oscillator Circuit on the User System T o operate th is 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[...]

  • Страница 45

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 45 of 104 2.9.4 Switch Settings Here follows explanations of the switches of the emul ation pod. Set the switches according to the user system . T ables 2.3 and 2. 4 list how to set toggle swi tches SW1 to S W5 of the M3 0620T3-PR T b oard (MCU-de pendent board 1).[...]

  • Страница 46

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 46 of 104 T able 2.4 Switch settings of t he M306NKT3-RPD-E (2) Signal Switch Setting Description Xout OP Xout SW 3 (fact ory- setti ngs) Does not connect pin Xout of the MC U to the user system. Xout SW3 Xout OP Xout SW 3 Connects pin Xout of the MC U to the user [...]

  • Страница 47

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 47 of 104 2.9.5 Jumper Switches JP1 and JP 2 on he M30620T3-PRT (MCU-dependent board 1) T able 2.5 Switch settings of t he M306NKT3-RPD-E (3) Signal Switch Setting Description A18_SEL 1M JP1 4M (factory-settings) Always use this setting. A18_SEL JP1 A18_SEL 1M JP1 [...]

  • Страница 48

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 48 of 104 2.9.6 Installing and Removing Network Resistors for Pullup In this produc t, you cannot control pullup for por ts P0 to P5 by pullup control registers (pu llup control r egister read/write a re possible). A socket for installing th e network resistor for [...]

  • Страница 49

    M306NKT3-RPD-E User’s Manual 2. Setup REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 49 of 104 2.9.7 Bypass Capacitors for A/D Converter The M306N KT3-RPD-E has the M3062PT 3-PR TM (MCU-depende nt board 2) board which has a foot pattern fo r installing bypass capacit ors for A/D converter near the MCU a nd premount ed 0.1 μ F capacitors. Mount sui[...]

  • Страница 50

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 50 of 104 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-perfor mance Embedded W orkshop and how to use the mai n windows. 3.1. Making an MCU F[...]

  • Страница 51

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 51 of 104 3.2 Setting the Work Area W ith this product, the emulator uses 54 by tes as a work ar ea in emulation m emory . Therefore, according to t he memory mapping of the M CU you use, specify the work area addresses. In singl[...]

  • Страница 52

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 52 of 104 3.3 S tarting Up the Emulator Debugger When debu gging the com pleted programs, switc h the session. T he session ca n be change d by the dro p down list of the tool bar shown below . Y ou will have as many sessions cre[...]

  • Страница 53

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 53 of 104 2) Specifying the communication interface S pecifying the communication interface (Parallel communication) - In case where th e parallel communication is set up, click the radio button “Parallel” of MCU tab. - For t[...]

  • Страница 54

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 54 of 104 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 ar ea, specify the LPT interface co mmunication mode t[...]

  • Страница 55

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 55 of 104 4) Specifying the clock frequency S pecifying the clock frequency Specify the target MCU operation clock and clock dividing ratio. - Specify the operation cloc k and clock dividing ratio. - In case where no value was se[...]

  • Страница 56

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 56 of 104 (3) W ork area tab 1) Specifying the firmware Specifying the firmware file For the radio button of the firm ware group box, be sure to click “Default”. S pecifying the work area Specifies the top address which is us[...]

  • Страница 57

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 57 of 104 (6) Script tab Automatically executing a script command T o automatically execute a script command when starting up the debugger , click th e “Refer ...” button and specify the script file to be executed. Clicking t[...]

  • Страница 58

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 58 of 104 3.3.2 Checking Connections of the Emulator System Check to see that the emulat or debugger has been connected correctly to the emul ator . Checking connections of the emulator system When the emulator debugger is connec[...]

  • Страница 59

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 59 of 104 3.4 Downloading Program Download the user program to be debugged. 1) Downloading from the work space window Downloading the program Download the object program y ou want to debug. Select Download from “xxx. x30” of [...]

  • Страница 60

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 60 of 104 3.5 Program execution (1) Program execution CPU reset Resets the target MCU. Go Runs the program beginning with the cur rent PC position. Reset Go Runs the program after resetting the target MCU. S tep In Single-steps t[...]

  • Страница 61

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 61 of 104 (2) Software break 1) Setting the software break point Execution setup procedure with software break: (1) By double-clicking the break point setting line on the software break point setting column in the e ditor (source[...]

  • Страница 62

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 62 of 104 (3) Executing up to the cursor positi on (Come com mand) 1) Specifying the Com e comm and Setup procedure for executing COME command (1) Click the line in the edito r (source) window at which you want the program to exe[...]

  • Страница 63

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 63 of 104 3.6 Hardware Break Hardware break is set by event condition su ch as FETCH or DA T A ACCESS, etc. The program stops after executing the instruction at the set breakpoint (aft er several cycles). (1) Break event setup di[...]

  • Страница 64

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 64 of 104 (2) When FETCH is selected 1) W indow for setting addresses Setting the address Y ou can set eight conditions, e.g., a sp ecified address, a specified address range, etc. W hen you have finish ed setting the address, cl[...]

  • Страница 65

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 65 of 104 (3) When DA T A ACCESS is selected 1) W indow for setting the 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, etc.[...]

  • Страница 66

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 66 of 104 3) Example Data Set tings Setting a break event . A1 Address 1 :0020E8 Data 1 :5423 MASK :FFFF Access :WRITE Setting a break event A1 Address 1 :0020E5 Data 1 :AB79 MASK :FFFF Access :WRITE Setting a break event A1 Addr[...]

  • Страница 67

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 67 of 104 3.7 T race Window The trace window is used to show the re sults of real-time trace m easurements. (1) T race window 1) Opening the trace window T race window Clicking this button opens the trace window . 2) T race windo[...]

  • Страница 68

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 68 of 104 3) T race W indow (Bus mode display) 4) Trace Window (Disassemble mode display) 5) Trace Window (Source mode display) 6) Trace Window (Data access mode display) Explanation of the trace window (bus display) Shows the st[...]

  • Страница 69

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 69 of 104 (2) Suspending and resuming trace m easurement 1) Suspending trace measurement Suspend Click this toolbar button to suspe nd the trace measurem ent in progress. 2) Resuming trace m easurement Re-S tart Click this toolba[...]

  • Страница 70

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 70 of 104 (3) T race points setup window 1) T race points setup window T race Points Setting Window in initial state Clicking this toolbar button opens the trace point setting window . Y ou can set events in the same way as for t[...]

  • Страница 71

    M306NKT3-RPD-E User’s Manual 3. Us age (How to Use the Emulator Debugger) REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 71 of 104 3.8 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 for target program execution. The emulator PC4701 system is [...]

  • Страница 72

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 72 of 104 4. Hardware S pecifications This chapter describes specificat ions of this product. 4.1 T arget MCU S pecifications T able 4.1 lists the specificat ions of target MCUs which can be debugged with this product. T able 4.1 Specifications o[...]

  • Страница 73

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 73 of 104 4.2 Access T iming Because this product em ulates some ports, access tim ings ar e different from those of the actual MCUs. Chapters 4.2.1 (Vcc=5V) and 4.2.2 (Vcc=3V) describe the access timing using this product. 4.2.1 Operation T imin[...]

  • Страница 74

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 74 of 104 Figure 4.1 Memory expansion m ode and microprocessor mode (3 wait, accessing external area) R e a d tim in g Wr i te ti mi ng BCLK ADi ALE DBi td(BC LK-C S) th( BCLK-CS ) tcyc td( BCLK-AD) th (BCLK-AD) th(RD -CS) td(BC LK-AL E) th(BC LK[...]

  • Страница 75

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 75 of 104 (2) Multiplex Bus Timing T able 4.3 and Figure 4.2 show the bus tim ing in memory expans i on mode and microprocessor m ode (2 wait, accessing external area, using multiplex bus). T able 4.3 Memory expansion mode a nd m icroprocessor mo[...]

  • Страница 76

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2006 Page 76 of 104 Figure 4.2 Memory expansion mode a nd microprocessor m ode (2 wait, accessi ng external area, using multiplex bus) Read ti ming Writ e timi ng BCLK ADi ALE ADi /DBi td(B CL K-CS ) th( BCLK-CS) tcyc td(BC L K-AD ) th( BCLK- AD) th(RD -CS[...]

  • Страница 77

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 77 of 104 (3) Timing Requirements T able 4.4 and Figure 4.3 list the ti ming requirem ents in me mory expansion m ode and microprocessor m ode. T able 4.4 T iming requirem ents Actual MCU [ns] This product [ns] Symbol It em Min. Max. Min. Max. t[...]

  • Страница 78

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 78 of 104 4.2.2 Operation T iming of Memory Exp ansion Mode and Microprocessor Mode (Vcc=3V) (1) Separate Bus Timing T able 4.5 and Figure 4.4 show the bus tim ing in memory expans i on mode and microprocessor m ode (3 wait, accessing external a[...]

  • Страница 79

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 79 of 104 Figure 4.4 Memory expansion m ode and microprocessor mode (3 wait, accessing external area) Read ti ming Wr i te t i mi ng BCLK ADi ALE DBi td(BC LK-C S) th(BCLK- CS) tcyc td (BCLK-AD ) th(B CL K-AD ) th(RD -CS) td( BCLK-ALE) th( BCLK-[...]

  • Страница 80

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 80 of 104 (2) Multiplex Bus Timing T able 4.6 and Figure 4.5 show the bus tim ing in memory expans i on mode and microprocessor m ode (2 wait, accessing external area and using multiplex b us). T able 4.6 Memory expansion mode and m icroprocesso[...]

  • Страница 81

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 81 of 104 Figure 4.5 Memory expansion m ode and microprocessor m ode (2 wait, acce ssing external area and using multiplex bus) Read ti m ing Writ e timing BCLK ADi ALE ADi /DB i td (BCLK- CS) th (BCL K-CS ) tcyc td(BC LK - AD) th( BCLK-AD) th(R[...]

  • Страница 82

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 82 of 104 (3) Timing Requirements T able 4.7 and Figures 4.6 show timi ng requirements i n mem ory expansion mode and m icroprocessor mode. T able 4.7 T iming requirem ents Actual MCU [ns] This product [ns] Symbol It em Min. Max. Min. Max. tsu(D[...]

  • Страница 83

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 83 of 104 4.3 Differences between the Actual MCU and Emulator Differe nces between the actual MCU and em ulator are shown belo w . When d ebugging the MCU using this pr oduct, be careful about the following precautions. IMPORTANT Note on Differe[...]

  • Страница 84

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 84 of 104 IMPORTANT Note on RESET# Input:  A low input from the user system to pin RESET# is accepted only while a user program is being executed (only while the RUN status LED on the PC4701's front panel is lit). Note on NMI# Input: [...]

  • Страница 85

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 85 of 104 IMPORTANT Notes on Setting "1" to Protect Bit 2 (PRC2) in Division by 2 Mode:  Under the following cond itions, even if you enab le the PRC2 bit, writing to the register protected by the PRC2 bit (PD7, PD9, S3C, S4C, S5C a[...]

  • Страница 86

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 86 of 104 4.4 Connection Diagram Figure 4.7 shows a connecti on diagram of the M306NKT3-R PD-E. This connecti on diagram mainly shows t he interface section. The circuits not connected to the user system such as the emulator's c ont rol sys[...]

  • Страница 87

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 87 of 104 T able 4.9 Electrical characterist ics of the 74HC4066 Standard val ues Symbol It em Condition Min. S tandard Max. Unit R ON ON resistor Vcc=4.5V - 96 170 Δ R ON ON resistor difference Vcc=4.5V - 10 - Ω I OFF Leak current (Off) Vcc=[...]

  • Страница 88

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 88 of 104 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Pod Figure 4.8 shows external dim ensions of the M306NKT3-RPD-E. U n i t : m m Figure 4.8 External dim ensions of the emul ation pod 40 . 0 10 . 5 437.0 140.0 3.0 52.0 [...]

  • Страница 89

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 89 of 104 4.5.2 External Dimensions of the M30800T -PTC Figure 4.9 shows external dimens ions of the converter board M30800T -PTC for a 100-pin LCC (includ ed with the M306NKT3-RPD-E). 1 30 31 50 C N 2 C N 1 100 81 80 51 M AD E I N J APAN 55 .0 [...]

  • Страница 90

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 90 of 104 4.5.3 External Dimensions of t he Converter Board M3T -F160-100NRB Figure 4.1 0 shows e xternal dim ensions and a sample foot pa ttern of th e converter board for a 100- pin 0.65mm pitch QFP M3T -F160-100NRB (not included). Figure 4.10[...]

  • Страница 91

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 91 of 104 4.5.5 External Dimensions of the Converter Board M3T -F160-128NRD Figure 4.1 2 shows ext ernal dim ensions and a sample foot pattern o f the convert er board for a 12 8-pin 0.5m m pitch LQ FP M3T -F160-128NRD (not included). Figure 4.1[...]

  • Страница 92

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 92 of 104 4.6 Notes on Using This Product Notes on usi ng this prod uct are liste d below . When debuggi ng the MCU usi ng he emul ator , be careful about the following precautions. IMPORTANT Note on the Version of the Emulator Debugger:  Be [...]

  • Страница 93

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 93 of 104 IMPORTANT Notes on Setting the Work Area When S tarting Up the Emulator Debugger:  With this product, the emulator use s 54 bytes as a work a rea in emulation memo ry. There fore, according to the mem ory mapping of t he MCU you use[...]

  • Страница 94

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 94 of 104 IMPORTANT Note on S tack Area:  With this product, a m aximum 7 bytes of t he user st ack is consum ed. Therefor e, ensure the +7 bytes maximum capacity used by the user pr ogram as the user stack area . If the user stack does not h[...]

  • Страница 95

    M306NKT3-RPD-E User’s Manual 4. Hardware S pecifications REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 95 of 104 IMPORTANT Note on Breaks:  The area displaying break points in the program wind ow of the emulator debugg er shows the follo wing breaks. (1) Software break This is a deb ugging functi on which generates a BRK i nterruption by chang[...]

  • Страница 96

    M306NKT3-RPD-E User’s Manual 5. T roubleshooting REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 96 of 104 5. T roubleshooting This chapter describes how to troubl eshoot when this product does not work 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 unt[...]

  • Страница 97

    M306NKT3-RPD-E User’s Manual 5. T roubleshooting REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 97 of 104 5.2 When the Emulator Debugger Does Not S tart Up Properly (1) When the LED Display of the PC4701 is Abnormal T able 5.1 LED's abnorma l display and its checkpoints Error Connection to the user system Checkpoint LEDs do not light up. - C [...]

  • Страница 98

    M306NKT3-RPD-E User’s Manual 5. T roubleshooting REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 98 of 104 (2) Program Window is Not Displayed at Debugger S tartup (User System Connected) T able 5.2 Checkpoints of errors when starting up the em ulator debugger (user system connected) Error Checkpoint ERROR 16005: Can't connect with the target.[...]

  • Страница 99

    M306NKT3-RPD-E User’s Manual 5. T roubleshooting REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 99 of 104 (3) Program Window is Not Displayed at D ebugger S tartup (User System Not Connected) T able 5.3 Checkpoints of errors when starting up the em ulator debugger (user system not connected) Error Checkpoint ERROR 16005: Can't connect with th[...]

  • Страница 100

    M306NKT3-RPD-E User’s Manual 5. T roubleshooting REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 100 of 104 5.3 How to Request for Support After checking the items in "5 T roub leshooting", fill in the text file wh ich is downloaded from the following URL, then send the informati on to your local distribut or . http://tool-support.renesas[...]

  • Страница 101

    M306NKT3-RPD-E User’s Manual 6. Maintenance and Guarantee REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 101 of 104 6. Maintenance and Guarantee This chapter describes how to maintenance, re pair provisions and how t o request for repair . 6.1 User Registration When you purcha se our product, be sure register as a user. For user r egistration, ref[...]

  • Страница 102

    M306NKT3-RPD-E User’s Manual 6. Maintenance and Guarantee REJ10J0326-0400 Rev. 4.00 Sep. 01, 2 006 Page 102 of 104 6.5 How to Make Request for Repair If your product is found faulty, fill in the Repair Requ est Sheet included with th is product, then send it along with this prod uct for repair to your local distributor. Make sure that informati o[...]

  • Страница 103

    Emulation Pod for M16C/6N Group M16C/6N4, 6N5, 6NK, 6NL, 6NM and 6NN M306NKT3-RPD-E User’s Manual Publication Date: Sep. 01, 2006 Rev.4.00 Published by: Sales S trategic Planning Div . Renesas Technology Corp . Edited by: Microcomputer Tool Development Department Renesas Solutions Corp. © 2006. Renesas Technology Corp. and Renesas Solutions Corp[...]

  • Страница 104

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