![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
User's Manual ID850NW Integrated Debugger Ver. 1.10 or Later Operation (WindowsTM Based) Target Devices V850 FamilyTM Document No. U14891EJ1V0UM00 (1st edition) Date Published November 2000 N CP(K) 2000 (c) 1997 Printed in Japan [MEMO] 2 User's Manual U14891EJ1V0UM00 V800 Series, V850 Family, V850/SA1, V850/SB1, V850/SB2, V850/SV1, V850E/MS1, V850E/MA1, V850E/IA1, V851, V852, V853, and V854 are trademarks of NEC Corporation. UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Limited. Pentium is a trademark of Intel Corporation. Windows, Windows NT, and MS-DOS are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. PC/AT is a trademark of International Business Machines Corporation. User's Manual U14891EJ1V0UM00 3 * The information in this document is current as of August, 2000. The information is subject to change without notice. For actual design-in, refer to the latest publications of NEC's data sheets or data books, etc., for the most up-to-date specifications of NEC semiconductor products. Not all products and/or types are available in every country. Please check with an NEC sales representative for availability and additional information. * No part of this document may be copied or reproduced in any form or by any means without prior written consent of NEC. NEC assumes no responsibility for any errors that may appear in this document. * NEC does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of NEC semiconductor products listed in this document or any other liability arising from the use of such products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC or others. * Descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. The incorporation of these circuits, software and information in the design of customer's equipment shall be done under the full responsibility of customer. NEC assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. * While NEC endeavours to enhance the quality, reliability and safety of NEC semiconductor products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. To minimize risks of damage to property or injury (including death) to persons arising from defects in NEC semiconductor products, customers must incorporate sufficient safety measures in their design, such as redundancy, fire-containment, and anti-failure features. * NEC semiconductor products are classified into the following three quality grades: "Standard", "Special" and "Specific". The "Specific" quality grade applies only to semiconductor products developed based on a customer-designated "quality assurance program" for a specific application. The recommended applications of a semiconductor product depend on its quality grade, as indicated below. Customers must check the quality grade of each semiconductor product before using it in a particular application. "Standard": Computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots "Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support) "Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. The quality grade of NEC semiconductor products is "Standard" unless otherwise expressly specified in NEC's data sheets or data books, etc. If customers wish to use NEC semiconductor products in applications not intended by NEC, they must contact an NEC sales representative in advance to determine NEC's willingness to support a given application. (Note) (1) "NEC" as used in this statement means NEC Corporation and also includes its majority-owned subsidiaries. (2) "NEC semiconductor products" means any semiconductor product developed or manufactured by or for NEC (as defined above). M8E 00. 4 4 User's Manual U14891EJ1V0UM00 Regional Information Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: * * * * * Device availability Ordering information Product release schedule Availability of related technical literature Development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, AC supply voltages, and so forth) Network requirements * In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. NEC Electronics Inc. (U.S.) Santa Clara, California Tel: 408-588-6000 800-366-9782 Fax: 408-588-6130 800-729-9288 NEC Electronics (Germany) GmbH Benelux Office Eindhoven, The Netherlands Tel: 040-2445845 Fax: 040-2444580 NEC Electronics Hong Kong Ltd. Hong Kong Tel: 2886-9318 Fax: 2886-9022/9044 NEC Electronics Hong Kong Ltd. NEC Electronics (France) S.A. Velizy-Villacoublay, France Tel: 01-30-67 58 00 Fax: 01-30-67 58 99 Seoul Branch Seoul, Korea Tel: 02-528-0303 Fax: 02-528-4411 NEC Electronics (Germany) GmbH Duesseldorf, Germany Tel: 0211-65 03 02 Fax: 0211-65 03 490 NEC Electronics (France) S.A. NEC Electronics (UK) Ltd. Milton Keynes, UK Tel: 01908-691-133 Fax: 01908-670-290 Madrid Office Madrid, Spain Tel: 91-504-2787 Fax: 91-504-2860 NEC Electronics Singapore Pte. Ltd. United Square, Singapore Tel: 65-253-8311 Fax: 65-250-3583 NEC Electronics Taiwan Ltd. NEC Electronics Italiana s.r.l. Milano, Italy Tel: 02-66 75 41 Fax: 02-66 75 42 99 NEC Electronics (Germany) GmbH Scandinavia Office Taeby, Sweden Tel: 08-63 80 820 Fax: 08-63 80 388 Taipei, Taiwan Tel: 02-2719-2377 Fax: 02-2719-5951 NEC do Brasil S.A. Electron Devices Division Guarulhos-SP Brasil Tel: 55-11-6462-6810 Fax: 55-11-6462-6829 J00.7 User's Manual U14891EJ1V0UM00 5 [MEMO] 6 User's Manual U14891EJ1V0UM00 INTRODUCTION Readers This manual is intended for user engineers who design and develop application systems of the V850 Family. Purpose This manual is intended for users to understand the functions of the ID850NW in the organization below. Organization This manual consists of the following chapters: * General * Installation * Starting and exiting * Function of ID850NW * Association with project manager * Window reference How to read this manual It is assumed that the readers of this manual have general knowledge of electrical engineering, logic circuits, microcontrollers, C language, and assemblers. To understand the functions of the V850 Family Refer to Hardware User's Manual for each product. To understand the instruction functions of the V850 Family Refer to V850 Family User's Manual Architecture or V850E/xxx User's Manual Architecture. Conventions Data significance: Note: Caution: Key descriptions: Higher digits on the left and lower digits on the right Footnote for item marked with Note in the text Information requiring paticular attention The key descriptions in this manual are explained in terms of the PC-9821 series keyboard. When using a keyboard whose key descriptions differ from the above, use the keys in accordance with the descriptions in APPENDIX D KEY FUNCTION LIST. User's Manual U14891EJ1V0UM00 7 Related Documents The documents related to this manual are listed below. The related documents indicated in this publication may include preliminary versions. However, preliminary versions are not marked as such. Documents related to development tools (user's manuals) Document Name IE-703002-MC (In-circuit emulator for V851 , V852 , V853 , V854 , V850/SA1 , V850/SB1 , TM V850/SV1 ) IE-V850E-MC (In-circuit emulator for V850E/IA1 ) TM IE-V850E-MC-A (In-circuit emulator for V850E/MA1 ) IE-703003-MC-EM1 (Peripheral I/O board for V853) IE-703008-MC-EM1 (Peripheral I/O board for V854) IE-703017-MC-EM1 (Peripheral I/O board for V850/SA1) IE-703037-MC-EM1 (Peripheral I/O board for V850/SB1, V850/SB2 ) IE-703040-MC-EM1 (Peripheral I/O board for V850/SV1) IE-703102-MC (In-circuit emulator for V850E/MS1 ) IE-703102-MC-EM1, IE-703102-MC-EM1-A (Peripheral I/O board for V850E/MS1) IE-703107-MC-EM1 (Pripheral I/O board for V850E/MA1) IE-703117-MC-EM1 (Peripheral I/O board for V850E/IA1) CA850 (Ver. 2.30 or later) (C compiler package) Operation C Language Project Manager Assembly Language ID850 (Ver. 2.00 or later) (Integrated debugger) ID850 (Ver. 2.20 or later) (Integrated debugger) ID850NW (Ver. 1.10 or later) (Integrated debugger) SM850 (Ver. 2.00 or later) (System simulator) SM850 (Ver. 2.20 or later) (System simulator) SM850 (Ver. 2.00 or later) (System simulator) RX850 (Real-time OS) Operation Windows Based Operation Windows Based Operation Windows Based Operation Windows Based Operation Windows Based External Part User Open Interface Specifications Basics Installation Technical RX850 Pro (Real-time OS) Fundamental Installation Technical RD850 (Ver. 3.0) (Task debugger) RD850 Pro (Ver. 3.0) (Task debugger) AZ850 (System performance analyzer) TM TM TM TM TM TM TM TM TM TM Document No. U11595E U14487E U11596E U12420E U12898E U14151E U14337E U13875E U13876E U14481E U14770E U14568E U14566E U14569E U14567E U14217E U14580E This manual U13759E U14782E U14873E U13430E U13410E U13431E U13773E U13774E U13772E U13737E U13916E U14410E 8 User's Manual U14891EJ1V0UM00 CONTENTS CHAPTER 1 1.1 1.2 1.3 1.4 GENERAL.......................................................................................................................... 17 Overview..................................................................................................................................... 17 Features...................................................................................................................................... 17 System Configuration ............................................................................................................... 18 Operating Environment ............................................................................................................ 19 1.4.1 1.4.2 Hardware environments ................................................................................................................. 19 Software environments................................................................................................................... 19 1.5 Note for Debugging at Source Level ....................................................................................... 20 INSTALLATION ................................................................................................................. 21 CHAPTER 2 2.1 2.2 Installing ID850NW .................................................................................................................... 21 Uninstalling ID850NW ............................................................................................................... 27 STARTING AND EXITING............................................................................................... 31 CHAPTER 3 3.1 3.2 Starting ....................................................................................................................................... 31 Exiting......................................................................................................................................... 33 FUNCTIONS OF ID850NW.............................................................................................. 35 CHAPTER 4 4.1 4.2 Mapping Function ..................................................................................................................... 35 Program Execution Function ................................................................................................... 36 4.2.1 4.2.2 Real-time execution function .......................................................................................................... 36 Non real-time execution function .................................................................................................... 37 Using event function....................................................................................................................... 38 Event conditions ............................................................................................................................. 39 4.3 Event Function .......................................................................................................................... 38 4.3.1 4.3.2 4.4 4.5 Break Function .......................................................................................................................... 41 Trace Function........................................................................................................................... 43 4.5.1 4.5.2 4.5.3 Trace operations ............................................................................................................................ 43 Trace condition setting function...................................................................................................... 43 Trace result display function........................................................................................................... 45 Display files .................................................................................................................................... 46 Information files .............................................................................................................................. 46 4.6 Load/Save Functions ................................................................................................................ 46 4.6.1 4.6.2 4.7 4.8 4.9 Register Manipulation Functions ............................................................................................ 47 Memory Manipulation Functions ............................................................................................. 47 Real-Time RAM Sampling Function ........................................................................................ 47 ASSOCIATION WITH PROJECT MANAGER ............................................................... 49 Debugger selection ........................................................................................................................ 49 Reproducing debug environment ................................................................................................... 50 CHAPTER 5 5.1 5.2 5.1.1 5.2.1 Debugger Registration in PM Project...................................................................................... 49 Starting Up ID850NW from PM ................................................................................................. 50 User's Manual U14891EJ1V0UM00 9 5.3 Correction of Source File and Auto Load ............................................................................... 51 WINDOW REFERENCE.................................................................................................... 53 CHAPTER 6 6.1 6.2 Window List................................................................................................................................ 53 Explanation of Windows ........................................................................................................... 55 Main Window ..............................................................................................................................................56 Configuration Dialog Box ............................................................................................................................81 Extended Option Dialog Box .......................................................................................................................86 Debugger Option Dialog Box ......................................................................................................................90 Interrupt Mask Dialog Box...........................................................................................................................98 Font Dialog Box ........................................................................................................................................100 Project File Load Dialog Box.....................................................................................................................103 Project File Save Dialog Box.....................................................................................................................106 View File Load Dialog Box ........................................................................................................................109 View File Save Dialog Box ........................................................................................................................112 Download Dialog Box................................................................................................................................118 Load Module List Dialog Box ....................................................................................................................122 Upload Dialog Box ....................................................................................................................................124 Browse Dialog Box....................................................................................................................................127 Source Move Dialog Box ..........................................................................................................................129 Address Move Dialog Box.........................................................................................................................132 Trace Move Dialog Box.............................................................................................................................134 Symbol To Address Dialog Box ................................................................................................................137 Source Window.........................................................................................................................................140 Source Search Dialog Box ........................................................................................................................154 Assemble Window ....................................................................................................................................157 Assemble Search Dialog Box....................................................................................................................166 Memory Window .......................................................................................................................................169 Memory Search Dialog Box ......................................................................................................................174 Memory Fill Dialog Box .............................................................................................................................177 Memory Copy Dialog Box .........................................................................................................................179 Memory Compare Dialog Box ...................................................................................................................181 Memory Compare Result Dialog Box........................................................................................................183 DMM Dialog Box .......................................................................................................................................185 Watch Window ..........................................................................................................................................188 Quick Watch Dialog Box ...........................................................................................................................193 Add Watch Dialog Box ..............................................................................................................................198 Register Window.......................................................................................................................................201 Register Select Dialog Box .......................................................................................................................204 IOR Window..............................................................................................................................................206 IOR Select Dialog Box ..............................................................................................................................209 Add I/O Port Dialog Box ............................................................................................................................213 Local Variable Window .............................................................................................................................216 Stack Window ...........................................................................................................................................218 Trace View Window ..................................................................................................................................222 Trace Data Select Dialog Box ...................................................................................................................228 Trace Option Dialog Box ...........................................................................................................................231 Event Manager..........................................................................................................................................235 10 User's Manual U14891EJ1V0UM00 Software Break Manager .......................................................................................................................... 242 Event Dialog Box ...................................................................................................................................... 245 Event Link Dialog Box............................................................................................................................... 256 Break Dialog Box ...................................................................................................................................... 266 Trace Dialog Box ...................................................................................................................................... 273 Delay Count Setting Dialog Box ............................................................................................................... 281 Reset Debugger Dialog Box ..................................................................................................................... 283 About Dialog Box ...................................................................................................................................... 285 Exit Debugger Dialog Box......................................................................................................................... 286 Error/Warning Dialog Box ......................................................................................................................... 288 APPENDIX A APPENDIX B B.1 B.2 DEBUGGING WITH ID850NW..................................................................................... 289 TERMINOLOGY ............................................................................................................. 293 Terminology ............................................................................................................................. 293 Window Type and Configuration ........................................................................................... 302 B.2.1 B.2.2 Windows....................................................................................................................................... 302 Dialog boxes ................................................................................................................................ 302 APPENDIX C APPENDIX D D.1 D.2 D.3 D.4 D.5 D.6 D.7 D.8 ERROR MESSAGE LIST............................................................................................. 303 KEY FUNCTION LIST .................................................................................................. 327 Special Function Key Function List ...................................................................................... 327 Function Key Function List .................................................................................................... 328 Special Function Key Function List ( SHIFT + Key) ......................................................... 329 Function Key Function List ( SHIFT + Key) ....................................................................... 329 Special Function Key Function List ( CTRL + Key) .......................................................... 330 Function Key Function List ( CTRL + Key)........................................................................ 330 Control Key Function List ( CTRL + Key) .......................................................................... 330 Special Function Key Function List ( CTRL + SHIFT Key) .......................................... 331 INDEX ............................................................................................................................. 333 APPENDIX E User's Manual U14891EJ1V0UM00 11 LIST OF FIGURES (1/2) Figure No. 1-1 3-1 3-2 3-3 3-4 3-5 5-1 6-1 6-2 6-3 6-4 6-5 6-6 6-7 6-8 6-9 6-10 6-11 6-12 6-13 6-14 6-15 6-16 6-17 6-18 6-19 6-20 6-21 6-22 6-23 6-24 6-25 6-26 6-27 6-28 6-29 6-30 6-31 6-32 Title Page ID850NW System Configuration Example ............................................................................................18 ID850NW Icon ...................................................................................................................................31 Configuration Dialog Box on Starting....................................................................................................31 Main Window.....................................................................................................................................32 comctl32.dll 4.72 Installer ...................................................................................................................32 Exit Debugger Dialog Box ...................................................................................................................33 Select Debugger Type Dialog Box (PM) ...............................................................................................49 Main Window.....................................................................................................................................56 Toolbar .............................................................................................................................................57 Example of Tool Hint ..........................................................................................................................59 Status Bar .........................................................................................................................................60 File Menu Bar ....................................................................................................................................63 Edit Menu Bar....................................................................................................................................64 View Menu Bar ..................................................................................................................................66 Option Menu Bar................................................................................................................................71 Run Menu Bar ...................................................................................................................................73 Event Menu Bar .................................................................................................................................76 Browse Menu Bar ..............................................................................................................................77 Jump Menu Bar .................................................................................................................................78 Window Menu Bar..............................................................................................................................79 Help Menu Bar...................................................................................................................................80 Configuration Dialog Box ....................................................................................................................81 Extended Option Dialog Box ...............................................................................................................86 Debugger Option Dialog Box...............................................................................................................90 Interrupt Mask Dialog Box...................................................................................................................98 Font Dialog Box ...............................................................................................................................100 Project File Load Dialog Box .............................................................................................................103 Project File Save Dialog Box .............................................................................................................107 View File Load Dialog Box ................................................................................................................109 View File Save Dialog Box ................................................................................................................112 Download Dialog Box .......................................................................................................................119 Load Module List Dialog Box.............................................................................................................122 Upload Dialog Box ...........................................................................................................................124 Browse Dialog Box...........................................................................................................................127 Source Move Dialog Box ..................................................................................................................129 Address Move Dialog Box.................................................................................................................132 Trace Move Dialog Box ....................................................................................................................134 Symbol To Address Dialog Box .........................................................................................................137 Source Window ...............................................................................................................................140 User's Manual U14891EJ1V0UM00 12 LIST OF FIGURES (2/2) Figure No. 6-33 6-34 6-35 6-36 6-37 6-38 6-39 6-40 6-41 6-42 6-43 6-44 6-45 6-46 6-47 6-48 6-49 6-50 6-51 6-52 6-53 6-54 6-55 6-56 6-57 6-58 6-59 6-60 6-61 6-62 6-63 6-64 6-65 6-66 C-1 Title Page Source Search Dialog Box................................................................................................................ 154 Assemble Window ........................................................................................................................... 157 Assemble Search Dialog Box............................................................................................................ 166 Memory Window.............................................................................................................................. 169 Memory Search Dialog Box .............................................................................................................. 174 Memory Fill Dialog Box .................................................................................................................... 177 Memory Copy Dialog Box ................................................................................................................. 179 Memory Compare Dialog Box ........................................................................................................... 181 Memory Compare Result Dialog Box ................................................................................................. 183 DMM Dialog Box ............................................................................................................................. 185 Watch Window ................................................................................................................................ 189 Quick Watch Dialog Box................................................................................................................... 193 Add Watch Dialog Box ..................................................................................................................... 198 Register Window ............................................................................................................................. 201 Register Select Dialog Box ............................................................................................................... 204 IOR Window.................................................................................................................................... 206 IOR Select Dialog Box...................................................................................................................... 209 Add I/O Port Dialog Box ................................................................................................................... 213 Local Variable Window..................................................................................................................... 216 Stack Window ................................................................................................................................. 218 Trace View Window ......................................................................................................................... 222 Trace Data Select Dialog Box ........................................................................................................... 228 Trace Option Dialog Box .................................................................................................................. 231 Event Manager................................................................................................................................ 236 Software Break Manager .................................................................................................................. 242 Event Dialog Box ............................................................................................................................. 246 Event Link Dialog Box ...................................................................................................................... 257 Break Dialog Box............................................................................................................................. 267 Trace Dialog Box ............................................................................................................................. 274 Delay Count Setting Dialog Box ........................................................................................................ 281 Reset Debugger Dialog Box.............................................................................................................. 283 About Dialog Box............................................................................................................................. 285 Exit Debugger Dialog Box................................................................................................................. 286 Error/Warning Dialog Box ................................................................................................................. 288 Display Format of Error Message ...................................................................................................... 303 User's Manual U14891EJ1V0UM00 13 LIST OF TABLES (2/1) Table No. 4-1 4-2 4-3 4-4 4-5 4-6 4-7 4-8 4-9 4-10 6-1 6-2 6-3 6-4 6-5 6-6 6-7 6-8 6-9 6-10 6-11 6-12 6-13 6-14 6-15 6-16 6-17 6-18 6-19 6-20 6-21 6-22 6-23 6-24 6-25 6-26 6-27 6-28 6-29 6-30 6-31 Title Page Relationship Between Event Conditions and Setting Dialog Box .............................................................38 Each Condition That Can Be Set in Event Setting Dialog Box.................................................................39 Event Condition Type .........................................................................................................................40 Types of Trace Mode .........................................................................................................................43 Types of Trace Data to Be Fetched......................................................................................................43 Types of Trace...................................................................................................................................44 Types of Tracer Control Mode .............................................................................................................44 Trace Data Display Contents...............................................................................................................45 Display Files Handled by ID850NW .....................................................................................................46 Information Files Handled by ID850NW................................................................................................46 Windows of ID850NW Debugger .........................................................................................................53 CPU Status Display Contents..............................................................................................................61 IE Status Display Contents .................................................................................................................61 Display Contents of Break Cause ........................................................................................................61 STEP Modes .....................................................................................................................................61 Trace Memory Size ............................................................................................................................87 Saved Contents of Project File ..........................................................................................................105 View File Extention...........................................................................................................................110 File Types and Current Window.........................................................................................................115 Types of Files That Can Be Downloaded............................................................................................120 Types of Files That Can Be Uploaded ................................................................................................125 Types of Files That Can Be Displayed in Browse Dialog Box................................................................128 Format of Frame No. Specification.....................................................................................................135 Format of Symbol Specification .........................................................................................................138 Breakpoint Setting/Deleting Function .................................................................................................143 Breakpoint Display Color ..................................................................................................................143 Meaning of Event Display Mark .........................................................................................................144 Program Codes ...............................................................................................................................144 Details of Drag and Drop Function (Line/Address) ...............................................................................146 Current PC Line and Breakpoint Setting Line ......................................................................................148 Details of Drag and Drop Function (Character String) ..........................................................................152 Details of Jump Function ..................................................................................................................221 Contents of Fetch Operation Access Display ......................................................................................225 Contents of Program Fetch Display....................................................................................................225 Contents of Data Operation Access Display........................................................................................225 Window Link Function ......................................................................................................................227 Trace Triggers of Execution Trace Data .............................................................................................234 Event Icon Marks .............................................................................................................................237 Character Color of Event Icon ...........................................................................................................238 Key Information in Detailed Event Display Mode .................................................................................240 Number of Valid Event Conditions .....................................................................................................247 User's Manual U14891EJ1V0UM00 14 LIST OF TABLES (2/2) Table No. 6-32 6-33 6-34 6-35 6-36 6-37 6-38 6-39 6-40 6-41 6-42 6-43 6-44 B-1 B-2 C-1 C-2 D-1 D-2 D-3 D-4 D-5 D-6 D-7 D-8 Title Page Meanings of Event Icons (Event Condition) ........................................................................................ 248 List of Status Conditions in Event Dialog Box ..................................................................................... 249 List of Access Size Conditions in Event Dialog Box ............................................................................. 250 List of Data Conditions in Event Dialog Box........................................................................................ 252 Number of Valid Event Link Conditions .............................................................................................. 258 Meanings of Event Icons (Event Link Condition) ................................................................................. 259 Number of Events That Can Be Set in Link Condition Setting Area ....................................................... 260 Number of Events That Can Be Set in Disable Condition Setting Area .................................................. 261 Number of Valid Break Event Conditions............................................................................................ 268 Meanings of Event Icons (Break Event Condition)............................................................................... 269 Number of Events That Can Be Set in Break Condition Setting Area .................................................... 269 Total Number of Events That Can Be Set to Each Area in Trace Dialog Box.......................................... 275 Meanings of Event Icons (Trace Event Condition) ............................................................................... 276 Delimiter Symbols............................................................................................................................ 294 Register Set of V850 Family ............................................................................................................. 296 Error Message Type ........................................................................................................................ 303 Error Message List........................................................................................................................... 304 Special Function Key Function List .................................................................................................... 327 Function Key Function List................................................................................................................ 328 Special Function Key Function List ( SHIFT + Key) .......................................................................... 329 Function Key Function List ( SHIFT + Key)...................................................................................... 329 Special Function Key Function List ( CTRL + Key) ........................................................................... 330 Function Key Function List ( CTRL + Key)....................................................................................... 330 Control Key Function List ( CTRL + Key)......................................................................................... 330 Special Function Key Function List ( CTRL + SHIFT Key)............................................................. 331 User's Manual U14891EJ1V0UM00 15 [MEMO] 16 User's Manual U14891EJ1V0UM00 CHAPTER 1 GENERAL 1.1 Overview The V850 Family integrated debugger ID850NW (hereafter referred to as "ID850NW") is a software tool to debug the user programs developed for NEC's V850 Family 32-bit microcontroller for embedded control applications efficiently. The ID850NW features an easy-to-understand GUI (Graphical User Interface) on a host machine using Windows as the operating system. Moreover, the commands that are frequently used can be input using the mouse, providing an environment with excellent operability. 1.2 Features The features of the ID850NW are as follows. (1) GUI function The ID850NW runs in a Windows environment and its debugging operations can be controlled with a mouse. Buttons and menus are displayed in each window, and you can select other related information from the displayed information. (2) Source debug C source and assembly language programs can be debugged at source level. (3) Use of in-circuit emulator Breakpoints can be set and user programs can be traced circuit emulator. Note The trace function is valid only for CPU cores with the TRCU incorporated. (4) Monitor function (automatic display updating function while execution is stopped) When execution of the user program is stopped, the values displayed in the window are automatically updated. (5) Saving/restoring debugging environment The debug environment can be saved in a file. The saved environment can be restored and can start debugging again. (6) Function expansion by TIP (Tool Interface Protocol) By linking up with a task debugger (RD), system performance analyzer (AZ), etc., it is possible to vastly improve the debugging efficiency of applications that use a real-time OS (RX). Note by using the detailed event setting functions of an in- User's Manual U14891EJ1V0UM00 17 CHAPTER 1 GENERAL 1.3 System Configuration The ID850NW offers a comfortable debugging environment for user programs and target boards developed for the V850 Family by connecting the host machine and the in-circuit emulator with a dedicated parallel interface board. The in-circuit emulator (IE-70000-MC-NW-A) used by the ID850NW provides a debugging function by connecting a target board on which a V850 Family microcontroller with the DCU (Debug Control Unit) incorporated is mounted. Figure 1-1 shows an example of the system configuration of the ID850NW. Figure 1-1. ID850NW System Configuration Example 18 User's Manual U14891EJ1V0UM00 CHAPTER 1 GENERAL 1.4 Operating Environment To use the ID850NW, the following hardware and software environments are necessary. 1.4.1 Hardware environments (1) Host machine * PC-9821 series * PC98-NX series * IBM PC/ATTM or compatibles CPU: PentiumTM 100 MHz or more (120 MHz or more is recommended) Memory: RAM: 32 MB or more (64 MB or more is recommended) (2) In-circuit emulator * IE-70000-MC-NW-A (3) Interface board * IE-70000-98-IF-C (PC-9821 series) * IE-70000-PC-IF-C (IBM PC/AT or compatibles) * IE-70000-PCI-IF (4) ROM probe (option) * EP-16000C * EP-16384C 1.4.2 Software environments (1) OS Windows 95, Windows 98, Windows NTTM4.0 (Service Pack 3) (2) Device file Device file of target device to be used (3) Device driver Device driver for interface board (attached to this product) User's Manual U14891EJ1V0UM00 19 CHAPTER 1 GENERAL 1.5 Note for Debugging at Source Level When debugging at source level, add an option (-g option) that creates debugging information after the source files have been compiled. If this is not done, debugging cannot be performed in the source level. 20 User's Manual U14891EJ1V0UM00 CHAPTER 2 INSTALLATION This chapter explains how to install/uninstall the ID850NW. 2.1 Installing ID850NW In order to use the ID850NW, it is necessary to install the ID850NW, a device file, and a device driver. Install the device file according to the installer of the device file (refer to CA830, CA850 C Compiler Package User's Manual Project Manager). Install the device driver according to the Readme-j.txt in the floppy disk "NEC IE-PC Driver Installation Disk". Caution If reinstalling the ID850NW, be sure to uninstall it first. If the ID850NW is not uninstalled and reinstalled in a directory that is different to the one the ID850NW was originally installed in, uninstallation of the originally installed ID850NW may become impossible. The following floppy disks (FDs) are necessary for installing the ID850NW. * System disks of ID850NW (DISK 1 to 5) Copy the system disks to other floppy disks for backup. Use the backed up disks for installation to prevent an accident. An example of installing the ID850NW is shown below. The setting for this example is as follows: * Install directory: * Drive of floppy disk: C:\nectools32 Drive A * Directory to which Windows is installed: C:\WINDOWS <1> Start up Windows. <2> Insert the system disk (DISK 1) to a floppy disk drive (drive A in this example). <3> Start up the explorer, select drive A, and double-click "Setup.exe". User's Manual U14891EJ1V0UM00 21 CHAPTER 2 INSTALLATION <4> The setup program is activated following setup initialization. Click . <5> When installing the ID850NW, click license agreement. Clicking after reading and accepting the terms of the software will abort installation. 22 User's Manual U14891EJ1V0UM00 CHAPTER 2 INSTALLATION <6> Select the items to be installed and the destination drive or directory. Clear the check mark from the components that are not to be installed. The default destination drive or directory is C:\nectools32. To change the drive or directory, click After setting each item, click To abort installation, click . . and make appropriate modifications. Caution If a previously installed ID850NW has not been uninstalled, a dialog box querying whether to uninstall it will be displayed. User's Manual U14891EJ1V0UM00 23 CHAPTER 2 INSTALLATION <7> Specify the name of the file in which the ID850NW icon is to be registered. After specifying the group name, click To abort installation, click . . The default group name is "NEC Tools32". <8> Final confirmation of installation start Confirm the settings made in <6> and <7>. If there are no changes to these settings, click If changes are necessary, click installation. . . If there are any problems, click and abort 24 User's Manual U14891EJ1V0UM00 CHAPTER 2 INSTALLATION <9> Copying files Copy the files into the directory set in <6>. The change-of-system-disk message (Setup Needs the Next Disk) dialog box will open, so after changing the disk, click . Displays the installation status Change-of-system-disk message <10> Completing installation After installation is completed, the Setup Complete dialog box will open, and click . If the data file for 16-bit version NEC development tools NECDEV.INI exists in the Windows directory, a message querying whether to move the device file data to the registry will be displayed. To move this data, click . If you do not desire this data to be moved, click . User's Manual U14891EJ1V0UM00 25 CHAPTER 2 INSTALLATION <11> When the system disks have all been copied, the ID850NW icon will be registered in the "NEC Tools" group. Installation of ID850NW is now complete. 26 User's Manual U14891EJ1V0UM00 CHAPTER 2 INSTALLATION 2.2 Uninstalling ID850NW This section explains how to uninstall the ID850NW, using "C:\WINDOWS" as the directory in which Windows is installed. <1> Start up Windows <2> Activate "Add/Remove Programs" from the control panel. <3> Select "NEC ID850NW V850 Integrated Debugger VX.XX" from the list displayed in "Install/Uninstall" and click . User's Manual U14891EJ1V0UM00 27 CHAPTER 2 INSTALLATION <4> The Confirm File Deletion dialog box will be displayed next, and click . <5> The following dialog box below will appear during deletion. Click (even if as to all files confirmed is selected and files are not deleted here, the latest files with the same name overwrite the old files when the ID850NW is reinstalled). 28 User's Manual U14891EJ1V0UM00 CHAPTER 2 INSTALLATION <6> The program will be deleted. When the message "Uninstall completed" appears, click . Uninstallation of ID850NW is now complete. User's Manual U14891EJ1V0UM00 29 [MEMO] 30 User's Manual U14891EJ1V0UM00 CHAPTER 3 STARTING AND EXITING This chapter explains how to start and exit the ID850NW. 3.1 Starting The start method is as follows: <1> Turn on power to the in-circuit emulator and target system. <2> Start Windows on the PC. <3> Double-click the shortcut icon of the ID850NW on the desktop to start up the ID850NW (See Figure 3-1). The Configuration dialog box shown will be displayed (See Figure 3-2). Figure 3-1. ID850NW Icon Figure 3-2. Configuration Dialog Box on Starting User's Manual U14891EJ1V0UM00 31 CHAPTER 3 STARTING AND EXITING <4> Operating environment parameters for the ID850NW are set in this dialog box (For details, refer to CHAPTER 6 WINDOW REFERENCE). After setting the parameters, click the the dialog box. <5> The main window will then be opened (See Figure 3-3) and the operation of the ID850NW is possible. Debugging operations are all carried out from this window. Figure 3-3. Main Window button on Tool bar Menu bar Window display area Status bar Caution Problems such as dialog boxes not displaying data correctly are sometimes experienced when the ID850NW is started up, or if an application error occurs while in use. One cause of such problems may be that an old version of comctl32.dll, which comes with Windows 95, is being used. If this is the case, it will be necessary to update comctl32.dll using the comctl32.dll 4.72 Installer (40comupd.exe) included in this product. Note that if Windows 98, Microsoft Internet Explorer 3.X or 4.X has been installed, this update is unnecessary. Figure 3-4. comctl32.dll 4.72 Installer 32 User's Manual U14891EJ1V0UM00 CHAPTER 3 STARTING AND EXITING 3.2 Exiting The exit method is as follows: <1> In the main window, select [File] [Exit]. The following Exit Debugger dialog box will be displayed. Figure 3-5. Exit Debugger Dialog Box <2> To save the current debugging environment in the project file, check the check box "... Save Project file". <3> Click the button. If the check box is checked in <2>, the Save As dialog box is opened, the current debugging environment is saved in the project file, all the windows are closed, and then the ID850NW is exited. If the check box is not checked, all the windows are closed and then the ID850NW is exited. User's Manual U14891EJ1V0UM00 33 [MEMO] 34 User's Manual U14891EJ1V0UM00 CHAPTER 4 FUNCTIONS OF ID850NW This chapter explains the basic functions and processing conventions of the ID850NW. 4.1 Mapping Function The following three types of mapping functions are available. These mapping functions are set in the Configuration dialog box (Refer to CHAPTER 6 WINDOW REFERENCE). (1) Internal ROM Specify the size of internal ROM inside the target device (core) for the internal ROM size. Although the size of this area can be changed, the actual memory configuration depends on the target. (2) Internal RAM Specify the size of internal RAM inside the target device (core) for the internal RAM size. Although the size of this area can be changed, the actual memory configuration depends on the target. (3) User area mapping (Target) The memory area specified for user area mapping becomes the area to access either memory in the target system or memory incorporated in the chip. The target device accesses either memory in the target system or memory incorporated in the chip. (4) ROM Emulation RAM Note The memory area specified as the ROM emulation RAM is a ROM emulation area in which a ROM probe is used. The target device accesses the memory inside the in-circuit emulator. In this area, high-speed downloading and setting pseudo software breaks for the ROM area are possible. Note The ROM probe is optional. (5) I/O protect area (I/O Protect) The I/O protect area can be set in the area specified as Target. This area is displayed in the same manner as an unmapped area on the Memory window (the symbol ?? is displayed). If this area is mapped with this attribute, it can no longer be read or written easily, protecting it from access from the Memory window. To read or write a value of the area mapped with this attribute, register in the IOR window or Watch window (Refer to CHAPTER 6 WINDOW REFERENCE). User's Manual U14891EJ1V0UM00 35 CHAPTER 4 FUNCTIONS OF ID850NW 4.2 Program Execution Function The program execution functions start the execution of the user program and the operation of the tracer CPU. These functions are classified as follows by the execution mode of the user program. Note The trace function is valid only for CPU cores with the TRCU incorporated. 4.2.1 Real-time execution function Real-time execution can be performed by the following commands. * Go command ( button) Note by the * Start command (Start function) (no button) * Go & Go command (no button) * Come command (Come function) (no button) * Restart command ( * Return Out command ( (1) Go command ( button) button) button) This command executes the user program starting from the address indicated by the current PC register. Execution of the user program is stopped when a specified break event condition is satisfied. Each analyzer gets ready to operate when the user program is executed, and is executed or stopped Note depending on whether each event condition (break event condition, trace event condition , etc.) is satisfied or not. Note The trace function is valid only for CPU cores with the TRCU incorporated. (2) Start command (Start function) This command executes the user program starting from a specified address. Execution of the user program is stopped when a specified break event condition is satisfied. (3) Go & Go command This command executes the user program starting from the address indicated by the current PC register. Execution of the user program is stopped once if a specified break event condition is satisfied. The contents of each window are updated, and the user program is then executed again starting from the address where it stopped. These operations are repeated until the user issues a Stop command. (4) Come command (Come function) This command executes the user program starting from the address indicated by the current PC register to the address selected in the line/address display area on the Source window or Assemble window (Refer to CHAPTER 6 WINDOW REFERENCE), and then a break occurs. While the user program is being executed by this command, the break event currently set does not occur. (5) Restart command ( button) This command resets the CPU and then executes the user program starting from address 0. This operation is the same as when the Go command is executed following reset of the CPU prior to user program execution. (6) Return Out command ( button) This command is for functions This command executes until execution returns to the calling function. described in C language. 36 User's Manual U14891EJ1V0UM00 CHAPTER 4 FUNCTIONS OF ID850NW 4.2.2 Non real-time execution function Non real-time execution can be performed by using the following commands. * Step In command ( * Next Over command ( button) button) * Slow-motion command (no button) (1) Step In command ( button) This command executes instructions in the program one by one. If functions or subroutines are called, instructions inside them are executed one by one. (2) Next Over command ( button) This command executes instructions in the program one by one. If functions or subroutines are called, instructions inside them are removed from step execution. (3) Slow-motion command This command continue to step executing, the contents of each window are updated each time this command is executed. These operations are repeated until the user issues a STOP command. User's Manual U14891EJ1V0UM00 37 CHAPTER 4 FUNCTIONS OF ID850NW 4.3 Event Function An event is a "specific status of the target system during user program execution" for example "address 0x1000 fetched" and "data written to address 0x2000" showing the specific status of the target system during debugging. The ID850NW uses these events as triggers of action of break and trace condition". Note The trace function is valid only for CPU cores with the TRCU incorporated. 4.3.1 Using event function To use an action function that is triggered by an event in accordance with the user's debugging aims, the event conditions shown in Table 4-1 must be set. Table 4-1. Relationship Between Event Conditions and Setting Dialog Box Event Condition Break event condition Trace event Note condition Setting Dialog Box Break dialog box Trace dialog box Function Condition to execute user program or stop operation of tracer Note Note functions. An event function sets, deletes, or references the "specific status of the target system" that triggers an action (debug action) as an "event Start/end condition when execution process of user program is saved in trace memory Note The trace function is valid only for CPU cores with the TRCU incorporated. These event conditions are set by using an "event condition" or "event link condition" alone or in combination. To use the event function of the ID850NW, therefore, the necessary "event condition" and "event link condition" are first created, and then the event conditions shown in Table 4-1 are set by using these conditions. 38 User's Manual U14891EJ1V0UM00 CHAPTER 4 FUNCTIONS OF ID850NW 4.3.2 Event conditions How to create each event condition is explained next. (1) Creating event conditions An "event condition" is set in the Event dialog box (Refer to CHAPTER 6 WINDOW REFERENCE). An address condition, status condition, data condition, and access size condition are set in this dialog box. A name is given to the combination of these conditions for registration. The maximum number of event conditions that can be registered in the Event dialog box is 256. The maximum number of event conditions that can be simultaneously Note used for each event condition is 8 . Table 4-2 lists the contents of each condition that can be set in the Event dialog box. Note The number of execution events differs depending on whether the TEU is incorporated or not. Table 4-2. Each Condition That Can Be Set in Event Setting Dialog Box Condition Address condition Contents Uses a specified address or address range as an event. A mask value can be set for the specified address. Uses a status for an address condition as an event. The status is selected from the Note 1 following . Note 2 * Execution: Execution of instruction Notes 2, 3 * Before Execution: Before execution of instrucion * * * * Data condition R/W: Read: Write: Access: Reading/writing of memory Reading of memory Writing of memory All access statuses Status condition Uses the data detected by a status condition as an event. A mask value can be set for the data. Select the memory access size condition of an access event from the following: * Byte: 1-byte access condition * Half Word: 2-byte access condition * Word: 4-byte access condition * No Condition: Access size condition is ignored. * Bit: Bit access condition Access size condition Notes 1. The status conditions that can be set differ depending on the connected in-circuit emulator. 2. If Execution or Before Execution is selected as the status condition, the data, data mask, and access size conditions are invalid. 3. Up to 2 events can be enabled in Before Execution status, which can be used only for the break event condition. In addition, address range cannot be specified without TEU. User's Manual U14891EJ1V0UM00 39 CHAPTER 4 FUNCTIONS OF ID850NW (2) Event condition type Event conditions are classified into the three event types shown in the table below. These event types are automatically determined by selecting the desired status condition when creating an event condition. Table 4-3 lists event condition types. Table 4-3. Event Condition Type Event Type Execution event Status Execution Function Event condition is satisfied when user program begins execution of instruction at specified address. Event condition is satisfied just before user program begins execution of instruction at specified address. Event condition is satisfied when user program accesses specified memory. Before Execution Access event Read Write R/W Access All access statuses of other than above. (3) Creating event link condition An "event link condition" is a condition under which a sequential rule is applied to the respective events to treat the events as a single event. An event link condition is created in the Event Link dialog box (Refer to CHAPTER 6 WINDOW REFERENCE). By arranging the event conditions registered on the Event dialog box in advance in an arbitrary order on the Event Link dialog box, a name is given to the arrangement of the event conditions as an event link condition for registration. The registered event link condition can be used to set various event conditions in the same manner as event conditions. The maximum number of event link conditions that can be set in the Event Link dialog box is 256. However, the Note number of event link conditions that can be simultaneously used for each event condition is 3 . Note This is valid only for CPU cores with TEU incorporated. (4) Displaying setting status of event condition All the registered event conditions and event link conditions are managed or displayed in the Event Manager (Refer to CHAPTER 6 WINDOW REFERENCE). The setting status of all the event conditions created by using the event conditions or event link condition are also managed or displayed in the Event Manager. In the Event Manager (Refer to CHAPTER 6 WINDOW REFERENCE), a mark indicating the type of each event condition, and an icon indicating an event name specified for registration are displayed. (5) Setting each event condition The event conditions shown in Table 4-1 are created in each setting dialog box. Each event condition is created by dragging and dropping the event condition registered in the Event Manager, or the icon of an event link condition, on to the condition item in each setting dialog box. A created event condition is "set" by clicking the function button Set or OK in the setting dialog box, or by clicking the mark of the event icon in the Event Manager and display it in red. By setting a created event condition, a debug action occurs as an event condition. For all the event conditions it is possible to "register" up to 256 conditions, but the number of conditions that can be "set" differs depending on each event condition. 40 User's Manual U14891EJ1V0UM00 CHAPTER 4 FUNCTIONS OF ID850NW 4.4 Break Function The break functions stop the execution of the user program and the operation of the tracer Note The trace function is valid only for CPU cores with the TRCU incorporated. The following five types of break functions are available. * * * * * Event detection break Break by Come function Software break Break on satisfaction of condition during step execution Forced break Note by the CPU. When the Come, Step In, Return Out, or Next Over command of the program execution functions is executed, event detection break and detection of software break are not performed. Each break function is explained below. (1) Event detection break An event detection break is a function to stop the execution of the user program by detecting a set break event condition. This function is used to stop a user program executed by the Go, Go & Go, and Restart commands. When the Go & Go command has been executed, the contents of each window are updated and the user program is then executed again after an event detection break has been implemented. Set break events as follows: * Set a break event in the Source window or Assemble window as an execution event. * Set a break event in the Break dialog box (Refer to CHAPTER 6 WINDOW REFERENCE). (2) Break by Come function The break by Come function is a function to stop a user program executed by the Come command by detecting an address specified on Source window or Assemble window. After user program execution has been stopped, the breakpoint by Come function is eliminated. While the user program is being executed using this function, the currently set break event does not occur. (3) Software break A software break is a function that replaces the specified address instruction with a debugger-dedicated software break instruction, and is used to stop a user program executed by the Go, Go & Go, or Restart command. Consequently, although there is no limit to the number of breaks that can be set (only 100 are valid, however), because the software break instruction replaces the specified address instruction, it is not possible to set breaks in the external ROM, or to stop the program using the variable access timing. While event detection breaks use one hardware resource for one event condition, a software break can set a breakpoint to two or more addresses. A software break can be set in the Source or Assemble window. Software breaks are controlled by the Software Break Manager (Refer to CHAPTER 6 WINDOW REFERENCE). (4) Break on satisfaction of condition during step execution This is a function to stop the execution of the user program when the end condition of each command (Step In, Next Over, Return Out, or Slowmotion) is satisfied. Because one instruction at a time is executed, stopped, and condition checked, the processing time of this function is slower than that of real-time execution. User's Manual U14891EJ1V0UM00 41 CHAPTER 4 FUNCTIONS OF ID850NW (5) Forced break A forced break is a function to forcibly stop the execution of the user program. This function is valid for all the program execution commands. A forced break is implemented by the following command. * Stop command Forcibly stops the execution of the user program. 42 User's Manual U14891EJ1V0UM00 CHAPTER 4 FUNCTIONS OF ID850NW 4.5 Trace Function The trace function Note is to trace the branch instruction of the user program and to save the execution flow in the trace memory. The trace data saved in the trace memory can be displayed on the Trace View window (Refer to CHAPTER 6 WINDOW REFERENCE). Note The trace function is valid only for CPU cores with the TRCU incorporated. 4.5.1 Trace operations The tracer operation of the ID850NW is set in the Trace Option dialog box. In this dialog box it is possible to set the mode for when fetching trace data, select the trace data type, specify the address at which to perform an access data trace, and set the execution trace source. Any size can be specified for the trace memory in the Extended Option dialog box. In addition, if a trace exceeding the number of the trace memory frames is performed, the operation of the tracer can be selected from the following: overwrite the previous frame, stop the tracer at that timing, or stop the tracer when a delay trigger event occurs. The trace function is valid as the default. To invalidate the trace function, remove the checkmark from [Tracer ON] on the [Option] menu. 4.5.2 Trace condition setting function The condition under which trace is to be executed can be set by the following procedures. (1) Trace fetch mode setting The following two modes are available to fetch trace data. These settings are made in the Trace Option dialog box. Table 4-4. Types of Trace Mode Trace Mode Real-time trace mode (Realtime Mode) Trace Description Traces the CPU execution in real time. However, not all the trace data may be fetched, depending on the program or trace source (default). If trace data is likely to be lost, the CPU execution is internally stopped temporarily and all the trace data is properly fetched. All trace mode (Non Realtime Mode) (2) Trace data setting Either of the following can be selected as the trace data to be fetched. These settings are made in the Trace Option dialog box. Table 4-5. Types of Trace Data to Be Fetched Trace Data Execution data Access data Description Traces the specified branch source to ascertain the program execution flow. Traces the data access to the specified address and data access cycle in the specified address range. User's Manual U14891EJ1V0UM00 43 CHAPTER 4 FUNCTIONS OF ID850NW (3) Trace mode setting The following two trace modes can be set. These settings are made by selecting [Run] menu [Uncond. Trace ON]/[Cond. Trace ON] from the main window (refer to CHAPTER 6 WINDOW REFERENCE). Table 4-6. Types of Trace Trace Mode Unconditional trace Conditional trace Trace Contents Unconditionally traces all execution processes of user program (default). Traces only specified zone (selected when using section trace). (4) Tracer control mode setting The following two tracer control modes are available. These settings are made by selecting [Run] menu [Tracer Control Mode] from the main window (refer to CHAPTER 6 WINDOW REFERENCE). Table 4-7. Types of Tracer Control Mode Tracer Control Mode Non stop Trace Description The data in the oldest frame is overwritten after the total trace memory has been traced (default). The tracer is stopped after the total trace memory has been traced. The tracer is stopped after tracing for the delay count when a delay trigger event occurs. Full stop Delay trigger stop (5) Trace event condition setting A trace event condition is a condition under which trace execution is started/ended if the conditional trace is selected as the trace mode. Section trace and delay trace can be selected for the ID850NW. The trace event condition can be set on the Trace dialog box (refer to CHAPTER 6 WINDOW REFERENCE). Up to 256 trace conditions can be registered, of which only one can be set. (a) Section trace In this mode, trace is started when a specified trace start condition is satisfied, and ends when a specified trace end condition is satisfied. Delay trace A trace can be performed for the specified delay count after the delay trigger event is made by setting the delay count in the Delay Count Setting dialog box and setting the delay trigger event. (b) 44 User's Manual U14891EJ1V0UM00 CHAPTER 4 FUNCTIONS OF ID850NW 4.5.3 Trace result display function The result of a trace can be checked in the Trace View window (Refer to CHAPTER 6 WINDOW REFERENCE). The Trace View window displays each frame of the trace contents of the following items shown in Table 4-8. Table 4-8. Trace Data Display Contents Displayed Item Frame Time Address Data Status Address Data Status DisAsm Contents Frame number of trace memory indicating time sequence Execution time of each frame Fetch address Fetch data Fetch status Access address Access data Access status Disassemble result Displayed Item and Contents can be selected by opening the Trace Data Select dialog box in [View] [Select...] in the main window. User's Manual U14891EJ1V0UM00 45 CHAPTER 4 FUNCTIONS OF ID850NW 4.6 Load/Save Functions The load/save functions are to load and save each file. The ID850NW individually loads/saves each file. The following two types of files are loaded/saved. * Display files: * Information files: Files recording the screen information when they are saved. By loading these files, the reference file is opened in the Source window. Files recording various set data and debugging environments as the internal information of the ID850NW. 4.6.1 Display files Table 4-9 lists the display files handled by the ID850NW. Table 4-9. Display Files Handled by ID850NW File Name (Extension) Source text display file (.SVW) Variable display file (.WCH) Assemble display file (.DIS) Memory display file (.MEM) Register display file (.RGW) Stack trace display file (.STK) I/O register display file (.IOR) Local variable display file (.LOC) Trace display file Note Outline Shows source text in Source window Shows variable information in Watch window Shows assemble information in Assemble window Shows memory information in Memory window Shows register information in Register window Shows stack trace information in Stack window Shows I/O register information in IOR window Shows local variable information in Local Variable window Shows trace information in Trace View window Stores event set information of Event Manager Operation Window View File Load dialog box View File Save dialog box (.TVW) Event set file (.EVN) Note The trace function is valid only for CPU cores with the TRCU incorporated. 4.6.2 Information files Table 4-10 lists the information files handled by the ID850NW. Table 4-10. Information Files Handled by ID850NW File Name (Extension) Object file (.HEX) Load module file (.OUT) Project file (.PRJ) Binary file (.BIN) Outline Stores object code of user program Stores object code of user program, symbol, and source information Stores debugging environment Stores data of binary format Operation Window Download dialog box Upload dialog box Download dialog box Project File Load dialog box Project File Save dialog box Download dialog box Upload dialog box The project file sets window/dialog box display information, size, and display area when it is loaded to restore the previous debugging environment (the status when the project file was saved). 46 User's Manual U14891EJ1V0UM00 CHAPTER 4 FUNCTIONS OF ID850NW 4.7 Register Manipulation Functions The register manipulation functions are for displaying or changing the contents of the program registers, system registers, and peripheral I/O registers. These functions can be used in the Register window or IOR window (Refer to CHAPTER 6 REFERENCE). WINDOW 4.8 Memory Manipulation Functions The memory manipulation functions are for displaying or changing the contents of the memory by using mnemonic, hexadecimal, and ASCII codes. These functions can be used in the Memory window or Assemble window (Refer to CHAPTER 6 WINDOW REFERENCE). 4.9 Real-Time RAM Sampling Function Real-time RAM sampling is a function used to read memory and update the displayed contents in real time, even during user program execution. All or specified 1 KB of internal RAM area can be subject to real-time RAM sampling. The sampled areas are displayed in the Memory or Watch window in real time. This function is realized by software emulation, so user program execution is temporarily stopped. The details for real-time RAM sampling can be set on the Extended Option dialog box (Refer to CHAPTER 6 WINDOW REFERENCE). User's Manual U14891EJ1V0UM00 47 [MEMO] 48 User's Manual U14891EJ1V0UM00 CHAPTER 5 ASSOCIATION WITH PROJECT MANAGER This chapter explains the procedure and notes on using the functions associated with the Project Manager. The ID850NW can automatically perform a sequence of tasks such as creating a program, compiling, debugging, and correcting the program, in association with the Project Manager (PM). To debug a load module file created in the PM at the source level, confirm that the item [Option] [Debug] of the PM is checked for building. Caution When a load module file is created by using an MS-DOS associated with the PM cannot be used. TM prompt, the functions of the ID850NW 5.1 Debugger Registration in PM Project Every debugger for ID850NW can be specified for each project in the PM. The selection procedure is explained below. 5.1.1 Debugger selection The procedure for selecting the debugger is as follows. <1> Select [Project] [New] in the PM and create the new project for PM. Alternatively, read an existing PM project by selecting [Project] [Open...]. For details of the setting items, refer to the on-line help or User's Manual. <2> Select [Option] [Select Debugger...] from the PM menu bar. This opens the Select Debugger Type dialog box. Figure 5-1 shows the Select Debugger Type dialog box. Figure 5-1. Select Debugger Type Dialog Box (PM) User's Manual U14891EJ1V0UM00 49 CHAPTER 5 ASSOCIATION WITH PROJECT MANAGER <3> Either click "ID850NW V850 Integrated Debugger" by mouse from the debugger list, or specify the execution file name ID850n32.EXE (with path) for the debugger file name. <4> Click OK . ID850NW will now be registered as the project debugger of the open PM. The ID850NW icon will also be displayed on the PM toolbar. 5.2 Starting Up ID850NW from PM One of the following three methods can be used to start up the ID850NW from the PM. (1) Click the ID850NW startup button on the PM toolbar. (2) Select [Build] [Debug] from the PM menu bar. (3) Select [Build] [Build and Debug] from the PM menu bar. Alternatively, click the batch-processing button on the PM toolbar (however, the ID850NW will start up only when Build has finished normally). 5.2.1 Reproducing debug environment By following the procedure shown below, it is possible to reproduce the debug environment of the previous time the ID850NW was started up from the PM. <1> Create a new project file Note with the PM (eg: aaa.prj) Note Use the project file to save and reference the environment data for the debugger (ID850NW) and the PM. The project file extension when dealing with the debugger and PM is prj. Refer to the online help or user's manual of each product regarding the data that is saved and reproduced using a project file. <2> Start up the ID850NW from the PM. Because the project file is new, set items other than the device classification in the Configuration dialog box, in the same way as when starting up the ID850NW individually. <3> Debug the target device with the ID850NW. <4> When the ID850NW has finished debugging, check [Save project file] in the Exit Debugger dialog box and exit the ID850NW. The debug environment at the completion of ID850NW debugging is saved to the aaa.prj file (the debug environment can also be saved to the aaa.prj file at times other than the completion of ID850NW debugging). <5> When the ID850NW is next started up after the aaa.prj file is read by the PM, the debug environment saved in <4> above is automatically reproduced. The project file currently being used by the PM (aaa.prj) is automatically read when the ID850NW is started up. 50 User's Manual U14891EJ1V0UM00 CHAPTER 5 ASSOCIATION WITH PROJECT MANAGER 5.3 Correction of Source File and Auto Load If a bug is found as a result of debugging using the ID850NW, compiling and re-downloading can be automatically executed as well as editing the source file with the ID850NW started with the following procedure. Caution If [Option] [Project Manager Options...] is selected in the PM, and if an editor other than the standard editor is selected, this processing cannot be performed. <1> Read the source file to correct with the ID850NW to the Source window. With the Source window displayed at the foremost position, select [File] [Open...] on the main window to specify the corresponding file (if the corresponding file has already been displayed in the Source window, activate the window). The corresponding file is displayed in the Source window. <2> Select [Edit] [Edit Source] in the ID850NW main window. The corresponding file is automatically read to the standard editor and is opened. <3> Correct the source file in the editor. <4> Select [File] [Save as...] in the editor and save the file. <5> Select [File] [Exit] in the editor to terminate the editor or select [Build]. As a result, the PM automatically executes compiling, assembling, and linking in accordance with the settings of the project. When these operations have been completed normally, the created load module file is automatically downloaded to the ID850NW. Cautions 1. When the load module file is automatically downloaded, CPU reset is not executed. 2. The debug window, which was opened when the editor was called, and all event settings are restored. However, if the previously used lines and symbols have been deleted because of source file correction, observe the following points. * The software breakpoint may be deleted. * The variables that were displayed as variable display will be displayed in gray. * In event conditions, the event mark will be displayed in yellow. User's Manual U14891EJ1V0UM00 51 [MEMO] 52 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE This chapter explains in detail the functions of the windows and dialog boxes of the ID850NW. For the configuration and details of the types of the windows and dialog boxes, refer to APPENDIX B TERMINOLOGY. 6.1 Window List Table 6-1 lists the windows of the ID850NW debugger. Table 6-1. Windows of ID850NW Debugger (1/2) Window Name Main window Outline This window is displayed first when the debugger is started. It controls execution of the user program. In addition, various windows are opened from this window. Sets/displays debugger environment Sets/displays each extended option Sets/displays each option Sets mask for external maskable interrupts Sets the type and size of the display font in the Source window Reads debugging environment Saves debugging environment Reads the display files of each window and the source text and event setting files Saves the display files of the current window and the event setting files Downloads the object files and binary files Displays the downloaded load module file names and file path names in a list Saves the memory contents to a file Selects the files to be set in the Debugger Option and Source Search dialog boxes Specifies the files to be displayed in the Source window and the display start position Specifies the display start address for the Memory and Assemble windows Specifies the display start position for the Trace View window Displays the addresses and symbol values of variables and functions Displays source file or text file Searches a character string in a source file Displays disassemble text and executes on-line assemble Searches the contents of the Assemble window Displays/changes memory contents Searches the contents of the Memory window Initializes the memory contents by specified data Copies memory contents Page p.56 Configuration dialog box Extended Option dialog box Debugger Option dialog box Interrupt Mask dialog box Font dialog box Project File Load dialog box Project File Save dialog box View File Load dialog box View File Save dialog box Download dialog box Load Module List dialog box Upload dialog box Browse dialog box Source Move dialog box p.81 p.86 p.90 p.98 p.100 p.103 p.106 p.109 p.112 p.118 p.122 p.124 p.127 p.129 Address Move dialog box Trace Move dialog box Note p.132 p.134 p.137 p.140 p.154 p.157 p.166 p.169 p.174 p.177 p.179 Symbol To Address dialog box Source window Source Search dialog box Assemble window Assemble Search dialog box Memory window Memory Search dialog box Memory Fill dialog box Memory Copy dialog box User's Manual U14891EJ1V0UM00 53 CHAPTER 6 WINDOW REFERENCE Table 6-1. Windows of ID850NW Debugger (2/2) Window Name Memory Compare dialog box Memory Compare Result dialog box DMM dialog box Watch window Quick Watch dialog box Add Watch dialog box Register window Register Select dialog box IOR window IOR Select dialog box Add I/O Port dialog box Local Variable window Stack window Trace View window Note Outline Compares memory contents Displays result of comparison of memory contents Page p.181 p.183 Sets address and data to perform DMM (Dynamic Memory Modification) Displays/changes variables Displays/changes variable values temporarily Registers variables to be displayed in the Watch window Displays/changes register (program register, system register) contents Selects register displayed on the Register Window Displays/changes contents of peripheral I/O register Selects peripheral I/O registers and I/O ports to be displayed in the IOR window Registers I/O ports to be displayed in the IOR window Displays/changes local variable in current function Displays/changes the stack contents of the current user program Displays trace result Note p.185 p.188 p.193 p.198 p.201 p.204 p.206 p.209 p.213 p.216 p.218 p.222 p.228 p.231 p.235 p.242 p.245 p.256 p.266 p.273 p.281 Trace Data Select dialog box Trace Option dialog box Event Manager Software Break Manager Event dialog box Event Link dialog box Break dialog box Trace dialog box Note Note Selects items to be displayed in the Trace View window Sets various settings for trace Displays, switches enable/disable, or deletes each event Displays, switches enable/disable, or deletes the software break Registers/displays event condition Registers/displays event link condition Registers/sets/displays break event condition Registers/sets/displays trace event condition Sets the delay count of the trace Delay Count Setting dialog Note box Reset Debugger dialog box About dialog box Exit Debugger dialog box Error/Warning dialog box Initializes ID850NW and target CPU and symbol information Displays version of ID850NW Ends ID850NW Displays error/warning message p.283 p.285 p.286 p.288 Note The windows/dialog boxes related to trace are valid only for CPU cores with the TRCU incorporated. 54 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE 6.2 Explanation of Windows This section explains each window using the format shown below. Window Name Window type The window name and window type (mode type when dialog box) are indicated in the above frame. General Briefly explains the window. Opening method How to open the windows is explained below. Window Shows the screen image of the configuration of the window. Function Explains each function of the window. Function buttons Explains the operations of the function buttons in the window. Menu bar Enumerates the menus pulled down from the menu bar, and explains the function of each menu. Caution Explains points of caution to be noted. User's Manual U14891EJ1V0UM00 55 CHAPTER 6 WINDOW REFERENCE Main Window Main window General This window is automatically opened after the ID850NW is started and initialization is complete. displayed until the ID850NW is terminated. Execution of the user program is also controlled in this window. It remains Various windows are opened and manipulated from this window. Window Figure 6-1. Main Window (1) Tool bar (2) Window display area (3) Status display area Function The Main window consists of the following areas. * Toolbar * Window display area * Status display area 56 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Each function is explained below. (1) Toolbar The toolbar consists of buttons that can execute frequently used commands with a single click. Each button is graphically displayed and easy to understand. This button group can be switched between "Graphics-only buttons" and "Graphics + Text buttons" by the Debugger Option dialog box. The function of each button can be also executed using the menu bar in this window. This toolbar is not shown when it is specified not to be displayed by selecting [Option] [Tool Bar] from the menu bar of this window. Figure 6-2. Toolbar Graphics-only toolbar Graphics + Text toolbar An explanation of each button is given below. This button stops execution of the user program. The same function as [Run] [Stop] on the menu bar. This button runs the user program after the CPU is reset. The same function as [Run] [Restart] on the menu bar. This button runs the user program from the current PC. The same function as [Run] [Go] on the menu bar. This button executes the program real-time until execution returns to the calling function. The same function as [Run] [Return Out] on the menu bar. This command is for functions described in C language. This button is used for step execution (execution of program instructions one by one). If functions or subroutines are called, instructions inside them are executed one by one. The same function as [Run] [Step In] on the menu bar. This button executes the next step (Executes the program, regarding the function/call statement as one step.). If functions or subroutines are called, instructions inside them are removed from step execution. The same function as [Run] [Next Over] on the menu bar. This button resets the CPU. The same function as [Run] [CPU Reset] on the menu bar. User's Manual U14891EJ1V0UM00 57 CHAPTER 6 WINDOW REFERENCE This button opens the View File Load dialog box. The same function as [File] [Open...] on the menu bar. This button opens the Download dialog box. The same function as [File] [Download...] on the menu bar. This button opens the Project File Load dialog box. The same function as [File] [Project] [Open...] on the menu bar. This button opens the Source window and displays the contents of the source text. The same function as [Browse] [Source Text] on the menu bar. This button opens the Assemble window and the user program is disassembled and displayed. The same function as [Browse] [Assemble] on the menu bar. This button opens the Memory window and displays the memory contents. The same function as [Browse] [Memory] on the menu bar. This button opens the Watch window and displays the watch contents. The same function as [Browse] [Watch] on the menu bar. This button opens the Register window and displays the contents of the registers. The same function as [Browse] [Register] on the menu bar. This button opens the IOR window and displays the contents of the peripheral I/O register. The same function as [Browse] [I/O Register] on the menu bar. This button opens the Local Variable window and displays the local variable contents. The same function as [Browse] [Local Variable] on the menu bar. This button opens the Stack window and displays the contents of the stack. The same function as [Browse] [Stack Trace] on the menu bar. This button opens the Trace View window and displays the result of trace The same function as [Browse] [Trace] on the menu bar. This button opens the Event Manager. The same function as [Event] [Event Manager] on the menu bar. This button opens the Event dialog box and registers or sets events. The same function as [Event] [Event...] on the menu bar. Note . 58 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE This button opens the Break dialog box and registers, sets, or displays break events. The same function as [Event] [Break...] on the menu bar. This button opens the Trace dialog box and registers, sets, or displays trace events The same function as [Event] [Trace...] on the menu bar. Note This button is valid only for CPU cores with the TRCU incorporated. (a) Tool hint function If the mouse cursor is pointed at any of the buttons on the toolbar, a tool hint pops up after a few seconds. Figure 6-3. Example of Tool Hint Note . (b) Moving the toolbar By dragging toolbar with the mouse, it can be moved to any desired position within or outside the Main window. (2) Window display area This area displays various debug windows. The displayed window can be changed in size or registered as an icon in this area. The list of the windows displayed in this area is as follows. * Source window * Watch window * Register window * Local variable window * Trace View window Note * Assemble window * Memory window * IOR window * Stack window * Event Manager * Software Break Manager Note Valid only for CPU cores with the TRCU incorporated. User's Manual U14891EJ1V0UM00 59 CHAPTER 6 WINDOW REFERENCE (3) Status display area Figure 6-4. Status Bar <1> @ <2> A <3> B <4> C <5> D <6> E <7> F <8> G This area displays the status of the debugger and in-circuit emulator. <1> Program name $ Source name # Line No. Program name: Source name: Line No.: <2> Function name: <3> PC value: <4> CPU status: Displays the program file name shown by the PC value. Displays the source file name shown by the PC value. Displays the line number shown by the PC value. Displays the function name shown by the PC value. Displays the current PC value. Displays the status of the CPU (target device). Displays the character "|" as a delimiter if there are multiple states. <5> IE status: Displays the status of the in-circuit emulator (RUN, BREAK mode). Displays the character "|" as a delimiter if there are multiple states. <6> Break cause: <7> STEP mode: <8> Key input mode: Displays cause of break. This is the area that displays the step execution mode. This area displays the key input mode. 60 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE The types of CPU statuses are shown below. Table 6-2. CPU Status Display Contents Status Indication HWSTOP RESET POW OFF In hardware stop mode Reset status Power is not supplied to the target Meaning The types of IE statuses are shown below. Table 6-3. IE Status Display Contents Status Indication RUN STEP TRC BREAK Meaning Currently running a user program. Currently executing a step. Currently operating a trace Break Note . Note The trace function is valid only for CPU cores with the TRCU incorporated. The causes of a break are as follows. Table 6-4. Display Contents of Break Cause Displayed Cause Manual Break Temporary Break Forcibly break Temporary break (displayed when [Come Here] and [Return] are executed) Break by event Break by software break event Meaning Event Break Software break The types of STEP modes are shown below. Table 6-5. STEP Modes STEP Mode SRC Meaning STEP execution is in the source mode. This is displayed when [Option] [Source Mode] in the menu bar is selected. STEP execution is in the instruction mode. This is displayed when [Option] [Instruction Mode] in the menu bar is selected. STEP execution is in the automatic mode. This is displayed when [Option] [Auto Mode] in the menu bar is selected. INST AUTO User's Manual U14891EJ1V0UM00 61 CHAPTER 6 WINDOW REFERENCE The types of key input modes are shown below. Key Input Mode INS OVR Meaning Displayed when key input is in the insert mode. Displayed when key input is in the overwrite mode. 62 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Menu bar (1) File Figure 6-5. File Menu Bar [Open...] This loads the display file or a source file or text file. Opens the View File Load dialog box. Operation differs depending on the file extension selected in the dialog box. When a source file that symbol information is read: Files are displayed in the Source window. When an event setting file (.evn): The Event Manager is opened and the event is set. When a source file that symbol information is not read, or display file: Files are displayed in the Source window as text format file. [Save As...] Saves the displayed contents of the current window in a display file under another name. Opens the View File Save dialog box. [Close] [Download...] Closes the current window. Downloads the user program. Opens the Download dialog box. [Load Module...] Displays a list of the names of files that have been downloaded. Opens the Load Module List dialog box. [Upload...] Uploads the user program. Opens the Upload dialog box. User's Manual U14891EJ1V0UM00 63 CHAPTER 6 WINDOW REFERENCE [Project >] [Open...] Operates a project file. Opens the project file. Opens the Project File Load dialog box. [Save] Overwrites the current status to the project file. The file to be overwritten is a project file that is currently read in the debugger. [Save As...] Saves the current status in the project file. Opens the Project File Save dialog box. [Debugger Reset...] Resets the target CPU, symbols and debugger. Opens the Reset Debugger dialog box. [Exit] [Open File] Terminates the debugger. Opens the Exit Debugger dialog box. Displays a list of the names of files that can be downloaded. If a file name is selected, that file is downloaded. (2) Edit Figure 6-6. Edit Menu Bar [Cut] [Copy] [Paste] [Write in] [Restore] [Memory >] [Fill...] Cuts the selected character string and places it in the clipboard buffer. Copies the selected character string to the clipboard buffer. Pastes the contents of the clipboard buffer at the text cursor position. Writes corrections to the target. Cancels the correction. Manipulates the memory contents. Initializes the memory contents. Opens the Memory Fill dialog box. 64 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE [Copy...] Copies values from memory to memory. Opens the Memory Copy dialog box. [Compare...] Compares values between memories. Opens the Memory Compare Dialog box. [DMM...] Sets address and data to perform dynamic modification (DMM). Opens the DMM dialog box. [Edit Source] When the Project Manager is operating, opens the source file displayed in an active Source window by using the editor specified by the Project Manager. User's Manual U14891EJ1V0UM00 65 CHAPTER 6 WINDOW REFERENCE (3) View The items displayed in the display menu differ according to whether the window is active or not. explanation of each dependent part is given in (b) to (j). Figure 6-7. View Menu Bar An 66 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (a) Common part [Search...] Searches character strings and numeric values. Opens the search dialog box according to the current window. Performs the same operation as the Search button. [Move...] Moves the display position. window. Opens the Source Move dialog box, Address Move dialog box or Trace Move dialog box corresponding to the current [Quick Watch...] Displays the contents of the specified data temporarily. Watch dialog box. Opens the Quick [Add Watch...] Adds the specified data to the Watch window. Opens the Add Watch dialog box. [View Watch] Adds the selected data to the Watch window. In the case of a symbol, it adds it in accordance with the settings in the Debugger Option dialog box. [Delete Watch] Deletes the selected watch point from the Watch window. This menu is active only when variables are specified in the Watch window. [Symbol...] Displays the address of the specified variable or function and the value of the specified symbol. Opens the Symbol To Address dialog box. (b) Source window dependent part [Event?] Displays the cursor position line or the address's event information. If an event is set, it opens the Event dialog box. [Mix] Switches between assemble display mixed display and no display. No check mark (" "): No mixed display (default). Check mark ( ""): Mixed display. (c) DisAssemble window dependent part [Event?] Displays event information for the cursor position address. If an event is set, it opens the Event dialog box. (d) Memory window dependent part [Bin] [Oct] [Dec] [Hex] Displays the current window in binary. Displays the current window in octal. Displays the current window in decimal. Displays the current window in hexadecimal (default). User's Manual U14891EJ1V0UM00 67 CHAPTER 6 WINDOW REFERENCE [Nibble] [Byte] [Half Word] [Word] [Ascii] Displays data in 4-bit units. Displays data in 8-bit units (default). Displays data in 16-bit units. Displays data in 32-bit units. Turns on/off display of ASCII characters. No check mark (" "): Not displayed (default). Check mark ( ""): Displayed. [Little Endian] [Big Endian] The data is displayed in little endian (default). The data is displayed in big endian. (e) Watch window dependent part [Bin] [Oct] [Dec] [Hex] [String] [Proper] The selected item is displayed as a binary number The selected item is displayed as an octal number. The selected item is displayed as a decimal number. The selected item is displayed as a hexadecimal number. The selected item is displayed as a character string. The selected item is displayed as the standard value for each variable. In the case of symbols, they are displayed in accordance with the settings in the Debugger Option dialog box (default). [Byte] [Half Word] [Word] [Adaptive] The selected item is displayed in 8-bit units. The selected item is displayed in 16-bit units. The selected item is displayed in 32-bit units. The selected item is displayed as standard values for each variable. In the case of C language symbols, only this item is valid. In the case of assembler symbols, they are displayed in accordance with the settings in the Debugger Option dialog box (default). [Up] [Down] [Compulsion Read] The selected data is moved 1 line up. The selected data is moved 1 line down. The data in the peripheral I/O registers, where reading is prohibited because the values will change if they are read, the I/O ports added in the Add I/O Port dialog box, and the I/O protected areas is subjected to compulsory reading. 68 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (f) Register window dependent part [Bin] [Oct] [Dec] [Hex] [Pick Up] Displayed as a binary number. Displayed as an octal number. Displayed as a decimal number. Displayed as a hexadecimal number (default). Displays only the register selected in the Register Select dialog box. No check mark (" "): All are displayed (default). Check mark ( ""): The selected register only is displayed. [Select...] Opens the Register Select dialog box. (g) IOR window dependent part [Bin] [Oct] [Dec] [Hex] [Sort By Name] [Sort By Address] [UnSort] [Attribute] Displayed as a binary number. Displayed as an octal number. Displayed as a decimal number. Displayed as a hexadecimal number (default). Displayed in alphabetical order. Displayed in address order (default). Not sorted. Selects whether to display or not to display the Attribute field. No check mark (" "): Not displayed. Check mark ( ""): Displayed (default). [Pick Up] Only the peripheral I/O register selected in the IOR Select dialog box is displayed. No check mark (" "): All are displayed (default). Check mark ( ""): The selected register only is displayed. [Select...] [Compulsion Read] Opens the IOR Select dialog box. The data in the peripheral I/O registers, where reading is prohibited because the values will change if they are read, the I/O ports added in the Add I/O Port dialog box, and the I/O protected areas is subjected to compulsory reading. User's Manual U14891EJ1V0UM00 69 CHAPTER 6 WINDOW REFERENCE (h) Local Variable window dependent part, Stack window dependent part [Bin] [Oct] [Dec] [Hex] [String] [Proper] Displayed as a binary number. Displayed as an octal number. Displayed as a decimal number. Displayed as a hexadecimal number. Displayed as a character string. Displayed as the standard value for each variable (default). (i) Trace View window dependent part This part is valid only for CPU cores with the TRCU incorporated. [Select...] Selects the content of the display. Opens the Trace Data Select dialog box. [Window Synchronize >] [Source Text] This links together the Trace View window and Source window, Assemble window, and Memory window. Selects whether the Source window will be linked or not linked. No check mark (" "): Check mark ( ""): [Assemble] Not linked (default). Linked. Selects whether the Assemble window will be linked or not linked. No check mark (" "): Check mark ( ""): Not linked (default). Linked. [Memory] Selects whether the Memory window will be linked or not linked. No check mark (" "): Check mark ( ""): Not linked (default). Linked. [Coverage] Selects whether the Coverage window will be linked or not linked. No check mark (" "): Check mark ( ""): Not linked (default). Linked. (j) Event Manager dependent part [Select All Event] [Delete Event] [Sort By Name] [Sort By Kind] [UnSort] [Detail] [Overview] Selects all the events entered in the Event Manager. Deletes the selected event. Displays the icons sorted by event name. Displays the icons sorted by event kind. Icons are not sorted (default). Displays details. Displays a list. 70 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (4) Option Figure 6-8. Option Menu Bar [Tool Bar] Selects whether the toolbar is displayed or not. No check mark (" "): Not displayed. Check mark ( ""): Displayed (default). [Status Bar] Selects whether the status bar is displayed or not. No check mark (" "): Not displayed. Check mark ( ""): Displayed (default). [Button] Selects whether the function buttons on each window are displayed or not. No check mark (" "): Not displayed. Check mark ( ""): Displayed (default). [Source Mode] [Instruction Mode] [Auto Mode] Performs step execution at the source level (line units). Performs step execution at the instruction level (instruction units). Switches automatically between source level step execution and instruction level step execution, and executes step execution (default). When the Source window is active, source level step execution (except in the mixed display mode) is performed, and when the Assemble window is active, instruction level step execution is performed. When neither window is active, source level step execution is performed. [Configuration...] Sets the environment. Opens the Configuration dialog box. [Interrupt Mask...] Sets the external interrupt mask. Opens the Interrupt Mask dialog box. User's Manual U14891EJ1V0UM00 71 CHAPTER 6 WINDOW REFERENCE [Extended Option...] Sets the extended functions. Opens the Extended Option dialog box. [Debugger Option...] Sets the debugger. Opens the Debugger Option dialog box. [Add I/O Port...] Adds a user-defined I/O port. Opens the Add I/O Port dialog box. [Trace >] Note Sets various settings for trace. Note [Trace Option...] [Clear...] Note Opens the Trace Option dialog box. Clears the trace data. [Supplement Data] Note Selects trace data supplement on/off. If this is checked, the debugger Supplements the already fetched data. To supplement correctly, select the all trace mode in the Trace Option dialog box to ensure that all the data is fetched (this is because all the data is necessary for data supplementation); otherwise, data may be not supplemented correctly. No check mark (""): Supplementation is not performed (default). Check mark (""):Supplementation is performed. [Tracer ON] Note Selects whether the tracer is turned on or off. While the program is executed, this setting cannot be changed. No check mark (" "): Trace is not performed. Check mark ( ""): Trace is performed (default). Note Valid only for CPU cores with the TRCU incorporated. 72 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (5) Run Figure 6-9. Run Menu Bar [Restart] This performs program execution after resetting the CPU. Operates the same as the button. [Stop] Forcibly stops execution of the program. Performs the same operation as the button. [Go] Executes the program from the current PC. Performs the same operation as the button. [Return Out] Executes the program real-time until execution returns to the calling function. Performs the same operation as the button. This command is for functions described in C language. [Step In] Executes instructions in the program one by one (step execution). Performs the same operation as the button. If functions or subroutines are called, instructions inside them are executed one by one. User's Manual U14891EJ1V0UM00 73 CHAPTER 6 WINDOW REFERENCE [Next Over] Executes instructions in the program one by one (Next step execution). If functions or subroutines are called, instructions inside them are removed from step execution. Performs the same operation as the button. [Start From Here] Executes the program from the cursor position of the Source window or Assemble window (Start function). Executes the program until the cursor position of the Source window or Assemble window (Come function). [Come Here] [Go & Go] Continues execution of the program. If a break occurs because a break button each time a condition is satisfied, updates the window and then executes the user program again. Performs the same operation as clicking the break occurs. [Slowmotion] Continues step execution of the program. After updating the window for each step execution, it performs step execution again. Performs the same operation as clicking the break occurs. [CPU Reset] [Change PC] Resets the CPU. Performs the same operation as the button. button each time a Sets the address at the cursor position of the Source window or Assemble window to PC. [Break Point] Sets/cancels a breakpoint at the cursor position of the Source window or Assemble window. [Software Break Point] Sets/cancels a software breakpoint at the cursor position of the Source window or Assemble window. [Delete All Software Break] [Uncond. Trace ON] Note Cancels all software breakpoints that are set. Validates the unconditional trace function. program is executed (default). When the tracer is started, the trace mode cannot be changed. Always traces while the user [Cond. Trace ON] Note Validates the trace function. according to a trace condition. Traces while the user program is executed When the tracer is started, the trace mode cannot be changed. [Tracer Control Mode >] [Non Stop] Note Note Set the tracer mode from the following menu. The total trace memory is traced and then overwritten from the oldest frame (default). [Full Stop] Note The total trace memory is traced and then the tracer is stopped. Note [Delay Count...] The tracer is stopped after tracing for the delay count when a delay trigger event occurs. 74 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE [Tracer Start or Tracer Stop] Note When trace measurement is stopped, this starts it. When trace measurement is being performed, this stops it. "Tracer Start": "Tracer Stop": Means that measurement is stopped. measurement will be started. Measurement is in progress. If selected, measurement will be stopped. If program is currently not executed, and during trace off (no "" mark next to the [Option] [Tracer ON] item), this item is invalid (it is displayed in gray). Trace measurement starts operating immediately after trace has been turned on and program execution is started. If selected, [Ignore Break Point] This selects whether to make a breakpoint valid or invalid. No check mark (" "): Valid (default) Check mark (""): Invalid If it is made invalid, the breakpoint does not cause a hardware or software break at the specified point. During program execution, this setting cannot be switched. Note Valid only for CPU cores with the TRCU incorporated. User's Manual U14891EJ1V0UM00 75 CHAPTER 6 WINDOW REFERENCE (6) Event Figure 6-10. Event Menu Bar [Event Manager] Manages each type of event condition. Opens the Event Manager. Operates the same as the button. [Software Break Manager] Manages software break conditions. Opens the Software Break Manager. [Event...] Enters event conditions. Opens the Event dialog box. Operates the same as the button. [Event Link...] Enters event link conditions. Opens the Event Link dialog box. [Break...] Enters and sets break conditions. Opens the Break dialog box. Operates the same as the button. [Trace...] Note Enters and sets trace event conditions. Opens the Trace dialog box. Operates the same as the button. [Delay Count...] Note Sets the delay count and displays the delay value. Opens the Delay Count Setting dialog box. Note Valid only for CPU cores with the TRCU incorporated. 76 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (7) Browse Figure 6-11. Browse Menu Bar [Source Text] Displays the source text. Opens the Source window. operation as the button. static state. Performs the same If a window exists that is already in the active state, it opens the window in the [Assemble] Disassembles and displays the user program. Opens the Assemble window. Performs the same operation as the button. If a window exists that is already in the active state, it opens the window in the static state. [Memory] Displays the memory contents. Opens the Memory window. Performs the same operation as the button. If a window exists that is already in the active state, it opens the window in the static state. [Watch] Displays the watch contents (variable and other data). window. Performs the same operation as the button. Opens the Watch [Register] Displays the register contents. Opens the Register window. Performs the same operation as the button. Displays the contents of the peripheral I/O registers. Opens the IOR window. Performs the same operation as the button. [I/O Register] [Local Variable] Displays the local variable. Opens the Local Variable window. Performs the same operation as the button. [Stack Trace] Note Displays the stack contents. Opens the Stack window. Performs the same operation as the button. Displays the result of trace. Opens the Trace View window. Performs the same operation as the button. [Trace] Note Valid only for CPU cores with the TRCU incorporated. User's Manual U14891EJ1V0UM00 77 CHAPTER 6 WINDOW REFERENCE (8) Jump Figure 6-12. Jump Menu Bar [SourceText] Sets the data selected in the current window as the jump address, and displays the source text and source line starting from that address. No jump can be performed if the jump address contains no line information. Opens the Source window. If the Source window is being displayed in the active state, that window is displayed on the front plane (operation object). [Assemble] Sets the data selected in the current window as the jump address, and displays the disassembled text starting from that address. Opens the Assemble window. If the Assemble window is being displayed in the active state, that window is displayed on the front plane (operation object). [Memory] Sets the data selected in the current window as the jump address, and displays the memory contents starting from that address. Opens the Memory window. If the Memory window is being displayed in the active state, that window is displayed on the front plane (operation object). 78 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (9) Window Figure 6-13. Window Menu Bar [New Window] Opens a new window that displays the same contents as the current window. This is valid only in cases where the current window is the Source window, Assemble window, and Memory window. [Cascade] [Tile] [Arrange Icons] [Close All] [Refresh] [Active] Cascades the windows in the main window. Tiles the windows in the main window. Rearranges the icons in the main window. Closes all the windows except the main window. Updates the contents of the window with the latest data. Switches the window to the active state. If it is currently in the active state, a check mark is entered on the left of this item. [Static] Switches the window to the static state. If it is currently in the static state, a check mark is entered on the left of this item. [Open window] Lists the opened windows. The window with a check mark added at the side of the number is the current window. The window selected by selecting a window name is displayed as the current window. User's Manual U14891EJ1V0UM00 79 CHAPTER 6 WINDOW REFERENCE (10) Help Figure 6-14. Help Menu Bar [Help Topics] [Main Window Help] [Current Window Help] [About...] Displays the table of contents of the Help window. Displays the help for the main window. Displays the help for the current window. Displays the version of the debugger. 80 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Configuration Dialog Box Modal General Displays and sets the operating environment of the in-circuit emulator. This dialog box is displayed automatically after the debugger is started. To use the debugger, the operating environment of the in-circuit emulator must be set first in this dialog box. When a project file is read, however, it doesn't need to be set. The result of reading the project file is reflected in the Configuration dialog box. Opening method This dialog box can be opened in the following methods. * When the debugger is started Automatically opened * In the main window Select [Option] [Configuration...]. Press the GRPH + O , and C keys in that order. Window Figure 6-15. Configuration Dialog Box (3) CPU clock select area (1) CPU select area (2) Internal ROM/RAM setting area (4) Programmable IOR area setting area (5) Emulation bus size setting area (6) Mask setting area (7) Mapping setting area User's Manual U14891EJ1V0UM00 81 CHAPTER 6 WINDOW REFERENCE Function The Configuration dialog box consists of the following areas. * CPU select area * Internal ROM/RAM setting area * CPU clock select area * Programmable IOR area setting area * Emulation bus size setting area * Mask setting area * Mapping setting area The function of each area is explained below. (1) CPU select area This area selects a CPU or core name. Note that this area can be selected only when the ID850NW is started. A chip name can be specified by inputting a name using the keyboard or selecting one from the Name dropdown list. (2) Internal ROM/RAM setting area This area displays the size of the internal ROM and RAM of the CPU. The default size is automatically displayed with the asterisk (*) attached at the end when the CPU is selected. To change the size of the internal ROM and RAM, select a size from the internal ROM and RAM drop-down list. The actual memory configuration depends on the target. If the selected size cannot be realized due to in-circuit emulator limitations, the debugger automatically adjusts the size. For that reason, if the Configuration dialog box is displayed again, it may be because the size being displayed is greater than the size specified the previous time. The specifiable size for both alignment and setting range is 4096, 12288, 28672, and 61440 bytes. 82 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (3) CPU clock select area This area specifies the number of system clocks. The unit is MHz. The number of clocks can be specified either via keyboard input, or selected from a drop-down list. (4) Programmable IOR area setting area This area is used to specify the start address of the programmable IOR area. When using programmable IOR in devices that support this function, the start address of the programmable I/O area can be set by selecting the check box. The address is aligned to 16 KB. Do not change the start address after startup. (5) Emulation bus size setting area This area sets the bus size of the area mapped in the ROM emulation RAM. Although it is possible to reset after starting up the debugger, specify in accordance with the memory configuration on the target board. Half Word: Word: Accesses the area mapped by the ROM emulation RAM in halfwords (16 bits). Select when configuring a 16-bit bus using the ROM1 probe of the IE-70000-MC-NW-A. Accesses the area mapped by the ROM emulation RAM in words (32 bits). Select when configuring a 32-bit bus using both the ROM1 and ROM2 probes of the IE-70000-MCNW-A. (6) Mask setting area This area specifies a mask for the signal sent from the target. The signal of the masked pin cannot be input to the CPU or core. Only mask pins when the operation of the target is unstable at the debugging stage. The maskable pins are as follows. NMI0 pin, NMI1 pin, NMI2 pin, RESET pin, STOP pin, HLD pin, DBINT pin User's Manual U14891EJ1V0UM00 83 CHAPTER 6 WINDOW REFERENCE (7) Mapping setting area This area specifies the access size, mapping attribute, and address, and sets mapping. (a) Selecting memory access size The following memory access sizes can be selected. However, they cannot be selected when ROM Emulation RAM is selected for mapping attribute specification. * 8Bit: * 16Bit: * 32Bit: The debugger accesses the memory with the ld.b instruction/st.b instruction. The debugger accesses the memory with the ld.h instruction/st.h instruction. The debugger accesses the memory with the ld.w instruction/st.w instruction. Because these settings specify the access size of the debugger software, the hardware of the external bus operates in accordance with the settings of the MODE pin or the IOR register. (b) Mapping attribute specification The following types of mapping attributes can be selected. Memory Attribute Target: ROM Emulation RAM: I/O Protect: Selects a target memory. The target device accesses memory in the target system or inside the chip. Selects a ROM emulation area using a ROM probe. In this area, high-speed downloading and pseudo software break setting to a ROM area are possible. Selects an I/O protect area. The I/O Protect area can only be set inside the area set in the Target. The area set as I/O Protect cannot be read unless it has been registered as an I/O port in the IOR window, or registered in the Watch window. If it is necessary to read this area, execute a forcible read in these windows. (c) Mapping address specification Mapping Address: Specify the address to be mapped. Input the higher address and the lower address from the keyboard. 84 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (d) Setting of memory mapping * To add memory mapping After specifying the Memory Attribute and Mapping Address, click the is added. The mapping units are adjusted when the is used. * To delete memory mapping Select the displayed area where you desire to delete mapping, then click the currently selected mapping will be deleted. * Memory mapping unit The mapping units of each area are as follows. Target area: ROM Emulation RAM area: I/O Protect area: 1 MB units 1 MB units (only one continuous area of up to 4 MB) 1 MB units button. The button. Memory mapping corresponding to the Memory Attribute and to the Memory Mapping address range button is clicked. If the mapping units do not match, the minimum range subject to mapping that can be set, which includes the specified address, Function buttons Validates the current environments. Sets environments and closes the Configuration dialog box. If an error occurs when the impossible to continue. Cancels change and closes this dialog box. Returns the environmental settings to the state they were in before the Configuration dialog box was opened. Opens the Project File Load dialog box. If a project file is open or if an error occurs during reading, the debugger stops because it is impossible to continue. Opens the help window. button is clicked, the debugger stops because it is Caution Apply power to the target before clicking button in the Configuration dialog box. User's Manual U14891EJ1V0UM00 85 CHAPTER 6 WINDOW REFERENCE Extended Option Dialog Box Modal General This dialog box displays and sets the various extended options of the debugger. Opening method This dialog box can be opened in the following methods. * In the main window Select [Option] [Extended Option...] from the menu bar. Press the GRPH + O , and E keys in that order. Window Figure 6-16. Extended Option Dialog Box (1) Trace memory size setting area (2) Real-time RAM sampling function select area (3) Real-time RAM sampling range select area (4) Real-time internal RAM sampling time setting area (6) Beep sound specification area (7) Verify specification area (5) Default break select area 86 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function The Extended Option dialog box consists of the following areas. * Trace memory size setting area * Real-time RAM sampling function select area * Real-time RAM sampling range select area * Real-time internal RAM sampling time setting area * Default break select area * Beep sound specification area * Verify specification area The function of each area is explained below. (1) Trace memory size setting area This area sets the trace memory size to trace user program execution. This area is valid only for CPU cores with the TRCU incorporated. The specifiable size is selected from five stages from Min (level 1) to Max (level 5). The trace memory size in each level is as follows. Table 6-6. Trace Memory Size Level Level 1 (Min) Level 2 Level 3 Level 4 Level 5 (Max) 4K 32 K (default) 64 K 90 K 128 K Number of Frames Note that these values are for reference and differ from the actual number of trace frames. In addition, as the memory size gets larger, the number of trace frames to be registered increases, but the response when reading out the trace data becomes worse. (2) Real-time RAM sampling function select area This area makes various settings for the real-time RAM sampling function. Function: Selects the real-time RAM sampling function as valid/invalid. When set as valid, all the software breakpoints and hardware breakpoints already set become invalid. In addition, because this function is realized by software emulation, the user program execution is temporarily stopped. This is invalid as the default. User's Manual U14891EJ1V0UM00 87 CHAPTER 6 WINDOW REFERENCE (3) Real-time RAM sampling range select area Area: Selects the address range in which real-time RAM sampling is to be performed. Variables and data allocated to this range can be displayed in the Watch window or Memory window in close to real time. Whole: The entire memory space is the target. The user program execution is stopped for a long time when a large number of windows are opened because the range from which memory is read out is wide. In this case, mnemonics can be displayed in the Trace View window when tracer is stopped during program execution. IRAM + IOR: Only the internal RAM area and IOR area are the target (default). (4) Real-time internal RAM sampling time setting area This area specifies the sampling time (msec) of the real-time RAM sampling. Variables, data, etc. allocated to the range specified at Area: are used for the timing to update the data in the Watch window and the Memory window. (5) Default break select area Whether to make the breakpoint setting a software break or a hardware break can be selected by clicking the mouse in the point mark area (the most left column) on the Source window or Assemble window. * Soft Break: Sets a software break. The breakpoint mark is displayed in blue. * Hard Break: Sets a hardware break. The breakpoint mark is displayed in red. (6) Beep sound specification area Specify whether there will be a beep sound when there is a break. If the check box is checked, a beep sound is emitted when there is a break (the default is with the beep sound activated). 88 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (7) Verify specification area This area specifies whether the memory verification check is to be performed when it is written to. If the check box is checked, when download, memory fill, and memory copy is to be performed the memory is verified. A verify check is also performed when variables or data, etc. have been changed in the Watch window or Memory window, and even when writing to memory (the default is for the check to be performed). Function buttons Makes the currently set environment active. Sets the environment and closes the Extended Option dialog box. Cancels the change contents and closes the Extended Option dialog box. Returns to the environmental setting state that existed before the Extended Option dialog box was opened. Opens the help window. User's Manual U14891EJ1V0UM00 89 CHAPTER 6 WINDOW REFERENCE Debugger Option Dialog Box Modal General Displays and sets each type of extended option in the debugger. Opening method This dialog box can be opened by either of the following methods. * In the main window Select [Option] [Debugger Option...] from the menu bar. Press the GRPH + O , and D keys in that order. Window Figure 6-17. Debugger Option Dialog Box (1) (9) (2) (3) (4) (5) (6) (10) (11) (12) (7) (13) (8) (1) (2) (3) (4) (5) (6) Source path specification area Default source specification area Default load module specification area Open file history setting area Display font setting area Project file setting area (7) Toolbar display button setting area (8) Two-byte character code setting area (9) Tab size setting area (10) Startup symbol setting area (11) Offset display setting area (12) Register name display select area (13) Watch symbol setting area 90 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Functions The Debugger Option dialog box consists of the following areas. * Source path specification area * Default source specification area * Default load module specification area * Open file history setting area * Display font setting area * Project file setting area * Toolbar display button setting area * Two-byte character code setting area * Tab size setting area * Startup symbol setting area * Offset display setting area * Register name display select area * Watch symbol setting area Each function is explained below. (1) Source path specification area Specify the directory in which the source file or text files will be searched for. The path is specified by inputting it from the keyboard or by using the When the added. A relative path can also be specified. The directory that is the reference for the relative path is displayed to the right of "Base:". The reference directory is decided using the following procedure. * The directory from which the project files were loaded. * The directory from which the latest load module or hex file was loaded. * Windows current directory. Delimiters in path information are specified by ";" (semi-colon) or "," (comma). Japanese characters can be specified in the source path (Japanese version only). Example If the source is located in the following directory, b:\src c:\asm The source path specification becomes as follows. b:\src;c:\asm User's Manual U14891EJ1V0UM00 button. button is clicked, the Browse dialog box is displayed and the source path can be 91 CHAPTER 6 WINDOW REFERENCE (2) Default source specification area When [File] [Open...] is selected and the Browse dialog box is opened, the file extension of the displayed source file is set. File extension delimiters are specified by " " (blank), ";" (semi-colon), or "," (comma). (3) Default load module specification area Set the file extension of the load module displayed when the Download dialog box is opened. File extension delimiters are specified by " " (blank), ";" (semi-colon), or "," (comma). (4) Open file history setting area Set the number of items in the history displayed at the bottom of the [File] menu. The number of items can be set in a range of 0 to 10. When 0 is set, the history is not displayed on the menu. The default is 4. (5) Display font setting area Specify the display font in the Source window. If the button is clicked, the Font dialog box opens and the display font can be selected. 92 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (6) Project file setting area Perform the setting of project file auto save and auto load. (a) Project file auto save Selection can be made from among the following items. Auto Save: On: Off: Query: Performs project file auto save when closing. Does not perform project file auto save when closing. Displays the Exit Debugger dialog box when closing (default). (b) Project file auto load Selection can be made from among the following items. Auto Load: On: Off: Performs project file auto load when starting. Does not perform project file auto load when starting (default). (c) Auto load project file settings Specifies the project file to be loaded during auto load. This can be specified when "Auto Load" has been turned "On." When it is turned "Off," the specification column becomes inactive (displayed in gray). Load Project File: Input the project file name from the keyboard or set it by clicking the button. If the (7) Toolbar display button setting area button is clicked, the Browse dialog box is displayed. Set the toolbar display button. The display button can be selected from among the following items. Pictures and Text: Displays buttons that show both graphics and text. Pictures only: Displays buttons that show only graphics (default). User's Manual U14891EJ1V0UM00 93 CHAPTER 6 WINDOW REFERENCE (8) Two-byte character code setting area This area specifies the Kanji code (two-byte character code) of the file displayed in the Source or Trace View window Note . Either SJIS or EUC code can be selected. Note that the Kanji code specification is only valid for Japanese Windows. Sjis: Euc: SJIS is used as the Kanji code (default). EUC is used as the Kanji code. Note Windows/dialog boxes related to the trace is valid only for CPU cores with the TRCU incorporated. (9) Tab size setting area Set the tab size for each file extension when displaying files with that file extension. (a) File extension setting Set the file extension. Extension: Setting of the file extension can be done by inputting it from the keyboard or by selecting from the drop-down list. (b) Tab size selection The following tab sizes can be selected. Tab Size: 2: Displays the tab code with 2 spaces. 4: Displays the tab code with 4 spaces. 8: Displays the tab code with 8 spaces. 94 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (c) Setting tab size for each file extension Tab List: Displays a list of the file extensions and tab sizes. * If a tab size setting is added, and if a tab size is changed, set it by "Extension" and "Tab Size", then click the button. * To delete a tab size setting, Select the file extension setting in the "Tab List," then click the The currently selected file extension setting is deleted. (10) Startup symbol setting area button. Specify the beginning and the end symbol of the startup routine. Be sure to specify this area. If it is left blank, the dialog box cannot be closed. Downloading an object file in the load module format in the Download dialog box automatically opens the corresponding source file. If the specified symbol is incorrect, the source file will not be able to open up to the PC position in the address range of the corresponding source file. Even the startup routine cannot be skipped using step execution. Begin Label: End Label: Specify the start symbol. The default is __start. Specify the end symbol. The default is __startend. (11) Offset display setting area Set whether there will be an offset display (symbol + offset) during disassemble display. If there is no offset display, a symbol is displayed only when there is a symbol that matches the numerical value, and when there is not a matching symbol, the numerical value is displayed as is in hex notation. The areas where the offset display can be specified are of the following two types. Label: Mnemonic: Set whether or not there will be an offset display in the label column. The default is no offset display. Set whether or not there will be offset display in the mnemonic column. The default is offset display. User's Manual U14891EJ1V0UM00 95 CHAPTER 6 WINDOW REFERENCE (12) Register name display select area Select the display method of the register name in the mnemonic during disassemble display. Function Name: Absolute Name: Displays the register name as the function name or another name (default). Displays the register name as an absolute name. (13) Watch symbol setting area Specify the watch symbol. (a) Default size Set the display size of data selected from [View] [Adaptive] in the Watch window, etc. The size displayed can be selected from among the following items. Size: Byte: Half Word: Word: (b) Default radix Set the display radix of data selected from [View] [Proper] in the Watch window, etc. The display radix can be selected from among the following items. Radix: Hex: Dec: Oct: Bin: String: Displayed in hexadecimal (default). Displayed in decimal. Displayed in octal. Displayed in binary. Displayed as a character string. Displays in 8 bits (default). Displays in 16 bits. Displays in 32 bits. 96 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (c) Display/non-display of variable type Selects the display/non-display of variable type. Show Variable Type: On: Off: Displays the type. Not display the type (default). (d) Display/non-display of variable type Selects the constant display form. Language: C: ASM: Function buttons Displays in C language form (default, fixed). Can't be selected. After activating each type of option in the set debugger, the dialog box is closed. Makes each of the options set in the debugger on this occasion inactive and closes the dialog box. Returns to the environment setting state existing before the Debugger Option dialog box was opened. Opens the help window. User's Manual U14891EJ1V0UM00 97 CHAPTER 6 WINDOW REFERENCE Interrupt Mask Dialog Box Modal General Sets the mask for external maskable interrupts (INT0 to INT63). Opening method This dialog box can be opened by either of the following methods. * In the main window Select [Option] [Interrupt Mask...] from the menu bar. Press the GRPH + O , and K keys in that order. Window Figure 6-18. Interrupt Mask Dialog Box (1) Interrupt mask specification area Function The Interrupt Mask dialog box consists of the following area. * Interrupt mask specification area The function of this area is explained below. (1) Interrupt mask specification area This area specifies whether to mask maskable interrupt signals input from outside the CPU. Unchecked interrupts are not masked. 98 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function buttons Sets the specified mask condition and closes the dialog box. Closes the dialog box without setting data currently specified. Returns to the status before the Interrupt Mask dialog box was opened. Masks all interrupts. Unmasks all interrupts. Opens the help window. User's Manual U14891EJ1V0UM00 99 CHAPTER 6 WINDOW REFERENCE Font Dialog Box Modal General Selects the display font for the Source window and sets the font size. Opening method This dialog box can be opened in the following method. * Click the button in the Debugger Option dialog box. Window Figure 6-19. Font Dialog Box Functions The Font dialog box consists of the following areas. * Font name specification area * Font size specification area * Sample display area Each function is explained below. 100 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Font name specification area Select the specified font from among the currently usable fonts. Fixed width fonts (fonts with a constant stroke width and fixed pitch fonts) only are listed. When the font name is selected from the list, the font name is displayed in the text box and the font sizes with which that font can be used are displayed in the font size specification area. It is also possible to input the font name directly to the text box using the keyboard. (2) Font size specification area The usable sizes of the font specified in the font name specification area are listed in point units. When selecting the font size from the list, the size is displayed in the text box. It is also possible to input the font size directly to the text box from the keyboard. (3) Sample display area A sample character string showing the specified font and font size is displayed. User's Manual U14891EJ1V0UM00 101 CHAPTER 6 WINDOW REFERENCE Function buttons Changes the font in the Source window to the specified font face and font size and closes the dialog box. Closes the dialog box without changing the font. 102 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Project File Load Dialog Box Modal General This dialog box restores previous debugging environments. By loading a project file, the size of the window that displayed the environments and the position of the environments on the window are also restored. Opening method This dialog box can be opened in the following methods. * In the main window Select [File] [Project...] [Open Project...] from the menu bar. Press the GRPH + F , J , and O keys in that order. * Press the button on the toolbar. Window Figure 6-20. Project File Load Dialog Box (1) File location select area (2) File name select area (3) File type select area User's Manual U14891EJ1V0UM00 103 CHAPTER 6 WINDOW REFERENCE Function Loads project files. This dialog box consists of the following areas. * File location select area * File name select area * File type select area The function of each area is explained below. (1) File location select area Select the drive or directory. (2) File name select area Specify the file name. The file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) File type select area Displays the type of file displayed in the list. Project (*.prj) files are displayed. Loaded contents The items from each window shown in the following table are loaded in the project file. However, if the files are loaded after the debugger is started, when a project file with a different target device is loaded, the debugger itself is reset and the project file is loaded (when the target device differs from the target device specified when the debugger was started, the target device becomes the target device specified in the project file). 104 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Table 6-7. Saved Contents of Project File Window Configuration dialog box Main window Set Data All items (target device, clock setting, pin mask setting, mapping information) Display position, toolbar/status bar/button display information, execution mode information, Note trace On/Off information File information to be downloaded Setting information Setting information Interrupt mask information Display information of window, font information Display information of window, display start address Display information of window, display start address Display information of window Display information of window Display information of window Display information of window Display information of window, event information Display information of window, link event information Display information of window, break event information Display information of window, trace event information Display information of window, event information Display information of window, software break information Display information of window Display information of window, watch entry information Note Download dialog box Extended Option dialog box Debugger Option dialog box Interrupt Mask dialog box Source window Assemble window Memory window Stack window IOR window Local Variable window Trace View window Event dialog box Event Link dialog box Break dialog box Trace dialog box Event Manager Software Break Manager Register window Watch window Trace Option dialog box Note Note Information of trace option Delay count value Delay Count Setting dialog Note box Note Valid only for CPU cores with the TRCU incorporated. Function buttons Loads the selected file as the project file. Closes the dialog box. Closes this dialog box without loading the project file. Opens the help window. User's Manual U14891EJ1V0UM00 105 CHAPTER 6 WINDOW REFERENCE Project File Save Dialog Box Modal General A project file is a file that stores debugging environments. To save debugging environments in a project file, the size of the window that displayed the debugging environments and the position of the environments in the window are also saved. Opening method This dialog box can be opened in either of the following methods. * In the main window Select [File] [Project] [Save As...] from the menu bar. Press the GRPH + F , J , and A keys in that order. If a project file was loaded or saved previously, and to save a file of the same name, do as follows: * In the main window Select [File] [Project] [Save] from the menu bar. Press the GRPH + F , J , and S keys in that order. In this way, a file of the same name as the previously loaded or saved project file can be saved without the Project File Save dialog box being opened. 106 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Window Figure 6-21. Project File Save Dialog Box (1) Save location select area (2) File name select area (3) File type select area Function The Project File Save dialog box is used to save a new project file or a project file whose name has been changed. This dialog box consists of the following areas. * Save location select area * File name select area * File type select area The function of each area is explained below. (1) Save location select area Select the drive or directory. (2) File name select area Specify the file name. The file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) File type select area Displays the type of file displayed in the list. Project (*.prj) files are displayed. User's Manual U14891EJ1V0UM00 107 CHAPTER 6 WINDOW REFERENCE Saved contents Refer to Table 6-7 Saved Contents of Project File for the saved contents of the project file. Function buttons Saves the project information in the selected file. After saving, closes the dialog box. Closes this dialog box without saving the project file. Opens the help window. 108 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE View File Load Dialog Box Modal General Reads display files, and also reads source files, other text files and event setting files, and opens a window. Opening method This dialog box can be opened in the following methods. * In the main window Select [File] [Open] from the menu bar. Press the GRPH + F , and O keys in that order. Press shortcut keys CTRL + O . * Press the button on the toolbar. Window Figure 6-22. View File Load Dialog Box (1) File location select area (2) File name select area (3) File type select area User's Manual U14891EJ1V0UM00 109 CHAPTER 6 WINDOW REFERENCE Function Reads display files saved in View File Save Dialog Box, and also reads source files, other text files and event setting files, and opens a window. Depending on the file loaded, the window opened and the status differ. * Loading of a source file (files in which symbol information has been read) If a Source window exists in the active state, it is opened in the static state, and there is no Source window in the active state, a Source window in the active state is opened. * Source file or display file in which symbol information has not been read It is opened as a text format file in a Source window in the static state. * Loading of an event setting file The Event Manager is opened and the event setting contents are returned to the previous environment. This dialog box consists of the following areas. * File location select area * File name select area * File kind select area The function of each area is explained below. (1) File location select area Select the drive or directory. (2) File name select area Specify the file name. The file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) File type select area Displays the type of file displayed in the list. The file types are as shown below. Table 6-8. View File Extension (1/2) File Kind (File Extension) Source (*.C, *.S) Text (*.TXT) Source Text (*.SVW) Assemble (*.DIS) Memory (*.MEM) Watch (*.WCH) Note 2 Note 1 Meaning Source file Text file Source window display file Assemble window display file Memory window display file Watch window display file Notes 1. 2. The source file extension (C, S) can be changed in the Debugger Option dialog box. If you are using a previous Variable window display file, it can be used as a Watch window display file by changing the file extension from VAR to WCH. 110 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Table 6-8. View File Extension (2/2) File Type (File Extension) Register (*.RGW) I/O Register (*.IOR) Local Variable (*.LOC) Stack Trace (*.STK) Trace (*.TVW) Event (*.EVN) All (*.*) Note Meaning Register window display file IOR window display file Local Variable window display file Stack window display file Trace View window display file Event setting file All files Note Valid only for CPU cores with the TRCU incorporated. Function buttons Loads the selected file. Closes this dialog box without loading the display file. Opens the help window. User's Manual U14891EJ1V0UM00 111 CHAPTER 6 WINDOW REFERENCE View File Save Dialog Box Modal General Saves the contents of the current window when the dialog box was opened in a display file or event setting file. Opening method This dialog box can be opened in the following methods. * In the main window, make the window to be saved the current window and perform either of the following operations. * Select [File] [Save As...] from the menu bar. * Press the GRPH + F , and A keys in that order. Window Figure 6-23. View File Save Dialog Box (1/3) No range (when the saved window is Local Variable window, Stack window, IOR window, Register window, Watch window, or Event Manager) (1) Save location select area (2) File name select area (3) File type select area 112 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Figure 6-23. View File Save Dialog Box (2/3) Address range (when the saved window is Assemble window or Memory window) (4) Save range setting area Frame range (when the saved window is Trace View window) (4) Save range setting area User's Manual U14891EJ1V0UM00 113 CHAPTER 6 WINDOW REFERENCE Figure 6-23. View File Save Dialog Box (3/3) Line range (when the saved window is Source window) (4) Save range setting area Function This dialog box saves the contents of the current window in a display file. This dialog box consists of the following areas. * Save location select area * File name select area * File type select area * Save range setting area The function of each area is explained below. (1) Save location select area Select the drive or directory. (2) File name select area Specify the file name. The file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) File type select area Displays the type of file displayed in the list. The file types are as shown in the following table. 114 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Table 6-9. File Types and Current Window File Type (File Extension) Source Text (*.SVW) Assemble (*.DIS) Memory (*.MEM) Watch (*.WCH) Register (*.REG) I/O Register (*.IOR) Local Variable (*.LOC) Stack Trace (*.STK) Trace (*.TVW) Event (*.EVN) All (*.*) Note Current Window Name Source window Assemble window Memory window Watch window Register window IOR window Local Variable window Stack window Trace View window Event Manager All files Note Valid only for CPU cores with the TRCU incorporated. (4) Save range setting area This area is displayed only when the current window to be saved is the Assemble window, Memory window, Source window, or Trace View window. All: Screen shot: Specifies that all the area from the first line to the last line be saved. This specifies that the entire visible area from the top line of the screen to the bottom line be saved. However, in cases where there is a mixed display with the Source window, the area saved is the from the source line included in the visible area of the screen. Specify Line (in the case of the Source window), Specify Frame (in the case of the Trace View window Specify Address (in the case of other windows): This specifies the starting line and end line of the area to be saved. When the starting line and end line are omitted, it is regarded as if the first line/last line were specified. Details are as shown below. Note Windows/dialog boxes related to the trace are valid only for CPU cores with the TRCU incorporated. Note ), User's Manual U14891EJ1V0UM00 115 CHAPTER 6 WINDOW REFERENCE (a) If current window is Assemble window or Memory window Specifies an address range to be saved. Addresses can be also specified by symbols or expressions. (The specification method is the same as in the case of the Address Move dialog box.) The default radix when numbers are input is hexadecimal. If an area with 256 bytes or more is specified, a dialog box indicating the saving status is displayed. To stop saving midway, click the button in this dialog box. (b) If current window is Trace View window Note Specifies the range of trace frames to be saved. (The specification method is the same as in the case of the Trace Move dialog box.) The default radix when numbers are input is decimal. If a range of more than 100 frames is specified, a dialog box indicating the saving status is displayed. To stop saving midway, click the button in this dialog box. Note Valid only for CPU cores with the TRCU incorporated. 116 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (c) If current window is Source window Specify the range by line numbers. The default radix when numbers are input is decimal. When the Source window is in the mixed display mode, the mixed display portion in the specified lines is also saved. If a range of more than 100 lines is specified, a dialog box indicating the saving status is displayed. To stop saving midway, click the button in this dialog box. Function buttons Saves in the selected file. After that, closes the View File Save dialog box. Closes this dialog box without saving the display file. Opens the help window. (Displayed when the saved window is Assemble window, Memory window, Trace View window, or Source window) Returns to the status before the View File Save dialog box was opened. User's Manual U14891EJ1V0UM00 117 CHAPTER 6 WINDOW REFERENCE Download Dialog Box Modal General This dialog box selects the name and format of a file to be downloaded, and downloads the contents of memory to the in-circuit emulator or target. If an object file in the load module format has been loaded, the corresponding source file is searched, and the Source window automatically opens. Multi-loadable load module files are up to 20. The files and formats of them that can be downloaded are as follows. * NEC load module format (ELF (.OUT)) * Intel HEX format file (normal or extended) * Motorola HEX format file S type (S0, S2, S3, S7 and S8) * Extended Tektronix HEX format file * Binary data format file If a file other than an object file in the load module format is loaded, debugging cannot be executed at the source level. Opening method This dialog box can be opened in the following methods. * In the main window Select [File] [Download...] from the menu bar. Press the GRPH + F , and D keys in that order. * Press the button on the toolbar. 118 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Window Figure 6-24. Download Dialog Box (1) File location select area (2) File name select area (3) File type select area (4) Load condition specification area (5) Reset conditions specification area (6) Offset setting area Function The maximum number of load module files that can be loaded is 20. The Download dialog box consists of the following areas. * File location select area * File name select area * File type select area * Load condition specification area * Reset conditions specification area * Offset setting area The function of each area is explained below. (1) File location select area Select the drive or directory. User's Manual U14891EJ1V0UM00 119 CHAPTER 6 WINDOW REFERENCE (2) File name select area Specify the file name. The file name can be input from the keyboard or it can be selected from the list in the top column of the area. This dialog box can be used to specify multiple files. If you are specifying multiple file names, place ";" (semi-colon) on both sides of each file name. It is also possible to specify multiple file names from the top column of the area while pressing the SHIFT key or the CTRL key. (3) File type select area Displays the file type to be in the list. When downloading, specify the same extension of the file specified in (2). Example Specify "Load Module (*.OUT)" when downloading a load module file, and "Hex Format (*.HEX)" when downloading a hex file. The contents displayed for "Files of type" are as shown below. Table 6-10. Types of Files That Can Be Downloaded Contents (Extension) Load Module (*.OUT) Hex Format (*.HEX) Binary Data (*.BIN) Load module format Hex format (the format is auto-judged) Binary data format Format Remark The Hex format is judged automatically. Note that these are the default file extensions; file extensions other than these can also be used. (4) Load condition specification area Sets the load conditions. Symbol: Object: Specifies whether the symbol information is read (checked, default) or not. condition is disregarded for files other than those in the load module format. Specifies whether the object information is read (checked, default) or not. Note that this In cases where a program configured from multiple load module files is debugged, if there are modules where symbol information is not necessary, if the debugger is set so as not to read symbol information, the memory use volume can be reduced. 120 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (5) Reset conditions specification area Sets the reset conditions. Symbol: CPU: Specifies whether to reset (checked, default) or not reset symbol information. Specifies whether to reset or not reset (checked, default) the CPU. When debugging a program configured from multiple load module files, load individual load module files without resetting the symbol information. When downloading the multiple load module files, do not overlap the location addresses. This setting is disregarded for files other than load module format and hex format files. (6) Offset setting area Specify the offset address when loading. Address specification can also be by expressions (except symbols). The specification method is the same as in the case of the Address Move dialog box. The default radix when inputting numerical values is hexadecimal. Function buttons After the selected file is loaded, the dialog box is closed. Closes this dialog box without loading the file. Opens the help window. Returns the input data to its original form. User's Manual U14891EJ1V0UM00 121 CHAPTER 6 WINDOW REFERENCE Load Module List Dialog Box Modal General The name and file path name of load module files that have been downloaded can be verified. Also, the Download dialog box can be displayed and the load module can be downloaded. Opening method This dialog box can be opened by either of the following methods. * In the main window Select [File] [Load Module...] from the menu bar. Press the GRPH + F , and L keys in that order. Window Figure 6-25. Load Module List Dialog Box (1) File name display area (2) Add Path Name check box Function The Load Module List dialog box consists of the following areas. * File name display area * Add Path Name check box Each function is explained below. 122 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) File name display area This area displays the names of load module files that have been downloaded. The numbers displayed in the "No." column show the order in which the files were read. When the Add Path Name check box is checked, the full path is displayed, and when it is not checked, the file name only is displayed. When the file name does not fit on the screen, the mouse or the arrow keys on the keyboard can be used to scroll in order to verify the full name. If the symbol information has been reset in the Reset Debugger dialog box, or when the symbol information has been reset and downloaded in the Download dialog box, the load module file name with which it was downloaded previously is cleared. (2) Add Path Name check box This enables you to switch the display of file names displayed in the file name display area between display with the path (checked) or display with the file name only (unchecked, default). Function buttons Closes the dialog box. Opens the help window. Displays the Download dialog box. The load module can be newly downloaded. The file name for the newly downloaded file is added in the file name display area when the Download dialog box is closed. User's Manual U14891EJ1V0UM00 123 CHAPTER 6 WINDOW REFERENCE Upload Dialog Box Modal General This dialog box selects the name and format of the file to be saved, and saves the contents of the target memory in this file. The following files and formats of them to be saved can be selected. * Intel HEX format file (extended only) * Motorola HEX format file S type (S0, S3, and S7 only) * Extended Tektronix HEX format file * Binary data format file Opening method The dialog box can be opened in the following methods. * In the main window Select [File] [Upload...] from the menu bar. Press the GRPH + F , and U keys in that order. Window Figure 6-26. Upload Dialog Box (1) File location select area (2) File name select area (3) File type select area (4) Save range setting area 124 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function The Upload dialog box consists of the following areas. * File location select area * File name select area * File type select area * Save range setting area The function of each area is explained below. (1) File location select area Select the drive or directory. (2) File name select area Specify the file name. The file name can be input from the keyboard or it can be selected from the list in the top column of the area. (3) File type select area The contents displayed for "Save as type" are as shown below. Table 6-11. Types of Files That Can Be Uploaded Contents (File Extension) Intel Hex (*.HEX) Motorola Hex (*.HEX) Tektro Hex (*.HEX) Binary Data (*.BIN) All (*.*) Intel extended hex format Motorola hex format Extended Tektronics hex format Binary data format All files Format These are the default file extensions; file extensions other than these can also be used. The data format is decided by the file extension in which it is saved. However, if "All (*.*)" is selected, the file is saved in the default Intel extended hex format. (4) Save range setting area Specify the address range that is to be saved. It is possible to specify the address by symbols or by expressions. The specification method is the same as in the case of the Address Move dialog box. The default radix when numbers are input is hexadecimal. User's Manual U14891EJ1V0UM00 125 CHAPTER 6 WINDOW REFERENCE Function buttons After saving the specified address range in the selected file, the dialog box is closed. The font in the Source window is changed to the specified font face and font size and the dialog box is closed. Closes this dialog box without saving the file. Opens the help window. Returns the input data to its original form. 126 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Browse Dialog Box Modal General Selects the file set in the Debugger Option dialog box or Source Search dialog box. Opening method This dialog box can be opened in either of the following methods. * Click the * Click the * Click the button in the Debugger Option dialog box. button in the Source Search dialog box. button in the Source Move dialog box. Window Figure 6-27. Browse Dialog Box (1) File location select area (2) File name select area (3) File type select area User's Manual U14891EJ1V0UM00 127 CHAPTER 6 WINDOW REFERENCE Function The Browse dialog box consists of the following areas. * File location select area * File name select area * File type select area The function of each area is explained below. (1) File location select area Select the drive or directory. (2) File name select area Specify the file name. The file name can be input from the keyboard or it can be selected from the list in the top column of the area. Up to 257 characters can be specified. (3) File type select area Displays the types of files in the list. The contents displayed in the "Files of type" are as shown below. Table 6-12. Types of Files That Can Be Displayed in Browse Dialog Box Contents (File Extension) Source (*.C;, *.S) Text (*.TXT) All (*.*) Format Source file (The file extension is specified in the Debugger Option dialog box) Text file All files Remark The source (c, s) file extension can be changed in the Debugger Option dialog box. Function buttons Sets the selected file and closes the dialog box. Closes this dialog box without setting the file. Opens the help window. 128 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Source Move Dialog Box Modal General Specifies the file displayed in the Source window and specifies the display start position. Opening method This dialog box can be opened in the following methods. * When the Source window is active Select [View] [Move...] from the menu bar. Press the GRPH + V , and V keys in that order. Press shortcut keys CTRL + J . Window Figure 6-28. Source Move Dialog Box (1) Input mode select area (2) File/address specification area Function This dialog box is displayed when [View] [Move...] is selected while the Source window is opening and the file's display start position can be changed (a new window does not open). The Source Move dialog box consists of the following areas. * Input mode select area * File/address specification area The function of each area is explained below. User's Manual U14891EJ1V0UM00 129 CHAPTER 6 WINDOW REFERENCE (1) Input mode select area This selects the input mode in cases where the movement destination is specified. { Address/Symbol: { Line/File: Specifies the movement destination by an address (or a symbol). Specifies the movement destination by a line No. (or file name). (2) File/address specification area This area specifies the display file name or display address. With the default, the string selected in the accessed window, or when there is no selected string, the first character string in the input history, is displayed, but as necessary, it can be changed by inputting from the keyboard. The following two specification methods are used. * Display address specification * Display file name specification By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. (a) Display address specification Specifies the Address/Symbol in (1). This specifies the address where the display starts. It is possible to specify the address by symbols or by expressions. The specification method is the same as in the Address Move dialog box. When "Address/Symbol" is selected, the default radix when inputting numerical values becomes hexadecimal. The source text is displayed so that source line corresponding to the specified address value can be seen. (b) Display file name specification Specifies the Line/File in (1). This specifies the file name which is displayed in the Source window. For the file, it is possible to specify the file name only and to specify the absolute path or the relative path. If the file name only, or the relative path, is specified, search is made for the file in each of the following directories in the order shown. The first file to be found as a result of the search is displayed. * The directory which is the source path specified in the Debugger Option dialog box. The line number can also be specified other than the file name. The file's line number is specified as follows. 130 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE * < Function buttons Opens the Browse dialog box. Displays the source text from the specified position. Closes this dialog box. Returns the input data to original value. Opens the help window. User's Manual U14891EJ1V0UM00 131 CHAPTER 6 WINDOW REFERENCE Address Move Dialog Box Modal General Specifies a display start address in the Memory window or Assemble window. Opening method This dialog box can be opened in the following methods. (1) In Assemble window * In the main window Select [View] [Move...] from the menu bar. Press the GRPH + V , and V keys in that order. Press shortcut keys CTRL + J . (2) In Memory window * In the main window Select [View] [Move...] from the menu bar. Press the GRPH + V , and V keys in that order. Press shortcut keys CTRL + J . Window Figure 6-29. Address Move Dialog Box Address Move dialog box of Assemble window (1) Address specification area Address Move dialog box of Memory window (1) Address specification area 132 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function The Address Move dialog box consists of the following area. * Address specification area The function of this area is explained below. (1) Address specification area This area specifies a display start address. The default address is the string selected in the called window, or the value of the current PC. This value can be changed by keyboard input as necessary. An address can also be specified by a symbol or expression. The specification method is the same as in the case of the Symbol To Address dialog box, but the default radix when inputting numerical values is hexadecimal. By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. Function buttons Displays the Memory window or Assemble window from the specified address. Closes this dialog box. Returns the input data to original value. Opens the help window. User's Manual U14891EJ1V0UM00 133 CHAPTER 6 WINDOW REFERENCE Trace Move Dialog Box Modal General Specifies the Trace View window display's display start position. This dialog box is valid only for CPU cores with the TRCU incorporated. Opening Method This dialog box can be opened in the following methods. * When the Trace View window is active, Select [View] [Move...] from the menu bar. Press the GRPH + V , and V keys in that order. Press shortcut keys CTRL + J . Window Figure 6-30. Trace Move Dialog Box (1) Frame select area (2) Frame No. specification area Function This dialog box is displayed by selecting [View] [Move...] when the Trace View window is opening, and it can be used to change the trace results display starting position. The Trace Move dialog box consists of the following areas. * Frame select area * Frame No. specification area The function of each area is explained below. 134 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Frame select area This selects the frame which is the move destination. 1st frame of last block: Trigger frame of last block: Last frame of last block: Frame No.: Move to the first frame in the trace data. Move to the latest trigger frame in the trace data. Move to the last frame in the trace data. Move to the frame with the specified No. When 0 is specified, move to the first frame in the trace data. When this item is checked, shift the focus to the area specified by the frame No. (2) Frame No. specification area If "Frame No." is selected in the frame select area, this is the area which specifies the frame No. In the default, the string selected in the accessed window, or "Last" is displayed, but as necessary, it can be changed by inputting from the keyboard. The default radix when inputting numerical values is decimal. When a "+" mark is input in front of a numerical value, the area moves forward the specified number of frames (below the display) from the frame at the cursor position. Conversely, when a "-" mark is input in front of the numerical value, the area moves the specified number of frames backward (above the display). The frame No. specification can also be specified in the following format. It is also possible to specify it in abbreviated form. Input characters are not case sensitive. The contents are shown below. Table 6-13. Format of Frame No. Specification Specification First Trigger Last Abbreviated Form S T L Content Move to the header frame of the trace data. Move to the trigger frame of the trace data. Move to the last frame of the trace data. By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. User's Manual U14891EJ1V0UM00 135 CHAPTER 6 WINDOW REFERENCE Function buttons Performs trace display from the specified position. Closes the Trace Move dialog box. Returns the input data to the original form. Opens the help window. 136 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Symbol To Address Dialog Box Modeless General This dialog box displays the address of a specified variable or function, and the value of a symbol. Opening method This dialog box can be opened in the following methods. * Select [View] [Symbol...] from the menu bar. * Press the GRPH + V , and Y keys in that order. Window Figure 6-31. Symbol To Address Dialog Box (1) Symbol specification area (2) Conversion results display area (3) Display radix specification area Function The Symbol To Address dialog box consists of the following areas. * Symbol specification area * Conversion results display area * Display radix specification area The function of each area is explained below. (1) Symbol specification area User's Manual U14891EJ1V0UM00 137 CHAPTER 6 WINDOW REFERENCE This area specifies the variable, function name, symbol name, or line number whose address is to be converted. Other than this, an I/O port name, peripheral I/O register name, register name, PSW flag name or an expression can be specified. The I/O port name and peripheral I/O register name are displayed by address values, the register name is displayed by the register contents and the PSW flag name is displayed by the flag value. Also, bit symbols are converted to "Address.bit". Furthermore, an expression cannot be written which includes a bit symbol. Specification methods are shown below. Table 6-14. Format of Symbol Specification Conversion Object Variable Specification Method var file#var (If a static variable with a file name attached is specified.) func#var (If a static variable with a function name attached is specified.) file#func#var (If a static function with a file name and function name attached is specified.) func file#func (If a static function with a file name attached is specified.) label file#label (If a local label with a file name attached is specified.) bitsym file#bitsym (If a local bit symbol with a file name attached is specified.) file#no portname I/O regname regname pswname Function Label Bit symbol Line number of source file I/O Port I/O Register Register PSW Flag Remark var: Variable name, func: Function, file: File name, label: Label name, bitsym: Bit symbol name, portname: I/O port name, I/O regname: Peripheral I/O register name, regname: register, pswname: PSW flag name, no: Source file line number. A "#" (sharp) is used as the separator between the file name and variable, function name and line number. If the specified symbol could not be found inside the scope, all symbols are searched for (static variable, static function, local label, and local bit symbol). In the default, the symbol name has priority. Furthermore, when desiring to change the priority order temporarily, adding a "$" (Dollar) sign in front of the symbol causes the register name to have priority. If you are reading multiple load modules, when specifying the load module names, use the separator "$" between the load module name and the file name, variables, function name and symbol name. In the default, the string selected in the accessed window is displayed, but as necessary, it is possible to change it by inputting from the keyboard. The radix of the default when inputting numerical values is button displays decimal. When changing the contents of the symbol specification area, clicking the the conversion results in the conversion results display area. By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. 138 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (2) Conversion results display area The variables specified in the symbol specification area, the function address, symbol values, line number addresses and expression values, etc. are displayed in this area. (3) Display radix specification area This specifies the display radix of the conversion results display area. Hex: Dec: Oct: Bin: Displayed in hexadecimal (default). Displayed in decimal. Displayed in octal. Displayed in binary. Function buttons When the contents of the symbol specification area have been changed, the symbols are converted. After conversion, when you are not changing the contents of the symbol specification area, the dialog box closes. Closes the Symbol To Address dialog box. Returns the input data to the original values. If the the data return to the state they were in just after the button has already been clicked, button was clicked. Opens the help window. User's Manual U14891EJ1V0UM00 139 CHAPTER 6 WINDOW REFERENCE Source Window MDI child window General This window displays the source file or text file. Also, display of disassembly of a program mixed with a source file, and execution of on-line assembly on a mixed display can be done. The Source window has two states: active state and static state. Opening method This window can be opened in the following methods. * Automatically opened following the download of a load module file when a corresponding source file exists. * In the main window Select [Browse] [SourceText] from the menu bar. Press the GRPH + B , and S keys in that order. Select [Jump] [SourceText] from the menu bar. Press the GRPH + J , and S keys in that order. Press shortcut keys CTRL + U . * Click the button on the toolbar. button. * In the View File Load dialog box, select source file or text file, then click the Window Figure 6-32. Source Window (1/2) (1) Point mark area Normal display mode (2) Current PC mark area (3) Line number/address display area (4) Source text display area 140 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Figure 6-32. Source Window (2/2) Mixed display mode There are two modes in the Source window, normal display mode and mixed display mode. An explanation of each of these modes is given below. Please refer to (4) Source text display area for further details. (1) Normal display mode In the normal display mode, other than display of source files, general text files can be displayed. (2) Mixed display mode In the mixed display mode, disassembly of programs combined with source files is displayed and on-line assembly is carried out. In on-line assembly, the cursor is moved to the mnemonic. On-line assembly results are reflected in the memory window. The display content in the mixed display mode can be saved as a display file. Also, in the Source window which displays the source file that read the symbol information, there are two states, the active state and the static state. Source windows in the active state can be opened one at a time only, and multiple windows in the static state can be opened at a time. Switching between states is accomplished in the [Window] menu. Source files in which symbol information has not been read are read as text format files and their contents are not changed. These two states are described below. (1) Active state The Source window in the active state is synchronized with the current PC value and the Source window's display is updated continuously so that it is always displaying the current PC line. Also, if the Source window in the active state is synchronized not only with the jump function's jump destination but also with the Trace View window the Trace View window. The Source window first opened is in the active state. Note Valid only for CPU cores with the TRCU incorporated. Note , the display in the Source window is updated in synch with User's Manual U14891EJ1V0UM00 141 CHAPTER 6 WINDOW REFERENCE (2) Static state Source window in the static state is not synchronized with the current PC value and do not change the display position, but their contents are updated. Also, a Source window in the static state does not become a jump destination and is not synchronized with the Trace View window. If an active Source window is already open, a Source window is open in the static state. Function This window displays source files or text files. It also displays disassembled display of programs mixed with source files and can also perform on-line assembly in a mixed display. The tab size and display font can be specified in the Debugger Option dialog box. The Source window consists of the following areas. * Point mark area * Current PC mark area * Line number/address display area * Source text display area The function of each area is explained below. (1) Point mark area This area sets or deletes breakpoints, and displays the set status of each event condition and whether the program code exists or not. 142 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (a) Breakpoint setting/deleting function By clicking this area with the mouse, a breakpoint can be set or deleted. The necessary mouse operations are as follows depending on the line where the mouse is clicked. Table 6-15. Breakpoint Setting/Deleting Function State of Line where Mouse is Clicked Setting of On Mouse Click in Extended Option Dialog Box Soft Break Hard Break Soft Break Hard Break Soft Break Hard Break Soft Break Operation Where blank or other marks than "B" mark are displayed (E, L, T mark etc.) Where "B" mark (blue) is displayed (software breakpoint) Where "B" mark (red) is displayed (hardware breakpoint) Where "B" mark (black) is displayed Sets software breakpoint Sets hardware breakpoint Deletes software breakpoint Sets hardware breakpoint Sets software breakpoint Deletes hardware breakpoint If "B" mark is in software break, deletes breakpoint. If "B" mark is in hardware break, deletes breakpoint. Hard Break Setting and deletion of breakpoints can be performed for lines which have an "*" displayed in the point mark area. As for lines without an "*" displayed, setting or deletion can be done on either the line above or below the line where an "*" is displayed. If a breakpoint is set, the "B" mark is displayed in the point mark area. However, if some mark is already displayed, the "A" mark is displayed. The "A" mark shows that multiple events are set. If a breakpoint is deleted, the "B" mark in the point mark area is deleted. However, if another event still remains, the mark of that event is displayed. The "B" mark is displayed in the following colors in accordance with the type of breakpoint and its state. Table 6-16. Breakpoint Display Color Display Color Blue Red Black Explanation Shows that the set software break is valid. Shows that the set hardware breakpoint is valid. Shows that the set breakpoint is invalid. Hardware breakpoints can be validated in the Event Manager or in the Break dialog box, and software breakpoints in the Software Break Manager. If a breakpoint is set in the point mark area, it becomes valid at the time when it is set. User's Manual U14891EJ1V0UM00 143 CHAPTER 6 WINDOW REFERENCE (b) Event condition display function The set status of each event is displayed. If an execution event or access fetch event is set to the corresponding source line, a mark corresponding to the type of event is displayed. Table 6-17. Meaning of Event Display Mark Mark E L B T A Set position of event condition Final stage set position of event link Set position of break event Set position of trace event Set position of two or more events Note Meaning If a range address is specified as an event's address condition, the lower order address of the range becomes the object. Also, the address condition's mask specification is not reflected. Note Valid only for CPU cores with the TRCU incorporated. (c) Program code display function Lines where an "*" is displayed in the point mark area show that program code corresponding to the line number exists. Table 6-18. Program Codes Symbol With "*" Explanation Shows that program code corresponding to the source file line No. exists. This is displayed only in cases where the load module is downloaded and symbol information has been read. Shows that program code corresponding to the source file line No. does not exist. Also, file other than a source file, such as a text file is displayed, all the lines have no "*" displayed. Without "*" (2) Current PC mark area This area displays the mark ">" indicating the value of the current PC (PC register value). By clicking the mouse at this mark, the PC register value is displayed on the pop-up window. 144 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE The program is executed up to the specified line by double-clicking on the current PC mark area. (3) Line number/address display area Normal display mode Mixed display mode Displays the line number of the source file or text file. On lines where program code corresponding to the source file line number exists, the line number is displayed in red characters and on lines where no program code exists, the line number characters are displayed in black. Also, the disassemble display's address is displayed in the mixed display mode. displayed in gray. The position of the line number/address display area can be selected as desired by clicking the mouse. A selected line number or address is displayed in reverse highlight. The following functions are included in line number or address selection. (a) Drag-and-drop function The selected reverse highlighted line number or address can be dragged and dropped to another window or area. If the line number or address position selected in the line number/address display area is dragged using the left button of the mouse, the mouse cursor's shape changes from an arrow to a . If the cursor is moved into a window or area where it is possible to drop it, the shape of the mouse cursor changes form to . Address letters are Operation is executed toward the address determined from the dropped address or line number in the window where they have been dropped. Operation after drag-and-drop differs depending on the window or area where the items were dropped. User's Manual U14891EJ1V0UM00 145 CHAPTER 6 WINDOW REFERENCE Table 6-19. Details of Drag and Drop Function (Line/Address) Window or Area Which Is the Drop Object * Event Manager * Event manager area in each of the setting dialog boxes below * Event dialog box * Event Link dialog box * Break dialog box * Trace dialog boxNote * Link condition setting area and disable condition setting area in the Event Link dialog box * Break condition setting area in the Break dialog box * Section trace start condition area, section trace end condition area, and delay trigger condition setting area in the Trace dialog Note box * Address condition setting area and data condition setting area in the Event dialog box Operation After Drop With the dropped line number or address as the address condition, the execution event conditions are generated automatically. The event condition names are generated automatically, as Evt00001, Evt00002, ... The path count is not specified. Address conditions are set in the form of symbol name + offset value for the symbol which is the closest. With the dropped line number or address as the address condition, the execution event conditions are generated automatically. Furthermore, automatically generated event conditions are set in the conditions setting area where they were dropped. The event condition names are generated automatically, as Evt00001, Evt00002, ... The path count is not specified. Address conditions are set in the form of symbol name + offset value for the symbol which is the closest. The line numbers or the address texts are set in the area where they were dropped. Address conditions are set in the form of symbol name + offset value for the symbol which is the closest. Note Valid only for CPU cores with the TRCU incorporated. (b) Window link function This function is a function which expresses the combination relationship between the Trace View window and Source window by line number or address. The Trace View window and the line number or address which is the link object are displayed in reverse highlight. This function is valid only for CPU cores with the TRCU incorporated. For details, refer to the window link function under Trace View Window. (4) Source text display area The source text display area performs display and disassembly display of source files and text files and online assembly. The display contents of the source text display area can be scrolled using the vertical and horizontal scroll bars. By selecting [View] [Mix] on the menu bar, you can switch between the normal display mode and the mixed display mode. 146 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Example 1. Normal display mode The normal display mode is the mode in which the contents of source files or text files are viewed. 2. Mixed display mode The mixed display mode is the mode where disassembly display in combination with source file display is performed. * If a line of the displayed source file corresponds to program code, the disassemble line is displayed following that source line. In the disassemble line, the address label, code data and disassembled mnemonic are displayed. * The mnemonic's display starting position is adjusted according to the tab size setting value. * The mixed display mode is valid only in cases where a load module is downloaded and symbol information is read into it, and a source file corresponding to the downloaded load module is displayed. * Even if [View] [Mix] on the menu bar is checked and mixed display mode is selected, in cases where a source file other than one corresponding to a load module is displayed, the display mode is the normal display mode. * The disassemble display in the mnemonic column displayed in the mixed display mode can be changed. In the case of a change, move the cursor to the mnemonic column of the disassemble display line and change it. The overwrite mode and the insert mode can be switched during editing using the INS key. If the cursor is moved to a different line after making changes in the mnemonic column, the change contents are checked. If the change contents are incorrect, the code data in the line where the change was made becomes an "*". User's Manual U14891EJ1V0UM00 147 CHAPTER 6 WINDOW REFERENCE Even if moved to a different line, the change contents are not written to memory. A different line can be changed with the change contents not written to memory. The changed contents of the mnemonic column are written to memory using the Enter key. The change contents are also checked if the Enter key is pressed. If the change contents are incorrect, the code data in the incorrect line become an "*". If there is even one incorrect line, the change contents are not written to memory. In such a case, please correct the change contents. If you are discarding the change contents, press the ESC key. If the change contents are not incorrect, press the Enter key. After the change contents are written to memory, the cursor moves to the next line's mnemonic column. Then the next line can be changed. The current PC line and the breakpoint setting line are displayed with different display colors and in bold characters. Table 6-20. Current PC Line and Breakpoint Setting Line Meaning of Line Current PC line Display Color Yellow Explanation This is the source line or the disassemble display line corresponding to the current PC value. It is the line where a ">" is displayed in the current PC mark area. When there is a mixed display, the display color of the disassemble display line only is changed. The source line is displayed with the normal display color. This is a source line or a disassemble display line where a valid breakpoint is set. It is the line where a red or blue "B" is displayed in the point mark area. When there is a mixed display, the display color of the disassemble display line only is changed. The source line is displayed with the normal display color. Breakpoint setting line Red The source text display area has a number of functions, including program execution with the line where the cursor is positioned as the object and setting of the breakpoint. * Start function * Come function * Breakpoint setting function * Program counter setting function * Jump function With these functions, if there is a cursor located on the source text line, the top address of the program code corresponding to the source line becomes the object and if the cursor is located on the disassemble display line, that address becomes the object. Also, if no program code exists on the source line, the top address of either the line above or the line below that line, where program code exists, becomes the object. Furthermore, these functions cannot be executed in the following cases. The corresponding menu becomes gray in color and it becomes impossible to select it. * In the case where a file other than a source file is being displayed. * In the case where a user program is being executed. Each function is explained below. 148 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (a) Start function Executes the user program from the line where the cursor is located. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line where execution is to start. <2> Perform one of the following operations in the main window. Select [Run] [Start From Here] from the menu bar. Press the GRPH + R , and A keys in that order. Press the shortcut keys SHIFT + f*6 . (b) Come function Executes the user program up to the line where a cursor is placed. While the user program is executed by this function, however, the currently set break event is not generated. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line at which a break is to occur. <2> Perform one of the following operations in the main window. Select [Run] [Come Here] from the menu bar. Press the GRPH + R , and M keys in that order. Press the shortcut key f*6 . (c) Breakpoint setting function Sets a breakpoint to the line where a cursor is placed. An execution event is used as the breakpoint to be set. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line on which a breakpoint is to be set. <2> Perform one of the following operations in the main window. Select [Run] [Break Point] or [Software Break Point] from the menu bar. Press the GRPH + R , and B keys or the GRPH + R , and F keys in that order. Press shortcut key f*9 or f*11 . (d) Program counter setting function Sets the address of the line where a cursor is placed to the program counter (PC). This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line where you desire to set the program counter (PC). <2> Perform one of the following operations in the main window. Select [Run] [Change PC] from the menu bar. Press the GRPH + R , and H keys in that order. Press shortcut keys CTRL + f*9 . User's Manual U14891EJ1V0UM00 149 CHAPTER 6 WINDOW REFERENCE (e) Jump function Jumps to the Assemble window or Memory window by using the address of the line where a cursor is placed as a jump pointer. The jump destination window displays the jump pointer at the beginning. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line which is the jump origin. <2> Perform one of the following operations in the main window. * If the jump destination is the Assemble window Select [Jump] [Assemble] from the menu bar. Press the GRPH + J , and A keys in that order. Press shortcut keys CTRL + D . * If the jump destination is the Memory window Select [Jump] [Memory...] from the menu bar. Press the GRPH + J , and E keys in that order. Press shortcut keys CTRL + M . The text displayed in the source text display area can be selected by the following methods. * From the desired position in the displayed text, drag the text to the desired position within the range of one line. Select the text from the drag start position to the end position. * Double-click on the character string. The words in the double-clicked position are selected. In the source text display area, there are a number of functions which can be performed with the selected text as the object, such as watch and quick watch. (f) Watch function Adds the selected variables, etc. to the Watch window and displays their contents. This function can be run by performing the following operations in order. <1> Select the text. <2> Perform one of the following operations in the main window. Select [View] [View Watch] from the menu bar. Press the GRPH + V , and I keys in that order. button in the Source window. Click the If the assembler symbol was selected, add it to the Watch window in accordance with the settings in the Debugger Option dialog box. Apart from the above method, this function can also be run by performing the following operation. <1> Select the text. <2> Perform one of the following operations in the main window. Select [View] [Add Watch...] from the menu bar. Press the GRPH + V , and W keys in that order. By performing the above operation, the Add Watch dialog box is opened and the selected text is added to the Watch window. Furthermore, if the Watch window has not yet been opened, it will be opened. 150 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (g) Quick watch function This displays the contents of the selected variables, etc. temporarily in the Quick Watch dialog box. This function is run by performing the following operation in order. <1> Select the text. <2> Perform one of the following operations in the main window. Select [View] [Quick Watch...] from the menu bar. Press the GRPH + V , and Q keys in that order. Press the shortcut keys CTRL + W . Click the button in the Source window. The Quick Watch dialog box will open and the contents will be displayed. (h) Balloon watch function This displays the contents of the selected variables, etc. temporarily in the selected place. This function is run by performing the following operation in order. <1> Select the text. <2> Place the mouse cursor on the selected text. The tool tips view frame will be displayed and the contents will be displayed. Example Display of contents (i) Drag-and-drop function Through a drag-and-drop operation, the selected text can be dragged to another window or area and dropped. The operation order is shown below. <1> Drag the selected text using the left button of the mouse. The mouse cursor's shape will change from an arrow to a . <2> If the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . Operation after drag-and-drop differs depending on the window or area where the items were dropped. User's Manual U14891EJ1V0UM00 151 CHAPTER 6 WINDOW REFERENCE Table 6-21. Details of Drag and Drop Function (Character String) Window or Area Which Is the Drop Object Event Manager Event manager area in each of the setting dialog boxes below * Event dialog box * Event Link dialog box * Break dialog box * Trace dialog boxNote Operation After Drop If it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the Access status (access all status) or the Execute status event conditions are generated automatically. The event condition names are generated automatically, as Evt00001, Evt00002, ... The data conditions and path count are not specified. The dropped text is set in the address conditions. The relationship between the generated event conditions and the symbols is as follows. Symbol Variable Function Symbols in the data section Symbols in the code section Other * Link condition setting area and disable condition setting area in the Event Link dialog box * Break condition setting area in the Break dialog box * Section trace start condition area, section trace end condition area, and delay trigger condition setting area in the Note Trace dialog box Status R/W Execute R/W Execute R/W If it is possible to convert the dropped text to an address value as a symbol, with the converted address value as the address condition, the Access status (access all status) or the Execute status event conditions are generated automatically. Furthermore, the automatically generated event conditions are set in each dropped conditions setting area. The event condition names are generated automatically, as Evt00001, Evt00002, ... The data conditions and path count are not specified. The dropped text is set in the address conditions. The relationship between the generated event conditions and the symbols is as follows. Symbol Variable Function Symbols in the data section Symbols in the code section Other Status R/W Execute R/W Execute R/W * Address condition setting area and data condition setting area in the Event dialog box Watch window Text is set in the dropped area. If the dropped text can be recognized as a symbol, the symbol contents are displayed. Note Valid only for CPU cores with the TRCU incorporated. 152 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function buttons Opens the Source Search dialog box and searches for source text character strings. If text is selected in the source text display area, the selected text is set as the search object and the Source Search dialog box is opened. If text has not been selected, the Source Search dialog box is opened with the search object in the blank state. The search method is specified in the Source Search dialog box. The search results are displayed as selected in the Source window. Performs the same operation as [View] [Search] on the menu bar. Searches for the text which matches the search conditions set in the Source Search dialog box in the backward direction from the cursor position (toward the top of the display). It changes to a button during a search. Searches for the text which matches the search conditions set in the Source Search dialog box in the forward direction from the cursor position (toward the bottom of the display). It changes to a button during a search. Interrupts a search. During a search, the button or the button changes to a button. Adds variables and other items selected in the source text display area to the Watch window. If the Watch window is currently not open, this button opens it. If text is not selected in the source text display area, the Watch window is opened only. This button operates the same as [View] [View Watch]. Displays the selected variables and other contents of the source text display area temporarily in the Quick Watch dialog box. Opens the Quick Watch dialog box. If text is not selected in the source text display area, the Quick Watch dialog box is opened only. This button operates the same as [View] [Quick Watch]. Updates the contents of the window to the latest data. Closes this window. Caution If program code is described in an include file and if multiple files are included, the 1 to 1 relationship between line numbers and addresses disappears. In such include files, the function which uses the relationship between the line number and the address does not function normally. User's Manual U14891EJ1V0UM00 153 CHAPTER 6 WINDOW REFERENCE Source Search Dialog Box Modeless General This dialog box searches file contents. Opening method This dialog box can be opened in the following methods. * When the Source window is active Select [View] [Search...] from the menu bar. Press the GRPH + V , and S keys in that order. Press the shortcut keys CTRL + G . Click the button. Window Figure 6-33. Source Search Dialog Box (1) Search data specification area (2) Search condition specification area (4) Search file specification area (3) Search direction specification area Function The Source Search dialog box consists of the following areas. * Search data specification area * Search condition specification area * Search direction specification area * Search file specification area The function of each area is explained below. 154 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Search data specification area This area specifies the data to be searched. Although the character string selected in the window that has called this dialog box is displayed as the default assumption, the character string can be changed by keyboard input as necessary. By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. (2) Search condition specification area This area specifies whether the uppercase and lowercase characters of the searched data are distinguished by using the check box before search. distinguished. As the default, uppercase and lowercase characters are Does not distinguish Distinguishes (default) (3) Search direction specification area This area specifies the direction of search. Two directions, upward and downward, can be selected. * Up: * Down: Upward search. Searches the data from the current cursor position toward the beginning Searches the data from the current cursor position toward the end (upward on display). Downward search. (downward on display). (4) Search file specification area This is the area which specifies the search file. If the specification is omitted, a search is made within the accessed window. User's Manual U14891EJ1V0UM00 155 CHAPTER 6 WINDOW REFERENCE Function buttons Searches the specified data under given conditions. If a matching character string is found as a result of the search, it is displayed in reverse video. To continue searching data, click this button again. Sets the specified conditions as search conditions and closes the dialog box. Stops searching the data. The button changes to the button while data is being searched. Closes the Source Search dialog box. This button changes to the Opens the help window. Opens the Browse dialog box. button while data is being searched. 156 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Assemble Window MDI child window General This window displays a disassemble text. It can also execute on-line assemble. Opening method This window can be opened in the following methods. * In the main window Select [Browse] [Assemble...] from the menu bar. Press the GRPH + B , and A keys in that order. Select [Jump] [Assemble...] from the menu bar. Press the GRPH + J , and A keys in that order. Press the shortcut keys CTRL + D . * Click the button on the toolbar. Window Figure 6-34. Assemble Window (1) Point mark display area (2) Current PC mark display area (3) Address display area (4) Disassemble display area User's Manual U14891EJ1V0UM00 157 CHAPTER 6 WINDOW REFERENCE Function Performs disassemble display and on-line assembly. On-line assembly is performed by moving the cursor to the mnemonic. The on-line assembly results are also reflected in the Memory window. The disassemble window has two states, the active state and the static state. Only one disassemble window in the active state can be opened at a time, but multiple disassemble windows which are in the static state can be opened at the same time. These two states are described below. (1) Active state The first Assemble window that is opened is in the active state. The Assemble window's display is updated when it is in the active state so that the current PC line is displayed at all times in synch with the current PC value. Also, when in the active state, the Assemble window becomes the jump destination for the jump function and, if it is synchronized with the Trace View window the Trace View window. Note Valid only for CPU cores with the TRCU incorporated. (2) Static state An Assemble window in the static state is not synchronized with the current PC value and it displays a constant address. Also, an Assemble window in the static state cannot be made a jump destination, nor can it be synchronized with the Trace View window. If an Assemble window has already been opened in the active state, then all subsequent windows are opened in the static state. The Assemble window consists of the following areas. * Point mark display area * Current PC mark display area * Address display area * Disassemble display area The function of each area is explained below. Note , it updates the Assemble window's display in synch with 158 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Point mark display area This area sets or deletes breakpoints, and displays the setting status of each event. (a) Breakpoint setting/deleting function By clicking this area with the mouse, breakpoints can be set or deleted. The operation when clicking the mouse is as follows depending on the line where the mouse is clicked and the setting of On Mouse Click in the Extended Option dialog box. Function. If a breakpoint is set, the "B" mark is displayed in the point mark area. However, if there is a mark already displayed, the "A" mark is displayed. The "A" mark shows that multiple events are set. If a breakpoint is deleted, the "B" mark in the point mark area is deleted and the area is left blank or a mark other than the "B" mark is displayed. However, if another event still remains, the mark of that event is displayed. For details of the "B" mark, refer to Table 6-16 Breakpoint Display Color. If a breakpoint is set in the point mark area, it becomes valid at the time when it is set. (b) Event condition display function The set status of each event is displayed. If the execution event, or the fetch condition of an access event is set, a mark indicating the type of each event condition is displayed in the corresponding assemble line. For details, refer to Table 6-17 Meaning o Event Display Mark. If a range address is specified as an event's address condition, the lower order address of the range becomes the object. Also, the address condition's mask specification is not reflected. (2) Current PC mark display area For details, refer to Table 6-15 Breakpoint Setting/Deleting This area displays mark ">" indicating the value of the current PC (PC register value). The program is executed up to the specified line by double-clicking on the current PC mark area. User's Manual U14891EJ1V0UM00 159 CHAPTER 6 WINDOW REFERENCE (3) Address display area This area displays the disassemble start address. When this field is clicked, an address is displayed in reverse video and selected. In addition, this area has the following functions. (a) Drag-and-drop function A selected line number or address which is reverse highlighted can be dragged to another window or area and dropped. If the mouse cursor is positioned on the position of the selected line number or address in the line number/address display area and the left button is pressed and held down, then when the mouse is dragged, the arrow cursor form changes to a . If the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . Operation is performed with respect to the dropped address in the window where it is dropped. Operations after an address is dropped depend on the respective window or area where it is dropped. For details, refer to Table 6-19 Details of Drag and Drop Function (Line/Address). (b) Window link function This function is a function which shows the combination relationship between the Trace View window and the disassemble display by an address. The Trace View window and the address which is the link object is displayed in reverse highlight. This function is valid only for CPU cores with the TRCU incorporated. For details, refer to the window link function of the Trace View Window. 160 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (4) Disassemble display area The address label, code data and disassembled mnemonic are displayed in the disassemble display area. The disassemble display in the mnemonic column can be changed. If you are changing it, move the cursor to the mnemonic column to make the change. During editing, the INS key can be used to switch between the overwrite mode and the insert mode. After making the desired changes in the mnemonic column, if the cursor is moved to a different line, the contents of the change are checked. If the change contents are incorrect, the code data in the changed line becomes an "*". Even if it is moved to a different line, the change contents are not written to memory. You can change another line without the changes being written to memory. The changed contents in the mnemonic column are written to memory by pressing the Enter key. The change contents are also checked when the Enter key is pressed. If the change contents are incorrect, the code data in the incorrect line become an "*". If even one line is incorrect, the change contents are not written to memory. In such a case, please correct the change contents. If the change contents are being discarded, press the ESC key. If the change contents are not incorrect, if the Enter key is pressed, after the change contents are written to memory, the cursor moves to the next line's mnemonic column. In this way changes can continue to be made in the next line. If, as a result of the change, the number of bytes in the instructions after the change is fewer than the number of bytes in the instruction before the change, the remaining bytes are replaced by the "NOP" instruction. Also, if, as a result of the change, the number of bytes in the instructions after the change is greater than the number of bytes in the instruction before the change, the next instruction is overwritten. In this case also, the remaining bytes are replaced by the "NOP" instruction. Even in cases where the change runs into the source line, it is overwritten in the same way. As for the current PC line and the breakpoint setting line, the display color is changed and they are displayed in bold. For details, refer to Table 6-20 Current PC Line and Breakpoint Setting Line. The disassemble display area includes a number of functions such as program execution with the line where the cursor is located as the object, or setting of the breakpoint, etc. * Start function * Come function * Breakpoint setting function * Program counter setting function * Jump function Furthermore, in the following case, these functions cannot be executed. displayed in gray and it becomes impossible to select them. * If a user program is being executed. Each function is explained below. User's Manual U14891EJ1V0UM00 The corresponding menu is 161 CHAPTER 6 WINDOW REFERENCE (a) Start function Executes the user program from the line where the cursor is located. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line where execution is to start. <2> Perform one of the following operations in the main window. Select [Run] [Start From Here] from the menu bar. Press the GRPH + R , and A keys in that order. Press the shortcut keys SHIFT + f*6 . (b) Come function Executes the user program up to the line where a cursor is placed. While the user program is being executed in this mode, however, the break event currently set is not generated. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line where execution is to start. <2> Perform one of the following operations in the main window. Select [Run] [Come Here] from the menu bar. Press the GRPH + R , and M keys in that order. Press the shortcut key f*6 . (c) Breakpoint setting function Sets a breakpoint to the line where a cursor is placed. An execution event is used as the breakpoint to be set. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line to which a breakpoint is to be set. <2> Perform one of the following operations in the main window. Select [Run] [Break Point] or [Software Break Point] from the menu bar. Press the GRPH + R , and B keys or the GRPH + R , and F keys in that order. Press shortcut key f*9 or f*11 . (d) Program counter setting function Sets the address of the line where a cursor is placed to the PC (program counter). This function is executed by performing the following operations in order. <1> Move the cursor to the line where you desire to set the program counter (PC). <2> Perform one of the following operations in the main window. Select [Run] [Change PC] from the menu bar. Press the GRPH + R , and H keys in that order. Press shortcut keys CTRL + f*9 . 162 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (e) Jump function Jumps to the Source window or Memory window by using the address of the line where a cursor is placed as a jump pointer. The jump destination window displays the jump pointer at the beginning. This function is executed by performing the following operations in order. <1> Move the cursor to the line which is the jump origin. <2> Perform one of the following operations in the main window. * If the jump destination is the Source window Select [Jump] [SourceText] from the menu bar. Press the GRPH + J , and S keys in that order. Press shortcut keys CTRL + U . * If the jump destination is the Memory window Select [Jump] [Memory] from the menu bar. Press the GRPH + J , and E keys in that order. Press shortcut keys CTRL + M . The text displayed in the disassemble display area can be selected by the following method. * From the position where the desired text starts in the display, drag the mouse to the position within the range of 1 line where the desired text ends. The text from the starting position to the end position is the text that is selected. * Double-click on the character string. The words in the double-clicked position are selected. In the disassemble display area, a number of functions, such as watch and quick watch with the selected text as the object, can be performed. (f) Watch function This adds the selected data to the Watch window and displays its contents. Furthermore, if an assembler symbol is selected, it is added to the Watch window in accordance with the settings in the Debugger Option dialog box. This function is executed by performing the following operations in order. <1> Select the text. <2> Perform one of the following operations in the main window. Select [View] [View Watch] from the menu bar. Press the GRPH + V , and I keys in that order. Select [View] [Add Watch...] from the menu bar. Press the GRPH + V , and W keys in that order. button in the Assemble window. Click the If any of these operations is carried out, the Add Watch dialog box opens and adding is performed. If the Watch window is not currently open, the Watch window is opened. User's Manual U14891EJ1V0UM00 163 CHAPTER 6 WINDOW REFERENCE (g) Quick watch function This temporarily displays the contents of the selected data in the Quick Watch dialog box. This function is executed by performing the following operations in order. <1> Select the text. <2> Perform one of the following operations in the main window. Select [View] [Quick Watch...] from the menu bar. Press the GRPH + V , and Q keys in that order. Press the shortcut keys CTRL + W . Click the button in the Assemble window. The Quick Watch dialog box opens and its contents are displayed. (h) Balloon watch function This temporarily displays the contents of the selected data in the selected place. This function is executed by performing the following operations in order. <1> Select the text. <2> Position the mouse cursor on top of the selected text. A tool tip type frame is displayed and the contents are displayed. Example Display of contents (i) Drag-and-drop function Through a drag-and-drop operation, the selected text can be dragged to another window or area and dropped. The operation order is shown below. <1> Drag the selected text using the left button of the mouse. The mouse cursor's shape will change from an arrow to a . <2> If the mouse cursor is moved into a window or area where it is possible to drop it, the shape of the cursor changes form to . Operation after drag-and-drop differs depending on the window or area where the items were dropped. For details, refer to Table 6-21 Details of Drag and Drop Function (Character String). 164 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function buttons Opens the Assemble Search dialog box and searches the character string of a mnemonic. If text has been selected in the disassemble display area set the selected text as the search object and open the Assemble Search dialog box. If text has not been selected, the Assemble Search dialog box will open with the search object in the blank state. Specify the search method in the Assemble Search dialog box. The search results are selectively displayed in the Assemble window. Operation is the same as when [View ] [Search...] is selected on the menu bar. Searches for the contents which match with the search conditions set in the Assemble Search dialog box before the cursor position (toward the top of the display). During the search, it changes to a button. Searches for the contents which match with the search conditions set in the Assemble Search dialog box after the cursor position (toward the bottom of the display). button. During the search, it changes to a Interrupts the search. During a search, the button or the button changes to the button. Adds the symbol, etc. selected in the disassemble display area to the Watch window. If the Watch window has not been opened, it opens the Watch window. If text has not been selected in the disassemble display area, the Watch window opens only. Operation is the same as when [View] [View Watch] is selected on the menu bar. Temporarily displays the contents of symbols, etc. selected in the disassemble text display area in the Quick Watch dialog box. It opens the Quick Watch dialog box. If text has not been selected in the disassemble text display area, the Quick Watch dialog box opens only. Operation is the same as when [View] [Quick Watch] is selected on the menu bar. Updates the window contents to the latest data. Closes the Assemble window. User's Manual U14891EJ1V0UM00 165 CHAPTER 6 WINDOW REFERENCE Assemble Search Dialog Box Modeless General Searches the contents of the Assemble window. Opening Method This dialog box can be opened by one of the following methods when the Assemble window is the current window. * In the main window Select [View] [Search...] from the menu bar. Press the GRPH + V , and S keys in that order. Press the shortcut keys CTRL + G . * In the Assemble window Click the button. Window Figure 6-35. Assemble Search Dialog Box (1) Search data specification area (2) Search conditions specification area (4) Search range specification area (3) Search direction specification area Function This initiates a search for the disassemble contents. Continuous null characters in which are included input character strings and disassemble character strings are compared as a null character. The Assemble Search dialog box consists of the following areas. * Search data specification area * Search conditions specification area * Search direction specification area * Search range specification area The function of each area is explained below. 166 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Search data specification area This specifies the data that are to be searched for. In the default, the string selected in the accessed window is displayed, but as necessary, it can be changed by inputting from the keyboard. By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. (2) Search conditions specification area (a) When searching, specification is made by the check box whether or not any distinction will be made in the search data between uppercase and lowercase letters. In the default setting, the data is case sensitive. Not distinguished. Distinguished (default) (b) When searching, this check box specifies whether to search the whole range or not. In the default, only the remaining portion of the range is searched. Only the remaining portion of the range is searched (default). The whole range is searched. (3) Search direction specification area This specifies the search direction. There are two types of search, search up, and search down. Up: Down: This is a search before the current cursor position. Search is made up to the current cursor position (toward the top of the screen). This is a search after the current cursor position. Search is beyond the current cursor position (toward the bottom of the screen). User's Manual U14891EJ1V0UM00 167 CHAPTER 6 WINDOW REFERENCE (4) Search range specification area This is the area where the addresses being searched are specified. A symbol or expression can also be specified for the address specification. The specification method is the same as in the case of the Address Move dialog box. The default radix when inputting numerical values is hexadecimal. Function buttons Searches for the specified search data in accordance with the conditions. As the search results, the matching character string is displayed in reverse highlight. If you are searching continuously, press this button again. Sets the specified conditions as the search conditions and closes the dialog box. Interrupts the search for data. During the data search, the button changes to the button. Closes the Assemble Search dialog box. During a data search, it changes to the button. Opens the help window. 168 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Memory Window MDI child window General This window displays and changes the memory contents. Opening method This window can be opened in the following methods. * In the main window Select [Browse] [Memory] from the menu bar. Press the GRPH + B , and M keys in that order. Select [Jump] [Memory] from the menu bar. Press the GRPH + J , and E keys in that order. Click the button on the toolbar. Window Figure 6-36. Memory Window Without ASCII display With ASCII display (1) Address display area (2) Memory display area (3) ASCII display area User's Manual U14891EJ1V0UM00 169 CHAPTER 6 WINDOW REFERENCE Function The memory contents are displayed and changed. When the Memory window opens, the display start position is as follows. * First time Starts from the top address of the real-time RAM sampling area when the realtime RAM sampling function is valid. When the function is invalid, the display starts from the top address of the internal RAM area. * Second and subsequent times Starts from the place where the last active window closed. This applies to both active and static windows (if the active window has never been closed, the start position is the same as "first time" above). A vertical scroll bar is always displayed so that the memory contents can be scrolled. You can also use the button or the button to move the display one page up or one page down. Also, even while user program is executed, any 1 KB of internal RAM area (the display range is set in the Extended Option dialog box) can be displayed in real time. The Memory window has two states, the active state and the static state. There can be only one Memory window in the active state at a time, but multiple windows can be opened if they are in the static state. Each Memory window state is explained below. (1) Active state The Memory window in the active state is the jump destination of the jump function and the memory window's display is updated in synchronization with the Trace View window if it is synchronized with the Trace View window Note . The Memory window first opened is in the active state. Note Valid only for CPU cores with the TRCU incorporated. (2) Static state Memory window in the static state is not the jump destination and do not synchronize with the Trace View window. Except for those points, it operates in the same way as in the active state. If an active Memory window is already open, a Memory window is open in the static state. The Memory window consists of the following areas. * Address display area * Memory display area * ASCII display area The function of each area is explained below. 170 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Address display area This area displays memory addresses. (2) Memory display area This is where the memory contents are displayed and changed. The contents to be changed are displayed in red characters, then by pressing the Enter key, they are actually written to the target. The contents prior to the change (when in the red character state) can be erased using the ESC key. Up to 256 bytes of data can be changed at one time. This area also has the following two functions in addition to displaying the memory contents making changes. User's Manual U14891EJ1V0UM00 171 CHAPTER 6 WINDOW REFERENCE (a) Jump function Jumps to the Source window or Assemble window by using the address at the cursor position as a jump pointer. The jump destination window displays the jump pointer at the beginning. This function is executed by performing the following operations in the sequential order. <1> Move the cursor to the line which is the jump origin. <2> Perform one of the following operations in the main window. * If the jump destination is the Source window Select [Jump] [ SourceText] from the menu bar. Press the GRPH + J , and S keys in that order. Press shortcut keys CTRL + U . * If the jump destination is the Assemble window Select [Jump] [Assemble] from the menu bar. Press the GRPH + J , and A keys in that order. Press shortcut keys CTRL + D . (b) Window link function Displays the combination relationship between the Trace View window and the Memory window as memory contents. The relevant address is displayed in reverse highlight. This function is valid only for CPU cores with the TRCU incorporated. For details, refer to the window link function under the Trace View Window. (3) ASCII display area This area displays the memory contents in ASCII. The memory contents can be converted into ASCII characters for display. The conversion method is the same as the memory display area. The display can be turned on/off by selecting [View] [Ascii] on the menu bar (display is on as default assumption). This area is also a jump pointer for the jump function, just like the (2) Memory display area. 172 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function buttons Opens the Memory Search dialog box and searches for a character string in the displayed memory contents or memory contents. At this time, the selected data (memory value) is displayed in the Memory Search dialog box as the subject to search. If the dialog box is opened without data specified, specify data by key input. The result of the search is displayed in reverse video in the Memory window. Searches for the memory contents which match the search conditions set in the Memory Search dialog box in the backward direction from the cursor position (toward the top of the display). It changes to a button during a search. Searches for the memory contents which match the search conditions set in the Memory Search dialog box in the forward direction from the cursor position (toward the bottom of the display). It changes to a button during a search. Interrupts a search. During a search, the button or the button changes to a button. Updates the window's contents with the latest data. Closes this window. User's Manual U14891EJ1V0UM00 173 CHAPTER 6 WINDOW REFERENCE Memory Search Dialog Box Modeless General This window searches the memory contents. Opening method This window can be opened in the following methods. * Set the Memory window as the current window and in the main window; Select [View] [Search...] from the menu bar. Press the GRPH + V , and S keys in that order. Press the shortcut keys CTRL + G . * In the Memory window button. Click the Window Figure 6-37. Memory Search Dialog Box (2) Search condition specification area (1) Search data specification area (4) Search range specification area (3) Search direction specification area 174 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function This searches the contents of memory for the Memory window where the cursor is positioned. If the cursor is in the memory display area, the specified data is regarded as a binary data string and the memory display area is searched. If the cursor is in the ASCII display area, the specified data is regarded as an ASCII character string and the ASCII display area is searched. Unmapped areas, peripheral I/O register areas and I/O protected areas are not searched. The Memory Search dialog box consists of the following areas. * Search data specification area * Search condition specification area * Search direction specification area * Search range specification area The function of each area is explained below. (1) Search data specification area This area specifies the data to be searched. Although the character string selected in the window that has called this dialog box is displayed as the default assumption, the character string can be changed by keyboard input as necessary (input cannot be done using a symbol or expression.) When searching the memory display area, a maximum of 16 items of data can be specified at one time. Specify each item of data using a space as a delimiter. When searching the ASCII display area, a maximum of 256 characters of data can be specified. Spaces in the data are treated as null characters. By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. (2) Search condition specification area (a) This area specifies what bits of data each specified search data is to be regarded as by using the check box before search. As the default, the data is searched as 8-bit data. Search as 8-bit data (default) Search as 16-bit data Search as 32-bit data User's Manual U14891EJ1V0UM00 175 CHAPTER 6 WINDOW REFERENCE (b) This is a check box which specifies whether to search the whole specified region or not when conducting search. With the default, only the portion remaining in the range is searched. Searches the remaining portion of the range (default). Searches the whole range. (3) Search direction specification area This area specifies the direction of search. Two directions, upward and downward, can be selected. * Up: * Down: Upward search. Searches the data from the current cursor position toward the beginning Searches the data from the current cursor position toward the end (upward on display). Downward search. (downward on display). (4) Search range specification area This is the area where the addresses being searched are specified. A symbol or expression can also be specified for the address specification. The specification method is the same as in the case of the Address Move dialog box. The default radix when inputting numerical values is hexadecimal. Function buttons Searches for the specified search data in accordance with the conditions. As the search results, the matching character string is displayed in reverse highlight. If you are searching continuously, press this button again. Sets the specified conditions as the search conditions and closes the dialog box. Interrupts the search for data. During the data search, the Closes the Memory Search dialog box. During a data search, it changes to the Opens the help window. button. button changes to the button. 176 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Memory Fill Dialog Box Modal General This dialog box initializes the memory contents with a specified code. Opening method This dialog box can be opened in the following methods. * In the main window Select [Edit] [Memory] [Fill...] from the menu bar. Press the GRPH + E , M , and F keys in that order. Window Figure 6-38. Memory Fill Dialog Box (1) Address range specification area (2) Data specification area Function The Memory Fill dialog box consists of the following areas. * Address range specification area * Data specification area The function of each area is explained below. User's Manual U14891EJ1V0UM00 177 CHAPTER 6 WINDOW REFERENCE (1) Address range specification area This area specifies the address range of the memory contents to be initialized. A symbol or expression can also be specified for the address specification. The default radix when inputting numerical values is hexadecimal. Specify the first address for initialization and then the end address, in that order. (2) Data specification area This area specifies the data to be initialized. Binary data strings (byte data strings) with up to 16 items of data can be specified. Specify each item of data using a space as a delimiter. The default radix is hexadecimal and the radix can be specified for each item of data. Function buttons Initializes the memory contents. Closes this dialog box. This button changes to the Stops initializing the memory. The button changes to the button during memory initialization. button during memory initialization. Returns the input data to the original value. Opens the help window. 178 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Memory Copy Dialog Box Modal General This dialog box copies the memory contents. Opening method This dialog box can be opened in the following methods. * In the main window Select [Edit] [Memory] [Copy...] from the menu bar. Press the GRPH + E , M , and C keys in that order. Window Figure 6-39. Memory Copy Dialog Box (1) Address range specification area Function The Memory Copy dialog box consists of the following area. * Address range specification area The function of this area is explained below. (1) Address range specification area User's Manual U14891EJ1V0UM00 179 CHAPTER 6 WINDOW REFERENCE This area specifies the copy source addresses and copy destination address. A symbol or expression can also be specified for the address specification. The default radix when inputting numerical values is hexadecimal. From: Specifies the address range of the copy source. Specify the copy source start address and copy source end address, in that order. To: Specifies the start address of the copy destination. Function buttons Copies the memory contents. Closes this dialog box. This button changes to the Stops copying the memory data. The button changes to the button while copying the memory. button while copying the memory. Returns the input data to the original value. Opens the help window. 180 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Memory Compare Dialog Box Modal General This dialog box compares the memory contents. Opening method This dialog box can be opened in the following methods. * In the main window Select [Edit] [Memory] [Compare...] from the menu bar. Press the GRPH + E , M , and P keys in that order. Window Figure 6-40. Memory Compare Dialog Box (1) Compare range specification area Function The Memory Compare dialog box consists of the following area. * Compare range specification area The function of this area is explained below. (1) Compare range specification area User's Manual U14891EJ1V0UM00 181 CHAPTER 6 WINDOW REFERENCE This area specifies the compare source addresses and compare destination addresses. A symbol or expression can also be specified for the address specification. The default radix when inputting numerical values is hexadecimal. Mem1: Mem2: Specifies the address range of the compare source. Specify the compare source start address and compare source end address, in that order. Specifies the start address of the compare destination. Function buttons Compares the memory contents. If no difference is found as a result of comparison, a confirmation dialog box is displayed. If a difference is found, a Memory Compare Result dialog box is opened. If no difference is found as a result of comparison, the confirmation dialog box is displayed. button in this confirmation dialog box, the Memory Compare dialog box By clicking the is closed. Closes this dialog box. It changes to button during comparison. Stops comparing the memory contents. The button changes to the button while comparing the memory contents. Returns the input data to the original value. Opens the help window. 182 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Memory Compare Result Dialog Box Modeless General This dialog box displays the result of comparing memory contents. This dialog box is opened if a discrepancy is found as a result of comparing the memory contents in the Memory Compare Dialog box. If no discrepancy is found, this dialog box cannot be opened, but a confirmation dialog box is opened. Window Figure 6-41. Memory Compare Result Dialog Box (1) Compare result display area Function The Memory Compare Result dialog box consists of the following area. * Compare result display area The function of this area is explained below. User's Manual U14891EJ1V0UM00 183 CHAPTER 6 WINDOW REFERENCE (1) Compare result display area This area displays the result of comparing memory contents. Only this displays if a discrepancy is found as a result of comparing. Mem1 Addr: Memory: Displays the compare source address at which a discrepancy is found as a result of comparing. Displays the data which that a discrepancy is found as a result of comparing. displayed on the right. Mem2 Addr: Displays the compare destination address at which a discrepancy is found as a result of comparing. The compare source data is displayed on the left, and the compare destination data is Function buttons Closes this dialog box. Opens the help window. 184 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE DMM Dialog Box Modeless General This dialog box sets the address and data with which to perform DMM (Dynamic Memory Modification). The contents of the memory can be overwritten in real time during user program execution. Opening method This dialog box can be opened by either of the following methods. During user program execution * In the main window Select [Edit] [Memory] [DMM...] from the menu bar. Press the GRPH + E , M , and M keys in that order. Window Figure 6-42. DMM Dialog Box (1) Address setting area (2) Data setting area (3) Data size setting area Function This dialog box overwrites the contents of the memory in real time during user program execution. Note, however, that because this function is realized by software emulation, the user program execution is temporarily stopped and then reexecuted. The DMM dialog box consists of the following areas. * Address setting area * Data setting area * Data size setting area The function of each area is explained below. User's Manual U14891EJ1V0UM00 185 CHAPTER 6 WINDOW REFERENCE (1) Address setting area This area specifies the address to which data is written. It is possible to specify an address by a symbol or by expression. The specification method is the same as in the Address Move dialog box. The default radix when inputting numerical values is hexadecimal. (2) Data setting area This area specifies data to be written to the memory address specified in the address setting area. Only one string of binary data can be specified at the same time. The data size is specified in the data size setting area. The default radix is hexadecimal. (3) Data size setting area This area specifies the size of the data to be written. Byte: Half Word: Word: Writes the data specified in the data setting area as 8-bit data. Writes the data specified in the data setting area as 16-bit data. Writes the data specified in the data setting area as 32-bit data. Function buttons Writes the data. Closes the DMM dialog box. Returns the input data to its original value. Opens the help window. 186 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Cautions Be aware of the following points when using the DMM function. * The DMM (Dynamic Memory Modification) function is performed after stopping the user program execution temporarily. * When data is written to the address where a software break is set, the program may not operate correctly. * When another break trigger is generated immediately before writing and the program is stopped, that generated break trigger becomes invalid because the program execution restarts regardless of the break trigger. * The Verification check is always invalid. * It is impossible to write data to the area mapped to the ROM emulation memory. User's Manual U14891EJ1V0UM00 187 CHAPTER 6 WINDOW REFERENCE Watch Window MDI child window General This window displays the specified data and changes it. Opening method This window can be opened by either of the following methods. * In the main window Select [Browse] [Watch] from the menu bar. Press the GRPH + B , and W keys in that order. Click the button on the toolbar. * In the Source window After selecting data, select [View] [View Watch] from the menu bar. Press the GRPH + V , and I keys in that order. button. Click * In the Assemble window After selecting data, select [View] [View Watch] from the menu bar. Press the GRPH + V , and I keys in that order. Click button. * In the Quick Watch dialog box button. Click * In the Add Watch dialog box Click button. 188 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Window Figure 6-43. Watch Window 1 (1) Symbol name display area 2 (2) Data value display/setting area Function Displays and changes data. Adding of the data display is done by selecting a variable name or symbol name in the Source window or the button. Adding is also done by dragging and dropping the selected part Assemble window and clicking directly to the Watch window with the mouse. Adding can also be done by specifying a variable name or symbol name in the Quick Watch dialog box or the Add Watch dialog box and clicking . To delete a data display, click a variable name or symbol name (it is also possible to select multiple items using the button. Alternatively, make a SHIFT key and the CTRL key), then after reverse highlighting it, click selection using the arrow keys, then after reverse highlighting your selection delete it by pressing the DEL key. Data value update results and rewrites are reflected in the Memory window. Also, wide area data (such as global variables or public symbols) allocated to real-time RAM monitor area be displayed in real-time even while user program is executed, just as in the Memory window. The boundary line between the symbol name display area and data value display/setting area can be moved to the left or right using the mouse. To move the boundary, drag the mouse cursor at the point when it changes from " Note Sets in the Extended Option dialog box. The Watch window consists of the following areas. * Symbol name display area * Data value display/setting area User's Manual U14891EJ1V0UM00 Note can " to "". 189 CHAPTER 6 WINDOW REFERENCE Each function is explained below. (1) Symbol name display area This area displays variable names, symbol names, and the tag names of their type or structure/union. Whether the latter is displayed or not can be selected in the Debugger Option dialog box. The default is no display. If the variable name is prefixed with "&" when registered in the Add Watch dialog box, the address to which that variable is allocated can be displayed. A "+" is displayed in front of arrays, pointer type variables, and structures/unions. expanded and displayed as shown below by double-clicking them; * For an array, all the elements of the variable are displayed in accordance with the type of array variable. * For pointer type variables, the data indicated by the pointer is displayed. * For structures/unions, all the members of the structure/union are displayed in accordance with the type of member variable. However, if a structure/union is defined within a structure/union, the members up to the tag name or variable name in the internal structure/union are displayed. For variables which have been expanded and displayed, the "+" display is changed to a "-" display. If they are double-clicked in this state, the expansion display is deleted. Note that variables with a "+" that are displayed inside a structure/union are expanded and displayed in the same way by double-clicking them. To expand and display, or to delete an expansion display, select the variable with the arrow keys, then press the Enter key. Data which has become invalid due to the changing of the scope or optimization compilation are displayed in gray. Data other than global data (global variables, public symbols, etc.) allocated within the real-time RAM monitor range is displayed in gray. These variables are 190 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (2) Data value display/setting area This area is where data values are displayed and changed. When the variable is a structure/union or an "&" is appended, the address is displayed. When the variable is an enumeration type, the member name is displayed. When the variable is a floating point, it is displayed as follows. [+|-] inf [+|-] nan [+|-] integer portion e [+|-] exponent [+|-] integer portion. Decimal portion [e [+|-] exponent] The radix and size of data values can be selected on an individual variable basis using the View menu. Note, however, that if the size in which C variables, assembler bit symbols, and registers (etc.) are displayed is fixed, the display size cannot be selected. If [View] [Adaptive], [View] [Proper] has been selected, data is displayed using the radix and size specified in the Debugger Option dialog box. Size Byte Halfword Word Radix (xxxx are numerals) Hex Dec Oct Bin String Hexadecimal (0xxxxx) Decimal (xxxx) Octal (0xxxx) Binary (0bxxxx) Character string Displayed in 8 bits (default) Displayed in 16 bits Displayed in 32 bits User's Manual U14891EJ1V0UM00 191 CHAPTER 6 WINDOW REFERENCE Values are updated when execution is stopped. If you desire to save values, select [File] [Save As...] in the main window, then save the displayed file. Also, if the acquisition of data values has failed, this area will be blank. A question mark "?" is displayed for data which has been invalid due to the changing of the scope or optimized compilation. In addition, a "?" is displayed for data except wide area data (such as global variables or public symbols) allocated to real-time RAM monitor area. The contents of changes are written to the target by pressing the Enter key. The contents prior to the change can be erased using the ESC key. Function buttons Opens the Add Watch dialog box. In the Add Watch dialog box, if the data is specified and the specified data is added to the Watch window. Deletes the specified data from the watch window. The DEL key also performs this operation. Moves the selected data one line up. button is clicked, Moves the selected data one line down. Updates the contents of the window with the latest data. Closes the Watch window. 192 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Quick Watch Dialog Box Modal General This is where the specified data is temporarily displayed and changed. Opening method This dialog box can be opened by any of the following methods. * In the main window Select [View] [Quick Watch...] from the menu bar. Press the GRPH + V , and Q keys in that order. * In the Source window button in the Source window. Click the Press the shortcut keys CTRL + W . * In the Assemble window button in the Assemble window. Click the Press the shortcut keys CTRL + W . Window Figure 6-44. Quick Watch Dialog Box (4) Display radix select area (5) Display size select area (1) Symbol specification area (6) Number of display items specification area (3) Data value display/setting area (2) Symbol name display area User's Manual U14891EJ1V0UM00 193 CHAPTER 6 WINDOW REFERENCE Functions In this dialog box the specified data is temporarily displayed and changed. The boundary between the symbol name display area and the data value display/setting area can be moved to the left or right using the mouse. To move the boundary, drag the mouse cursor at the point when it changes form " "". The Quick Watch dialog box consists of the following areas. * Symbol specification area * Symbol name display area * Data value display/setting area * Display radix select area * Display size select area * Number of display items specification area Each function is explained below. (1) Symbol specification area " to This is where the data to be displayed is specified. In the default setting, the string selected in the accessed window is displayed, but as necessary, it is also possible to change it by inputs from the keyboard. However, if the selected string does not exist, this area becomes blank. By clicking the button and displaying the input history, the contents input previously can be reused. Up to button causes 16 items of input history can be retained. When the contents of the symbol specification area have been changed, clicking value display/setting area. the data specified in the symbol specification area to be displayed in the symbol name display area and data 194 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (2) Symbol name display area In this area the variable names or symbol names are displayed. However, data which has becomes invalid due to the changes of the scope or optimization compilation are not displayed. (3) Data value display/setting area In this area the data values are displayed. The display contents and the way to change the contents are the same as in the Watch window. User's Manual U14891EJ1V0UM00 195 CHAPTER 6 WINDOW REFERENCE (4) Display radix select area The radix to be displayed is selected from the drop-down list. The radix of the data name selected in the symbol name display area is changed. Proper: Hex: Dec: Oct: Bin: String: In the case of a variable, the value specified for each variable is displayed. In the case of a symbol, it is displayed in the radix set in the Debugger Option dialog box. Displayed in hexadecimal (0xXXXX). Displayed in decimal (XXX). Displayed in octal (0XXX). Displayed in binary (0bXXX). Displayed as a character string. (5) Display size select area The size to be displayed is selected from the drop-down list. The size of the data selected in the symbol name display area is changed. Adaptive: Byte: Half Word: Word: In the case of a variable, the value specified for each variable is displayed. In the case of a symbol, the size set in the Debugger Option dialog box is displayed. Displayed in 8 bits. Displayed in 16 bits. Displayed in 32 bits. If the display size of variables, or assembler bit, symbols or registers, etc. in the C language is fixed, the display size cannot be selected. (6) Number of display items specification area In this area the number of data to be displayed is specified. Specify blank or a number 1 to 256. The default is blank. If blank, the data is displayed as a simple variable. If a number 1 or greater is specified, it is displayed as an array variable. In this case, a "+" is displayed in front of the data. By double-clicking these data, all the elements of the data are expanded and displayed in accordance with the data type. "+" of the expanded and displayed data changes to "-". Double-clicking in this state cancels the expanded display. If the display number of variables, assembler bit symbol, or registers, etc. in the C language is fixed, the display number cannot be specified. 196 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function buttons Displays the data specified in the symbol specification area in the symbol name display area and the data value display/setting area. Adds the data specified in the symbol specification area to the Watch window. Closes this dialog box. Change contents that have not actually been written to the target are erased. User's Manual U14891EJ1V0UM00 197 CHAPTER 6 WINDOW REFERENCE Add Watch Dialog Box Modal General This is where data to be displayed in the Watch window is registered. Opening method This dialog box can be opened by either of the following methods. * In the main window Select [View] [Add Watch...] from the menu bar. Press the GRPH + V , and W keys in that order. * In the Watch window Click the button in the Watch window. Window Figure 6-45. Add Watch Dialog Box (2) Display radix select area (1) Symbol specification area (3) Display size select area (4) Number of display items specification area Functions The Add Watch dialog box consists of the following areas. * Symbol specification area * Display radix select area * Display size select area * Number of display items specification area The function of each area is explained below. 198 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Symbol specification area Specify the data to be viewed in the Watch window. In the default setting, the string selected in the accessed window is displayed, but as necessary, it is also possible to change it by inputs from the keyboard. However, if the selected string does not exist, this area becomes blank. By clicking the button and displaying the input history, the contents input previously can be reused. Up to 16 items of input history can be retained. The expressions that can be used for inputting data are as shown below. * C language variable name (Variable expression: Variable name) Variable expression [decimal constant values]: Variable expression. *Variable expression: & variable: * Register name * IOR name, IOR bit name * Label and immediate address * Register name.bit * Label name.bit.bit, immediate address.bit * Bit symbol (2) Display radix select area Member name: Variable expression Member name: Array elements Structure/union actual member Member of structure/union that indicates a pointer Value of pointer variable Address which a variable was arranged This area is where the display radix is selected. The display radix can be selected from among the following (XXX is a number). Proper: Hex: Dec: Oct: Bin: String: In the case of a variable, the value specified for each variable is displayed. In the case of a symbol, it is displayed in the radix set in the Debugger Option dialog box. Displayed in hexadecimal (0xXXX). Displayed in decimal (XXX). Displayed in octal (0XXX). Displayed in binary (0bXXX). Displayed as a character string. User's Manual U14891EJ1V0UM00 199 CHAPTER 6 WINDOW REFERENCE (3) Display size select area This area is where the display size is selected. The display size can be selected from among the following. Adaptive: Byte: Word: In the case of a variable, the value specified for each variable is displayed. In the case of a symbol, the size set in the Debugger Option dialog box is displayed. Displayed in 8 bits. Displayed in 32 bits. Half Word: Displayed in 16 bits. If the display size of variables, or assembler bit symbols or registers, etc. in the C language is fixed, the specified size is displayed in the Watch window regardless of the specified display size. (4) Number of display items specification area In this area the number of data to be displayed is specified. Specify blank or a number 1 or greater (1 to 256). The default is blank. If blank, the data is displayed as a simple variable. If a number 1 or greater is specified, it is displayed as an array variable. In this case, a "+" is displayed in front of the data. By double-clicking these data, all the elements of the data are expanded and displayed in accordance with the data type. "+" of the expanded and displayed data changes to "-". Double-clicking in this state releases the expanded display. If the display number of various assembler bit symbol, or registers, etc. in the C language is fixed, the display number cannot be specified. Function buttons Adds the specified data to the Watch window. Does not close the Add Watch dialog box. After adding the specified data to the Watch window, it closes the Add Watch dialog box. Returns the input data to its source. Closes the Add Watch dialog box. Opens the help window. 200 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Register Window MDI child window General This window displays and changes the contents of the registers (program registers and system registers). Opening method This window can be opened in the following methods. * In the main window Select [Browse] [Register] from the menu bar. Press the GRPH + B , and R keys in that order. Click the button on the toolbar. Window Figure 6-46. Register Window (1) Program register display area (2) System register display area Function This window displays and changes the contents of registers (program registers and system registers). The register to be displayed can be selected in the Register Select dialog box. User's Manual U14891EJ1V0UM00 201 CHAPTER 6 WINDOW REFERENCE The Register window consists of the following areas. * Program register display area * System register display area The boundary line between the program register display area and system register display area can be moved up or down using the mouse. To move the boundary, drag the mouse cursor at the point when it changes from " The function of each area is explained below. (1) Program register display area " to "". This area displays or changes the contents of the program registers. The contents can be written to the target memory by pressing the Enter key. The contents prior to the change can be erased using the ESC key. In addition, this area has a jump function that jumps to the Source window, Assemble window, or Memory window by using a selected program register value as a jump pointer. The jump destination window displays the jump pointer at the beginning. This function is executed by performing the following operations in the sequential order. <1> Select the displayed register value. <2> Perform either of the following operations in the main window. * If the jump destination window is the Source window. Select [Jump] [Source] from the menu bar. Press GRPH + J , and S keys in that order. Press the shortcut keys CTRL + U . * If the jump destination window is the Assemble window. Select [Jump] [Assemble] from the menu bar. Press GRPH + J , and A keys in that order. Press the shortcut keys CTRL + D . * If the jump destination window is the Memory window. Select [Jump] [Memory] from the menu bar. Press GRPH + J , and E keys in that order. Press the shortcut keys CTRL + M . 202 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (2) System register display area This area displays or changes the contents of the system registers. The contents can be written to the target memory by pressing the Enter key. The contents prior to the change can be erased using the ESC key. The flag names and flag values of the register to which "+" is prefixed are displayed by double-clicking the register name. "+" then changes to "-". Switching can also be done by selecting a register name using the arrow keys then pressing the Enter key. In addition, this area has a jump function as a jump pointer. Operation of the jump function is the same as in the case of the program register. Function buttons Updates the contents of the window to the latest data. Closes this window. User's Manual U14891EJ1V0UM00 203 CHAPTER 6 WINDOW REFERENCE Register Select Dialog Box Modal General This dialog box selects the registers that are not displayed in the Register Window. Opening method This dialog box can be opened in the following methods when the current window is the Register Window. * In the main window Select [View] [Select...] from the menu bar. Press the GRPH + V , and E keys in that order. Window Figure 6-47. Register Select Dialog Box (1) Display register select area Function The Register Select dialog box consists of the following area. * Display register select area The function of this area is explained below. 204 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Display register select area Select the registers that are to be displayed on the Register Window, and the registers that are not to be displayed. The registers displayed in the Register Window are shown on the [Display:] list, and the registers not displayed are shown on the [No Display:] list. The registers displayed or not displayed in the Register Window can be changed by selecting a register name from these lists and by clicking the Hide >> button. If all the registers are to be displayed, click the << Show All are to be hide, click the Hide All >> button. The function of each button is explained below. << Show Moves the register selected in the [No Display:] area to the cursor position in the [Display:] list area. Hide >> << Show All Hide All >> Moves the register selected in the [Display:] list area to the [No Display:] area. Moves all the registers to the cursor position in the [Display:] list area. Moves all the registers to [No Display:] area. << Show or button. If all the registers Two or more peripheral I/O registers and I/O ports can be selected by clicking the mouse while pressing the CTRL or SHIFT key when selecting a register from the [Display:] list or [No Display:] list. Function buttons Reflects the result of selection and specification of display order in the Register window and closes the Register Select dialog box. Cancels the change and restores the original setting and closes this dialog box. Cancels the change and restores the original setting. Opens the help window. User's Manual U14891EJ1V0UM00 205 CHAPTER 6 WINDOW REFERENCE IOR Window MDI child window General This window displays and changes the contents of the peripheral I/O registers. Also, the entered I/O port registered in the Add I/O Port dialog box can be viewed and changed. Opening method This window can be opened in the following methods. * In the main window Select [Browse] [I/O Register] from the menu bar. Press the GRPH + B , and G keys in that order. Click the button on the toolbar. Window Figure 6-48. IOR Window (1) Peripheral I/O register name display area (2) Attribute display area (3) Peripheral I/O register contents display area Function This window displays or changes the contents of peripheral I/O registers or I/O ports registered in the Add I/O Port dialog box. The IOR window consists of the following areas. * Peripheral I/O register name display area * Attribute display area * Peripheral I/O register contents display area The function of each area is explained below. 206 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Peripheral I/O register name display area This area displays the names of the peripheral I/O registers and I/O port name. For types corresponding to programmable I/O register for which programmable I/O area is set in the Configuration dialog box, programmable I/O register is also displayed. The bit name and bit values of the peripheral I/O register to which "+" is prefixed are displayed by doubleclicking the peripheral I/O "+" then changes to "-" register name. Switching can also be done by selecting a peripheral I/O name using the arrow keys then pressing the Enter. key. If the I/O port address is an undefined value, the I/O port name is displayed in gray. (2) Attribute display area This area displays read/write attributes, access types, and absolute addresses of each peripheral I/O register and I/O port. Selection of whether to display the attribute display area can be made by selecting [View] [Attribute] from the menu bar. The following read/write attributes are displayed. R(*): W(*): R/W(*): Read-only peripheral I/O register or I/O port Write-only peripheral I/O register or I/O port Read/write peripheral I/O register or I/O port Peripheral I/O registers with an asterisk (*) affixed to their attribute indicate registers that read the data copy via the emulation register when reading. To read data directly from these registers, select [View] [Compulsion Read] from the menu bar. This function is not supported in all devices. The following access types are displayed. 1: 8: 16: 32: Peripheral I/O register that can be accessed in bit units Peripheral I/O register or I/O port that can be accessed in byte units Peripheral I/O register or I/O port that can be accessed in half word units Peripheral I/O register or I/O port that can be accessed in word units User's Manual U14891EJ1V0UM00 207 CHAPTER 6 WINDOW REFERENCE (3) Peripheral I/O register contents display area This area displays and changes the contents of the peripheral I/O registers or I/O ports. The contents are displayed as follows, depending on the attributes of the registers or I/O ports. * Read-only peripheral I/O register or I/O port: * Write-only peripheral I/O register or I/O port: * Read/write peripheral I/O register or I/O port: * Peripheral I/O register or I/O port whose value changes when read: "**" is displayed Displayed in black "--" is displayed Displayed in black The contents can be written to the target by pressing the Enter key. The contents prior to the changes can be erased using the ESC key. The value of a read-protected peripheral I/O register can be read by executing [View] [Compulsion Read] on the menu bar. Function buttons Updates the contents of the window to the latest data. Closes this window. 208 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE IOR Select Dialog Box Modal General This dialog box is used to select a peripheral I/O register or I/O port that is not being displayed in the IOR window. The display order is also set here. Opening method This window can be opened in the following methods when the current window is the IOR window. * In the main window Select [View] [Select...] from the menu bar. Press the GRPH + V , and E keys in that order. Figure 6-49. IOR Select Dialog Box (1) Display peripheral I/O register select area (2) Display order specification buttons (3) No display list sort buttons Functions The IOR Select dialog box consists of the following areas. * Display peripheral I/O register select area * Display order specification buttons * No display list sort buttons The function of each area is explained below. User's Manual U14891EJ1V0UM00 209 CHAPTER 6 WINDOW REFERENCE (1) Display peripheral I/O register select area Select the peripheral I/O registers and I/O ports that are to be displayed on the IOR Window, and the peripheral I/O registers and I/O ports that are not to be displayed. The peripheral I/O registers and I/O ports displayed in the IOR Window are shown on the [Display:] list, and the peripheral I/O registers and I/O ports not displayed are shown on the [No Display:] list. The peripheral I/O registers and I/O ports displayed or not displayed in the IOR Window can be changed by selecting a peripheral I/O register name or I/O port name from these lists and by clicking the << Show or Hide >> button. If all the registers and I/O ports are to be displayed, click the << Show All button. If all the registers and I/O ports are to be hide, click the Hide All >> button. The function of each button is explained below. << Show Moves the peripheral I/O registers and I/O ports selected in the [No Display:] area to the cursor position in the [Display:] list area. Hide >> Moves the peripheral I/O registers and I/O ports selected in the [Display:] list area to the [No Display:] area. << Show All Moves all the peripheral I/O registers and I/O ports to the cursor position in the [Display:] list area. Hide All >> Moves all the peripheral I/O registers and I/O ports to [No Display:] area. Two or more peripheral I/O registers and I/O ports can be selected by clicking the mouse while holding down the CTRL key or Shift key when selecting a peripheral I/O register or I/O port from the [Display:] list or [No Display:] list. 210 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (2) Display order specification buttons These set the order in which the [Display:] list is displayed. The peripheral I/O register or I/O port selected in the [Display:] list moves to the top line of the list when line of the list when clicked and one line down when button is clicked and moves to the bottom button is button is clicked. It also moves one line up when button is clicked. The functions of each button are as shown below. Moves the peripheral I/O register or I/O port selected in the [Display:] list to the top line of the list. Moves the peripheral I/O register or I/O port selected in the [Display:] list one line up. Moves the peripheral I/O register or I/O port selected in the [Display:] list one line down. Moves the peripheral I/O register or I/O port selected in the [Display:] list to the bottom line of the list. (3) No display list sort buttons Select the order in which the a [No Display:] list is displayed. When are displayed in alphabetical order, and when address order. The functions of each button are as shown below. button is clicked, the items button is clicked, the items are displayed in Displays the [No Display:] list in alphabetical order. Displays the [No Display:] list in address order. User's Manual U14891EJ1V0UM00 211 CHAPTER 6 WINDOW REFERENCE Function buttons After the selection results and the specified display order are reflected in the IOR window, clicking this button closes the IOR Select dialog box. Cancels the change and closes this dialog box. Cancels the change and restores the original states. Opens the help window. 212 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Add I/O Port Dialog Box Modal General This is where an I/O port to be added to the IOR window is registered. Opening method This dialog box can be opened in either of the following methods. * In the main window Select [Option] [Add I/O Port] from the menu bar. Press GRPH + O , and P keys in that order. Window Figure 6-50. Add I/O Port Dialog Box (1) I/O port select area (2) I/O port name specification area (3) I/O port address specification area (4) Access size specification area (5) Access attributes specification area Functions The Add I/O Port dialog box consists of the following areas. * I/O port select area * I/O port name specification area * I/O port address specification area * Access size specification area * Access attributes specification area The functions of each area are explained below. User's Manual U14891EJ1V0UM00 213 CHAPTER 6 WINDOW REFERENCE (1) I/O port select area This area is where a list of the currently entered I/O ports is displayed. If you enter a new I/O port, it is added to this list. You can also select an I/O port that has already been entered and change or delete it. (2) I/O port name specification area This is where the name of the I/O port to be added is specified. An I/O port name with up to 15 characters can be specified. (3) I/O port address specification area This is where the I/O port address to be added is specified. Addresses which can be specified are those in the Target area or IOR area. Address specification can be done by specifying a symbol or expression. The specification method is the same as in the case of the Address Move dialog box. The default radix when inputting numerical values is hexadecimal. (4) Access size specification area This is where the access size of the added I/O port is specified. 8 bits (default) 16 bits 32 bits 214 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (5) Access attributes specification area This is where the access attributes of the added I/O port are specified. Sets exclusive read only. Sets exclusive write only. Sets read protect. In the default (all unchecked state), read and write are both enabled. Function buttons After reflecting the add results in the IOR window, this button closes the Add I/O Port dialog box. Cancels the change and closes this dialog box. Cancels the change and restores the original states. Opens the help window. Adds the I/O port with the specified address. Changes the settings for the selected I/O port. Deletes the selected I/O port. User's Manual U14891EJ1V0UM00 215 CHAPTER 6 WINDOW REFERENCE Local Variable Window MDI child window General This window displays or changes the local variable in the current function. Opening method This window can be opened in the following methods. * In the main window Select [Browse] [Local Variable] from the menu bar. Press the GRPH + B , and L keys in that order. Click the button on the toolbar. Window Figure 6-51. Local Variable Window (1) Local variable name display area (2) Local variable value display/setting area Function This window displays or changes the local variable. This window automatically displays the local variable in the current function. Variables cannot be add or deleted. The boundary line between the local variable name display area and local variable value display/setting area can be moved to the left or right by the mouse. The boundary can be moved by dragging when the mouse cursor changes from " " to "U". 216 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE The Local Variable window consists of the following areas. * Local variable name display area * Local variable value display/setting area Each function is explained below. (1) Local variable name display area This area displays local variable names. The type and variable name are shown. These are displayed in the same way as in the Watch window. Also, it is possible to have an expansion display like in the Watch window. However, variable names that have become invalid due to optimization compilation, etc., are not displayed. The auto variable, internal static variable and the register variable can be displayed. (2) Local variable value display/setting area This area displays/changes local variable values. The variable value is displayed in the same way as in the Watch window. Change contents are written to the target by pressing the Enter key. The contents prior to the change can be erased using the ESC key. Function buttons Updates the contents of the window to the latest data. Closes this window. User's Manual U14891EJ1V0UM00 217 CHAPTER 6 WINDOW REFERENCE Stack Window MDI child window General This window displays and changes the current stack contents of the user program. Opening method This window can be opened in the following methods. * In the main window Select [Browse] [Stack Trace] from the menu bar. Press the GRPH + B , and K keys in that order. Click the button on the toolbar. Window Figure 6-52. Stack Window (1) Stack frame number display area (2) Stack frame contents display area (3) Stack contents display/setting area Function This is where the stack contents are displayed and changed. If the full traced contents cannot be displayed, a vertical scroll bar is displayed so that the contents can be scrolled. The boundary between the stack frame contents display area and the stack contents display/setting area can be moved to the left or right by the mouse. To move the boundary, drag the mouse cursor at the point when it changes form " " to "". 218 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE This window consists of the following areas. * Stack frame number display area * Stack frame contents display area * Stack contents display/setting area The function of each area is explained below. (1) Stack frame number display area This area displays the stack frame numbers. The stack frame number is a natural number starting from 1, and the shallower the stack nest is, the larger this number becomes. A stack number that is 1 larger than a certain function is the calling function of that function. (2) Stack frame contents display area This area is where the stack frame contents are displayed. The function or local variable names are displayed. If the stack contents are functions, they is displayed by [Program name $ File name # Function name (Index list) # Line no.]. The delimiter between the program name and the file name is a "$" and the delimiter between the file name and the function name is a "#". The "#" is also used as the delimiter between the function name and the line no. If there are local variables in a function, the local variables are displayed on the following and subsequent lines. If the contents of the stack are local variables, the type and variable name is displayed. They are displayed in the same way as in the Watch window. Note that internal static variables and register variables are not displayed. User's Manual U14891EJ1V0UM00 219 CHAPTER 6 WINDOW REFERENCE (3) Stack contents display/setting area This area displays and changes the contents of the stack. "-" or local variable values are displayed. If the stack contents are functions, a "-" is displayed and the contents cannot be changed. If the stack contents are local variables, the variable values are displayed. Variable values are displayed in the same way as in the Watch window. It is possible to change variable values. Changed contents are written to the target by pressing the Enter key. The contents prior to the change can be erased using the ESC key. Other than displaying the stack contents, this area has the following functions. (a) Jump function Jumps to the Source window, Assemble window, or Memory window by using the function indicated by the stack frame number at the cursor position as a jump pointer. The jump destination window displays the jump pointer at the beginning. This function is executed by performing the following operations in the sequential order. <1> Position the cursor in the stack contents display/setting area. <2> Perform one of the following operations on the main window. * If the jump destination is the Source window Select [Jump] [SourceText] from the menu bar. Press the GRPH + J , and S keys in that order. Press shortcut keys CTRL + U . * If the jump destination is the Assemble window Select [Jump] [Assemble] from the menu bar. Press the GRPH + J , and A keys in that order. Press shortcut keys CTRL + D . * If the jump destination is the Memory window Select [Jump] [Memory] from the menu bar. Press the GRPH + J , and E keys in that order. Press the shortcut keys CTRL + M . 220 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Details of the jump destination are as follows. Table 6-22. Details of Jump Function Type of Function In the case of the current function Description of Operation * If the jump destination is the Source window, it jumps to the current PC line. * If the jump destination is other than the Source window, it jumps to the current PC address. In the case of a function other than the current function * If the jump destination is the Source window, it jumps to the line where the function nested is called. * If the jump destination is other than the Source window, it jumps to the next address of the instruction that is calling the function nested. Function buttons Updates the contents of the window to the latest data. Closes this window. Cautions (1) If the stack trace display function has a function that does not generate a stack frame, it may not be displayed correctly. (2) [ERROR] may be displayed during function prologue processing or epilogue processing. User's Manual U14891EJ1V0UM00 221 CHAPTER 6 WINDOW REFERENCE Trace View Window MDI child window General This window displays the trace results. This windows is valid only for CPU cores with the TRCU incorporated. Opening method This window can be opened in the following methods. * In the main window Select [Browse] [Trace] from the menu bar. Press the GRPH + B , and T keys in that order. Click the button on the toolbar. Window Figure 6-53. Trace View Window (1) Point mark display area (2) Trace mode display area (3) Trace result display area 222 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Functions This is where the trace results are displayed. The vertical scroll bar is displayed at all times and the contents can be scrolled. It is also possible to move up one page or down one page using the during step execution. The tracer has a ring structure. For that reason, if data exceeding a valid frame is written, whether to overwrite the oldest data or stop the tracer at that point can be selected by selecting [Run] [Tracer Control Mode]. Also, in the display, the frames are displayed in frame order with the oldest data as frame 0. To clear the trace contents, select [Option] [Trace] [Clear]. A tracer is made valid by selecting [Option] [Tracer ON]. Note that, operation with respect to a tracer during program execution is performed by selecting [Run] [Tracer Start/Close]. The Trace View window consists of the following areas. * Point mark display area * Trace mode display area * Trace result display area The function of each area is explained below. (1) Point mark display area button or button. The Trace View window can be opened only in the active state and the window's display is updated in a break or This is where the setting states of various events are displayed. If an execution event or access event is set to the corresponding trace event, the mark corresponding to the type of the event is displayed. Note that the marks displayed are not marks from tracing but are event marks set when the trace results are displayed. For details, refer to Table 6-17 Meaning of Event Display Mark. User's Manual U14891EJ1V0UM00 223 CHAPTER 6 WINDOW REFERENCE (2) Trace mode display area This is where the type of trace mode is displayed. The display contents are as follows. T: Delay trigger frame N: Frame in which not all the Lost Data was traced (3) Trace result display area a b c d e This is where the trace results are displayed. If this area is selected, the jump function and the window linking function can be used. The following contents are displayed in the trace results display area. Note that display or non-display of each area can be selected in the Trace Data Select dialog box. * Trace frame number display * Time tag display * Fetch operation access display * Data operation access display * Mnemonic display (a) Trace frame number display (Frame) This is where the trace frame number is displayed. However, complemented frames Note other than branch frames and access frames do not have frame numbers and this area is left blank. Note A function to embed a dummy fetch frame in between branch frames. 224 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (b) Time tag display (Time) This area displays the number of clocks required for the target chip from the execution start of the program to the execution start of an instruction of each frame or generation of memory access cause is displayed. If Add Up Timetag is checked, an accumulate display is shown. However, complemented frames other than branch frames and access frames do not have time tag display and this area is left blank. The time tag display can be switched between clock count display and time display in the Trace View Select dialog box. (c) Fetch operation access display (Address Data Status) This is where the fetch result of the program is displayed. This field is displayed as follows depending on the status displayed in the status display field (Status). Table 6-23. Contents of Fetch Operation Access Display Item Status BRM1 Program fetch display Display Contents The first byte fetch of the first instruction after branching The first byte fetch of the instruction 6th byte and 8th byte fetch of the instruction M1 Blank If 6-byte long and 8-byte long instruction codes are displayed, the top 4 bytes are displayed in the first frame, and the remaining bytes are displayed in the second frame and third frame. Also, if 2 instructions are executed simultaneously, 1 frame's display becomes 2 lines, the instruction code in the lower address side is displayed in the first line, and the instruction code in the higher address side is displayed in the second line. In the case of the program fetch display, the display is as follows. Table 6-24. Contents of Program Fetch Display Item Address Data Display Contents Fetch address display Fetch data display (d) Data operation access display (Address Data Status) This is where the access result of data is displayed. Table 6-25. Contents of Data Operation Access Display Items Status R W Data read Data write Display Contents User's Manual U14891EJ1V0UM00 225 CHAPTER 6 WINDOW REFERENCE (e) Mnemonic display (DisAsm) This is where the disassemble result is displayed. This is displayed only when the status of the fetch operation access display is BRM1 or M1. If the instruction code which execute two instructions at a time is displayed, one instruction is displayed in the first line, and another executed at the same time is displayed in the second line. The jump function and window linking function are detailed below. * Jump function * Window link function <1> Jump function The jump function is executed by performing the following operations in order. (i) (ii) Move the cursor to the jump source line. In the main window, do either of the following operation. * If the jump destination window is the Source window Select [Jump] [Source] from the menu bar. Press the GRPH + J , and S keys in that order. Press the shortcut keys CTRL + U . * If the jump destination window is the Assemble window Select [Jump] [Assemble] from the menu bar. Press the GRPH + J , and A keys in that order. Press the shortcut keys CTRL + D . * If the jump destination window is the Memory window Select [Jump] [Memory] from the menu bar. Press the GRPH + J , and E keys in that order. Press the shortcut keys CTRL + M . The address used as the jump source changes according to the cursor position. Caret Position Access address display area Access data display area Access status display area Other than above Jump Pointer Access address Access address Access address Fetch address Note Note Note Note If the jump destination is the Source window or the Assemble window, the fetch address is always made the jump pointer. 226 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE <2> Window link function The window link function can be used by performing the following operations in order. (i) Make the Trace View window the current window and select the window that you would like to link with from among the items in [View] [Window Synchronize] on the menu bar. Table 6-26. Window Link Function Items in [Window Synchronize] Source Assemble Memory Window To Be Linked Source window Assemble window Memory window (ii) Move the cursor to the link origin line in the trace results display area in the Trace View window. If the window you would like to link with is not open in the active state, it will open in the active state. (iii) The trace results address selected in (ii) is used as the pointer, and the linked contents are displayed in the corresponding window selected in (i), or the cursor is positioned there. In the case of window linking as well, the address which is the link origin changes as follows in accordance with the cursor position. Cursor Position Access address display area Access data display area Access status display area Other than above Jump Pointer Access address Access address Access address Fetch address Note Note Note Note If the linking source is the Source window or the Assemble window, the fetch address is always made the jump pointer. Unlike the jump function, if the cursor's position is moved in the Trace View window, the window linking function moves the reverse video in each linked window. Function buttons Cannot be selected. Cannot be selected. Cannot be selected. Updates the contents of the window with the latest data. Close this window. User's Manual U14891EJ1V0UM00 227 CHAPTER 6 WINDOW REFERENCE Trace Data Select Dialog Box Modal General This dialog box selects the items to be displayed in the Trace View window. This dialog box is valid only for CPU cores with the TRCU incorporated. Opening method This dialog box can be opened in the following methods when the current window is the Trace View window. * In the main window Select [View] [Select] from the menu bar. Press the GRPH + V , and E keys in that order. Window Figure 6-54. Trace Data Select Dialog Box (1) Trace display item select area (2) Trace display radix select area Function The Trace Data Select dialog box consists of the following areas. * Trace display item select area * Trace display radix select area The function of each area is explained below. 228 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Trace display item select area This is where the items to be displayed in the Trace View window are selected. The following items can be selected to be displayed or not displayed. If there is a check mark, that area is displayed. Frame: Timetag: Frame no. display field Time tag display field * Clock: * Time: Instruction Fetch Address: Instruction Fetch Data: Instruction Fetch Status: Memory Access Address: Memory Access Data: Memory Access Status: DisAssemble: (2) Trace display radix select area Clock display (default) Time display Fetch address display field Fetch data display field Fetch status display field Access address display field Access data display field Access status display field Disassemble display field This is where the radix to be displayed is selected. The display radix can be selected for the following items. Instruction Fetch Data: Memory Access Data: Fetch data display field Access data display field The display radix can be selected from the following. Hex: Dec: Oct: Bin: Displayed in hexadecimal Displayed in decimal Displayed in octal Displayed in binary User's Manual U14891EJ1V0UM00 229 CHAPTER 6 WINDOW REFERENCE Function buttons Reflects the result of selection in the Trace View window. Closes this dialog box. Cancel the change and restore the original setting. Opens the help window. 230 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Trace Option Dialog Box Modal General This dialog box makes various settings related to trace such as the trace fetch mode setting and trace data selection. This dialog box is valid only for CPU cores that incorporate the TRCU. Opening method * In the main window Select [Option] [Trace] [Trace Option...] from the menu bar. Press the GRPH + O , T , and O keys in that order. Window Figure 6-55. Trace Option Dialog Box (2) Trace data select area (1) Trace mode specification area (3) Access data address setting area (4) Execution trace data select area User's Manual U14891EJ1V0UM00 231 CHAPTER 6 WINDOW REFERENCE Function This dialog box sets the trace mode, selects the trace data, and specifies the data trace range. The Trace Option dialog box consists of the following areas. * Trace mode specification area * Trace data select area * Access data address setting area * Execution trace data select area The function of each area is explained below. (1) Trace mode specification area This area selects the mode in which the trace data is fetched. Select from the following two modes. Realtime Mode: Real-time trace mode. Traces the CPU execution in real time. Note, however, that not all the trace data may be fetched, depending on the program or trace trigger. Non Realtime Mode: Non real-time trace mode. This is the all trace mode. If some trace data is likely to be lost, the CPU execution is temporarily stopped internally, and all the trace data is properly fetched. (2) Trace data select area This area specifies the trace data to be fetched. Execution Data: Execution data. Traces the branch source set in the execution trace data select area. This makes it possible to ascertain the program execution flow. Access Data: Access data. Traces the data access to the specified address. Traces the data access cycle in the address range specified in the data trace address setting area. 232 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (3) Access data address setting area This area specifies the address where the access data trace is performed. Inputting to this area is possible only when access data is selected in the trace data select area. Up to 2 addresses can be set and the address and size must be specified. Note, however, that the Address2 setting is ignored when section trace conditions are enabled (section trace conditions are set and [Run] menu [Cond. Trace ON] is selected). Address1, Address2: Size1, Size2: Any address can be set to the address area, but after setting, the address will be aligned with addresses set in 1 KB units (lower addresses: 000, 400, 800, C00). The following values can be selected for the size area (unit byte). 4, 8, 16, 32, 64, 128, 256, 512, 1024 (4) Execution trace data select area This area selects the trigger to start an execution trace from amongst the program execution branch triggers. Inputting to this area is possible only when execution data is selected in the trace data select area. The trace triggers that can be selected are divided into the following two types. Before Branch area: After Branch area: If the checked trigger in this area is an instruction of the branch origin, this instruction is fetched as trace data. If the checked trigger in this area is an instruction of the branch origin, this instruction is fetched as trace data. User's Manual U14891EJ1V0UM00 233 CHAPTER 6 WINDOW REFERENCE The check items and their meanings are as follows. The trace data to be fetched consists only of branch triggers selected in this area. If the number of fetched triggers to be fetched is small, trace data supplementation may not be performed correctly. Table 6-27. Trace Triggers of Execution Trace Data Item CALLT CTRET SWITCH JARL JR JMP DISPOSE RETI Bcond(taken) Branch by CALLT instruction Branch by CTRET instruction Branch by SWITCH instruction Branch by JARL instruction Branch by JR instruction Branch by JMP instruction Branch by DISPOSE instruction Branch by RETI instruction Branch by conditional branch instruction (when condition is satisfied) Branch by conditional branch instruction (when condition is not satisfied) An interrupt (NMI/INT) is generated. An exception occurs. Meaning Bcond(not taken) Interrupt Exception Function buttons Closes this dialog box after setting the specified trace mode, trace data, and trace address. Closes this dialog box without setting the specified trace mode, trace data, and trace address. Returns the Trace Option dialog box to the original setting status before it was opened. Opens the help window. 234 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Event Manager MDI child window General This window displays, enables/disables and deletes various events. Through manipulation in this window, the event conditions registered in the Event dialog box or Event Link dialog box can be allocated to break event or trace event Note . Note The trace function is valid only for CPU cores with the TRCU incorporated. Opening method This window can be opened in the following methods. * In the main window Select [Event] [Event Manager] from the menu bar. Press the GRPH + N , and M keys in that order. Click the button from the toolbar. * In the Source window Moves the cursor to the source line in the source text display area where the event is set, or to the disassemble line in case of the mixed display mode, and carry out either of the following methods. Select [View] [Event?] from the menu bar. Press the GRPH + V , and E keys in that order. * In the Assemble window Moves the cursor to the line in the mnemonic display/change area where the event is set, and carry out either of the following methods. Select [View] [Event?] from the menu bar. Press the GRPH + V , and E keys in that order. * In the Event dialog box Click the button. Press the shortcut keys GRPH + G . * In the Set Other dialog box Click the button. Press the shortcut keys GRPH + M . User's Manual U14891EJ1V0UM00 235 CHAPTER 6 WINDOW REFERENCE Window Figure 6-56. Event Manager In list display mode (1) Event display area In detailed display mode (1) Event display area (2) Event detail display area Function This window displays, enables/disables, and deletes various events and manages event conditions for registering or setting various event conditions (such as event link conditions, break event conditions, and trace event conditions Note ). The Event Manager consists of the following areas. * Event display area * Event detail display area Note The trace function is valid only for CPU cores with the TRCU incorporated. The function of each area is explained below. 236 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Event display area * In list display mode * In detailed display mode In the event display area, icons (event icons) for various types of event conditions of the registered event, event link, break, and trace name. Note are displayed. The icon of the event condition consists of a mark indicating the type of each event condition and an event Mark Event name The switching list/detailed display mode in the event display area can be changed by the Event Info dialog box which is opened by the [View] menu or the button in the Event Manager. Note The trace function is valid only for CPU cores with the TRCU incorporated. The marks are listed below. Table 6-28. Event Icon Marks Mark Indicates event condition Indicates event link condition Indicates break event Indicates trace event Note Meaning Note Valid only for CPU cores with the TRCU incorporated. The color of the character displayed in a mark indicates the setting status of each event condition. User's Manual U14891EJ1V0UM00 237 CHAPTER 6 WINDOW REFERENCE Table 6-29. Character Color of Event Icon Character Color in Mark Red (valid) , Corresponding Mark Meaning Indicates that the event conditions using events and event link conditions are valid. Indicates that each event condition is "enabled". Each event is generated when condition is satisfied. Indicates that the event conditions using events and event link conditions are invalid. Indicates that an event is invalid. The event does not occur even if the conditions are established. , , Indicates that the symbol specified in the event cannot be recognized by the program that is currently loading, so it is held pending. , Black (invalid) , , Yellow (pending) , In addition to the above function, this area also has the following four functions. (a) Jump function Jumps to the Source window, Assemble window, or Memory window by using the address condition of the selected icon as a jump pointer if the selected icon is the event condition. The jump destination window displays the jump pointer at the beginning. If the address condition is a range setting, the lower address becomes the jump pointer. If a mask is set, the point address before the mask is executed becomes the jump pointer. In the case of a bit setting, the address of the specified bit position becomes the jump pointer. This function is executed by performing the following operations in the sequential order. <1> Select an icon. <2> Perform one of the following operations in the main window. * If the jump destination is the Source window Select [Jump] [SourceText] from the menu bar. Press the GRPH + J , and S keys in that order. Press shortcut keys CTRL + U . * If the jump destination is the Assemble window Select [Jump] [Assemble] from the menu bar. Press the GRPH + J , and A keys in that order. Press shortcut keys CTRL + D . * If the jump destination is the Memory window Select [Jump] [Memory] from the menu bar. Press the GRPH + J , and E keys in that order. Press shortcut keys CTRL + M . 238 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (b) Open function This function opens the setting dialog box corresponding to the selected icon's event. The contents of the selected event are displayed in each setting dialog box that is opened. This function is executed by performing one of the following operations. <1> Double-click the icon. <2> Select the icon, then click (c) Enabled state switching function This function switches the state of the event corresponding to the selected icon between enabled and disabled. Except for an event and event link, it is possible to operate break and trace This function is executed by performing one of the following operations. <1> Click the left button of the mouse when the mouse cursor is on the icon mark. <2> Select an icon and click or , or press the GRPH + Enter keys. Note . events by icons. If an event is in the enabled state, it becomes disabled (black), and if the event is in the disabled state, it becomes enabled (red). The button is displayed when an icon in the disabled state is selected, and the button is displayed when an icon in the enabled state is selected. Note The trace function is valid only for CPU cores with the TRCU incorporated. (d) Delete function Deletes registration/set contents of the event condition of a selected icon. Multiple icons can be selected using the SHIFT and CTRL keys. To select all the icons, select [View] [Select All Event] from the menu bar. However, an event condition and event link condition or can be deleted only when that event condition is not used by other event condition ( ). If the event condition or event link condition has been already used for any other event, delete the event used. This function is executed by performing one of the following operations. <1> Select an icon and perform one of the following operations in the main window. Select [Edit] [Delete Event] from the menu bar. Press the GRPH + E , and D keys in that order. <2> Select an icon and perform one of the following operations in the Event Manager. Click button. Press the DEL key. User's Manual U14891EJ1V0UM00 239 CHAPTER 6 WINDOW REFERENCE (2) Event detail display area This area is displayed only when the detailed display mode is selected. This area displays the detailed information corresponding to the icon of each event. This area displays the contents of the status condition, access size condition, data condition, and mask condition, in that order, by using the information of each key as a separator, when an event condition is specified. The following tables show the correspondence between the information of each key and the condition. Table 6-30. Key Information in Detailed Event Display Mode * In the case of event condition Key Information [S] [Z] [A] [D] [M] Status condition Access size condition Address condition (The actual address is displayed within ( )) Data condition Mask condition Contents * In the case of event link condition Key Information [P1] to [P4] [D] [P] Contents Event link condition of nth stage (n = 1 to 4) Disable condition Pass count condition * In the case of break condition Key Information [B] Break condition Note Contents * In the case of trace conditions Key Information [S] [E] [T] Description Section trace start condition Section trace end condition Delay trigger condition Note Valid only for CPU cores with the TRCU incorporated. 240 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function buttons This button opens the New Event dialog box. In the New Event dialog box, by clicking each button, the setting dialog box for event, event link, break, and trace events can be opened. Each setting dialog box that is opened has the new event name set in it. After each setting dialog box is opened, the New Event dialog box is closed. is clicked or the ESC key is pressed, the New Event dialog box closes and If the screen returns to the Event Manager. Opens the setting dialog box corresponding to the event condition selected in the event display area. The event condition contents selected in the event display area are displayed in the setting dialog box. If the event condition has not been selected, or if multiple conditions are selected, this button is displayed in gray and can no longer be clicked. The Enter key also has the same operation. Sets break and trace events in the enabled state. The button is displayed in place of the multiple events including disabled only events are selected. Sets break and trace events in the disabled state. The button is displayed in place of the button if one disabled event or button if one enabled event is selected or multiple events including enabled events are selected. If an event or an event link only is selected, this button is displayed in gray and it can no longer be clicked. Deletes the event condition selected in the event display area. When deleting an event or event link, if that event is being used by a break, trace, or event link, it results in an error. The DEL key also has the same operation. Delete All Deletes all the events whether they are enabled or disabled. Opens the Event Info dialog box. The The The rearranging them. The The The button sets the display mode to the detailed display mode. button sets the display mode to the list display mode. button or the ESC key closes the dialog box. button rearranges events in name order and displays them. button rearranges events by kind and displays them. button displays the events in the order in which they were entered without Closes the Event Manager. User's Manual U14891EJ1V0UM00 241 CHAPTER 6 WINDOW REFERENCE Software Break Manager MDI child window General Displays, enables/disables, and deletes software breaks. Opening method This window can be opened by either of the following methods. * In the main window Select [Event] [Software Break Manager] from the menu bar. Press the GRPH + N , and M keys in that order. Window Figure 6-57. Software Break Manager (1) Event name display area (3) Break point display area (4) Address display area (2) Break mark display area Function Software breaks can be displayed, enable/disable switched, and deleted in this window. Up to 100 software break events can be enabled at the same time. Note that software breakpoints cannot be set in this window. Software breakpoints are set in either the Source or Assemble window. 242 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE The Software Break Manager consists of the following areas. * Event name display area * Break mark display area * Break point display area * Address display area The functions of each area is explained below. (1) Event name display area This area displays the names of recorded events and includes check boxes that indicate their enabled/disabled status. The name of an event can be directly edited by clicking the selected name. Press the return button to set the change. The default setting is indicated by "Swb+[Number]". Enable events by selecting the relevant check box (check boxes are selected as the default setting for a new creation). Double-clicking an event allows you to jump to the window in which the event was created (Source or Assemble window). [Reference] Click Name on the title bar to sort the displayed items into dictionary order (alphabetical- ascending or descending (switchable by clicking)). (2) Break mark display area This area displays a ">" mark for the software break event set at the current PC position (making it easy to specify the software break event that caused the break). (3) Break point display area User's Manual U14891EJ1V0UM00 243 CHAPTER 6 WINDOW REFERENCE The location at which the software break event is set is indicated by the following format. File name#Line No. (When set in Source window) Symbol+Offset (When set in Assemble window) Events are reevaluated when symbols are redownloaded (etc.) based on these formats. [Reference] Click File#Line/Symbol+Offset on the title bar to sort the displayed items into dictionary order (alphabetical - ascending or descending (switchable by clicking)). (4) Address display area This area displays the address at which the software break event has been set. [Reference] Click Address on the title bar to sort the displayed items into numerical order (ascending or descending (switchable by clicking)). Function buttons Enables the selected event. Disables the selected event. Deletes the selected event. Delete All Deletes all the software break events that were set. Closes the Software Break Manager. 244 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Event Dialog Box Modeless General This dialog box registers and displays event conditions. The event conditions created (registered) on this dialog box are automatically registered to the Event Manager. Opening method This dialog box can be opened in the following methods. * In the main window Select [Event] [Event...] from the menu bar. Press the GRPH + N , and E keys in that order. Click the button on the toolbar. * Execute one of the following operations in the Break, Trace, or Event Link dialog box. Click the button. Press the shortcut keys GRPH + E . * Execute one of the following operations in the event area or the event manager area of the Break, Trace, or Event Link dialog box. Select the event condition and click Double-click the event condition. * In the Event Manager, execute one of the following operations. Select an event condition and click . Double-click the event condition. * Execute one of the following operations in the New Event dialog box or the Set Other dialog box. Click the Event... button. Press the shortcut keys GRPH + E . . Select the event condition and press the shortcut keys GRPH + O . User's Manual U14891EJ1V0UM00 245 CHAPTER 6 WINDOW REFERENCE Window Figure 6-58. Event Dialog Box When event manager area is displayed (1) (2) (3) (4) (5) (6) When event manager area is not displayed (1) (2) (3) (4) (5) (6) (1) Event name setting area (2) Status select area (3) Access size select area (4) Address setting area (5) Data setting area (6) Event manager area 246 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function This dialog box registers and displays event conditions. Up to 256 conditions can be entered for event conditions. However, the maximum number of event conditions which can be used simultaneously in enabled break and trace events is as follows, even including event conditions used via the event link. Table 6-31. Number of Valid Event Conditions With/Without TEU With TEU Without TEU Maximum Valid Number 8 (execution events 2 Note 2 Note 1 , two access events) Notes 1. 2. Events before execution: 2, Events after execution: 4. Events before execution can be used only as break events but cannot specify the address range. Exclusive use of events before execution and access events and address range specification are prohibited. The Event dialog box has two modes, the normal mode and the select mode. * Normal mode When button from the toolbar or [Event] [Event...] from the menu bar in the main window is selected and the Event dialog box is opened, event conditions can be entered without restriction as to purpose. This is the normal mode. * Select mode When button in the Break, Trace, and Event Link dialog boxes is clicked and the Event dialog box is clicked, the event condition selected in the event name setting area of is opened, the event conditions used by these are selected. This is the select mode. In the select mode, when Event dialog box. Even in the select mode, event conditions can be entered and displayed just as in the normal mode. Depending on the mode, the title bar display on the dialog box will differ. Title Bar described later on. The Event dialog box consists of the following areas. * Event name setting area * Status select area * Access size select area * Address setting area * Data setting area * Event manager area The function of each area is explained below. Refer to the section entitled the Event dialog box is set in the event condition setting area of the setting dialog box that originally called the User's Manual U14891EJ1V0UM00 247 CHAPTER 6 WINDOW REFERENCE (1) Event name setting area This area sets an event name and selects an event condition. When entering an event condition, it is necessary to set an event name. An event name may consist of up to eight alphanumeric characters. When displaying event conditions which have already been created, either type the event name of the already created event name in the text box or select the event condition from the drop-down list in the event name setting area. In the select mode, the selected event condition can be set in the event condition setting area of the original setting dialog box that called the Event dialog box. The mark on the left side of the event name setting area shows the use conditions of the event condition. mark and the status is shown below. The relationship between the color of the character in the Table 6-32. Meanings of Event Icons (Event Condition) Condition That event condition is being used by break, trace, or event link and indicates that it is enabled. Indicates that that event condition has not been enabled. Indicates that that event condition is currently being edited and that it has not been entered. Indicates that that event is an event which is in the hold state. An event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. Color of Character in Red (valid) Mark Black (invalid) Gray (not entered) Yellow (pending) 248 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (2) Status select area This area sets and selects a status condition. By specifying the status condition, the distinction between the execution event and access event is decided at the same time. If execution event is specified, the access size select area, the mask field of the address setting area and the data setting area are displayed in gray and are in a state where input is impossible. The status conditions that can be specified are shown below. It is possible to specify a status condition in abbreviated form. The input status condition is not case sensitive. Table 6-33. List of Status Conditions in Event Dialog Box Status Execution Before Execution R/W Read Write Access Note Abbr. EX EX-B RW R W AC Event Type Execution event Program execution Meaning Program execution (Break before execution) Access event Data read/write Data read Data write All access statuses Note Up to 2 events can be made to the enable status in Before Execution and only break event conditions can be used. Also, the address range cannot be set. (3) Access size select area This is where the access size conditions are set and selected. By specifying the access size conditions, the access width for data conditions during access data search is decided. The access size conditions that can be specified are shown below. It is possible to specify the access size conditions in abbreviated form. The input access size condition is not case sensitive. User's Manual U14891EJ1V0UM00 249 CHAPTER 6 WINDOW REFERENCE Table 6-34. List of Access Size Conditions in Event Dialog Box Size Byte B Abbr. Meaning Detection is made with an 8-bit width as the data condition. Detection is made only during 8-bit access. Detection is made with a 16-bit width as the data condition. Detection is made only during 16-bit access. Detection is made with a 32-bit width as the data condition. Detection is made only during 32-bit access. An access-size detection is not executed. Detection is carried out with a 1-bit width as the data condition. Detection is carried out only during 8-bit access. Half Word HW Word W No Condition Bit NC 1 If Bit is specified as the access size condition, detection is made with a 1-bit width as the data condition, but due to emulator operation, since access to the bit itself cannot be detected directly, the debugger detects for a pseudo bit access by setting the address conditions and data conditions internally as follows. Input Example Address Data 0xffe000.1 1 Emulator Setting Address Data Mask 0xffe000 00000010B 11111101B For that reason, for access to other bits in the same address, or even for access to all 8 bits in the same address, if the values match the specified [Address.bit] value, an event occurs in accordance with the specified status. Also, during bit writing when the device is in operation, reading and writing with a full 8 bits is executed, but if read or read/write is specified in the status, an event occurs if the specified [Address.bit] value matches with respect to the read operation at this time. * If No Condition is specified, the data setting area is displayed in gray and input cannot be done. * If setting the access size condition is omitted, it is judged automatically from the address conditions and data conditions and set. * If a bit is set for the address condition, the condition becomes Bit. * If 8 bits is set for the data condition, the condition becomes Byte. * If 16 bits is set for the data condition, the condition becomes Half Word. * If 32 bits is set for the data condition, the condition becomes Word. * If the data condition specification is omitted, the condition becomes No Condition. This area is blank in the case of newly created event conditions. 250 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (4) Address setting area This area sets an address condition. The setting range is as shown below. Setting range: 0 Address value 0xFFFF FFFF Input the lower addresses and the higher addresses in that order. The following three types of settings can be made in specifying an address condition. <1> Point setting Only the lower address or the same address value is set to the lower and higher addresses when a point is set. <2> Range setting A range is specified by the lower and higher addresses. Note that if the same value is input for the lower and higher addresses, it is not handled as a range setting. In this case, it becomes a point setting or a bit setting. Moreover, if an event condition is changed during use and if there was a range setting prior to the change, there must be a range setting after the change. Similarly, if there was no range setting prior to the change, neither the address condition nor the range setting can be changed. <3> Bit setting For a bit setting, set a value in the lower addresses only, or set the same value in the lower and higher addresses. Specify the value in the address.bit format. The value of the bit that shows the bit position must be 0 bit 7. For the address, it is possible to specify a symbol or expression. The specification method is the same as in the Address Move dialog box. The default radix when numerical values are input is hexadecimal. This area is blank in the case of newly created event conditions. User's Manual U14891EJ1V0UM00 251 CHAPTER 6 WINDOW REFERENCE (5) Data setting area This area sets a data condition. The setting range is as follows. Table 6-35. List of Data Conditions in Event Dialog Box Access Size Condition Byte Setting Range 0 Data value 0xFF 0 Mask value 0xFF 0 Data value 0xFFFF 0 Mask value 0xFFFF 0 Data value 0xFFFF FFFF 0 Mask value 0xFFFF FFFF Data value = 0, 1 Mask value = Cannot be specified Half Word Word Bit If the data condition setting has been omitted, data condition detection is not performed. For a newly created event condition, the address value and the mask value input columns are both blank. There are two types of data conditions: Data that sets a data value, and Mask that sets a mask value of data value. How to set each of these types is explained below. (a) Data This area sets a data value. A data value can also be specified by a symbol or expression. The specification method is the same as in the case of the Symbol To Address dialog box, but the default radix when numerical values are input is hexadecimal. (b) Mask This area sets a mask value for the data value. When mask setting is made, for a bit with a mask value of 1, it doesn't matter if the data value is 0 or 1. Example 1. Data: Mask: 2. Data: Mask: 0x4000 0xFF 0x4000 0x101 In this kind of setting, the conditions match when the data value is 0x4000 to 0x40FF. In this kind of setting, when the data are 0x4000, 0x4001, 0x4100, and 0x4101, they match the conditions. If the mask value setting is omitted, masking is not executed. The default radix when numerical values are input is hexadecimal. 252 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (6) Event manager area This area displays a list of each of the entered events, event links, breaks, and trace events. By selecting an event and clicking , or by double-clicking the event, a setting dialog box opens corresponding to the selected event and the event setting contents can be displayed. When the focus is on the event manager area, select the event icon, then click , or press the DEL key and the selected event can be deleted. , it is possible to select the event manager area display mode or sequencing. By clicking Function buttons Closes the Event dialog box. (Normal mode) If there is an event condition that is being edited, it is entered automatically and the dialog box is closed. Sets the displayed event as the event condition of the original dialog box that (Select mode) called the Event dialog box. If the Event dialog box is already open, the select mode returns to the normal mode only and the Event dialog box does not close. In other cases, it closes. If there is an event condition being edited, enter/select is performed automatically and the program returns to the original setting dialog box. Newly creates an event condition. An event name is generated automatically and a newly created event condition is prepared. After it is created, be sure to enter the event condition using the or the button. Enters an event condition. When a new event condition has been created or when the contents of an event condition have been changed, be sure to enter the event condition using this button. The entered event condition is reflected in the Event Manager. If event conditions that have already been entered are displayed, they cannot be selected. Clears the contents of an event condition. If an event condition is entered but not edited, this button is displayed in place of the button. User's Manual U14891EJ1V0UM00 253 CHAPTER 6 WINDOW REFERENCE Returns the contents of an event condition to the original contents. If an event condition that has not been entered is displayed, all the area is made blank except the event name, or the settings return to the default settings. If an event condition is being edited, this button is displayed in place of the button. Closes the Event dialog box. (Normal mode) If an event condition has been created/changed/deleted, after that, the button becomes this button. Even if there is an event condition that is being edited, the dialog box closes without the event condition being entered. operation. Closes the Event dialog box. (Normal mode) If an event condition is not being created/changed/deleted, this button becomes the button. Even if an event condition is being edited, the dialog box closes without the event condition being entered. The ESC key has the same operation. Returns to the original setting dialog box that called the Event dialog box without (Select mode) an event condition being selected. If an event condition is not being created/changed/deleted, the button becomes this button. If the Event dialog box is already open, the select mode returns to the normal mode only, and the Event dialog box does not close. In other cases, the Event dialog box closes. Even if an event condition is being edited, it is not entered. The ESC key has the same operation. Returns to the original setting dialog box without selecting the event condition. If an event condition has been edited/changed/deleted, the button becomes this button. If the Event dialog box is already open, the select mode returns to the normal mode only, and the Event dialog box does not close. In other cases, the Event dialog box closes. Even if an event condition is being edited, it is not entered. The ESC key has the same operation. Opens the help window. Opens the Event Link dialog box. Opens the Break dialog box. Opens the Trace dialog box. Opens the Event Manager. The ESC key has the same (Select mode) 254 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Displays the event manager area. Expands the size of the dialog box. When the event manager area is not displayed, this button is displayed in place of the button. Does not display the event manager area. Shrinks the size of the dialog box. When the event manager area is displayed, this button is displayed in place of the button. Opens the setting dialog boxes and displays the event, event link, break, or trace conditions selected in the event manager area. Deletes the event, event link, break, or trace conditions selected in the event manager area. Opens the Event Info dialog box. button rearranges events in name order and displays them. The The The button rearranges the events in order by kind and displays them. button displays the events in the order in which they were entered without rearranging them. The button changes the event manager area to the detailed display mode. The The button changes the event manager area to the list display mode. button or the ESC key closes the dialog box. Title bar In the normal mode, [Event] is displayed as the title in the title bar. Title bar Event In the select mode, the title in the title bar becomes as follows in accordance with the original setting dialog box that called the Event dialog box. Title Bar Event - Break Event - Trace Event - Event Link Event - Event Link - Break Original Setting Dialog Box Break dialog box Trace dialog box Event Link dialog box Event Link dialog box (While in the Break dialog box select mode) Event Link dialog box (While in the Trace dialog box select mode) Event - Event Link - Trace User's Manual U14891EJ1V0UM00 255 CHAPTER 6 WINDOW REFERENCE Event Link Dialog Box Modeless General This dialog box registers and displays event link conditions. The event link conditions created (registered) in this dialog box are automatically registered to the Event Manager. Opening method This dialog box can be opened in the following methods. * In the main window Select [Event] [EventLink...] from the menu bar. Press the GRPH + N , and L keys in that order. * In the Event dialog box Click the button. Press the shortcut keys GRPH + L . * Execute one of the following operations in the Break or Trace dialog box. button. Click the Press the shortcut keys GRPH + L . * Execute one of the following operations in the event setting area or the event manager area of the Event, Break or Trace dialog box. . Select the event link condition and click Select the event link condition and press the shortcut keys GRPH + O . Double-click the event link condition. * In the Event Manager Select an event link condition and click Double-click the event link condition. * In the New Event dialog box or the Set Other dialog box Click the button. Press the shortcut keys GRPH + L . . 256 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Window Figure 6-59. Event Link Dialog Box When event manager area is displayed (1) (3) (4) (2) (5) When event manager area is not displayed (1) (3) (2) (4) (1) Event link name setting area (2) Pass count setting area (3) Link condition setting area (4) Disable condition setting area (5) Event manager area User's Manual U14891EJ1V0UM00 257 CHAPTER 6 WINDOW REFERENCE Function This dialog box registers and displays event link conditions. If the event link conditions are satisfied, an event occurs only if the user program is executed as the specified order of the event conditions that have been set. Event link conditions can be set up to four stages. If a disable condition is detected midway, the event conditions that have been satisfied until that point are initialized, and the search is started at the first event condition. Note that if the link condition and the disable condition are detected at the same time, the disable condition is given priority. Up to 256 event link conditions can be registered. However, the number of event link conditions which can be used simultaneously in enabled break and trace events is as follows. Table 6-36. Number of Valid Event Link Conditions With/Without TEU With TEU Without TEU 3 Setting disabled Maximum Valid Number The Event Link dialog box has two modes, the normal mode and the select mode. * Normal mode When [Event] [Event Link...] from the menu bar in the main window is selected and the Event Link dialog box is opened, event link conditions can be entered without restriction as to purpose. This is the normal mode. * Select mode When in the Break dialog box is clicked and the Event Link dialog box is opened, the event is clicked, the event link condition selected in the event link name conditions used by these are selected. This is the select mode. In the select mode, when setting area of the Event Link dialog box is set in the event condition setting area of the Break dialog box. Even in the select mode, event conditions can be entered and displayed just as in the normal mode. Depending on the mode, the title bar display on the dialog box will differ. Title Bar described later on. The Event Link dialog box consists of the following areas. * Event link name setting area * Pass count setting area * Link condition setting area * Disable condition setting area * Event manager area The function of each area is explained below. Refer to the section entitled 258 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (1) Event link name setting area This area sets event link names and selects event link conditions. When entering an event link condition, it is necessary to set an event link name. An event link name may consist of up to eight alphanumeric characters. When displaying event link conditions which have already been created, either type the event link name of the already created event link condition in the text box or select the event link condition from the drop-down list in the event link name setting area. In the select mode, the selected event link condition can be set in the event link condition setting area of the original setting dialog box that called the Event Link dialog box. The mark on the left side of the event link name setting area shows the use conditions of the event link mark and the status is shown below. condition. The relationship between the color of the character in the Table 6-37. Meanings of Event Icons (Event Link Condition) Color of Character in Red (valid) Mark Condition That event link condition is being used by break and indicates that it is enabled. Indicates that that event link condition has not been enabled. Indicates that that event link condition is currently being edited and that it has not been entered. Indicates that that event is an event which is in the hold state. An event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. Black (invalid) Gray (not entered) Yellow (pending) (2) Pass count setting area This area sets a pass count condition. The range which can be set is as follows. Setting range: 1 pass count 32,767 A pass count condition specifies how many times the event link condition set in this dialog box must be matched while the user program is executed, in order that a given condition is satisfied. If 1 is set as the pass count, the condition is satisfied when each condition is matched. This area is valid only for CPU cores with the TEU incorporated. The pass count is explained below. * When inputting a value directly to the text box, input a decimal character string. * If the pass count condition is omitted, it is taken that 1 is set. * With a newly created event link condition, the pass count becomes 1. User's Manual U14891EJ1V0UM00 259 CHAPTER 6 WINDOW REFERENCE (3) Link condition setting area This area sets the sequence of event detection as a link condition. Event conditions are set in three steps, from Phase 1 to Phase 4. Event conditions need not be set up to Phase 4. If Phase 4 is not set, an event occurs when the event condition set to the last Phase is detected. Event conditions can be set in only Phase 1, and same event conditions can be set in two or more Phases. The number of event conditions that can be set to each Phase in the link condition setting area is as follows. Table 6-38. Number of Events That Can Be Set in Link Condition Setting Area Type Event condition (with TEU) Event condition (without TEU) Number of Events That Can Be Set Up to 6 for each phase Up to 1 for each Phase 1 and Phase 2 Note Setting disabled for Phase 3 and Phase 4 Note Can be used only for a break condition. To set an event condition, use one of the following methods. * Click be set. * In the event manager area, select one (or more than one) event condition, then click by a drag-and-drop operation. Setting of an event condition by a drag-and-drop operation is possible even from outside the Event Link dialog box's event manager area; event conditions can be set from the event manager area of each setting dialog box and from the Event Manager. When the focus is on each Phase of the link condition setting area, click selected by the Phase which caused the focus will be deleted. It can also be deleted by pressing the DEL key. Each Phase of the link condition setting area and the event conditions in the disable condition setting area can be copied mutually or moved by a drag-and-drop operation. The contents are shown below. * If an event condition is dropped only by the mouse, it is moved. * If it is dropped while pressing the SHIFT key, the event condition is moved. * If it is dropped while pressing the CTRL key, the event condition is copied. Selecting only one event condition in the link condition setting area and clicking clicking it opens the Event dialog box and displays the contents of the event condition. or doubleand the event condition or set it and open the Event dialog box in the "Select mode", then select the event conditions to 260 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (4) Disable condition setting area This area is used to specify an event condition that invalidates the event conditions that have been established until that point. The number of event conditions that can be set in the disable condition setting area is as follows. Table 6-39. Number of Events That Can Be Set in Disable Condition Setting Area Type Event condition (with TEU) Event condition (without TEU) Up to 6 Setting disabled Number of Events That Can Be Set To set a disable condition, use one of the following methods. * Click be set. * Select an event condition in the event manager area and click and-drop operation. When setting the event condition by a drag-and-drop operation, besides the event manager area in the Event Link dialog box, it is possible to set it from the event manager area and Event Manager in each setting dialog box. When the focus is on the disable condition setting area, if is deleted. It can also be deleted by pressing the DEL key. It is possible to copy and move event conditions in each Phase in the disable condition setting area and link condition setting area by a drag-and-drop operation. The contents of this operation are shown below. * If an item is dropped with a mouse only, the event condition is moved. * If it is dropped while holding down the SHIFT key, the event condition is moved. * If it is dropped while holding down the CTRL key, the event condition is copied. If only one event condition in the disable condition setting area is selected and is clicked or the is clicked, the selected event condition , or make the setting by a dragand open the Event dialog box in the "Select mode", then select the event conditions to item is double-clicked, the Event dialog box is opened and the event condition contents are displayed. User's Manual U14891EJ1V0UM00 261 CHAPTER 6 WINDOW REFERENCE (5) Event manager area This displays a list of each of the entered events, event links, breaks, and traces events. An event condition that is displayed in the event manager area can be set in the link condition setting area or disable condition setting area by clicking . By dragging and dropping it from the event manager area in the Event Link dialog box, it can be set in the event setting area in each setting dialog box for break, and trace. When the focus is on the event manager area, select the event icon, then click DEL key and the selected event can be deleted. Also, when the focus is on the event manager area, you can select one event icon, then click event's setting contents. By clicking , it is possible to select the event manager area display mode or sequencing. , or press the , or double-click the event icon to open the setting dialog box corresponding to the selected event and display the Function buttons Closes the Event Link dialog box. (Normal mode) If there is an event link condition that is being edited, it is entered automatically and the dialog box is closed. Sets the displayed event as the event link condition of the original dialog box that (Select mode) called the Event Link dialog box. If the Event Link dialog box is already open, the select mode returns to the normal mode only and the Event Link dialog box does not close. In other cases, it closes. If there is an event link condition being edited, enter/select is performed automatically and the program returns to the original setting dialog box. Newly creates an event link condition. An event name is generated automatically and a newly created event link condition is prepared. After it is created, be sure to enter the event link condition using the or the button. Enters an event link condition. When a new event link condition has been created or when the contents of an event link condition have been changed, be sure to enter the event link condition using this button. Manager. If event link conditions that have already been entered are displayed, they cannot be selected. The entered event link condition is reflected in the Event 262 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Clears the contents of an event link condition. If an event link condition is entered but not edited, this button is displayed in place of the button. Returns the contents of an event link condition to the original contents. If an event link condition that has not been entered is displayed, all the area is made blank except the event link name, or the settings return to the default settings. If an event link condition is being edited, this button is displayed in place of the button. Closes the Event Link dialog box. (Normal mode) If an event link condition has been created/changed/deleted, after that, the button becomes this button. Even if there is an event link condition that is being edited, the dialog box closes without the event link condition being entered. The ESC key has the same operation. Closes the Event Link dialog box. (Normal mode) If an event link condition is not being created/changed/deleted, this button becomes the button. Even if an event link condition is being edited, the dialog box closes without the event link condition being entered. The ESC key has the same operation. Returns to the original setting dialog box that called the Event Link dialog box (Select mode) without an event link condition being selected. If an event link condition is not being created/changed/deleted, the button becomes this button. If the Event Link dialog box is already open, the select mode returns to the normal mode only, and the Event Link dialog box does not close. In other cases, the Event Link dialog box closes. Even if an event link condition is being edited, it is not entered. The ESC key has the same operation. Returns to the original setting dialog box without selecting the event link condition. (Normal mode) If an event link condition has been created/changed/deleted, the button becomes this button. If the Event Link dialog box is already open, the select mode returns to the normal mode only, and the Event Link dialog box does not close. In other cases, the Event Link dialog box closes. Even if an event link condition is being edited, it is not entered. The ESC key has the same operation. Opens the help window. User's Manual U14891EJ1V0UM00 263 CHAPTER 6 WINDOW REFERENCE Opens the select mode in the Event dialog box and makes additional settings in the link condition setting area or disable condition setting area. The area where additional settings are made becomes the selected area when clicked. Opens each setting dialog box for the event selected in the link condition setting area, disable condition setting area or event manager area and displays the contents. If an event is not selected, or if multiple events are selected, selection cannot be made. Operation is the same as double-clicking the event icon. Deletes the event selected in the link condition setting area, disable condition setting area or event manager area. The same operation is performed by pressing the DEL key. Displays the event manager area. Expands the size of the dialog box. When the event manager area is not displayed, this button is displayed in place of the button. is Does not display the event manager area. Shrinks the size of the dialog box. When the event manager area is displayed, this button is displayed in place of the button. Adds an event condition or event link condition selected in the event manager area to the link condition setting area or disable condition setting area and sets it. The area where it is added becomes the selected area when clicked. Opens the Event Info dialog box. The The them. The The mode. The mode. The button or the ESC key closes the dialog box. button changes the event manager area to the list display button displays the events in the order in which they were button changes the event manager area to the detailed display entered without rearranging them. button rearranges events in name order and displays them. button rearranges the events in order by kind and displays is This opens the Set Other dialog box. Clicking each button opens the Event Manager and the Event, Break, or Trace dialog box, and closes the dialog box. Close the dialog box by clicking Event Link dialog box. or and return to the 264 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Title bar In the normal mode, [Event Link] is displayed as the title in the title bar. Title bar Event Link In the select mode, the title in the title bar becomes as follows in accordance with the original setting dialog box that called the Event Link dialog box. Title Bar Event Link - Break Event Link - Trace Original Setting Dialog Box Break dialog box Trace dialog box User's Manual U14891EJ1V0UM00 265 CHAPTER 6 WINDOW REFERENCE Break Dialog Box Modeless General This dialog box registers, sets, and displays break event conditions. The break event conditions registered in this dialog box are automatically registered to the Event Manager. Opening method This dialog box can be opened in the following methods. * In the main window Select [Event] [Break...] from the menu bar. Press the GRPH + N , and B keys in that order. Click the button on the toolbar. * In the Event dialog box Click the button. Press the shortcut keys GRPH + B . * Execute one of the following operations in the event manager area in the Event, Event Link, or Trace dialog box. Select the break event condition and click Double-click the break event condition. * In the Event Manager, execute one of the following operations. . Select the break event condition and click Double-click the break event condition. * Execute one of the following operations in the New Event dialog box or the Set Other dialog box. Click the button. Press the shortcut keys GRPH + B . . Select the break event condition and press the shortcut keys GRPH + O . 266 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Window Figure 6-60. Break Dialog Box When event manager area is displayed (1) (2) (3) When event manager area is not displayed (1) (2) (1) Break event name setting area (2) Break condition setting area (3) Event manager area User's Manual U14891EJ1V0UM00 267 CHAPTER 6 WINDOW REFERENCE Function This dialog box registers, sets, and displays break event conditions. Up to 256 break event conditions can be entered. However, the number of break event conditions that can be used simultaneously is as follows. Table 6-40. Number of Valid Break Event Conditions With/Without TEU With TEU Without TEU 8 2 Note Maximum Valid Number Note Exclusive use of events before execution and access events and address range specification are prohibited. Break event conditions become valid automatically when they are entered. However, if the number of break event conditions exceeds the number that can be used simultaneously, or if the number of event conditions or event link conditions in use exceeds the number that can be used simultaneously, the break event conditions are entered in the disabled state. Note that if [Run] [Ignore Break Point] is selected, the break event condition will not operate even if it is enabled. The Break dialog box consists of the following areas. * Break event name setting area * Break condition setting area * Event manager area The function of each area is explained below. (1) Break event name setting area This area sets break event names and selects break event conditions. When entering a break event condition, it is necessary to set a break event name. The break event name that can be set must be of 8 alphanumeric characters or less. When displaying break event conditions which have already been created, either type the break event name of the already created break event condition in the text box or select the break event condition from the dropdown list in the break event name setting area. Clicking the event condition. The relationship between the color of the character in the mark and the status is shown below. mark in the break event name setting area switches between enabling or disabling the break 268 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Table 6-41. Meanings of Event Icons (Break Event Condition) Color of Character in Red Mark Condition Indicates that the break event condition has been enabled. A break event occurs if the condition is satisfied. Indicates that the break event condition has not been enabled. No break event occurs if the condition is satisfied. Indicates that the break event condition is currently being edited and that it has not been entered. Indicates that the break event is an event which is in the hold state. An event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. Black Gray Yellow (2) Break condition setting area This area sets an event condition for a break. The number of event conditions that can be set in the break condition setting area is as follows. Table 6-42. Number of Events That Can Be Set in Break Condition Setting Area Type Execution condition (with TEU) Event condition (without TEU) Event link condition 8 2 1 Note Number of Events That Can Be Set Note Exclusive use of events before execution and access events. To set an event condition, use one of the following methods. * Click which is to be set. * Click and open the Event Link dialog box in the select mode, then select the event link , or make the setting by a condition which is to be set. * Select an event link condition in the event manager area and click drag-and-drop operation. When setting the event condition or event link condition by a drag-and-drop operation, besides the event manager area in the Break dialog box, it is possible to set it from the event manager area and Event Manager in each setting dialog box. and open the Event dialog box in the select mode, then select the event condition User's Manual U14891EJ1V0UM00 269 CHAPTER 6 WINDOW REFERENCE When the focus is on the break condition setting area, clicking condition or event link condition. It can also be deleted by DEL key. deletes the selected event If only one event condition or event link condition in the break condition setting area is selected and is clicked or the item is double-clicked, the Event dialog box or Event Link dialog box is opened and the event condition or event link condition contents are displayed. (3) Event manager area This area displays a list of each of the entered events, event links, breaks, and traces events. An event or event link condition that is displayed in the event manager area can be set in the break condition setting area by clicking . Also, event conditions or event link conditions in the event manager area can be dragged and dropped directly to the break condition setting area. When the focus is on the event manager area, select the event icon, then click DEL key and the selected event can be deleted. Also, when the focus is on the event manager area, you can select one event icon, then click the event's setting contents. By clicking , it is possible to select the event manager area display mode or sequencing. , or press the , or double-click the event icon to open the setting dialog box corresponding to the selected event and display Function buttons Closes the Break dialog box. If there is a break event condition that is being edited, it is entered automatically and the dialog box is closed. Break event conditions are enabled as soon as it is entered. Newly creates a break event condition. A break event name is generated automatically and a newly created break event condition is prepared. condition using the After it is created, be sure to enter the break event or the button. Enters the break event condition. When a new break event condition is created or when the contents of a break event condition have been changed, be sure to enter the break event condition using this button. If a break event condition that has already been entered is displayed, this button button or the button. changes to either the 270 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Enables a break event condition. This button is displayed in cases where a break event condition is in the disabled state. It changes to either the Disables a break event condition. This button is displayed in cases where a break event condition is in the enabled state. It changes to either the button or the button. button or the button. Clears the contents of a break event condition. If a break event condition is entered but not edited, this button is displayed. It changes to the button. Restores the break event condition to its original contents. If a break event condition that has not been entered is displayed, the display area is restored to the blank state except for the break event name. This button is displayed in the case where a break event condition is being edited. It changes to the button. Closes this dialog box. If a break event condition is not being created/changed/deleted, the button becomes this button. Even if a break event condition is being edited, this dialog box is closed without entering the condition. The ESC key has the same operation. Closes this dialog box. If a break event condition has being created/changed/deleted, the button becomes this button. Even if a break event condition is being edited, this dialog box is closed without entering the condition. The ESC key has the same operation. Opens the help window. Opens the Event dialog box in the select mode and selects the set event condition. Opens the Event Link dialog box in the select mode and selects the set event link condition. Displays the contents of an event selected in the break condition setting area or the event manager area by opening each dialog box. When the event is not selected, or if multiple events have been selected, this button is disabled. Its operation is the same as double-clicking the event icon. User's Manual U14891EJ1V0UM00 271 CHAPTER 6 WINDOW REFERENCE Deletes an event selected in the break condition setting area or the event manager area. Pressing the DEL key performs the same operation. Displays the event manager area. Expands the size of the dialog box. When the event manager area is not displayed, this button is displayed in place of the button. Does not display the event manager area. Shrinks the size of the dialog box. When the event manager area is displayed, this button is displayed in place of the button. Adds the event condition or event link condition selected in the event manager area to the break condition setting area. The area where the event condition is added is the selected area when button is clicked. An event other than an event condition or an event link condition cannot be added. Opens the Event Info dialog box. The The them. The The mode. The mode. The button or the ESC key closes the dialog box. button changes the event manager area to the list display button displays the events in the order in which they were button changes the event manager area to the detailed display entered without rearranging them. button rearranges events in name order and displays them. button rearranges the events in order by kind and displays Opens the Set Other dialog box. Clicking each button opens the Event Manager and the Event, Event Link, or Trace dialog box, and closes the dialog box. Close the dialog box by clicking Break dialog box. or and return to the 272 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Trace Dialog Box Modeless General This dialog box registers, sets, and displays trace event conditions. The trace event conditions registered in this dialog box are automatically registered to the Event Manager. This dialog box is valid only for CPU cores with the TRCU incorporated. Opening method This dialog box can be opened in the following methods. * In the main window Select [Event] [Trace...] from the menu bar. Press the GRPH + N , and T keys in that order. Click the button on the toolbar. * In the Event dialog box Click the button. Press the shortcut keys GRPH + T . * Execute one of the following operations in the event manager area in the Event, Event Link, or Break dialog box. button. Select the trace event condition and click the Select the trace event condition and press the shortcut keys GRPH + O . Double-click the trace event condition. * Execute one of the following operations in the Event Manager. Select the trace event condition and click the Double-click the trace event condition. * Execute one of the following operations in the New Event dialog box or Set Other dialog box. Click the button. Press the shortcut keys GRPH + T . button. User's Manual U14891EJ1V0UM00 273 CHAPTER 6 WINDOW REFERENCE Window Figure 6-61. Trace Dialog Box When event manager area is displayed (1) (2) (3) (4) When event manager area is not displayed (1) (2) (3) (1) Trace event name setting area (2) Delay trigger condition setting area (3) Section trace start/end condition setting area (4) Event manager area Function This dialog box registers, sets, and displays trace event conditions. The following 2 types of condition traces can be set. * Section trace * Delay trace 274 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Up to 256 trace event conditions can be entered. However, the number of trace event conditions that can be used simultaneously is 1. Trace event conditions become valid automatically when they are entered. However, if the enabled trace event conditions exist, or if the number of event conditions in use exceeds the number that can be used simultaneously, the trace event conditions are entered in the disabled state. Also, in this case, a trace event condition cannot be enabled. A trace is performed only when the tracer is in the enabled state. Set it by the procedure shown below. <1> Select [Option] [Tracer ON] from the menu bar in the main window and enable the tracer. <2> When performing a conditional trace, select [Run] [Cond. Trace ON], and in other cases, select [Run] [Uncond. Trace ON]. While the user program is executed, in order to stop the currently operating tracer, select [Run] [Tracer Stop] from the menu bar. Also, during program execution, in order to run the currently stopped tracer, select [Run] [Tracer Start] from the menu bar. These two menus toggle and their display changes according to the current tracer state. One of the following can be selected as the tracer control mode. Select [Run] menu [Tracer Control Mode]. [Non Stop] [Full Stop] [Delay Trigger Stop] The total trace memory is traced and then overwritten from the oldest frame (default). The total trace memory is traced and then the tracer is stopped. The tracer is stopped after tracing for the delay count when a delay trigger event occurs. This dialog box consists of the following areas. * Trace event name setting area * Delay trigger condition setting area * Section trace start/end condition setting area * Event manager area Multiple event conditions can be set to the delay trigger condition setting area and section trace start/end condition setting area. However, the total number of event conditions that can be set to the delay trigger condition setting area and section trace start/end condition setting area is as follows. Table 6-43. Total Number of Events That Can Be Set to Each Area in Trace Dialog Box Type Execution condition (with TEU) Event condition (without TEU) Event link condition 6 Note Number of Events That Can Be Set Setting disabled Setting disabled Note As long as the number of events being used does not exceed the number of events that can be used simultaneously. The function of each area is explained below. User's Manual U14891EJ1V0UM00 275 CHAPTER 6 WINDOW REFERENCE (1) Trace event name setting area This area sets trace event names and selects trace event conditions. When entering a trace event condition, it is necessary to set a trace event name. A trace event name that can be set must be of 8 alphanumeric characters or less. When displaying trace event conditions which have already been created, either type the trace event name of the already created trace event condition in the text box or select the drop-down list in the trace event name setting area. Clicking the event condition. The relationship between the color of the character in the mark and the status is shown below. mark in the trace event name setting area switches between enabling or disabling the trace Table 6-44. Meanings of Event Icons (Trace Event Condition) Color of Character in Red Mark Condition Indicates that the trace event condition has been enabled. A trace event occurs if the condition is satisfied. Indicates that the trace event condition has not been enabled. No trace event occurs if the condition is satisfied. Indicates that the trace event condition is currently being edited and that it has not been entered. Indicates that the trace event is an event which is in the hold state. An event in the hold state is in a state where the symbol specified by the event condition by program download, etc. cannot be referred to. Black Gray Yellow (2) Delay trigger condition setting area This area sets an event condition for delay trigger. The delay count is set in the Delay Count Setting dialog box. 276 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE (3) Section trace start/end condition setting area This area sets an event condition to start section trace to Section Start: and an event condition to end section trace to Section End:. To set a delay trigger condition and section trace start/end condition, use one of the following methods. * Click which is to be set. * Select one or more event condition in the event manager area and click by a drag-and-drop operation. When setting the event condition by a drag-and-drop operation, besides the event manager area in the Trace dialog box, it is possible to set it from the event manager area and Event Manager in each setting dialog box. , or make the setting and open the Event dialog box in the select mode, then select the event condition When the focus is on the condition setting area, click the DEL key and the selected event condition can be deleted. Selecting an event condition in the condition setting area and clicking opens the Event dialog box and displays the contents of the event condition. button, or press the or double-clicking it The condition setting area is left blank when there is a newly created trace event condition. (4) Event manager area In this area a list of each event, event link, break, and trace event is displayed. By selecting an event condition displayed in the event manager area and clicking condition can be set in each condition setting area. Also the event condition in the event manager area can be directly dragged and dropped in each event condition setting area. When the focus is on the event manager area, select an event icon, then click the press the DEL key and the selected event can be deleted. When the focus is on the event manager area, selecting an event icon and clicking contents of the settings of the event. By clicking , it is possible to select the event manager area display mode or sequencing. button, or or double, the event clicking an event icon opens the setting dialog box corresponding to the selected event, and displays the User's Manual U14891EJ1V0UM00 277 CHAPTER 6 WINDOW REFERENCE Function buttons Closes the Trace dialog box. If there is a trace event condition that is being edited, it is entered automatically and the dialog box is closed. The trace event condition becomes enabled as soon as it is entered. Newly creates a trace event condition. A trace event name is generated automatically and a newly created trace event condition is prepared. After it is created, be sure to enter the trace event condition using the or the button. Enters a trace event condition. When a new trace event condition has been created or when the contents of a trace event condition have been changed, be sure to enter the trace event condition using this button. If trace event conditions that have already been entered are displayed, it changes to either the button or button. Enables a trace event condition. This button is displayed in cases where a trace event condition is in the disabled state. It changes to either the Disables a trace event condition. This button is displayed in cases where a trace event condition is in the enabled state. It changes to either the button or the button. button or the button. Clears the contents of a trace event condition. If a trace event condition is entered but not edited, this button is displayed. It changes to the button. Returns the contents of a trace event condition to the original contents. If a trace event condition that has not been entered is displayed, all the area is made blank except the trace event name. If a trace event condition is being edited, this button is displayed in place of the button. Closes the Trace dialog box. If a trace event condition is not being created/changed/deleted, this button becomes the button. Even if a trace event condition is being edited, the dialog box closes without the trace event condition being entered. The ESC key has the same operation. 278 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Closes the Trace dialog box. If a trace event condition has been created/changed/deleted, after that, the button becomes this button. Even if there is a trace event condition that is being edited, the dialog box closes without the trace event condition being entered. The ESC key has the same operation. Opens the help window. Opens the Event dialog box in the select mode and selects an event condition to be set. Opens the Event Link dialog box in the select mode and selects an event link condition to be set. Displays the event contents selected in each condition setting area or event manager area by opening each setting dialog box. When the event is not selected, or if multiple events have been selected, this button is disabled. Its operation is the same as double-clicking the event icon. Deletes the event selected in each condition setting area or event manager area. The DEL key has the same operation. Displays the event manager area. Expands the size of the dialog box. When the event manager area is not displayed, this button is displayed in place of the button. Does not display the event manager area. Shrinks the size of the dialog box. When the event manager area is displayed, this button is displayed in place of the button. Adds the event condition or event link condition selected in the event manager area to each condition setting area. The area where the event condition is added is the selected area when button is clicked. An event other than an event condition or an event link condition cannot be added. User's Manual U14891EJ1V0UM00 279 CHAPTER 6 WINDOW REFERENCE Opens the Event Info dialog box. The The them. The The mode. The mode. The button or the ESC key closes the dialog box. button changes the event manager area to the list display button displays the events in the order in which they were button changes the event manager area to the detailed display entered without rearranging them. button rearranges events in name order and displays them. button rearranges the events in order by kind and displays Opens the Set Other dialog box. Clicking each button opens the Event, Event Link, or Break dialog box and the Event Manager, and closes the Set Other dialog box. Close the dialog box by clicking Trace dialog box. or and return to the 280 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Delay Count Setting Dialog Box Modeless General This dialog box sets and displays the delay count to perform trace. This dialog box is valid only for CPU cores with the TRCU incorporated. Opening method This dialog box can be opened in the following methods. * In the main window Select [Event] [Delay Count] from the menu bar. Press the shortcut keys GRPH + F and Y . Window Figure 6-62. Delay Count Setting Dialog Box (1) Delay count setting area Function This dialog box sets and displays delay count. Setting the delay count enables a trace to be performed for specified delay count after the delay trigger event condition set in the Trace dialog box is satisfied. The Delay Count Setting dialog box consists of the following area. * Delay count setting area The function of this area is explained below. (1) Delay count setting area This area sets a delay count (in frame units). The settable range is from 0 (default) to 32767. User's Manual U14891EJ1V0UM00 281 CHAPTER 6 WINDOW REFERENCE Function buttons Closes the Delay Count Setting dialog box after setting the edited delay count. Returns the delay count to the previous value. Closes the Delay Count Setting dialog box. Opens the help window. 282 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Reset Debugger Dialog Box Modal General This dialog box initializes the debugger, symbol information, and CPU. Opening method This dialog box can be opened in the following methods. * In the main window Select [File] [Debugger Reset...] from the menu bar. Press the GRPH + F , and R keys in that order. Window Figure 6-63. Reset Debugger Dialog Box (1) Reset subject select area Function This dialog box specifies the subject to be initialized using a check box. As the default, only the debugger is initialized. The Reset Debugger dialog box consists of the following area. * Reset subject select area The function of this area is explained below. User's Manual U14891EJ1V0UM00 283 CHAPTER 6 WINDOW REFERENCE (1) Reset subject select area This area selects the subject to be reset. Debugger: Symbol: Target CPU: Initializes the debugger (default). Resets symbol information. Resets CPU. Function buttons Initializes the selected subject. Ignores the setting and closes this dialog box. Opens the help window. 284 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE About Dialog Box Modal General This dialog box displays the version information of the debugger. Opening method This dialog box can be opened in the following methods. * In the main window Select [Help] [About...] from the menu bar. Press the GRPH + H , and A keys in that order. Window Figure 6-64. About Dialog Box Function This dialog box displays the version of the debugger and the version information of the device files, GUI, project manager tool DLLs, debugger DLLs, assembler DLLs, executor, and monitor. Function button Closes the About dialog box. User's Manual U14891EJ1V0UM00 285 CHAPTER 6 WINDOW REFERENCE Exit Debugger Dialog Box Modal General This dialog box terminates the debugger. When terminating the debugger, the debugging environments can be saved in a project file. Opening method This dialog box can be opened in the following methods. * In the main window Select [File] [Exit] from the menu bar. Press the GRPH + F , and X keys in that order. Also, the Exit Debugger dialog box opens when a compulsory close is executed, such as when Windows is closed or when an application is closed in the task list. Window Figure 6-65. Exit Debugger Dialog Box Function This dialog box specifies, by using a check box, whether the current debugging environments are saved in a project file or not when the debugger is terminated. As the default, the debugging environments are not saved in a project file. If the project file has been saved or loaded during a debugging operation, the default is to save the debugging environments. When the check box is checked and the then terminated. If the project file has been saved or loaded during a debugging operation, however, the Project File Save dialog box is not opened, and the debugging environments are saved in the project file. If the terminated. Note that the Exit Debugger dialog box can be set not to open in the Debugger Option dialog box. button is clicked without checking the check box, all the windows are closed, and the debugger is button is clicked, the Project File Save dialog box is opened, the current debugging environments are saved in the project file, and all the windows are closed. The debugger is 286 User's Manual U14891EJ1V0UM00 CHAPTER 6 WINDOW REFERENCE Function buttons When the check box is checked, the Project File Save dialog box is opened, the current debugging environments are saved in the project file, and all the windows are closed. The debugger is then terminated. When the check box is not checked, all the windows are closed, and the debugger is terminated. Closes this dialog box without performing anything. Opens the help window. User's Manual U14891EJ1V0UM00 287 CHAPTER 6 WINDOW REFERENCE Error/Warning Dialog Box Display dialog (Modal) General This dialog box is opened if an error or a warning occurs, to inform the user to check the message. Window Figure 6-66. Error/Warning Dialog Box Function Contents of the error or warning are displayed in the message display area. Refer to the list of error messages, if an error occurs. Function button Closes this dialog box. 288 User's Manual U14891EJ1V0UM00 APPENDIX A DEBUGGING WITH ID850NW This appendix explains the basic debugging operation using the ID850NW. For the details of each window and dialog box mentioned in this section, refer to CHAPTER 6 REFERENCE. (1) Setting debug environment Set the operating environment of debugger. If a previous debug environment has been saved to the project file, the debug environment can be restored by loading that file. The procedure differs as follows depending on whether the project file is used or not. (a) When project file is not used <1> Set all the items in the Configuration dialog box. <2> Set the extended options in the Extended Option dialog box. <3> Set the debug options in the Debugger Option dialog box. Caution Always specify the startup symbol. WINDOW (b) When project file is used * When project file is used at startup <1> Click Project... in the Configuration dialog box. The Project File Load dialog box will open. <2> Specify the project file name and click OK . The project file will be loaded. The following procedure can also be used. <1> Select [Run] from the Start menu in Windows. <2> Use the Browse button to specify the file to be executed, id850n32.EXE. <3> After id850n32.EXE, specify the name of the project file to be used (eg. A:\nectools32\bin\id850n32.EXEB:\Test\Test1.prj ( = space)). <4> Click OK . * When project file is used during debugging <1> Select [File] [Project] [Open] in the main window, or click the The Project File Load dialog box will open. <2> Specify the project file name and click OK . The project file will be loaded. (2) Download load module file (a) Download the load module file to be debugged. Download dialog box (b) Confirming loaded files Load Module List dialog box button. User's Manual U14891EJ1V0UM00 289 APPENDIX A DEBUGGING WITH ID850NW (3) Display disassemble result Display the result of disassembling the user program downloaded. Assemble window The method of displaying the disassemble display label column and mnemonic column can be changed. Debugger Option dialog box (4) Display source program Display the source program. The program whose source can be debugged must have debug information compiled with the -g option specified. Source window (a) Setting source path information, display font, and source file extension Debugger Option dialog box (b) Selecting source file Browse dialog box (c) Source file and disassemble Select [View] [Mix] when the source text file is the current window. (5) Setting of event (a) Registering event conditions and event link conditions Event dialog box Event Link dialog box (b) Setting of event conditions Set event conditions by using the event icons in the Event Manager or in the event manager area of various event setting dialog boxes (however, breakpoints can be set in the Source window/Assemble window). * Trace event condition Trace dialog box * Break event condition Break dialog box (c) Checking setting of event conditions Event Manager, the event manager area in each event setting dialog box (6) Checking setting of software break Software Break Manager (7) Executing user program By executing the user program, the value of the PC advances to the set breakpoint, break event, or forced break. * Types of execution Execution control buttons on the toolbar on Main window, or [Run] menu 290 User's Manual U14891EJ1V0UM00 APPENDIX A DEBUGGING WITH ID850NW (8) Checking trace data Trace View window (9) Editing, checking, and changing contents of memory Memory window, Memory Copy dialog box, Memory Fill dialog box, Memory Compare dialog box, Memory Compare Result dialog box (10) Registering, checking, and changing variable values Quick Watch dialog box, Add Watch dialog box, Watch window, Local Variable window (11) Checking contents of stack Stack window (12) Checking and changing of registered contents of register value Register Select dialog box, Register window , IOR window, The PC register value can also be checked in the Source and Assemble windows. (13) Checking and changing peripheral I/O register value IOR window, IOR Select dialog box (14) Registering, checking, and changing user-defined I/O port value Add I/O Port dialog box, IOR window (15) Changing mnemonics and executing on-line assemble Assemble window, Source window (16) Searching character string in each window Source Search dialog box, Assemble Search dialog box, Memory Search dialog box (17) Referencing "display file" saved in previous debugging process View File Load dialog box (18) Saving screen contents to "display file" during debugging View File Save dialog box (19) Uploading memory contents Upload dialog box (20) Saving debug environment to project file Project File Save dialog box (21) Terminating ID850NW Exit Debugger dialog box User's Manual U14891EJ1V0UM00 291 [MEMO] 292 User's Manual U14891EJ1V0UM00 APPENDIX B TERMINOLOGY Words and window types (refer to CHAPTER 6 WINDOW REFERENCE) used in this document are described below. B.1 Terminology The following words are described in this document. * TEU * TRCU * Current window * Delimiter symbol (separator) * Program * Current program * File * Current file * Function * Current function * Structure * Stack frame number * Line * Register name * Numeric value * Address * Symbol * Expression and operator * Character set Each word and the input conventions is explained below. User's Manual U14891EJ1V0UM00 293 APPENDIX B TERMINOLOGY (1) TEU and TRCU Both are parts of the DCU (Debug Control Unit) function. TEU: TRCU: Unit to realize the event function Unit to realize the trace function The number of events that can be set is limited when the TEU is not incorporated in the CPU core. The trace function cannot be used when the TRCU is not incorporated in the CPU core. (2) Current window The current window is the window in which an operation is currently being performed. information can be input from the keyboard and menus can be selected. (3) Delimiter symbol (separator) A file, function, variable, or line can be specified by using the delimiter symbols listed in Table B-1. Table B-1. Delimiter Symbols Symbol # $ Specification Used as a separator between file names and variable/function names and line numbers. Used as a separator between load module names and file, variable, and function names. In this window, (4) Program A program is the executable unit that is subject to debugging. The ID850NW deals with each load module file specified when downloading as one program. The name of a program is specified by using the name of the load module file that is downloaded. (5) Current program The current program is the program that contains the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (PC)). When specifying a file in the current program, specifying the program name may be omitted. (6) File The allowable number of characters in a file name are up to 127 characters in a full path. Depending on the file type, it may be possible to specify a file name more than 127 characters. (7) Current file The current file is the source file that has the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (PC)). When specifying a line or function in the current file by using a command, the file name can be omitted. (8) Function Functions constitute a C source program. 294 User's Manual U14891EJ1V0UM00 APPENDIX B TERMINOLOGY (9) Current function The current function is the function that has the instruction for a break currently taking place (i.e., the instruction indicated by the program counter (PC)). specifying the function name can be omitted. (10) Structure Structures and unions of the C language are generically referred to as "structures". When a structure or union variable is used without explicitly specifying a member, the term "structure" is used. (11) Stack frame number A stack frame number is a decimal number starting from 1. The stack contents are displayed numbered. The shallower the nesting of the stack, the higher the number. Therefore, a function having a stack number 1 less than the stack number of another function calls that function. (12) Line A line is specified to identify a certain line in the source file. Line numbers are specified by an integer constant that starts from 1. (13) Register name A register name is specified by the absolute name of a system register or general-purpose register of the V850 Family microprocessors listed in Table B-2, or by the byname of a register. To access a local variable in the current function, User's Manual U14891EJ1V0UM00 295 APPENDIX B TERMINOLOGY Table B-2. Register Set of V850 Family Register Type Register Name Absolute Name System registers EIPC EIPSW FEPC FEPSW ECR PSW CTPC (V850E) Note Register Type Register Name Absolute Name Byname Byname General-purpose registers r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 CTPSW (V850E) DBPC (V850E) Note Note DBPSW (V850E) CTBP (V850E) Program counter General-purpose registers PC r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 Note Note zero r25 r26 r27 sp gp tp r28 r29 r30 r31 ep lp Note These system registers exist in addition to the system registers described above in the V850E. (14) Numeric value The following four types of numeric values can be used. * Binary input format: nY n...nY (n = 0, 1) * Octal input format: nO n...nO (n = 0 to 7) nQ n...nQ (n = 0 to 7) 296 User's Manual U14891EJ1V0UM00 APPENDIX B TERMINOLOGY * Decimal input format: n n...n nT n...nT (n = 0 to 9) * Hexadecimal input format: n n...n nH n...nH 0xn 0xn...n (n = 0 to F) Cautions 1. Suffixes (Y, O, Q, T, H, 0x) and the alphabet letters in hexadecimal numbers are not case sensitive. 2. If the first character is one of A to F, a 0 must be affixed in front. 3. The radix in the input column switches between decimal and hexadecimal in accordance with the default radix. (15) Address * An address is specified by directly specifying a numeric value. * An address can also be specified by using a symbol or expression. * When specifying an address by using a numeric value, hexadecimal, decimal, octal, or binary numbers can be used. (16) Symbol * A symbol consists of characters A to Z, a to z, @, _ (underline), and 0 to 9. * A symbol must begin with a character other than numerals 0 through 9. * This software distinguishes between uppercase (A to Z) and lowercase (a to z) characters. * A symbol name can consist of up to 256 characters. * If a symbol exceeding 256 characters is specified, the first 256 characters are valid. * A symbol is defined by loading a load module file. * Symbols can be classified into the following types by the valid range. (a) Global symbols (assembly language, C language) (b) Static symbols (C language) Static symbols in files Static symbols in functions (c) Local symbols (C language) Local symbols in file Local symbols in function Local symbols in block User's Manual U14891EJ1V0UM00 297 APPENDIX B TERMINOLOGY * The following symbols exist in each of the languages used. (a) Assembly language Label name (b) C language Variable name (including pointer function name, enumerate type variable name, array name, structure name, and union name) Function name, label name Array element, structure element, union element (if the symbol is an array, structure, or union) * A symbol can be described instead of an address and numeric value. * The valid range of symbols is determined based on the source debugging information when the source file is assembled or compiled. * A global symbol only describes a symbol name. * A local symbol is expressed as a pair with a file name. (17) Expression and operator Symbol + - * / Addition Subtraction Multiplication Division Meaning Remark Returns sum of values of first and second terms Returns difference in value between first and second terms Returns product of values of first and second terms Divides value of first term by value of second term, and returns integer of result Divides value of first term by value of second term, and returns remainder of result Returns two's complement of value of term Returns two's complement of value of term MOD, % - sign + sign Remainder Unary operation (negative) Unary operation (positive) 298 User's Manual U14891EJ1V0UM00 APPENDIX B TERMINOLOGY Logical operators Symbol NOT ~ AND & OR | XOR ^ Meaning Negation Remark NOTs each bit of term, and returns result. Logical product ANDs each bit of values of first and second terms, and returns result Logical sum ORs each bit of values of first and second terms, and returns result Exclusive logical sum Exclusive-ORs each bit of values of first and second terms, and returns result Shift operators Symbol SHR >> Meaning Right shift Remark Right shifts the first term the amount of the value (bit number) expressed by the second term and returns the result. The number of higher bits shifted are replaced with 0. Left shifts the first term the amount of the value (bit number) expressed by the second term and returns the result. The number of lower bits shifted are replaced with 0. SHL << Left shift Byte resolution operators Symbol HIGH LOW Meaning Higher byte Lower byte Remark The higher 8 bits of the term's lower 16 bits are returned. The lower 8 bits of the term's lower 16 bits are returned. Word resolution operators Symbol HIGHW LOWW Meaning Higher word Lower word Remark The higher 16 bits of the term's 32 bits are returned. The lower 16 bits of the term's 32 bits are returned. Others Symbol ( ) Meaning Left parenthesis Right parenthesis Remark Executes operation in ( ) before operations outside ( ) Cautions 1. Parentheses "(" and ")" must be always used in pairs. 2. Operations are performed in compliance with the following rules. * The operation sequence is in accordance with the priority of the operator. * When the priority of operators is the same, the operation sequence is from left to right. User's Manual U14891EJ1V0UM00 299 APPENDIX B TERMINOLOGY * The operation within parentheses is executed before the operations outside the parentheses. * Each term of an operation is treated as unsigned 32-bit data. * All the operation results are treated as unsigned 32-bit data. * If an overflow occurs during operation, the lower 32 bits are treated as valid, and the overflow is not detected. 3. The priority of the operator is as follows. Priority 1 2 3 4 5 6 Lower Higher (, ) + sign, - sign, NOT, ~, HIGH, LOW, HIGHW, LOWW *, /, MOD, %, SHR, >>, SHL, << +, - AND, & OR, I, XOR, ^ Operator Symbol Alphabet character Numerals Alphabet equivalent characters Special characters Uppercase characters Lowercase characters Description ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 @_ .,:;*/%+-`"<>()![]&\^|~#=$?`{} 300 User's Manual U14891EJ1V0UM00 APPENDIX B TERMINOLOGY Other character set Character . , * / % + - ( ) [ ] & ^ | ~ Period Comma Asterisk Slash Percent Plus Minus Left parenthesis Right parenthesis Left bracket Right bracket Ampersand Control Vertical line Tilde Name Main Usage Direct member operator, bit position specifier Delimiter of operands Multiplication operator or indirect reference operator Division operator Remainder operator Positive sign or addition operator Negative sign or subtraction operator Changes operation sequence Changes operation sequence Array subscript operator, base register specification symbol Array subscript operator, base register specification symbol Address operator or bit AND operator Bit XOR operator Bit OR operator Complement operator User's Manual U14891EJ1V0UM00 301 APPENDIX B TERMINOLOGY B.2 Window Type and Configuration The ID850NW debugger consists of windows and dialog boxes. Basically, a window can be opened by using an icon, while a dialog box cannot. B.2.1 Windows Windows are broadly divided into the following 2 types. * Main windows * MDI child windows MDI child windows cannot be displayed outside of the main window frame. B.2.2 Dialog boxes Dialog boxes can be classified into the following two types. * Modal dialog boxes * Modeless dialog boxes (1) Modal dialog boxes When this type of dialog box is open, the user cannot access other windows or dialog boxes until the dialog box is exited. When the dialog box is closed after the operation in the dialog box has been completed or by selecting the Cancel button of the dialog box, other windows and dialog boxes can be accessed. (2) Modeless dialog boxes Unlike a modal dialog box, the user can access other windows and dialog boxes even if the operation in the dialog box has not been completed. 302 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST The error messages displayed in the ID850NW consist of Error No. + Type + Message . Figure C-1. Display Format of Error Message Error number Type Message When the OK button is clicked, the Error Message window is closed, and the operation is performed in accordance with the message. The error type is identified by the following three uppercase characters. Table C-1. Error Message Type Type A Meaning Fatal error (Abort Error). The processing is aborted and the debugger is terminated. If this error occurs, the debugging work cannot be continued. Syntax error (Fatal Error). The processing is aborted, and all the windows and dialog boxes are closed. Warning. The processing is aborted. All the windows and dialog boxes are not closed. F W Table C-2 lists the error messages. User's Manual U14891EJ1V0UM00 303 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (1/22) Error No. 0002 F Type This feature is not supported. This function is not supported. Can not communicate with ICE. Please confirm the installation of the device driver for the PC interface board. Communication with the in-circuit emulator cannot be established. Check that the device driver for the interface board has been correctly installed. Can not find initialization file (expc.ini). An initialization file (EXPC.INI) cannot be found. Host name not found. No host name is found. Data transfer to ICE is timed out. Please confirm the power of ICE, connection of the interface cable, or I/O address of the PC interface board. Data could not be transmitted to the in-circuit emulator. Check the in-circuit emulator's power supply, cable connection, I/O address settings, etc. Data receive from ICE is timed out. Please confirm the power of ICE, connection of the interface cable, or I/O address of the PC interface board. The in-circuit emulator returns no response. Check the in-circuit emulator's power supply, cable connection, I/O address settings, etc. Failed in reading device file (d3xxx.800). The device file (d3xxx.800) could not be correctly read. Illegal data received. Received data is abnormal. No response from the evachip. Please confirm the signal of the CLOCK or RESET, WAIT, HLDRQ and so on. There was no response from the evaluation chip. Check that the RESET, WAIT, HLDRQ (etc) signals or the clock signal are not abnormal. Failed in reading ie703000.ie. ie703000.ie could not be correctly read. Break board is not connected. The BK board is not connected. Emulation board is not connected. The emulation board is not connected. Board configuration of ICE is not consistent. The board configuration in the in-circuit emulator is not consistent. POD/EM1 board is not connected. The POD/EM1 board is not connected. Executor is running. The executor is running. Failed in reading initialization file (expc.ini). The initialization file (EXPC.INI) has not been correctly read. Failed in starting simulator. Simulator startup has failed. Not enough memory in starting simulator. There is not enough memory in starting simulator. Error Message/Meaning 0100 A 0101 A 0102 A 0103 A 0104 A 0105 A 0106 A 01a0 A 01a1 A 01a2 A 01a3 A 01a4 A 01a5 A 01a6 A 01a8 A 01d0 A 01d1 A 304 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (2/22) Error No. 0200 F Type Verification error. A verify error. Bus hold error. The bus is in the hold status. Not enough memory for trace-buffer. Memory for trace frame cannot be allocated. User program is running. The user program is being executed. User program is being breaked. The user program is being broken. User program is being traced. The user program is being traced. Not traced. Tracer measurement is not performed. Trace memory is not set. The tracer is off. No trace block exists. There is no trace block. No event condition exists. There is no event condition. No timer measurement is done. Timer measurement is not performed. No trigger frame exists. There is no trigger frame. Tracer is being stopped. The tracer is stopped. Specified snap-event has not been registered. The snap event to be referenced/deleted is not registered. Specified stub-event has not been registered. The stub event to be referenced/deleted is not registered. Timer is running. The timer is operating. Memory copy area is overlapped. The memory copy range has been overlapped. Trace has been already set. Trace is already in the ON status. Event condition is not set. No event condition is set. Too many valid timer event conditions. The number of valid timer event conditions exceeds the maximum settable number. Specified timer event is not set. This timer event is not set. Error Message/Meaning 02a0 F 02d2 F 0300 F 0301 F 0302 F 0303 F 0304 F 0306 F 0307 F 0308 F 0309 F 030a F 030b F 030c F 030d F 030e F 030f F 0310 F 0311 F 0312 F User's Manual U14891EJ1V0UM00 305 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (3/22) Error No. 0313 F Type Illegal map range. The map setting is wrong. Target is not turned on. Power is not supplied to the target device. Step execution is being done. This command is under step execution. Timer and Tracer are running. The timer and tracer are operating. Backtrace is being executed. Back trace is under execution. Backtrace is being stopped. Back trace is stopped. Backtrace execution point overrun oldest frame. The back trace execution stop position exceeds the oldest frame. Illegal AND condition. AND condition is illegal. No backtrace information exists. The back trace information does not exist. Last command can not be backstepped. Back step of the last instruction could not be performed. Illegal condition. The specified condition is illegal. Result of timer measurement overflowed. The timer measurement result has overflow. Too many event conditions with path count. Too many event conditions that set path count have been used. Too many address range conditions. The maximum value of the address range specification condition is exceeded. Too many simultaneously-usable-event conditions. The maximum number of event conditions that can be used simultaneously is exceeded. Too many snap-events. The maximum number of snap events that can be set is exceeded. Too many stub-events. The maximum number of stub events that can be set is exceeded. Too many initialization data. The number of initialized data exceeds the initialization area. Too large search data (> 16 byte). The searched data exceed 16 bytes. Too large search data (> search range). The size of the searched data exceeds the size of the search range. Too many Linking-event conditions. The maximum number of integrated events that can be set is exceeded. Error Message/Meaning 03a0 W 03a1 F 03a2 F 03d0 A 03d1 A 03d2 A 03d3 A 03d4 A 03d5 A 0400 F 0401 F 0402 F 0403 F 0404 F 0405 F 0406 F 0407 F 0408 F 0409 F 040a F 306 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (4/22) Error No. 04a0 F Type Error Message/Meaning Too many software breaks (> 100). The number of software breaks exceeds 100. Not enough memory for emulation. The memory for emulation is insufficient. Too many partition of bus size. The maximum number of delimiters of bus size has been exceeded. Too many execution-event conditions. The maximum number of execution event conditions has been exceeded. Too many bus-event conditions. The maximum number of bus event conditions has been exceeded. Can not allocate buffer. A buffer could not be allocated. Monitor file read error. The monitor file could not be read. Guarded area can not be accessed. There was an attempt to access a guarded area. Different address condition is specified in re-registering event. The address condition when the event was reregistered was different to the previous one. Coverage test is being executed. A coverage test is under execution. Event number with different condition exits. An event number with a different condition exists. Can not register event numbers which can not be used for hardware break. It is impossible to register event numbers that cannot be used for hardware breaks. Event numbers reserved for hardware breaks can not be used. It is impossible to use event numbers that are used for hardware breaks. Can not communicate with ICE. Please confirm the power of ICE, connection of the interface cable, or I/O address of the PC interface board. Communication with the in-circuit emulator could not be established. Check the in-circuit emulator's power supply, cable connection, I/O address settings, etc. Monitor file not found. The monitor file could not be found. Failed in initializing ICE. Initializing the in-circuit emulator has failed. No entry exists for specified number. The entry of the specified number does not exist. Can not relocate internal RAM. The internal RAM cannot be relocated. Illegal relocation address. The relocation address is illegal. Illegal condition. The specified condition is illegal. Invalid attribute. The attribute is invalid. 04a1 F 04a2 F 04a3 F 04a4 F 0600 A 0c00 F 0c20 F 0c40 F 0c41 F 0c60 F 0c61 F 0c62 F 0ca0 F 0ca1 F 1000 A 1001 A 1002 A 1003 F 1004 F 1005 A User's Manual U14891EJ1V0UM00 307 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (5/22) Error No. 1006 F Type Illegal address. The address is illegal. Not enough memory on ICE. In-circuit emulator alternate memory is short. Can not allocate memory for tables. Memory for tables cannot be allocated. Already initialized. Already initialized. Not initialized. Not initialized yet. User program is running. The user program is being executed. Different bus size has been already specified. An attempt was made to set in duplicate an area with different bus size. Too large bus size. The bus size exceeds the maximum value able to be defined. Too large bus partition size. The delimiter of bus size has exceeded the maximum value. Target is not turned on. The power supply of the target is off. Illegal map range. An illegal map range specification was made. Failed in setting internal ROM and RAM. Setting the internal ROM and RAM has failed. This feature is not supported. This function is not supported. No terminal name. This pin name does not exist. Can not communicate with ICE. A communication error has occurred. Communication with the in-circuit emulator cannot be performed. Internal error. Internal error of the debugger. Illegal I/O register name. The I/O register name is illegal. Illegal address. The address is illegal. User program is running. The user program is being executed. Illegal I/O register number. An illegal number of I/O registers were specified. Illegal bit number. The bit position is illegal. Error Message/Meaning 1007 A 1008 A 1009 A 100a A 100b F 100c F 100d F 100e F 100f W 1010 A 1011 F 1012 F 1013 F 10ff A 1dbe A 2000 F 2001 A 2002 F 2003 F 2004 F 308 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (6/22) Error No. 2005 W Type Error Message/Meaning Redraw I/O register name. An I/O register that must not be redrawn is specified. This I/O register is hidden I/O register. An I/O register with a hidden attribute was specified. Can't read/write. A read/write disabled I/O register was specified. Too big number. The specified I/O register does not exist. Error in device file. A device file error. Illegal value specified for I/O register. An illegal value was specified for the I/O register. An attempt was made to set the value that can't be written to IOR. Can not copy. Copying has failed. Can not allocate memory. Memory allocation has failed. Can not communicate with ICE. A communication error has occurred. Communication with in-circuit emulator cannot be established. Illegal condition. The specified condition is illegal. Illegal address. The address is illegal. Memory has different value. The memory contents do not match. Illegal source address. The source address is illegal. Illegal destination address. The destination address is illegal. Illegal address (source & destination). Both source address and destination address are illegal. Illegal condition. The specified condition is illegal. User program is running. The user program is being executed. Verification error. Verify error. No condition specified. A condition has not been specified. Parameter size does not align with access size alignment. The size of the parameter is not access size alignment. Specified address does not align with access size alignment. The specified address is not access size alignment. 2006 F 2007 F 2008 F 2009 A 200a F 200b A 200c A 20ff A 2222 A 3000 F 3001 F 3002 F 3003 F 3004 F 3005 F 3006 F 3007 A 3008 F 3009 F 300a F User's Manual U14891EJ1V0UM00 309 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (7/22) Error No. 300b F Type Error Message/Meaning Source address does not align with access size alignment. The specified address (Source) is not access size alignment. Destination address does not align with access size alignment. The specified address (Destination) is not access size alignment. Illegal end address. The end address is illegal. Different access size in specified area. The access size differs in the specified range. Different access size both in source and destination areas. The access size differs in the specified range (Source). Different access size in destination area. The access size differs in the specified range (Destination). Different access size, source & destination. The access size differs between the specified range (Source) and specified range (Destination). Can not allocate memory. Memory allocation has failed. Failed in writing DMM. Writing DMM has failed. Overflowed mapping area. The mapping area is exceeded. Interrupted. Processing is aborted. This feature is not supported. This function is not supported. Can not communicate with ICE. A communication error has occurred. Communication with the in-circuit emulator cannot be established. Can not delete specified event number. The specified event number cannot be deleted. Illegal table number. The specified table number is illegal. Illegal start address. The start address is illegal. Illegal end address. The end address is illegal. Illegal status. The status is illegal. Illegal data. The data is illegal. Specified event number has been already used. An attempt was made to specify an event number that has already been used. Too many same events are registered. The maximum of the number of registered events of the same type is exceeded. 300c F 300d F 300e F 300f F 3010 F 3011 F 3012 A 3013 A 3014 F 3015 A 3016 F 30ff A 4000 F 4001 F 4002 F 4003 F 4004 F 4005 F 4006 F 4007 F 310 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (8/22) Error No. 4008 F Type Error Message/Meaning Specified event has not been registered. The specified event is not registered. Illegal data size. The data size is illegal. Illegal mode. The mode is illegal. Illegal condition. The specified condition is illegal. Illegal type. The type is illegal. Too many identical events are registered (>= 32767). An attempt was made to make registration exceeding 32,767 of the same registered events. Specified event condition does not exist. The specified event condition does not exist. Illegal event link condition. An event link condition is illegal. Function not found. The specified function was not found. Not enough memory. Application has run out of memory. Timer is being disabled. The timer is invalid. Access size is different from its mapped bus size. The access size and mapped bus size differ. Can not use software break. Software break cannot be used. Can not use event condition specifying address range. An event condition with a range specified cannot be used for an address condition. Can not change event condition. The event condition cannot be changed. Can not access word at odd address. Word access to an odd address cannot be performed. Not enough memory. Application has run out of memory. Not support. This function is not supported. No Event. There is no event. Can not use tag-event. A tag event cannot be used. Illegal memory bank setting. The setting of the memory bank is illegal. 4009 F 400a F 400b F 400c F 400d F 400e F 400f F 4010 F 4011 F 4012 F 4013 W 4014 F 4015 F 4016 F 4017 F 4018 A 4019 F 401a F 401b F 4318 F User's Manual U14891EJ1V0UM00 311 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (9/22) Error No. 5000 A Type Illegal type. The type is illegal. Can not allocate memory. Memory allocation has failed. Can not open device file. Opening the device file has failed. Can not seek device file. Seeking the device file has failed. Can not close device file. Closing the device file has failed. Illegal device file format. The format of the device file is wrong. Failed in initializing ICE. Initializing the in-circuit emulator has failed. Device information does not exist. Device information is missing. Can not open device file. The specified device file cannot be opened. Can not open ie703000.ie. ie703000.ie cannot be opened. Specified device file is illegal version. The version of the device file is illegal. Specified device file does not relocate IRAM. This device file does not relocate IRAM. Failed in reading expc.ini. The initialization file (EXPC.INI) cannot be correctly read. Not enough memory. The memory has run short. Illegal type. The type is illegal. Can not allocate memory. Memory allocation has failed. Can not open database file. The database file could not be opened. Can not seek database file. The database file could not be searched. Can not close database file. The database file could not be closed. Illegal device format. The format of the database file is illegal. Database information has been already initialized. Initialization of the database information is already finished. Error Message/Meaning 5001 A 5002 A 5003 A 5004 A 5005 A 5006 A 5007 A 5008 F 5009 F 500a F 500b W 500c A 500d A 5300 A 5301 A 5302 A 5303 A 5304 A 5305 A 5306 A 312 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (10/22) Error No. 5307 A Type Error Message/Meaning Database information does not exist. There is no database information. Can not open specified database file. The specified database file could not be opened. Specified database file is illegal version. The version of the database file is illegal. Current function does not exist. The current function does not exist. Illegal symbol name. The symbol name is illegal. Illegal condition. The specified condition is illegal. Illegal function name. The function name is illegal. Overflowed output buffer size. The data size exceeds that of the output buffer. Illegal expression. The expression is illegal. Illegal mode. The specified mode is wrong. User program is running. The user program is being executed. User program has been stopped. The user program is being stopped. Trace enabled. Trace is being executed. Trace memory is not set. The trace memory is OFF. Function return address does not exist, can not do step execution. The return address of the function does not exist. Step execution is not performed. No source information exists. The source information is missing. Unknown result of step execution. The result of step execution is unknown. Not enough memory. Application has run out of memory. Bus hold error. The bus is in the hold status. Can not communicate with ICE. A communication error has occurred. Communication with the in-circuit emulator cannot be established. Canceled step wait. The wait status following completion of step execution has been cancelled. 5308 F 5309 F 6000 F 6001 F 6002 F 6003 F 6004 F 6005 F 7000 F 7001 F 7002 F 7003 F 7004 F 7005 F 7010 W 7011 W 7012 A 70fe A 70ff A 7801 F User's Manual U14891EJ1V0UM00 313 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (11/22) Error No. 7802 F Type Error Message/Meaning Interrupted step execution. Step execution processing was aborted. Aborted step execution. Step execution processing was forcibly terminated. Suspended step execution. Step execution was aborted. Failed in canceling RUN/STEP. Canceling RUN/STEP has failed. Can not execute non-mapped area. An attempt is made to execute from an area not mapped. This feature is not supported. This function is not supported. File not found. The specified file is not found. Illegal line number. The line number is illegal. Current information is not set. The current information is not set. Illegal address. The address is illegal. This feature is not supported. This function is not supported. Specified register symbol does not exist. The specified register symbol does not exist. Specified register symbol ID does not exist. The specified register symbol ID does not exist. Illegal value. The specified value is illegal. Illegal condition. The specified condition is illegal. Too large register size. The register size is too big. This feature is not supported. This function is not supported. Illegal expression. The expression is illegal. Start address is bigger than the end address. The start and end address specifications have been reversed. Illegal source path. The specified source path information is illegal. Too long expression. The expression is too long. 7f00 F 7f02 F 7f03 A 7f04 F 7f05 F 8000 F 8001 F 8002 F 8003 F 8004 F 9000 A 9001 A 9002 F 9003 A 9004 A 9005 F a001 F a002 F a003 F a004 F 314 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (12/22) Error No. a005 A Type Not enough memory. Application has run out of memory. Illegal argument. The argument is illegal. Illegal program number. The program number is wrong. Source path is not set. The source path is not set. File not found. The file is not found. Can not open file. Opening the file has failed. Can not close file. Closing the file has failed. Failed in reading file. Reading the file has failed. Not source file of load module. This is not the load module's source file. Illegal line number. The line number is illegal. Variable does not exist. The variable does not exist. Can not communicate with ICE. A communication error has occurred. Communication with the in-circuit emulator cannot be established. Can not access register. The register cannot be accessed. Can not access memory. The memory (variable) cannot be accessed. Can not seek file. Seeking a file has failed. This is binary file. This is a binary file. Can not get temporary path. A temporary path could not be allocated. Can not create temporary file. A temporary file could not be created. Can not remove temporary file. A temporary file could not be deleted. This feature is not supported. This function is not supported. Specified symbol is assigned to register. The specified symbol has already been assigned to a register. Error Message/Meaning a006 F a007 A a008 F a009 F a00a F a00b A a00c A a00d F a00e F a00f F a010 A a011 F a012 F a013 F a014 F a015 F a016 F a017 F a020 F a021 F User's Manual U14891EJ1V0UM00 315 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (13/22) Error No. b000 F Type Illegal command line. The command line is illegal. Program information does not exist in specified load module file. The load module file does not have program information. File not found. The file is not found. Function not found. The function is not found. Illegal magic number. The magic number is illegal. Symbol not found. The symbol is not found. Illegal expression. The expression is illegal. Not enough memory. Application has run out of memory. Illegal symbol in load module file. An illegal symbol exists in the load module file. Current program does not exist. The current program does not exist. Current file does not exist. The current file does not exist. Current function does not exist. A current function does not exist. Current line does not exist. A current line does not exist. Tag not found. No tag is found. Failed in loading symbol table. Loading the symbol table has failed. Illegal line number. The line number is illegal. Too large line number. The line number is too large. Failed in reading file. Reading the file has failed. Can not open file. Opening the file has failed. Failed in writing file. Writing the file has failed. Can not seek file. Seeking the file has failed. Error Message/Meaning b001 F b002 F b003 F b004 F b005 F b008 F b009 A b00a F b00b F b00c F b00d A b00e A b00f A b010 A b011 A b012 F b015 A b016 A b017 A b019 A 316 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (14/22) Error No. b01a A Type Can not close file. Closing the file has failed. Too long load module file name. The file name of the load module is too long. Too many entries of the task kind. There are too many task classification entries. Address not found. The address does not exist. No line information (not compile with -g). There is no line information (it was not compiled using -g). Can not find structure member. The member of the structure cannot be found. Can not find value. The value could not be found. No symbol information exists in load module file. The load module file does not have symbol information. Illegal line number. The line number is illegal. Current stack frame is not active. The current stack frame is not active. Different section. The section is wrong. Too many array dimensions (> 4). The displayed array exceeds the fourth dimension. Found end of file. The file ends in the middle. This feature is not supported. This function is not supported. Illegal address. The address is illegal. Can not communicate with ICE. A communication error has occurred. Communication between in-circuit emulator cannot be established. Can not stack trace with current PC value. Stack trace cannot be executed with the current PC value. Too many blocks for one function. The maximum number of blocks allowable in 1 function has been exceeded. Illegal argument. The argument passed to the function is illegal. Path not found. The specified path is not found. Information has been deleted because of optimization. Information has been deleted as a result of optimization. Error Message/Meaning b01b A b01c A b01d F b01e W b01f F b020 F b021 F b022 F b023 A b024 A b026 F b027 F b028 F b029 F b02a A b02b F b02c F b02d F b02e A b02f A User's Manual U14891EJ1V0UM00 317 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (15/22) Error No. b030 A Type Monitor timed out. Time out of the monitor. Already set in memory. Already set on the memory. Out of scope. Out of scope. LP is not stored. LP has not been stored. Inside of prologue or epilogue. Within the prologue or epilogue. Out of variable region. The specified variable cannot be referenced by the current PC. Too Many Line-Numbers Information. There is too much line information. Compiler version mismatch. Because this compiler version is not supported, the debug information could not be loaded. Failed in loading debug information. The debug information could not be loaded. No more section information. There is no section information. Specified file is not load module. The specified file is not in a load module format. Too many files in load module to download. The number of files in the load module exceeds the maximum number the debugger can handle. Symbol module is not initialized. The SYM module has not been initialized. Illegal port number. An illegal port number. Illegal port name. An illegal port name. Illegal port position. The bit position of the specified port is illegal. Illegal increment number. The specified increment count is illegal. Port for memory bank is not set. The port for memory bank is not set. Illegal bank number. An illegal bank number is specified. Area for memory bank is not set. An area for memory bank is not set. Too long symbol name. The symbol name is longer than the maximum allowable length. Error Message/Meaning b031 A b032 A b033 A b034 A b036 W b037 F b038 F b039 A b03a A b040 A b041 A b042 W b32e F b32f F b330 F b331 F b332 F b333 F b334 F b335 W 318 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (16/22) Error No. c001 F Type Can not open file. Opening the file has failed. Can not close file. Closing the file has failed. Failed in reading file. Reading the file has failed. Can not seek file. Seeking the file has failed. Illegal file type. A non-existent file type has been specified. Illegal magic number. The magic number is illegal. Specified file is not load module. The specified file is not in a load module format. Specified load module file (ELF) is old version. The version of the load module file (ELF) is old. Not enough memory. Application has run out of memory. Illegal address. The address is illegal. Load module is not loaded. The load module is not loaded. Illegal argument. The argument is illegal. User program is being emulated. The user program is being emulated. User program is being traced. The user program is being traced. Interrupted. Under processing. Can not communicate with ICE. A communication error has occurred. Communication between the in-circuit emulator cannot be established. Illegal load module file format. The format of the load module file is wrong. Check sum error. A check sum error has occurred. Too wide address range to upload (> 1M byte) The address range to be uploaded exceeds 1 Mbyte. Failed in writing file. Writing the file has failed. Illegal program number. The program number is illegal. Error Message/Meaning c002 A c003 A c004 A c005 F c006 F c007 F c008 F c009 F c00a F c00b F c00c F c00d F c00e F c00f A c010 A c011 F c012 F c013 F c014 F c015 F User's Manual U14891EJ1V0UM00 319 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (17/22) Error No. c016 F Type Load information is full. The load information is full. Symbol information is duplicated, please reset symbols. The symbol information overlaps. Reset the symbol. Specified file is not load module. The specified file is not in a load module format. Failed in writing memory. Memory could not be written to. Illegal address. Address is illegal. The BSS section of the load module includes an illegal address. Programmable-IOR address not specified. An attempt was made to download a load module that did not contain programmable I/O area data. Programmable IOR address mismatch. The address of the programmable IOR differs from the one set. The address of the programmable I/O area set in the Configuration dialog box does not match the address of the programmable I/O area included in the load module. This feature is not supported. This function is not supported. Internal error. An error occurs inside the debugger. Not enough memory. Application has run out of memory. Failed in reading initialization file (expc.ini). The initialization file (EXPC.INI) cannot be read correctly. ICE is not connected. The in-circuit emulator is not connected. Can not find Dynamic Link Library. The dynamic link library could not be found. Illegal argument. The argument is illegal. Illegal start address. The start address is illegal. Illegal end address. The end address is illegal. Too large size. The address size is too large. Can not open file. Opening the file has failed. Failed in reading file. Reading the file has failed. Can not seek file. Seeking the file has failed. Failed in writing file. Writing the file has failed. User's Manual U14891EJ1V0UM00 Error Message/Meaning c017 W c018 F c019 F c01a W c01b F c01c W c100 F d000 A d001 F d002 A d003 A d004 A e000 F e001 F e002 F e003 F e004 F e005 F e006 F e007 F 320 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (18/22) Error No. e008 F Type Not enough memory. Application has run out of memory. Illegal file format. The file format is wrong. Verification error. Verify error. This feature is not supported. This function is not supported. Not enough memory. Application has run out of memory. XXX not found. XXX could not be found. not found XXX. Search from the beginning? XXX could not be found. Do you want to search from the beginning? Already exceed search region. The search range has already been exceeded. Missing parameter. The parameter is illegal. Illegal name. The name is illegal. Illegal number. The number is illegal. Start address is bigger than end address. Start address is bigger than end address. Illegal expression. The expression is illegal. XXX This file is illegal type. XXX This file is an illegal type. Disk cannot write or full. Either the disk could not be written to or it is full. File not found. This file could not be found. File not Create. This file could not be created. Old file version. This file is an old version. Illegal file type. The file format is illegal. This file is a project file for XXXX Please select a correct file. This project file is a file for XXX. Specify a correct file. No differences encountered. There were no differences found. Memory mapping error. The memory could not be mapped. Error Message/Meaning e009 F e00a F e010 F f000 F f001 F f002 F f003 W f004 F f005 F f006 F f007 F f008 F f009 F f100 F f101 F f102 F f103 F f104 F f105 F f200 W f201 F User's Manual U14891EJ1V0UM00 321 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (19/22) Error No. f202 F Type Verify error. Verify error. Would you like to save the changes made in XXX? Do you want the changes made in XXX to be saved? The symbol being used on the event condition can't be evaluated. The symbol being used in the event condition could not be evaluated. Delete XXX? Do you want XXX to be deleted? XXX is edited. Delete YYY? XXX is being edited; do you want YYY to be deleted? XXX is edited. Save YYY? XXX is being edited; do you want YYY to be saved? XXX is already exist. Do you replace it? Do you want to replace the existing XXX? This name is too long. This name is too long. There is the same name in other kinds. The same name is being used in other conditions. An address can't be omitted. An address cannot be omitted. Illegal address mask. The address mask is illegal. Illegal data mask. The data mask is illegal. Illegal ext probe mask. The external probe mask is illegal. Illegal ext probe data. The external probe data is illegal. Illegal pass count. The pass count is illegal. Illegal register name. The register name is illegal. Illegal register bank. The register bank is illegal. Illegal delay count. The delay count is illegal. Only one XXX can be enabled. Do you make this YYY to enable? Only one XXX can be enabled; do you want to enable YYY? XXX is already there. XXX already exists. Event number already exist. This event number already exists. Event name is not set. The event name has not been set. Error Message/Meaning f300 F f301 F f302 F f303 F f304 F f305 F f306 F f307 F f308 F f309 F f30a F f30b F f30c F f30d F f30e F f30f F f310 F f311 F f312 F f313 F f314 F 322 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (20/22) Error No. f315 F Type XXX is already there. XXX already exists. Max number of XXX enabled event is over. Please disable other enabled event. The maximum allowable number of valid event conditions has been exceeded. Disable other event conditions. Max number of set event is over. The maximum number of settable event conditions has been exceeded. Max number of set event link is over. The maximum number of settable event link conditions has been exceeded. Max number of set break event is over. The maximum number of settable break conditions has been exceeded. Max number of set trace event is over. The maximum number of settable trace conditions has been exceeded. Max number of set snap event is over. The maximum number of settable snap conditions has been exceeded. Max number of set stub event is over. The maximum number of settable stub conditions has been exceeded. Max number of set timer event is over. The maximum number of settable timer conditions has been exceeded. Illegal start address. The start address is illegal. Illegal end address. The end address is illegal. Illegal bit address. The bit address is illegal. Specified read-protect I/O register. A read-protected I/O register has been specified. There is a phase which event are not in the middle. An event condition setting is missing from the middle of a phase. The same event is contained in Link and Disable. The same event condition is already being used. An event isn't specified. An event condition has not been set. Incompatible event is specified in phase 1. An incompatible event condition has been set in Phase 1. AND event is in Phase 1. Can't specify event with exception of phase 1. An AND condition event has already been set in Phase 1. Event conditions cannot be set anywhere except in Phase 1. REG/MEM event in Disable. The REG/MEM status event has been set to Disable. AND event is in Disable. The AND condition event has been set to Disable. Coverage mapping error. Coverage mapping could not be performed. Error Message/Meaning f316 F f317 F f318 F f319 F f31a F f31b F f31c F f31d F f31e F f31f F f320 F f321 F f350 F f351 F f352 F f353 F f354 F f355 F f356 F f400 F User's Manual U14891EJ1V0UM00 323 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (21/22) Error No. f401 F Type Clear coverage? Do you want to clear the coverage? Illegal symbol. The symbol is illegal. Illegal value. The value is illegal. Illegal parameter. The parameter is illegal. Save project file? Do you want to save the project file? When connecting the target system, please turn on the target system. When connecting the target system, be sure to turn its power supply on. Download failed. Data could not be downloaded. Configuration of Memory Bank is not set. The memory bank setting has not been made. BANK address must be in target memory. The address of the memory bank must be inside the target memory. All events are deleted because the use of external probe was changed. All event conditions have been deleted because the external probe has changed. This event address is invalid on current configuration. The address of this event condition is illegal. Invalid PC value. The PC value is illegal. Cannot set temporary break on this address. A temporary break cannot be set to this address. External data is being used by Debugger. External data is being used by the debugger. Missing parameter. The name is illegal. Memory mapping error. There is a fault with the memory mapping. Illegal access size. The access size is illegal. Illegal access type. The access type is illegal. There is the same name. The same name cannot be registered. XXX is already exist. Do you replace it? Do you want to replace the existing XXX? Would you like to register the change made in XXX? Do you want to register the changes made to XXX? The "main( )" function of current program on PC position not found. The function "main( )" of the PC position program could not be found. Error Message/Meaning f500 F f501 F f502 F f600 F f601 W f700 F f800 F f801 F f802 F f803 F f804 F f805 F f806 F f900 F f901 F f902 F f903 F f904 F f905 W f906 W fa00 F 324 User's Manual U14891EJ1V0UM00 APPENDIX C ERROR MESSAGE LIST Table C-2. Error Message List (22/22) Error No. fa01 F Type Error Message/Meaning The line information on PC position not found. The line information of the PC position could not be found. User's Manual U14891EJ1V0UM00 325 [MEMO] 326 User's Manual U14891EJ1V0UM00 APPENDIX D KEY FUNCTION LIST Efficient debugging can be realized by performing operations using the special function keys. Note that because the key explanations differ depending on the type of keyboard in IBM PC/AT and compatible machines, the key inscriptions employed here are general or generic key inscriptions. D.1 Special Function Key Function List A list of the special function key functions of the PC-9821 series and IBM PC/AT and compatibles is shown in the table below. Table D-1. Special Function Key Function List (1/2) Key Type PC-9821 Series IBM PC/AT Compatibles BackSpace . Deletes a character preceding the cursor and moves the cursor to the position of the deleted character. At this time, the string of characters following the cursor moves front one space. * Deletes a character at the cursor position and moves the following characters front one space. * Deletes the event conditions selected in the Event Manager and each event dialog box. * Deletes the data selected in the Watch window. Switches the modes between insert mode and overwrite mode in the Source and Assemble windows. However, this key is disabled in the Memory, Register, and IOR windows, where the input mode is overwrite mode only. Places the entire screen display on the clipboard as a bitmap image (Windows function). * Closes a pull-down menu. * Closes a modal dialog box. * Restores input data. Moves the cursor on the menu bar. Moves the cursor to the end of the line. Moves the cursor to the start of the line. Scrolls the screen up one screen. Simultaneously moves the cursor to the top of the screen. Scrolls the screen down one screen. Simultaneously moves the cursor to the top of the screen. Inserts a 1-character space. Moves the cursor to the next item. Moves the cursor up. When the cursor is at the top of the screen, the screen is scrolled down one line at a time. Function BS . DEL . Delete . INS . Insert . COPY . PrintScreen . ESC . Esc . GRPH . HELP . HOME CLR . ROLL DOWN . Alt . End . Home . PageUp . ROLL UP . PageDown . SPACE . TAB . . Space . Tab . . User's Manual U14891EJ1V0UM00 327 APPENDIX D KEY FUNCTION LIST Table D-1. Special Function Key Function List (2/2) Key Type PC-9821 Series . IBM PC/AT Compatibles . Moves the cursor down. When the cursor is at the bottom of the screen, the screen is scrolled up one line at a time. Moves the cursor to the left. When the cursor is on the far left of the screen, the screen is scrolled to the right one item at a time. Moves the cursor to the right. When the cursor is on the far right of the screen, the screen is scrolled to the left one item at a time. * Sets the input data. * Presses the default push button. Function . . . . . . D.2 Function Key Function List A list of the function key functions of the PC-9821 series and IBM PC/AT and compatibles is shown in the table below. Table D-2. Function Key Function List (1/2) Key Type PC-9821 Series IBM PC/AT Compatibles F1 . F2 . Opens the Help window. Forcibly stops program execution. The same function as [Run] [Stop] on the menu bar. Resets the emulation CPU. The same function as [Run] [CPU Reset] on the menu bar. Executes the program after resetting the emulation CPU. The same function as [Run] [Restart] on the menu bar. Executes the program. The same function as [Run] [Go & Go] on the menu bar. Executes the program as far as the cursor position in the Source or Assemble window. The same function as [Run] [Come Here] on the menu bar. Executes the program in real-time until execution returns to the calling origin. The same function as [Run] [Return Out] on the menu bar. Performs step execution. The same function as [Run] [Step In] on the menu bar. Sets/cancels a breakpoint at the cursor position in the Source or Assemble window. The same function as [Run] [Break Point] on the menu bar. Function f*1 . f*2 . f*3 . F3 . f*4 . F4 . f*5 . F5 . f*6 . F6 . f*7 . F7 . f*8 . F8 . f*9 . F9 . 328 User's Manual U14891EJ1V0UM00 APPENDIX D KEY FUNCTION LIST Table D-2. Function Key Function List (2/2) Key Type PC-9821 Series IBM PC/AT Compatibles F10 . Performs next step execution. The same function as [Run] [Next Over] on the menu bar. Sets/cancels a software breakpoint. The same function as [Run] [Software Break Point] on the menu bar. Enables/disables a breakpoint. The same function as [Run] [Ignore Break Point] on the menu bar. Function f*10 . vf*1 . F11 . vf*2 . F12 . D.3 Special Function Key Function List ( SHIFT + Key) A list of the special function key functions ( SHIFT + key) of the PC-9821 series and IBM PC/AT and compatibles is shown in the table below. Table D-3. Special Function Key Function List ( SHIFT + Key) Key Type PC-9821 Series IBM PC/AT Compatibles End . Home . . . Extends the selected range to the end of the line. Extends the selected range to the start of the line. Extends the selected range one character to the left. Extends the selected range one character to the right. Function HELP . HOME CLR . . . D.4 Function Key Function List ( SHIFT + Key) A list of the function key functions ( SHIFT shown in the table below. Table D-4. Function Key Function List ( SHIFT + Key) Key Type PC-9821 Series IBM PC/AT Compatibles F6 . Executes the program from the cursor position in the Source or Assemble window. The same function as [Run] [Start From Here] on the menu bar. Function + key) of the PC-9821 series and IBM PC/AT and compatibles is f*6 . User's Manual U14891EJ1V0UM00 329 APPENDIX D KEY FUNCTION LIST D.5 Special Function Key Function List ( CTRL + Key) A list of the special function key functions ( CTRL + key) of the PC-9821 series and IBM PC/AT and compatibles is shown in the table below. Table D-5. Special Function Key Function List ( CTRL + Key) Key Type PC-9821 Series IBM PC/AT Compatibles End . Home . . . Displays the last line. Simultaneously moves the cursor to the start of the last line. Displays the first line. Simultaneously moves the cursor to the start of the first line. Moves the cursor one word to the left. When the cursor is on the far left of the screen, the screen is scrolled one item to the right. Moves the cursor one word to the right. When the cursor is on the far right of the screen, the screen is scrolled one item to the left. Function HELP . HOME CLR . . . D.6 Function Key Function List ( CTRL + Key) A list of the function key functions ( CTRL shown in the table below. Table D-6. Function Key Function List ( CTRL + Key) Key Type PC-9821 Series IBM PC/AT Compatibles F9 . Sets the address of the cursor position in the Source or Assemble window in the PC. The same function as [Run] [Change PC] on the menu bar. Function + key) of the PC-9821 series and IBM PC/AT and compatibles is f*9 . D.7 Control Key Function List ( CTRL + Key) A list of the control key functions ( CTRL + key) of the PC-9821 series and IBM PC/AT and compatibles is shown in the table below. Table D-7. Control Key Function List ( CTRL + Key) (1/2) Key Type PC-9821 Series IBM PC/AT Compatibles D. Shows a disassemble display from the jump destination address of the data value selected in the current window. Opens the Assemble window. The same function as [Jump] [Assemble] on the menu bar. Copies the selected character string and places it in the clipboard buffer. The same function as [Edit] [Copy] on the menu bar. Function C. 330 User's Manual U14891EJ1V0UM00 APPENDIX D KEY FUNCTION LIST Table D-7. Control Key Function List ( CTRL + Key) (2/2) Key Type PC-9821 Series IBM PC/AT Compatibles G. Performs a search. Opens the search dialog box appropriate to the current window. The same function as [View] [Search...] on the menu bar. Moves the display position. Opens the Source Move, Address Move, and Trace Move dialog box appropriate to the current window. The same function as [View] [Move...] on the menu bar. Displays the memory contents from the jump destination address of the data value selected in the current window. Opens the Memory window. The same function as [Jump] [Memory] on the menu bar. Loads a display, source, or text file. Opens the View File Load dialog box. Operations differ depending on the file extension. For display files: Displayed in corresponding window. For other files: Displayed in Source window. The same function as [File] [Open...] on the menu bar. Displays the corresponding source text and source line from the jump destination address of the data value selected in the current window. Opens the Source window. The same function as [Jump] [Source] on the menu bar. Pastes the contents of the clipboard buffer at the cursor position. The same function as [Edit] [Paste] on the menu bar. Temporarily displays the contents of the specified data. Opens the Quick Watch dialog box. The same function as [View] [Quick Watch...] on the menu bar. Removes the selected character string and places it on the clipboard buffer. The same function as [Edit] [Cut] on the menu bar. Function J. M. O. U. V. W. X. D.8 Special Function Key Function List ( CTRL + SHIFT Key) A list of the special function key functions ( CTRL compatibles is shown in the table below. Table D-8. Special Function Key Function List ( CTRL + SHIFT Key) Key Type PC-9821 Series . . IBM PC/AT Compatibles . . Extends the selected range one word to the left. Extends the selected range one word to the right. Function + SHIFT key) of the PC-9821 series and IBM PC/AT and User's Manual U14891EJ1V0UM00 331 [MEMO] 332 User's Manual U14891EJ1V0UM00 APPENDIX E INDEX A About dialog box .................................................... 285 Access size conditions........................................... 249 Active state .............................................141, 158, 170 Add I/O Port dialog box.......................................... 213 Add Watch dialog box............................................ 198 Address Move dialog box ...................................... 132 All trace mode.......................................................... 43 ASCII display ......................................................... 172 Assemble Search dialog box ................................. 166 Assemble window .................................................. 157 Auto load ................................................................. 51 Drag-and-drop function .......................................... 164 E Emulation bus size ................................................... 83 Error message list .................................................. 304 Error/Warning dialog box........................................ 288 Event before execution........................... 247, 268, 269 Event dialog box..................................................... 245 Event function .......................................................... 38 Event icon .............................................................. 237 Event link.......................................................... 40, 256 Event Link dialog box ..................................... 245, 256 Event Manager....................................................... 235 Exit Debugger dialog box ................................. 33, 286 Extended Option dialog box ..................................... 86 B Balloon watch function....................................151, 164 Break before execution.......................................... 249 Break dialog box .................................................... 266 Break function.......................................................... 41 Breakpoint setting/deleting function ........143, 149, 162 Browse dialog box ................................................. 127 F Font dialog box....................................................... 100 Format of symbol specification............................... 138 H Host machine ........................................................... 19 C Cautions on re-downloading .................................... 51 Changing mnemonic.......................................147, 161 comctl32.dll.............................................................. 32 Come function ....................................36, 41, 149, 162 Compulsion read ................................................... 207 Configuration dialog box .................................... 31, 81 Correction of source file........................................... 51 Current PC......................................................144, 159 Current program .................................................... 294 I IE ............................................................................. 19 IE-70000-MC-NW-A ................................................. 18 In-circuit emulator............................................... 18, 19 Information file.......................................................... 46 Initialize .................................................................. 177 Interface board ......................................................... 19 Internal RAM ...................................................... 35, 82 Internal ROM...................................................... 35, 82 Interrupt Mask dialog box ......................................... 98 I/O protect .......................................................... 35, 84 IOR Select dialog box............................................. 209 IOR window............................................................ 206 D Debugger Option dialog box .................................... 90 Delay count.............................................................. 44 Delay Count Setting dialog box ............................. 281 Delay trace .......................................................44, 274 Detailed display mode ........................................... 237 Device driver............................................................ 21 Device file ................................................................ 19 Display file ................................................46, 109, 112 Display font.............................................................. 91 DMM dialog box..................................................... 185 DMM function ........................................................ 187 Download dialog box ............................................. 118 J Jump function......................... 150, 172, 220, 226, 238 L Load module .......................................................... 118 Load Module List dialog box................................... 122 Load/save function ................................................... 46 Local Variable window............................................ 216 User's Manual U14891EJ1V0UM00 333 APPENDIX E INDEX M Main window ...................................................... 32, 56 Mapping function................................................ 35, 84 Mask ........................................................................ 83 Memory Compare dialog box ................................. 181 Memory Compare Result dialog box...................... 183 Memory Copy dialog box ....................................... 179 Memory Fill dialog box ........................................... 177 Memory Search dialog box .................................... 174 Memory window ..................................................... 169 Menu bar.................................................................. 63 Mixed display ................................................. 142, 145 Mixed display mode ............................... 141, 147, 235 Modal dialog boxes ................................................ 302 Modeless dialog boxes .......................................... 302 Source Move dialog box .........................................129 Source path ..............................................................91 Source Search dialog box ......................................154 Source window .......................................................140 Stack window .........................................................218 Start function ............................................36, 149, 162 Startup symbol .........................................................95 Static state..............................................142, 158, 170 Status condition................................................39, 249 Symbol To Address dialog box...............................137 T Target .................................................................35, 84 TEU .... 39, 40, 247, 258, 260, 261, 268, 269, 275, 294 TIP............................................................................17 Toolbar ...............................................................57, 93 Trace data ................................................................43 Trace Data Select dialog box .................................228 Trace dialog box .....................................................273 Trace function...........................................................43 Trace memory ..........................................................87 Trace mode ..............................................................43 Trace Move dialog box ...........................................134 Trace Option dialog box ...................................43, 231 Trace View window.................................................222 Tracer control mode .................................................44 TRCU .........................................36, 43, 273, 281, 294 Types of files that can be downloaded ...................120 Types of files that can be uploaded ........................125 P Pass count ............................................................. 259 PM ........................................................................... 49 Program code ........................................................ 144 Program counter setting function ................... 149, 162 Program execution function ..................................... 36 Programmable IOR .......................................... 83, 207 Project file .......................................... 33, 93, 104, 286 Project File Load dialog box................................... 103 Project File Save dialog box .................................. 106 Project Manager....................................................... 49 Q Quick Watch dialog box ......................................... 193 Quick watch function...................................... 151, 164 U Upload dialog box...................................................124 R Real-time RAM sampling function...................... 47, 87 Real-time trace mode............................................. 232 Register Select dialog box ..................................... 204 Register window..................................................... 201 Reset Debugger dialog box ................................... 283 ROM emulation RAM ......................................... 35, 84 ROM probe ........................................................ 19, 35 V Verification check .....................................................89 View file extension..................................................110 View File Load dialog box.......................................109 View File Save dialog box ......................................112 W Warning ..........................................................288, 303 Watch function................................................150, 163 Watch window ........................................................188 Window link function.......................146, 160, 172, 227 Window list ...............................................................53 S Section trace ............................................ 44, 274, 277 Software break................................................. 41, 242 Software break manager........................................ 242 Source debug..................................................... 17, 20 334 User's Manual U14891EJ1V0UM00 Facsimile Message From: Name Company Although NEC has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that errors may occur. Despite all the care and precautions we've taken, you may encounter problems in the documentation. Please complete this form whenever you'd like to report errors or suggest improvements to us. Tel. FAX Address Thank you for your kind support. North America Hong Kong, Philippines, Oceania NEC Electronics Inc. NEC Electronics Hong Kong Ltd. Corporate Communications Dept. Fax: +852-2886-9022/9044 Fax: 1-800-729-9288 1-408-588-6130 Korea Europe NEC Electronics Hong Kong Ltd. NEC Electronics (Europe) GmbH Seoul Branch Technical Documentation Dept. Fax: 02-528-4411 Fax: +49-211-6503-274 South America NEC do Brasil S.A. Fax: +55-11-6462-6829 Taiwan NEC Electronics Taiwan Ltd. Fax: 02-2719-5951 Asian Nations except Philippines NEC Electronics Singapore Pte. Ltd. Fax: +65-250-3583 Japan NEC Semiconductor Technical Hotline Fax: 044-435-9608 I would like to report the following error/make the following suggestion: Document title: Document number: Page number: If possible, please fax the referenced page or drawing. Document Rating Clarity Technical Accuracy Organization CS 00.6 Excellent Good Acceptable Poor |
Price & Availability of ID703000-NW
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |