Renesas Emulator Debugger M16C PC4701 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Sprzęt komputerowy Renesas Emulator Debugger M16C PC4701. Renesas Emulator Debugger M16C PC4701 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 296
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
To our customers,
Old Company Name in Catalogs and Other Documents
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Corporation, and Renesas Electronics Corporation took over all the business of both
companies. Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Renesas Electronics website: http://www.renesas.com
April 1
st
, 2010
Renesas Electronics Corporation
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry
.
Przeglądanie stron 0
1 2 3 4 5 6 ... 295 296

Podsumowanie treści

Strona 1 - To our customers

To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology C

Strona 2

7.14.3 Display the Ready Queue Status ...191 7.14.4 Display the Timeout Q

Strona 3

7.1.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu Function RAM Monitor A

Strona 4

7 Windows/Dialogs 7.1.2 Setting the RAM monitor area Choose the popup menu [RAM Monitor Area...] in the RAM monitor window. The Set RRAM Area dial

Strona 5 - Supported CPU

7.2 ASM Watch Window The ASM watch window is a window in which you can register specific addresses as watchpoints and inspect memory contents at th

Strona 6

7 Windows/Dialogs 89 7.2.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Men

Strona 7 - Setup of Debugger 1

7.3 C Watch Window The C Watch Window displays C/C++ expressions and their values (results of calculations). The C/C++ expressions displayed in the

Strona 8 - Reference 81

7 Windows/Dialogs 91 ATTENTION • You cannot change the values of the C watch points listed below: - Register variables - C watch point which

Strona 9

7.3.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu Function Add... Add

Strona 10

7 Windows/Dialogs 7.4 Coverage Window The Coverage window allows you to reference the coverage measurement result of the functions of the target p

Strona 11 - 10. C/C++ Expressions 253

7.4.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu Function Select source

Strona 12

7 Windows/Dialogs 7.4.2 Refer to the Source Line/the Executed Address It is possible to refer in the Editor(Source) Window or Memory Window. 7.4.

Strona 13 - Setup of Debugger

9.2 Writing Expressions...248 9.2.1 Con

Strona 14

7.5 Script Window The Script Window displays the execution of text -format script commands and the results of that execution. Script commands can

Strona 15 - 1. Features

7 Windows/Dialogs 97 7.5.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu

Strona 16 - 1.1.3 Related Windows

7.6 S/W Break Point Setting Window The S/W Break Point Setting window allows you to set software break points. Software breaks stop the execution

Strona 17 - 1.2 Break Functions

7 Windows/Dialogs 99 7.6.1 Command Button The buttons on this window has the following meanings. Button Function Load... Load setting informatio

Strona 18 - 1.2.2 Hardware Break

7.6.2 Setting and Deleting a Break Points from Editor(Source) Window The area which can be set in the software breakpoint is different according to

Strona 19 - 1.2.3 Protect Break

7 Windows/Dialogs 7.7 H/W Break Point Setting Window The H/W Breakpoint Setting window is used to set hardware breakpoints for the Emulators. •

Strona 20 - 1.3 Real-Time Trace Function

7.7.1.1 Specify the Break Event To set events, double-click to select the event you want to set from the event setting area of the H/W Break Point

Strona 21

7 Windows/Dialogs • When FETCH is selected Breaks for the instruction fetch. (The debugger for M32C not support. When using these products, use m

Strona 22

• When BIT SYMBOL is selected Breaks for the bit access. • When INTERRUPT is selected Breaks for the interrupt occurrence or termination. (The

Strona 23 - 1.5 Coverage Function

7 Windows/Dialogs • When TRIGGER is selected Breaks for the status of signal input from external trace cable. 105

Strona 24

12.2.1 Stack area used by the emulator ...268 12.2.2 Interrupt stack poin

Strona 25 - 2.2 Function table

7.7.2 Specify the Combinatorial Condition To specify a combinatorial condition, specify the desired condition from the combinatorial condition spec

Strona 26 - 3.1.3 LPT Interface

7 Windows/Dialogs 7.7.3 Specify the Process ID By specifying a process ID, it is possible to detect only event establishment under specific cond

Strona 27

7.7.5 Specify the Events (Instruction Fetch) To specify an instruction fetch event, change the event select dialog box's Event Type to "F

Strona 28 - 3.2 Download of Firmware

7 Windows/Dialogs 7.7.5.2 Instruction Fetch of Specified Address Area(In) Set as below. Example) Instruction fetch at address 80000h to 80FFFh

Strona 29 - 3.3.1 USB communication

7.7.5.3 Instruction Fetch of Specified Address Area(Out) Set as below. Example) Instruction fetch at any address other than the range 80000h to 8

Strona 30 - 3.3.2 LAN communication 1

7 Windows/Dialogs 7.7.5.4 Entering/exiting to specified function Set as below. Example) Entering a break to function name "wait" Ex

Strona 31

7.7.6 Specify the Events (Memory Access) To specify a memory access event, change the event select dialog box's Event Type to "DATA ACCES

Strona 32 - HKEY_LOCAL_MACHINE¥S

7 Windows/Dialogs 7.7.6.1.1. Writing/Reading a Specified Address Set as below. Example) Writing to even address 400h 113

Strona 33

Example) Writing byte length data 32h to even address 400h 114

Strona 34 - 4. Preparation before Use

7 Windows/Dialogs Example) Writing byte length data 32h to odd address 401h Contents of settings vary with each product and bus width. (8 bits bus

Strona 35

Setup of Debugger 1

Strona 36

(16 bits bus width) 116

Strona 37

7 Windows/Dialogs Example) Writing word length data 1234h to even address 400h Contents of settings vary with each product and bus width. (8 bits

Strona 38

2nd point 118

Strona 39

7 Windows/Dialogs (16 bits bus width) 119

Strona 40

Example) Writing data 10h - 3Fh to even address 400h 120

Strona 41

7 Windows/Dialogs 7.7.6.1.2. Reading/writing data to the specified address range Set as below. Example) Writing data to addresses ranging from 400

Strona 42

7.7.6.1.3. Reading/writing data to addresses outside the specified range Set as below. Example) Writing data to addresses below 7FFh 122

Strona 43

7 Windows/Dialogs 7.7.6.2 Memory Access(The debugger for M16C/R8C) 7.7.6.2.1. Writing/Reading a Specified Address Set as below. Example) Writing

Strona 44

Example) Writing byte length data 32h to even address 400h 124

Strona 45

7 Windows/Dialogs Example) Writing byte length data 32h to odd address 401h Contents of settings vary with each product and bus width. (8 bits bus

Strona 47 - 5. Setup the Debugger

(16 bits bus width) 126

Strona 48 - 5.1.1 MCU Tab

7 Windows/Dialogs Example) Writing word length data 1234h to even address 400h 127

Strona 49

Example) Writing data 10h - 3Fh to even address 400h 128

Strona 50

7 Windows/Dialogs 7.7.6.2.2. Reading/writing data to the specified address range Set as below. Example) Writing data to addresses ranging from 4

Strona 51

7.7.6.2.3. Reading/writing data to addresses outside the specified range Set as below. Example) Writing data to addresses below 7FFh 130

Strona 52

7 Windows/Dialogs 7.7.6.3 Memory Access(The debugger for 740) The debugger For 740, a write of word length data to the even address cannot be dete

Strona 53 - 5.1.3 F/W and Work Area Tab

Example) Writing byte length data 32h to even address 400h 132

Strona 54

7 Windows/Dialogs Example) Writing data 10h - 3Fh to even address 400h 133

Strona 55

7.7.6.3.2. Reading/writing data to the specified address range Set as below. Example) Writing data to addresses ranging from 400h to 40Fh 134

Strona 56

7 Windows/Dialogs 7.7.6.3.3. Reading/writing data to addresses outside the specified range Set as below. Example) Writing data to addresses below

Strona 57 - 5.1.5 Clock Tab

1 Features 1. Features 1.1 Real-Time RAM Monitor Function This function allows you to inspect changes of memory contents without impairing the realt

Strona 58 - 5.1.6 Script Tab

7.7.7 Specify the Events (Bit Access) To specify a bit access event, change the event select dialog box's Event Type to "BIT SYMBOL"

Strona 59

7 Windows/Dialogs 7.7.7.1.1. Writing/Reading a Specified Bit Symbol Set as below. Example) Writing "1" to bit symbol "bitsym"

Strona 60 - Nibb le

7.7.8 Specify the Events (Interrupt) To specify an interrupt event, change Event Type in the event select dialog box to "INTERRUPT". When

Strona 61

7 Windows/Dialogs 7.7.8.2 Interrupt Termination Set as below. 139

Strona 62

7.7.9 Specify the Events (External Trigger Signal) To specify an event for external trigger signal, change Event Type in the event select dialog bo

Strona 63

7 Windows/Dialogs Example) Fall of EXT1(brown) signal 7.7.9.2 Combination of rise/fall edges Set as below. Example) Rise of EXT0 (white)/EX

Strona 64 - Contents

7.7.10 Specify the Event Combination Condition Use the Combination group of the event setting windows to specify the combinatorial conditions of ev

Strona 65

7 Windows/Dialogs 7.7.10.2 Select AND(Same Time) Change the Combination group to "AND (Same Time)". Next, check (turn on) an event in th

Strona 66

Sequential specification Use the buttons included in the Sequential group. Pass counts can be specified from the popup menu that appears when selec

Strona 67

7 Windows/Dialogs 7.7.11 Specify the Process ID By specifying a task name (task number), it is possible to enable only the events that occurred in

Strona 68 - Internal

1.1.2 Sampling Period Sampling cycle means the display update interval. You can specify this function in any window which supports the RAM monitor.

Strona 69

7.8 Protect Window The Protect window sets the protect break (memory protect) function of the emulator. • The protect break function is disable

Strona 70

7 Windows/Dialogs 7.9 Trace Point Setting Window The Trace Point Setting window is used to set trace points. • The events listed below can be

Strona 71

7.9.1 Specify the Trace Event To set events, double-click to select the event you want to set from the event setting area of the Trace Point Settin

Strona 72

7 Windows/Dialogs • When DATA ACCESS is selected Traces for the memory access. • When BIT SYMBOL is selected Traces for the bit access. 1

Strona 73 - Tutorial

• When INTERRUPT is selected Traces for the interrupt occurrence or termination. (The debugger for M32C not support.) • When TRIGGER is select

Strona 74

7 Windows/Dialogs 7.9.2 Specify the Combinatorial Condition To specify a combinatorial condition, specify the desired condition from the combinato

Strona 75 - 6. Tutorial

• When State Transition is selected Click the Details... button, and the dialog box shown below appears. Specification by a state transition diagr

Strona 76 - 6.2 Usage

7 Windows/Dialogs 7.9.5 Specify the Trace Write Condition Conditions for cycles to be written to trace memory can be specified. Total Writes

Strona 77

7.9.7 Specify the Events (Instruction Fetch) How to set events for fetch is same as the way for H/W Break Point Setting Window. For detail about th

Strona 78

7 Windows/Dialogs 7.9.14 Specify the write condition Trace data write conditions can be specified. You can specify the following write conditions:

Strona 79

1 Features 3 1.2 Break Functions 1.2.1 Software Breaks Function Software Break breaks the target program before execution of the command at the sp

Strona 80

• For condition 3, choose the Mode shown below and set the Start event. • For condition 4, choose the Mode shown below and set the Start eve

Strona 81

7 Windows/Dialogs Similarly, when specifying conditions 5 to 7, choose "Exclude" and click the "Detail..." button to open the

Strona 82

• For condition 7, choose the Mode shown below and set the Start event. 158

Strona 83

7 Windows/Dialogs 7.10 Time Measurement Window The Time Measurement window displays the minimum/maximum/average execution time and measurement cou

Strona 84

7.10.1 Specify the Time Measurement Event The events listed below can be specified as measurement events. • The debugger for M32C Memory Access,

Strona 85 - 6.2.8 Step8 : Viewing Memory

7 Windows/Dialogs • When FETCH is selected Measures for the instruction fetch. (The debugger for M32C not support. When using these products, use

Strona 86

• When BIT SYMBOL is selected Measures for the bit access. • When INTERRUPT is selected Measures for the interrupt occurrence or termination.

Strona 87

7 Windows/Dialogs • When TRIGGER is selected Measures for the status of signal input from external trace cable. 163

Strona 88

7.10.2 Time Measurement Condition For the time measurement conditions, the following can be specified for each measurement interval. Measures t

Strona 89

7 Windows/Dialogs 165 7.10.4 Specify the Events (Instruction Fetch) How to set events for fetch is same as the way for H/W Break Point Setting Win

Strona 90

1.2.2 Hardware Break This function causes the target program to stop upon detecting a data read/write to memory, instruction execution, or the risi

Strona 91

7.10.9 Set the Measurement Condition For the debugger, the following measurement conditions can be specified. • Measure the execution time between

Strona 92

7 Windows/Dialogs 7.10.9.2 Measure the event occurrence cycle 1. Set the measurement event (measurement start event only). 2. Specify the follow

Strona 93

7.10.9.4 Measure the execution time of the specified function (1) Measure the execution time of the specified function. In this mode, the function

Strona 94 - 6.2.14 What Next?

7 Windows/Dialogs 7.10.9.5 Measure the execution time of the specified function (2) Measure the execution time of the specified function. In this

Strona 95 - Reference

7.11 Trace Window The Trace Window is used to display the results of real-time trace measurement. • Bus mode This mode allows you to inspect cyc

Strona 96

7 Windows/Dialogs 1. Cycle display area: Shows trace cycles. Double-click here to bring up a dialog box to change the displayed cycle. 2. Label

Strona 97 - 7. Windows/Dialogs

7.11.2 Configuration of Disassemble Mode When disassemble mode is selected while bus mode is unselected, trace information is displayed in disassem

Strona 98 - 7.1 RAM Monitor Window

7 Windows/Dialogs 7.11.3 Configuration of Data Access Mode When data access mode is selected while bus mode and disassemble mode are unselected, t

Strona 99

7.11.4 Configuration of Source Mode When only source mode is selected, trace information is displayed in source mode. Source mode is configured as

Strona 100 - 7.1.1 Extended Menus

7 Windows/Dialogs 175 7.11.5 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Men

Strona 101

1 Features 1.2.3 Protect Break This function causes the target program to stop upon detecting a data write to the ROM area or an access to an unused

Strona 102 - 7.2 ASM Watch Window

7.11.6 Display of bus information on the M32C Debugger From left to right, the contents are as follows: • Address • The status of the address bus

Strona 103 - 7.2.1 Extended Menus

7 Windows/Dialogs 177 Representation Status C U P O C P O R P Operation co e sized Operand size - - - No accessing CPU 0 1 0byte 1byte CPU

Strona 104 - 7.3 C Watch Window

7.11.7 Display of bus information on the M16C/R8C Debugger From left to right, the contents are as follows: • Address The status of the address bu

Strona 105

7 Windows/Dialogs 179 Display format Status - No change CB Operation code read (bytes) RB Operand read (bytes) QC Instruction queue buffer cl

Strona 106 - 7.3.1 Extended Menus

7.11.8 Display of bus information on the 740 Debugger From left to right, the contents are as follows: • Address The status of the address bus •

Strona 107 - 7.4 Coverage Window

7 Windows/Dialogs 7.12 Data Trace Window The Data Trace Window is used to analyze the results of real-time trace measurements and graphically show

Strona 108 - 7.4.1 Extended Menus

7.12.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu Function Analyze Trac

Strona 109

7 Windows/Dialogs 7.13 GUI I/O Window The GUI I/O window allows you for port input by creating a user target system key input panel (button) in th

Strona 110 - 7.5 Script Window

7.13.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu Function Select Item

Strona 111 - 7.5.1 Extended Menus

7 Windows/Dialogs 7.14 MR Window Use the MR Window to display the status of the realtime OS. The debugger for 740 doesn't support this func

Strona 112

Notice 1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to chang

Strona 113 - 7.6.1 Command Button

1.3 Real-Time Trace Function This function records a target program execution history. Up to 32K cycles of execution history can be recorded. Thi

Strona 114

7.14.1.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu Function Task Di

Strona 115

7 Windows/Dialogs 7.14.2 Display the Task Status In the MR window, select Popup Menu - [Mode] -> [Task]. By double-clicking any line, the in

Strona 116

• *1Task Status Display Status RUN RUNNING state RDY READY state SUS SUSPENDED state DMT DORMANT state WAI(SLP) Sleeping state WAI(SLP)-SUS Slee

Strona 117

7 Windows/Dialogs 189 7.14.2.2 Display the Task Status(When the realtime OS is MRxx conformed to uITRON specifications V.4.0.) All the tasks defin

Strona 118

• *1Task Status Display Status RUN RUNNING state RDY READY state SUS SUSPENDED state DMT DORMANT state WAI(SLP) Sleeping state WAI(SLP)-SUS Slee

Strona 119

7 Windows/Dialogs • *2Display the Wait Cancellation Condition of Event Flag Wfmode Status TWF_ANDW Waits for all bits set in the wait bit patte

Strona 120

7.14.4 Display the Timeout Queue Status In the MR window, select Popup Menu - [Mode] -> [Timeout Queue]. 7.14.4.1 Display the Timeout Queue S

Strona 121 - 7.7.4 Command Button

7 Windows/Dialogs 193 7.14.4.2 Display the Timeout Queue Status(When the realtime OS is MRxx conformed to uITRON specifications V.4.0.) The functi

Strona 122

7.14.5 Display the Event Flag Status In the MR window, select Popup Menu - [Mode] -> [Event Flag]. 7.14.5.1 Display the Event Flag Status(Whe

Strona 123

7 Windows/Dialogs 195 • The following are displayed in the Flgatr area: TA_TFIFO Task wait queue is in FIFO order TA_TPRI Task wait queue is

Strona 124

1 Features 7 1.3.2 Trace Condition Setting The following designations are available as trace events: • Address designation - Instruction fetch

Strona 125

7.14.6 Display the Semaphore Status In the MR window, select Popup Menu - [Mode] -> [Semaphore]. 7.14.6.1 Display the Semaphore Status(When t

Strona 126

7 Windows/Dialogs 197 • The following are displayed in the Sematr area: TA_TFIFO Task wait queue is in FIFO order TA_TPRI Task wait queue is

Strona 127

7.14.7 Display the Mailbox Status In the MR window, select Popup Menu - [Mode] -> [Mailbox]. 7.14.7.1 Display the Mailbox Status (When the re

Strona 128

7 Windows/Dialogs 199 7.14.7.2 Display the Mailbox Status (When the realtime OS is MRxx conformed to uITRON specifications V.4.0.) All the mail bo

Strona 129

7.14.8 Display the Data Queue Status In the MR window, select Popup Menu - [Mode] -> [Data Queue]. 7.14.8.1 Display the Data Queue Status(Whe

Strona 130

7 Windows/Dialogs 201 • The Data Queue (Wait) field displays a string "Send" if a task waiting for a message sending, and then displays

Strona 131

7.14.9 Display the Cycle Handler Status In the MR window, select Popup Menu - [Mode] -> [Cyclic Handler]. 7.14.9.1 Display the Cycle Handler

Strona 132

7 Windows/Dialogs 203 7.14.9.2 Display the Cycle Handler Status(When the realtime OS is MRxx conformed to uITRON specifications V.4.0.) All the cy

Strona 133

7.14.10 Display the Alarm Handler Status In the MR window, select Popup Menu - [Mode] -> [Alarm Handler]. When the realtime OS is MRxx confor

Strona 134

7 Windows/Dialogs 7.14.11 Display the Memory Pool Status In the MR window, select Popup Menu - [Mode] -> [Memory Pool]. 7.14.11.1 Display th

Strona 135

1.4 Time Measurement Function The time measurement function allows you to measure the maximum, minimum, and average execution times and measurement

Strona 136

7.14.11.2 Display the Memory Pool Status(When the realtime OS is MRxx conformed to uITRON specifications V.4.0.) All the memory pools are listed in

Strona 137

7 Windows/Dialogs 7.14.12 Display the Task Context 7.14.12.1 Display the Task Context In the MR window, select Popup Menu - [Context...]. The Con

Strona 138

7.14.12.2 Change the task context Enter the task ID number in the Task ID field in the Context dialog and click the Set button. The Set Context dia

Strona 139

7 Windows/Dialogs 7.15 MR Trace Window The MR Trace window measures the task execution history of a program using the real time OS and displays th

Strona 140

When moving the mouse to the information displayed in the window, the pop up window as below is opened, showing the detailed information. Interrup

Strona 141

7 Windows/Dialogs 211 7.15.1 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Men

Strona 142

7.15.2 Refer the Execution History of Task(MRxx Window) You can reference the task execution history in the MR Trace window. You can reference the

Strona 143

7 Windows/Dialogs 7.15.2.4 Refer the Execution History of Task You can reference the task execution transition in the MR Trace window. By movin

Strona 144

7.15.2.4.1. Search the History of System Call Issue Click the "Search" button in the tool bar. The Search dialog is opened. (Or, select

Strona 145

7 Windows/Dialogs 7.15.2.4.2. Change the display magnification Click the "Expand" button or "Reduce" button in the tool bar.

Strona 146

1 Features 1.5 Coverage Function Coverage Measurement is a function to record the addresses executed (accessed) by the target program (C0 coverage).

Strona 147

7.15.2.4.4. Change the task display order Drag the task/interrupt routine to be moved (the left portion of the graph) to the destination. To in

Strona 148

7 Windows/Dialogs 7.15.2.5 Measure the Execution Time of Task You can measure the execution time between the markers by changing the positions of

Strona 149

7.16 MR Analyze Window The MR Analyze window displays the result of the measurement data statistically analyzed within the range specified by the s

Strona 150

7 Windows/Dialogs 7.16.2 Configuration of Ready State Duration Display Mode The ready state time display mode by task is used to display the resul

Strona 151

7.16.4 Extended Menus This window has the following popup menus that can be brought up by right-clicking in the window. Menu Function Run Time CP

Strona 152

7 Windows/Dialogs 7.16.5.2 Refer the Ready Queue Time Click the Ready->Run button in the tool bar. (Or, select Menu - [Rdy -> Run].) The

Strona 153

7.16.5.3.1. Extract the Issuance History Click the "Pick Up" button in the tool bar. (Or, select Menu - [Pick Up System Call...].) The

Strona 154

7 Windows/Dialogs 7.17 MR Task Pause Window The MR Task Pause Window realizes the task pause function of the real time OS (MR308/MR30). The debugg

Strona 155

ATTENTION Task pause function uses the address match interrupt of the MCU. Don't use this function when the target program uses the address ma

Strona 156

7 Windows/Dialogs 7.17.3 Pause the Specified Task Use the MR Task Pause window. To open the MR Task Pause window, select Menu - [View] -> [RTOS

Strona 157

1.6 Real-Time OS Debugging Function This function debugs the realtime OS-dependent parts of the target program that uses the realtime OS. This fun

Strona 158

7.17.3.1 Pause Task Being Executed at a Specified Position 1. Click the ID field or (name) field of the task pause display field of the task li

Strona 159

7 Windows/Dialogs 7.17.3.2 Pause After a Paused Task is Executed up to Specified Position 1. Click the ID field or (name)field of the task pau

Strona 160 - 7.8 Protect Window

7.17.3.3 Turn Pause of Certain Task Off 1. Click the ID field or (name) field in the task pause display area of the ask line to be released fro

Strona 161

7 Windows/Dialogs 7.17.3.4 Display Program Contents of Certain Task in Task Source Display Area Click the ID field of (name) field in the task

Strona 162

7.18 Task Trace Window The Task Trace window measures the task execution history of a program using the real time OS and display it graphically. Th

Strona 163

7 Windows/Dialogs 231 The grid lines are displayed using the start marker as the radix point. The scale is displayed, using the time at which the

Strona 164

7.18.2 Refer the Execution History of Task(Taskxx Window) You can reference the task execution history in the Task Trace window. You can reference

Strona 165

7 Windows/Dialogs 233 ATTENTION When specifying WORD in the access size when performing PID setting in the RTOS Information dialog, you must obser

Strona 166

7.18.2.2 Refer the Execution History of Task You can reference task trace transition in the Task Trace window. By moving the mouse to the inform

Strona 167 - 7.9.6 Command Button

7 Windows/Dialogs 7.18.2.2.2. Change the grid line display interval Select [Value ...] from popup menu by right-clicking on the window. The Val

Strona 168

2 About the Emulator PC4701 11 2. About the Emulator PC4701 The PC4701 emulator system is a generic term used for the 8/16-bit MCU emulators. It c

Strona 169

7.18.2.3 Measure the Execution Time of Task By changing the start marker position and end marker position in the Task Trace window, you can measure

Strona 170

7 Windows/Dialogs 7.19 Task Analyze Window The Task Analyze window displays the result of the measurement data statistically analyzed within the r

Strona 171

7.19.2 Analyze the Execution History of Task You can reference the execution history statistical processing in the Task Analyze window. This window

Strona 172

8 Table of Script Commands 239 8. Table of Script Commands The following script commands are prepared. The commands with yellow color displaying c

Strona 173 - 7.10 Time Measurement Window

8.1.3 Register Operation Commands Comman Name dS ort Name h Contents Register R Checks and sets a register value 8.1.4 Memory Operation Comman

Strona 174

8 Table of Script Commands 241 8.1.7 Hardware Break Setting Commands Command Name Sho t Name r Contents Hardw k areBrea HB Sets and checks a har

Strona 175

8.1.12 Map Commands Comm nd Name aShort Name Contents Map* - Checks and sets mapping data 8.1.13 Clock Command Comm nd Name aShor Name t C

Strona 176

8 Table of Script Commands 243 8.2 Table of Script Commands (alphabetical order) Command Name Short Name Contents AddPath - Adds the search pa

Strona 177

Path - Sets and checks the search path Pause - Waits for user input Print - Check value of specified C variable expression. Protec t PT

Strona 178 - 7.10.3 Command Button

9 Writing Script Files 245 9. Writing Script Files This debugger allows you to run script files in a Script Window. The script file contains the c

Strona 179

3. Before starting the debugger 3.1 Communication method by emulator The supported communication methods are as follows. (The supported communicat

Strona 180

9.1.1 Script Command You can use the same script commands that you enter in the Script Window. You can also call script files from within other scr

Strona 181

9 Writing Script Files 247 9.1.4 Loop Statement(while,endw) and Break Statement In loop statements, execution of a group of statements is repeated

Strona 182

9.2 Writing Expressions This debugger allows you to use expressions for specifying addresses, data, and number of passes, etc. The following shows

Strona 183

9 Writing Script Files 249 9.2.2 Symbols and labels You can include symbols and labels defined in your target program, or symbols and labels define

Strona 184 - 7.11 Trace Window

9.2.2.2 Priority levels of labels and symbols The conversion of values to labels or symbols, and vice versa, is subject to the following levels of

Strona 185

9 Writing Script Files 251 9.2.4 Register variables Register variables are used for using the values of registers in an expression. Precede the nam

Strona 186

9.2.7 Character constants The specified character or character string is converted into ASCII code and processed as a constant. • Enclose characte

Strona 187

10 C/C++ Expressions 253 10. C/C++ Expressions 10.1 Writing C/C++ Expressions You can use C/C++ expressions consisting of the tokens shown below fo

Strona 188

10.1.2 Scope Resolution The scope resolution operator :: is available as following. Global scope: ::valiable name ::x, ::val Class scope: class nam

Strona 189 - 7.11.5 Extended Menus

10 C/C++ Expressions 255 10.1.6 Sign Inversion Sign inversion is indicated by the minus sign (-). You can only specify "-immediate_value"

Strona 190

3 Before starting the debugger 13 3.1.4 Proprietary Parallel Interface Supported only when using the PC4701HS emulator. • The host computer must h

Strona 191

10.1.9 Pointers to Members Pointers to members using the ".*" or "->*" operator can be refered only in the forms of variable

Strona 192

10 C/C++ Expressions 257 10.1.13 Casting to typedef Types You can use casting to typedef types (types other than the C basic types) and the pointer

Strona 193

10.2 Display Format of C/C++ Expressions C/C++ expressions in the data display areas of the C Watch Windows are displayed as their type name, C/C++

Strona 194

10 C/C++ Expressions 10.2.3 Pointer Types • When the result of calculation is a pointer type to other than a char* type, it is displayed in hexadec

Strona 195 - 7.12 Data Trace Window

10.2.4 Array Types • When the result of calculation is an array type other than a char [ ] type, the starting address is displayed in hex as follo

Strona 196 - 7.12.1 Extended Menus

10 C/C++ Expressions 10.2.8 When No C Symbol is Found If the calculated expression contained a C symbol that could not be found, it is displayed as

Strona 197 - 7.13 GUI I/O Window

11. Display the Cause of the Program Stoppage If the program is stoped by the debug function, the cause of the stoppage is displayed in the Output

Strona 198 - 7.13.1 Extended Menus

12 Attention 263 12. Attention 12.1 Common Attention 12.1.1 File operation on Windows 1. File Name and Directory Name - Operation is not guara

Strona 199 - 7.14 MR Window

12.1.2.3 The debugger for 740 Only the ROM area memory-mapped in the area set as Internal can be designated for software breakpoint. You cannot se

Strona 200

12 Attention 265 12.1.4 Function name in C++ • When you input the address using the function name in setting display address, setting break points

Strona 201

3.2 Download of Firmware It is necessary to down-load the firmware which corresponds to connected Emulation Pod when the debugger is started to the

Strona 202

12.1.9 Restriction of LPT port 1. The emulator uses a printer (parallel) port during LPT communications with personal computer. The IAR C compil

Strona 203

12 Attention 267 12.1.10 Notes for coverage function Coverage Measurement is a function to record the addresses accessed by the target program. T

Strona 204

12.2 Attention of the M32C Debugger 12.2.1 Stack area used by the emulator The emulator uses the interrupt stack area as a work area (20 bytes). Be

Strona 205

12 Attention 269 12.2.5 Hardware Event • The debugger does not support a command fetch (Fetch) or an interrupt as a hardware event. • If you spec

Strona 206

12.3 Attention of the M16C/R8C Debugger 12.3.1 Map of stack area used by the emulator The M16C/60,M16C/20 series emulators use a stack area of 4 by

Strona 207

12 Attention 271 12.3.5 Hardware Event • If you specify word-length (2-byte length) data from an odd address as an event in the following data acc

Strona 208

12.3.8 Memory Space Expansion • C watch window, Memory window, and other debugging windows can not show correct values, when it shows the expanded

Strona 209

12 Attention 273 12.4 Attention of the 740 Debugger 12.4.1 Setting of Memory Map The map attributes immediately after the emulator has started up a

Strona 210

12.4.7 About the single-step execution and the program break function in the internal RAM area of the mcu When debugging with the emulation pod M38

Strona 211

12 Attention 275 12.5 Option of C Compiler/Assembler/Linker We do not evaluate other settings, so we can not recommend to append other options. 12

Strona 212

3 Before starting the debugger 3.3 Setting before emulator starts 3.3.1 USB communication Connection of USB devices is detected by Windows' Plu

Strona 213

12.5.3 When Using the IAR C Compiler (EW) Please specify the project setting by following process. 1. The Setting in the IAR Embedded Workbench Wh

Strona 214

12 Attention 277 12.5.4 When Using the IAR C Compiler (ICC) 12.5.4.1 Specify the Option Please compile according to the following procedures and l

Strona 215

12.5.5 When Using the TASKING C Compiler (EDE) Please specify the project setting by following process. 1. Select menu - [EDE]->[C Compiler Op

Strona 216

12 Attention 279 12.5.7 When Using the IAR EC++ Compiler (EW) Please specify the project setting by following process. 1. The Setting in the IAR E

Strona 217

[MEMO] 280

Strona 218

M16C PC4701 Emulator Debugger V.1.03 User's Manual Publication Date: Jul. 01, 2007 Rev.1.00 Published by:

Strona 219

1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 JapanM16C PC4701 Emulator Debugger V.1.03REJ10J1608-0100User’s Manual

Strona 220

M16C PC4701 Emulator Debugger V.1.03User’s ManualUser’s ManualRev.1.00 2007.07Renesas Microcomputer Development Environment System

Strona 221

3.3.2 LAN communication 1 Before the emulator can be connected in a LAN, the IP address, etc. must first be registered in the emulator. For the emu

Strona 222

3 Before starting the debugger 5. Click the Next button, and the dialog box shown below appears. Set the IP address, subnet mask, port number, and

Strona 223 - 7.15 MR Trace Window

3.3.3 LAN communication 2 Please exexute registry setting program (Sack.exe) before starting the debugger. It is necessary for LAN communication wi

Strona 224

3 Before starting the debugger 3.3.4 Proprietary parallel communication If you are using this debugger in a combination of the parallel I/F, you nee

Strona 225 - 7.15.1 Extended Menus

4. Preparation before Use Please run the High-performance Embedded Workshop and connect the emulator . In addition, in order to debug with this pr

Strona 226

4 Preparation before Use 4.2 Starting the High-performance Embedded Workshop Activate the High-performance Embedded Workshop from [Programs] in the

Strona 227

4.2.1 Creating a New Workspace (Toolchain Used) 4.2.1.1 Step1 : Creation of a new workspace In the [Welcome!] dialog box that is displayed when th

Strona 228

4 Preparation before Use 4.2.1.2 Step2 : Setting for the Toolchain A wizard for the project creation starts. Here, the following contents are set

Strona 229

4.2.1.3 Step 3: Selecting of the Target Platform Select the target system used for your debugging (emulator, simulator). When the setting for the t

Strona 230

4 Preparation before Use 4.2.1.4 Step4 : Setting the Configuration File Name Set the configuration file name for each of the all selected target. Th

Strona 231 - 7.15.2.5.1. Move the Marker

1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use.

Strona 232 - 7.16 MR Analyze Window

4.2.1.5 Step5 : The check of a created file name Finally, confirm the file name you create. The files which will be generated by the High-performan

Strona 233

4 Preparation before Use 4.2.2 Creating a New Workspace (Toolchain Not Used) When debugging the existing load module file with this product, a works

Strona 234 - 7.16.4 Extended Menus

4.2.2.2 Step 2: Selecting of the Target Platform Select the target system used for your debugging (emulator, simulator). A wizard starts and the fo

Strona 235

4 Preparation before Use 4.2.2.3 Step3 : Setting the Configuration File Name Set the configuration file name for each of the all selected target. Th

Strona 236

4.2.2.4 Step4 : Registering the Load modules to be downloaded Finally, register the load module file to be used. Select [Debug Settings...] from th

Strona 237 - 7.17 MR Task Pause Window

4 Preparation before Use 3. Then register the corresponding download module in the [Download Modules] list box. A download module can be specified

Strona 238 - 7.17.2 Extended Menus

4.3 Starting the Debugger The debugging can be started by connecting with an emulator. 4.3.1 Connecting the Emulator Connect the emulator by simpl

Strona 239

5 Setup the Debugger 5. Setup the Debugger 5.1 Init Dialog The Init dialog box is provided for setting the items that need to be set when the debu

Strona 240

5.1.1 MCU Tab The specified content becomes effective when the next being start. 5.1.1.1 Specifying the MCU file Click the "Refer"

Strona 241

5 Setup the Debugger 5.1.1.3 Executing Self-Check Specify this option to execute self-check* on the emulator when the debugger starts up. Be sure

Strona 242

Overview The High-performance Embedded Workshop is a Graphical User Interface intended to ease the development and debugging of applications written

Strona 243

5.1.1.5 Using/unusing the watchdog timer Specify whether or not to use the watchdog timer. (By default, the watchdog timer is unused.) This specifi

Strona 244 - 7.18 Task Trace Window

5 Setup the Debugger 5.1.2 Debugging Information Tab The specified content becomes effective when the next being start. 5.1.2.1 display the compi

Strona 245 - 7.18.1 Extended Menus

5.1.2.3 Specify whether to display the instruction format specifier Specify whether to display the instruction format specifier in the disassembled

Strona 246

5 Setup the Debugger 5.1.3 F/W and Work Area Tab The specified content becomes effective when the next being start. In this tab, only the debugger f

Strona 247

5.1.4 Memory Extension Mode Tab This tab enabled only when the MCU tab in the Init dialog is used to specify the MCU file of the microcomputer (M16

Strona 248

5 Setup the Debugger 41 ATTENTION The functions may be restricted depending on the type of memory space expansion mode. Extension Mode 1 • When t

Strona 249

Extension Mode 2 • The memory reference commands are added, which reference the internal ROM in the bank duplicated area in the dump format (see t

Strona 250 - 7.18.2.3.1. Move the Marker

5 Setup the Debugger 5.1.5 Clock Tab The specified content becomes effective when the next being start. 5.1.5.1 Specify the Target Clock Change t

Strona 251 - 7.19 Task Analyze Window

5.1.6 Script Tab The specified content becomes effective when the next being start. 5.1.6.1 Automatically Execute the Script Commands To automat

Strona 252

5 Setup the Debugger 5.2 Setting of the Communication Interface 5.2.1 Setting of the USB Interface USB communication uses the personal computer&apos

Strona 253 - 8. Table of Script Commands

Active X, Microsoft, MS-DOS, Visual Basic, Visual C++, Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporati

Strona 254

5.2.2 Setting of the LPT Interface LPT communication uses a parallel interface (printer interface) of the personal computer. LPT communication can

Strona 255

5 Setup the Debugger 5.2.3 Setting of the LAN Interface LAN communication uses a LAN interface of the personal computer. Before using LAN, you must

Strona 256

5.2.3.2 Setting of the LAN Interface To set the LAN communication, click the "LAN" radio button of the MCU tab in the Init dialog. The se

Strona 257

5 Setup the Debugger 5.2.4 Setting of the Parallel Interface Special parallel communication uses a special parallel interface board PCA4202G02 (opt

Strona 258

5.3 Setup the Debugger for M32C 5.3.1 Emem Dialog In the Emem dialog box, setting information on the user target. The Emem dialog box opens after c

Strona 259 - 9. Writing Script Files

5 Setup the Debugger 5.3.1.1.1. Select the Processor Mode Specify the processor mode for the target system. Either the following can be specified

Strona 260 - 9.1.3 Conditional Statement

5.3.1.2.1. Debug monitor's bank address settings This product allocates a 64-Kbyte contiguous address area as the emulator's work area fo

Strona 261 - 9.1.5 Comment statements

5 Setup the Debugger 53 Follow the procedure described below. Bank (Set bank address) Specify the bank address of the debug target area to be allo

Strona 262 - 9.2 Writing Expressions

5.4 Setup the Debugger for M16C/R8C 5.4.1 Map Command The memory map information must be altered to suit the target microcomputer's memory spa

Strona 263 - Notes

5 Setup the Debugger 55 5.5 Setup the Debugger for 740 5.5.1 Map Command The memory map information must be altered to suit the target microcompute

Strona 264 - 9.2.3 Macro Variables

Setup of Debugger 1 1. Features 1 1.1 Real-Time RAM Monitor Function...

Strona 265 - 9.2.6 Line Nos

5.6 Method of making MCU file 5.6.1 Method of making MCU file (the M16C/R8C Debugger) The following content is sequentially described in the MCU fi

Strona 266 - Dyadic comparison level 8

5 Setup the Debugger 57 5.6.2 Method of making MCU file (the 740 Debugger) The following content is sequentially described in the MCU file. Please

Strona 267 - 10. C/C++ Expressions

ATTENTION For a new MCU, new POD number, new firmware name and new MCU information number may be used. 5.6.2.1 Example 2 3B FF FFFC 0 M38000 00

Strona 270 - signed

6 Tutorial 61 6. Tutorial 6.1 Introduction This section describes the main functions of this debugger by using a tutorial program. The tutorial pro

Strona 271 - 10.1.16 Character Constants

6.2 Usage Please follow these instructions: 6.2.1 Step1 : Starting the Debugger 6.2.1.1 Preparation before Use To run the High-performance Embedd

Strona 272 - 10.2.2 Basic Types

6 Tutorial 6.2.2 Step2 : Checking the Operation of RAM Check that RAM is operating correctly. Display and edit the contents of the memory in the [Me

Strona 273 - 10.2.3 Pointer Types

6.2.3 Step3 : Downloading the Tutorial Program 6.2.3.1 Downloading the Tutorial Program Download the object program to be debugged. The download f

Strona 274 - 10.2.7 Bit Field Types

6 Tutorial 6.2.3.2 Displaying the Source Program This debugger allows the user to debug a user program at the source level. Double-click [tutorial.c

Strona 275 - 10.2.9 Syntax Errors

5.1.5 Clock Tab ...43 5.1.6 Scri

Strona 276

6.2.4 Step4 : Setting a Breakpoint A software breakpoint is a basic debugging function. The [Editor(Source)] window provides a very simple way of s

Strona 277 - 12. Attention

6 Tutorial 6.2.5 Step5 : Executing the Program Execute the program as described in the following: 6.2.5.1 Resetting of CPU To reset the CPU, select

Strona 278

6.2.5.3 Reviewing Cause of the Break The break factor is displayed in the [Output] window. The user can also see the cause of the break that occ

Strona 279 - 12.1.8 Down-load of Firmware

6 Tutorial 6.2.6 Step6 : Reviewing Breakpoints The user can see all the breakpoints set in the program in the [Breakpoints] dialog box. 6.2.6.1 Rev

Strona 280

6.2.7 Step7 : Viewing Register The user can see all registers/flags value in the [Register] window. 6.2.7.1 Viewing Register Select [Registers]

Strona 281

6 Tutorial 6.2.8 Step8 : Viewing Memory When the label name is specified, the user can view the memory contents that the label has been registered i

Strona 282

6.2.9 Step9 : Watching Variables As the user steps through a program, it is possible to watch that the values of variables used in the user program

Strona 283 - 12.2.8 MR STK script command

6 Tutorial 6.2.9.2 Registering Variable The user can also add a variable to the [C Watch] window by specifying its name. Click the [C Watch] window

Strona 284 - 12.3.3 TASKING C Compiler

6.2.10 Step10 : Stepping Through a Program This debugger provides a range of step menu commands that allow efficient program debugging. 1. Step In

Strona 285 - 12.3.5 Hardware Event

6 Tutorial 6.2.10.2 Executing [Step Out] Command The [Step Out] command steps out of the called function(subroutine) and stops at the next statement

Strona 286 - 12.3.10 CPU rewrite

7.5.1 Extended Menus ...97 7.6 S/W Break Po

Strona 287

6.2.10.3 Executing [Step Over] Command The [Step Over] command executes a function(subroutine) call as a single step and stops at the next statemen

Strona 288 - 12.4.9 Hardware Event

6 Tutorial 6.2.11 Step11 : Forced Breaking of Program Executions This debugger can force a break in the execution of a program. 6.2.11.1 Forced Bre

Strona 289 - 12.5.1 When Using NCxx

6.2.12 Step12 : Displaying Local Variables The user can display local variables in a function using the [C Watch] window. If the downloaded progr

Strona 290 - -ylmba

6 Tutorial 6.2.13 Step13 : Stack Trace Function The debugger uses the information on the stack to display the names of functions in the sequence of

Strona 291

6.2.14 What Next? This tutorial has described the usage of this debugger. Sophisticated debugging can be carried out by using the emulation functio

Strona 292

Reference 81

Strona 293 - -yspc

(Blank Page) 82

Strona 294

7 Windows/Dialogs 83 7. Windows/Dialogs The window of this debugger is shown below. When the window name is clicked, the reference is displayed.

Strona 295

7.1 RAM Monitor Window The RAM monitor window is a window in which changes of memory contents are displayed while running the target program. The

Strona 296 - User’s Manual

7 Windows/Dialogs ATTENTION • The RAM monitor window shows the data that have been accessed through the bus. Therefore, changes are not reflected

Komentarze do niniejszej Instrukcji

Brak uwag