Resumo do conteúdo contido na página número 1
REJ10J1608-0100
M16C PC4701 Emulator Debugger V.1.03
User's Manual
Renesas Microcomputer Development Environment System
Rev.1.00
Jul. 01, 2007
Resumo do conteúdo contido na página número 2
Notes regarding these materials 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this do
Resumo do conteúdo contido na página número 3
Overview The High-performance Embedded Workshop is a Graphical User Interface intended to ease the development and debugging of applications written in C/C++ programming language and assembly language for Renesas microcomputers. Its aim is to provide a powerful yet intuitive way of accessing, observing and modifying the debugging platform in which the application is running. This help explains the function as a "debugger" of High-performance Embedded Workshop. Target System The Debugg
Resumo do conteúdo contido na página número 4
Active X, Microsoft, MS-DOS, Visual Basic, Visual C++, Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries. IBM and AT are registered trademarks of International Business Machines Corporation. Intel and Pentium are registered trademarks of Intel Corporation. Adobe and Acrobat are registered trademarks of Adobe Systems Incorporated. All other brand and product names are trademarks, registered trademarks
Resumo do conteúdo contido na página número 5
Setup of Debugger 1 1. Features 1 1.1 Real-Time RAM Monitor Function...............................................................................................1 1.1.1 RAM Monitor Area ............................................................................................................1 1.1.2 Sampling Period ................................................................................................................2 1.1.3 Related Windows .......................................
Resumo do conteúdo contido na página número 6
5.1.5 Clock Tab .........................................................................................................................43 5.1.6 Script Tab.........................................................................................................................44 5.2 Setting of the Communication Interface....................................................................................45 5.2.1 Setting of the USB Interface......................................................
Resumo do conteúdo contido na página número 7
7.5.1 Extended Menus..............................................................................................................97 7.6 S/W Break Point Setting Window ..............................................................................................98 7.6.1 Command Button.............................................................................................................99 7.6.2 Setting and Deleting a Break Points from Editor(Source) Window............................100
Resumo do conteúdo contido na página número 8
7.14.3 Display the Ready Queue Status ................................................................................191 7.14.4 Display the Timeout Queue Status.............................................................................192 7.14.5 Display the Event Flag Status....................................................................................194 7.14.6 Display the Semaphore Status....................................................................................196 7.14.7
Resumo do conteúdo contido na página número 9
9.2 Writing Expressions..................................................................................................................248 9.2.1 Constants .......................................................................................................................248 9.2.2 Symbols and labels ........................................................................................................249 9.2.3 Macro Variables...............................................................
Resumo do conteúdo contido na página número 10
12.2.1 Stack area used by the emulator ................................................................................268 12.2.2 Interrupt stack pointer when resetting the target program .....................................268 12.2.3 Option of C Compiler/Assembler/Linker ....................................................................268 12.2.4 Target MCU HOLD terminal......................................................................................268 12.2.5 Hardware Event .......
Resumo do conteúdo contido na página número 11
Setup of Debugger 1
Resumo do conteúdo contido na página número 12
(Blank Page) 2
Resumo do conteúdo contido na página número 13
1 Features 1. Features 1.1 Real-Time RAM Monitor Function This function allows you to inspect changes of memory contents without impairing the realtime capability of target program execution. The PC4701 emulator system contains a 1-Kbyte RAM monitor area (which cannot be divided into smaller areas). This debugger supports the real time RAM monitor function which allows you to reference the memory data without sacrificing real time performance during execution of the target program.
Resumo do conteúdo contido na página número 14
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. (The interval of 100 ms is set by default.) The actual sampling cycle may take longer time than the specified cycle depending on the operating environment. (Sampling cycle depends on the following environments.) • Communication interface • Number of the RAM Monitor windows displayed • Size of the RAM Monitor window displayed • Number o
Resumo do conteúdo contido na página número 15
1 Features 1.2 Break Functions 1.2.1 Software Breaks Function Software Break breaks the target program before execution of the command at the specified address. This break point is called software breakpoint. The software breakpoint is set/reset in the Editor (Source) window or in the S/W Breakpoint Setting window. You can also disable/enable a software breakpoint temporarily. You can specify up to 64 software breakpoints. When specifying two or more software breakpoints, the break
Resumo do conteúdo contido na página número 16
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 rising/falling edge of the input signal fed from an external trace cable. The contents of events that can be set vary with each target MCU. The following designations are available as break events: • Address designation - Instruction fetch - Memory access - Bit access • External trigger designation • Interruption The number o
Resumo do conteúdo contido na página número 17
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 area (read/write or instruction execution). Protect Break is a function to detect a write of data to the ROM area and an access (read, write, command execution) to an unused area and stop the target program. 1.2.3.1 Protect Attribute You can specify the following attributes in byte. • Access Disable • Read Only • R/W Enable 1.
Resumo do conteúdo contido na página número 18
1.3 Real-Time Trace Function This function records a target program execution history. Up to 32K cycles of execution history can be recorded. This record allows inspecting the bus information, executed instructions, and source program execution path for each cycle. The real-time trace function records the execution history of the target program. The execution history is referred to in the tracing window. The execution history can be referred to in the following mode. • BUS mode Th
Resumo do conteúdo contido na página número 19
1 Features 1.3.2 Trace Condition Setting The following designations are available as trace events: • Address designation - Instruction fetch - Memory access - Bit access • External trigger designation (eight events) • Interruption The number of events that can be specified are six events of all. These break events can be combined as below: • Trace when all of the valid events are established (AND condition) • Trace when all of the valid events are established at the sam
Resumo do conteúdo contido na página número 20
1.4 Time Measurement Function The time measurement function allows you to measure the maximum, minimum, and average execution times and measurement counts of a specified zone. With this debugger, time can be measured up to four points simultaneously. 1.4.1 The Measurement Condition The measurement condition of the zone time can specify the following in each measurement zone. • Execution time of the specified function • Time between two events • Time between event establishments