Datasheets.org.uk - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine
  
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

ID78K0S-QB


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet


WF905 - WF905  
WF311 - WF311  
WF300 - WF300  
web controlled pick and place robot - web controlled pick and place robot  
UPD78F9222* - UPD78F9222*  
FF500 - FF500  
FF102 - FF102  
F7802 - F7802  
f400b - f400b  
f3007 - f3007  
f1010 - f1010  
A7F03 - A7F03  
A5006 - A5006  
A10F* - A10F*  
A1015 - A1015  
a1009 - a1009  
A01a0 - A01a0  
ID78K0S-QB - ID78K0S-QB  

User's Manual
ID78K0S-QB Ver. 2.81
Integrated Debugger Operation Target Device 78K0S Series
Document U17287EJ1V0UM00 (1st edition) Date Published September 2004 CP(K)
Electronics Corporation 2004
Printed Japan
[MEMO]
User's Manual U17287EJ1V0UM
Windows either registered trademark trademark Microsoft Corporation United States and/or other countries.
User's Manual U17287EJ1V0UM
information this document current September, 2004. information subject change without notice. actual design-in, refer latest publications Electronics data sheets data books, etc., most up-to-date specifications Electronics products. products and/or types available every country. Please check with Electronics sales representative availability additional information. part this document copied reproduced form means without prior written consent Electronics. Electronics assumes responsibility errors that appear this document. Electronics does assume liability infringement patents, copyrights other intellectual property rights third parties arising from Electronics products listed this document other liability arising from such products. license, express, implied otherwise, granted under patents, copyrights other intellectual property rights Electronics others. Descriptions circuits, software other related information this document provided illustrative purposes semiconductor product operation application examples. incorporation these circuits, software information design customer's equipment shall done under full responsibility customer. Electronics assumes responsibility losses incurred customers third parties arising from these circuits, software information. While Electronics endeavors enhance quality, reliability safety Electronics products, customers agree acknowledge that possibility defects thereof cannot eliminated entirely. minimize risks damage property injury (including death) persons arising from defects Electronics products, customers must incorporate sufficient safety measures their design, such redundancy, fire-containment anti-failure features. Electronics products classified into following three quality grades: "Standard", "Special" "Specific". "Specific" quality grade applies only Electronics products developed based customerdesignated "quality assurance program" specific application. recommended applications Electronics product depend quality grade, indicated below. Customers must check quality grade each Electronics product before using particular application. "Standard": Computers, office equipment, communications equipment, test measurement equipment, audio visual equipment, home electronic appliances, machine tools, personal electronic equipment industrial robots. "Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment medical equipment (not specifically designed life support). "Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems medical equipment life support, etc. quality grade Electronics products "Standard" unless otherwise expressly specified Electronics data sheets data books, etc. customers wish Electronics products applications intended Electronics, they must contact Electronics sales representative advance determine Electronics' willingness support given application. (Note) "NEC Electronics" used this statement means Electronics Corporation also includes majority-owned subsidiaries. "NEC Electronics products" means product developed manufactured Electronics defined above).
11-1
User's Manual U17287EJ1V0UM
Regional Information
Some information contained this document vary from country country. Before using Electronics product your application, pIease contact Electronics office your country obtain list authorized representatives distributors. They will verify:
Device availability Ordering information Product release schedule Availability related technical literature Development environment specifications (for example, specifications third-party tools components, host computers, power plugs, supply voltages, forth) Network requirements
addition, trademarks, registered trademarks, export restrictions, other legal issues also vary from country country. [GLOBAL SUPPORT]
Electronics America, Inc. (U.S.)
Santa Clara, California Tel: 408-588-6000 800-366-9782
Electronics (Europe) GmbH
Duesseldorf, Germany Tel: 0211-65030
Sucursal
Electronics Hong Kong Ltd.
Hong Kong Tel: 2886-9318
Electronics Hong Kong Ltd.
Seoul Branch Seoul, Korea Tel: 02-558-3737
Madrid, Spain Tel: 091-504
Succursale
France Tel: 01-30-67
Filiale Italiana
Electronics Shanghai Ltd.
Shanghai, P.R. China Tel: 021-5888-5400
Milano, Italy Tel: 02-66
Branch Netherlands
Electronics Taiwan Ltd.
Taipei, Taiwan Tel: 02-2719-2377
Eindhoven, Netherlands Tel: 040-244
Tyskland Filial
Electronics Singapore Pte. Ltd.
Novena Square, Singapore Tel: 6253-8311
Taeby, Sweden Tel: 08-63
United Kingdom Branch
Milton Keynes, Tel: 01908-691-133
J04.1
User's Manual U17287EJ1V0UM
[MEMO]
User's Manual U17287EJ1V0UM
PREFACE
Target Readers
This manual intended user engineers design develop application systems 78K0S Series.
Purpose
This manual intended users understand functions ID78K0S-QB organization below.
Organization
This manual consists following chapters: OVERVIEW INSTALLATION STARTING TERMINATING ASSOCIATION WITH plus DEBUG FUNCTION WINDOW REFERENCE COMMAND REFERENCE
This Manual
assumed that readers this manual have general knowledge electrical engineering, logic circuits, microcontrollers, language, assemblers. understand functions 78K0 Series Refer Hardware User's Manual each product. understand instruction functions 78K0 Series Refer 78K/0 Series Instructions User's Manual (U12326E).
Conventions
Data significance: Note: Caution: Remark: Numerical representation:
Higher digits left lower digits right Footnote item marked with Note text Information requiring particular attention Supplementary information Binary XXXX XXXXB Decimal XXXX Hexadecimal 0xXXXX
Prefix indicating power (address space, memory capacity): (Kilo): (Giga): 1024 10243 (Mega): 10242
User's Manual U17287EJ1V0UM
Related Documents
Refer documents listed below when using this manual. related documents indicated this publication include preliminary versions. However, preliminary versions marked such.
Documents related development tools (User's Manuals)
Document Name QB-78K0SKX1MINI In-Circuit Emulator RA78K0S Assembler Package Ver. 1.40 later Operation Assembly Language Structured Assembly Language CC78K0S Compiler Package Ver. 1.50 later Operation Language plus System Simulator Operation User Open Interface ID78K0S-QB Ver. 2.81 Integrated Debugger plus Ver.5.10 Operation Document U17307E U16656E U16657E U11623E U16654E U16655E U17246E U17247E This manual U16569E
User's Manual U17287EJ1V0UM
CONTENTS
CHAPTER OVERVIEW Features System Configuration Operating Environment 1.3.1 Hardware environment 1.3.2 Software environment Cautions During Debugging 1.4.1 When performing source level debugging CHAPTER INSTALLATION Installing Uninstalling CHAPTER STARTING TERMINATING Startup Option Argument Specification 3.1.1 Specification method 3.1.2 Specification format options Starting Terminating Error Messages Start CHAPTER ASSOCIATION WITH plus Setting Build Mode Registering Debugger plus Project 4.2.1 Selecting debugger Start ID78K0S-QB from plus 4.3.1 Restoring debugging environment Auto Load 4.4.1 Auto load correcting source code 4.4.2 Auto load starting debugger CHAPTER DEBUG FUNCTION Setting Debugging Environment 5.1.1 Setting operating environment 5.1.2 Setting option Download Function, Upload Function 5.2.1 Download 5.2.2 Upload Source Display, Disassemble Display Function 5.3.1 Source display 5.3.2 Disassemble display 5.3.3 Mixed display mode (Source Window) 5.3.4 Convert symbol (symbol address) Break Function 5.4.1 Break types 5.4.2 Breakpoint setting 5.4.3 Setting breaks variables 5.4.4 Hardware break software break Program Execution Function Watch Function 5.6.1 Displaying changing data values 5.6.2 Displaying changing local variable values 5.6.3 Registering deleting watch data 5.6.4 Changing watch data 5.6.5 Temporarily displaying changing data values 5.6.6 Callout watch function 5.6.7 Stack trace display function
User's Manual U17287EJ1V0UM
Memory Manipulation Function 5.7.1 Displaying changing memory contents 5.7.2 Filling, copying, comparing memory contents Register Manipulation Function 5.8.1 Displaying changing register contents 5.8.2 Displaying changing contents 5.8.3 Displaying changing port contents Event Function 5.9.1 Using event function 5.9.2 Creating events 5.9.3 Setting various event conditions 5.9.4 Number enabled events each event condition 5.9.5 Managing events 5.10 Real-time Monitor Function 5.10.1 Sampling range setting 5.10.2 Sampling time setting 5.11 Load/Save Function 5.11.1 Debugging environment (project file) 5.11.2 Window display information (view file) 5.11.3 Window setting information (setting file) 5.12 Functions Common Each Window 5.12.1 Active status static status 5.12.2 Jump function 5.12.3 Drag drop function 5.12.4 Cautions CHAPTER WINDOW REFERENCE Window List Explanation Windows Main Window Configuration Dialog Extended Option Dialog Dialog Debugger Option Dialog Project File Save Dialog Project File Load Dialog Download Dialog Upload Dialog Source Window Source Search Dialog Source Text Move Dialog Assemble Window Assemble Search Dialog Address Move Dialog Symbol Address Dialog Watch Window Quick Watch Dialog Watch Dialog Change Watch Dialog Local Variable Window Stack Window Memory Window Memory Search Dialog Memory Fill Dialog Memory Copy Dialog Memory Compare Dialog Memory Compare Result Dialog Register Window Window Select Dialog Port Dialog Software Break Manager Event Manager
User's Manual U17287EJ1V0UM
Event Dialog Break Dialog View File Save Dialog View File Load Dialog Environment Setting File Save Dialog Environment Setting File Load Dialog Reset Debugger Dialog Exit Debugger Dialog About Dialog Console Window Font Dialog Browse Dialog CHAPTER COMMAND REFERENCE Command Line Rules Command List List Variables List Packages Bind Expansion Window Callback Procedure Hook Procedure Related Files 7.10 Cautions 7.11 Command Name address assemble batch breakpoint dbgexit download extwin finish help hook inspect jump memory module next refresh register reset step stop upload version watch where wish 7.12 Samples (Calculator Script) APPENDIX EXPANSION WINDOW Overview Sample List Expansion Window Activation Explanation Each Sample Window List Window Grep Window
User's Manual U17287EJ1V0UM
Hook Window APPENDIX INPUT CONVENTIONS Usable Character Symbols Numeric Values Expressions Operators File Names APPENDIX FUNCTION LIST APPENDIX MESSAGES Display Format Types Messages Message Lists APPENDIX INDEX
User's Manual U17287EJ1V0UM
LIST FIGURES
Figure 5-10 5-11 5-12 5-13 5-14 5-15 5-16 5-17 5-18 5-19 5-20 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
Title, Page
ID78K0S-QB Example ID78K0S-QB System Configuration Startup Option (Example) Configuration Dialog Main Window Startup) Exit Debugger Dialog Breakpoint Setting Setting Break Variable Management Software Breaks Execution Button [Run] Menu Watch Window Specification Display Format (Debugger Option Dialog Box) Local Variable Window Change Watch Dialog Quick Watch Dialog Stack Window Displaying Changing Memory Contents Absolute Name/Function Name Switching Displaying Contents Register Port Setting Various Event Conditions Managing Events (Event Manager) Sampling Range Setting (RRM Dialog Box) Sampling Time Setting Automatic Save/Automatic Load Setting Project File Main Window Toolbar (Picture Only) Toolbar (Picture Text) Status Configuration Dialog Extended Option Dialog Dialog Debugger Option Dialog Source Path Dialog Project File Save Dialog Project File Load Dialog Download Dialog Progress Download Upload Dialog Source Window Source Search Dialog Source Text Move Dialog Assemble Window Assemble Search Dialog Address Move Dialog (Example: When Memory Window Open) Symbol Address Dialog Watch Window Quick Watch Dialog Watch Dialog Change Watch Dialog Local Variable Window Stack Window Memory Window Memory Search Dialog
User's Manual U17287EJ1V0UM
6-30 6-31 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 6-45 6-46 6-47 6-48 6-49 6-50 6-51 6-52
Memory Fill Dialog Memory Copy Dialog Memory Compare Dialog Memory Compare Result Dialog Register Window Window Select Dialog Port Dialog Software Break Manager Event Manager Detailed Display Mode) Select Display Information Dialog Event Dialog Break Dialog View File Save Dialog View File Load Dialog Environment Setting File Save Dialog Environment Setting File Load Dialog Reset Debugger Dialog Exit Debugger Dialog About Dialog Console Window Font Dialog Browse Dialog Execution Screen List Window Grep Window Hook Window Error/Warning Messages
User's Manual U17287EJ1V0UM
LIST TABLES
Table 5-10 5-11 5-12 5-13 5-14 5-15 5-16 5-17 5-18 6-10 6-11 6-12 6-13 6-14
Title, Page Install Startup Options Execution File Debug Function List (Flow Debugging Operations) Type File That Downloaded Type File That Uploaded File Type Displayed Specifying Symbols Break Types Number Valid Software Break Type Execution Absolute Name Function Name Correspondence Various Event Conditions Number Enabled Events Each Event Condition Event Icon Contents Saved Project File Type View Files Type Setting Files Details Jump Source Address Details Drag Drop Function (Line/Address) Details Drag Drop Function (Character String) Window List Status Status Break Cause Event Setting Status (Event Mark) Watch Window Display Format (Symbol) Watch Window Display Format (Data) Watch Window Input Format Variable Handled When Scope Specified Separator Displaying Event Details Status Condition Settable Range Address Condition (Event) Settable Range Data Condition Number Events Settable Break Condition Setting Area List Debugger Control Commands List Console/Tcl Commands Message List Expansion Window (Sample) List Character List Special Characters Input Format Numeric Values List Operators Operator Priority Range Radixes Function List Types Messages
User's Manual U17287EJ1V0UM
CHAPTER OVERVIEW
CHAPTER OVERVIEW
Integrated Debugger ID78K0S-QB 78K0S Series (hereafter referred ID78K0S-QB) software tool developed Electronics 78K0S Series microcontrollers embedded control. This software tool intended enable efficient debugging user programs. Figure ID78K0S-QB
This chapter explains following items regarding ID78K0S-QB. Features System Configuration Operating Environment Cautions During Debugging
User's Manual U17287EJ1V0UM
CHAPTER OVERVIEW
Features
ID78K0S-QB following features: Source debugging source program source program assembly language debugged. Using function in-circuit emulator using event setting function in-circuit emulator, break events (refer "5.9 Event Function"). Automatic display updating function when execution stopped execution user program stopped, values window displayed screen automatically updated. Saving/restoring debugging environment debugging environment including information setting breakpoints events, downloading files, display status position windows saved file (project file). loading this project file, debugging environment restored (refer "5.11 Load/Save Function"). Function expansion through batch processing hook processing, creation original user custom windows possible using command line with Tcl/Tk (Tool Command Language) (refer "CHAPTER COMMAND REFERENCE", "APPENDIX EXPANSION WINDOW").
User's Manual U17287EJ1V0UM
CHAPTER OVERVIEW
System Configuration
ID78K0S-QB provides optimal debugging environments based following system configuration user programs target systems that were developed 78K0S Series. QB-78K0SKX1MINI (In-circuit emulator) QB-78K0SKX1MINI manipulated from ID78K0S-QB connecting host machine cable. Figure Example ID78K0S-QB System Configuration Host machine
QB-78K0SKX1MINI
Target system
1.1/2.0
User's Manual U17287EJ1V0UM
CHAPTER OVERVIEW
Operating Environment
This section explains following items regarding operating environment. Hardware environment Software environment
1.3.1
Hardware environment
Host machine machine which target operates In-circuit emulator
QB-78K0SKX1MINI (QB-78K0SMINI QB-78K0SKX1-DA)
1.3.2
Software environment
(any following) Windows98, Windows2000, WindowsMe, WindowsXP Home Edition, WindowsXP Professional Caution Regardless which above used, recommend that latest Service Pack installed. Device file (Individual acquisition) device file target device used. This file available from following site Electronics.
User's Manual U17287EJ1V0UM
CHAPTER OVERVIEW
Cautions During Debugging
cautions observed during debugging described below. When performing source level debugging
1.4.1
When performing source level debugging
object file which source level debugging performed must include symbol information other information debugging (debugging information). Therefore, perform following processing during source file compiling. When using plus Specify [Debug Build] when Build mode selected. When using LK78K0S standalone basis option.
User's Manual U17287EJ1V0UM
CHAPTER INSTALLATION
CHAPTER INSTALLATION
This chapter explains following items about installation ID78K0S-QB: Installing Uninstalling
Installing
following items must installed, when ID78K0S-QB used. Table Install Item ID78K0S-QB system disk Used device file Procedure Install contents this disk according automatically executed installer. Install this file according DFINST.exe dedicated startup installer selecting [Start] menu [Program] [NEC Tools32] [Device File Installer].
Caution
install ID78K0S-QB again after ID78K0S-QB been installed once, sure uninstall ID78K0S-QB. ID78K0S-QB installed directory different from that, without
uninstalling, ID78K0S-QB that already been installed cannot uninstalled.
Uninstalling
Perform uninstallation using [Add/Remove Programs] Control Panel.
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
CHAPTER STARTING TERMINATING
This chapter explains following items related starting terminating ID78K0S-QB: Startup Option Argument Specification Starting Terminating Error Messages Start
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
Startup Option Argument Specification
procedure specifying startup options arguments ID78K0S-QB described below. specifying startup options arguments, possible specify script file startup project file. Remark When starting ID78K0S-QB from plus, startup option argument settings performed [Debugger Settings.] [Tool] menu plus (refer "CHAPTER ASSOCIATION WITH plus"). debugger startup option option column.
3.1.1
Specification method
Create ID78K0S-QB shortcut desktop. ID78K0S-QB execution file (*.exe) located folder folder which installation performed (refer "Table Execution File").
Open properties created shortcut after execution file name displayed [Target:], specify option argument (refer "3.1.2 Specification format options"). Figure Startup Option (Example)
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
3.1.2
Specification format options
Specification format idk0s32o.exe ?options? idk0s32o.exe ?options? project Each option argument separated space. distinction made between uppercase lowercase character string. Arguments enclosed between omitted. When project file specified, that project file read startup. However, during plus startup, project file specification ignored. When there spaces file names paths, specify project file names script file names enclosed double quotation marks (Refer Example Specification when there spaces path".) Specification options following options specified. Table Startup Options Options /SCRIPT:script file name Meaning Change background color window system color. Specify script file executed startup.
Specification example Example Specification script file only idk0s32o.exe /script:c:/work/script.tcl Example Specification script file project file idk0s32o.exe /script:c:/work/script.tcl c:/work/project.prj Example Specification when there spaces path idk0s32o.exe /script:"c:/work folder/script.tcl" "c:/work folder/project.prj"
Caution
Make script file (*.tcl file) name excluding extension different from load module file name project file name. case this example, place file named project.tcl c:/work c:/work folder).
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
Execution file
Execution files names displayed from [Start] menu follows. Table Execution File Connected QB-78K0SKX1MINI Execution file idk0s32o.exe Name ([Start] Menu) ID78K0S-QB MINICUBE
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
Starting
Start ID78K0S-QB from [Start] menu plus clicking shortcut created desktop. Refer "4.3 Start ID78K0S-QB from plus" when starting from plus. Start ID78K0S-QB, Configuration Dialog will opened.
Caution
this case, Configuration Dialog should displayed, error message should displayed, please cope with with reference "3.4 Error Messages Start Figure Configuration Dialog
items related operating environment ID78K0S-QB Configuration Dialog Box. After setting each item, click <OK> button dialog box.
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
Main Window will opened ID78K0S-QB operated. Mainly this window debugging. Figure Main Window Startup)
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
Terminating
Select [File] menu [Exit] Main Window. following Exit Debugger Dialog will opened: execution stop confirmation message displayed when stop operation performed during program execution.) Figure Exit Debugger Dialog
save current debugging environment project file, click <Yes> button. <No> button clicked, windows closed ID78K0S-QB terminated.
User's Manual U17287EJ1V0UM
CHAPTER STARTING TERMINATING
Error Messages Start
Error messages that output when ID78K0S-QB starts listed below order occurrence). When these messages output, refer "APPENDIX MESSAGES". F0100: communicate with ICE. Please confirm installation device driver interface board. F03a0: Target turned A0105: Failed reading device file (d0xxx.78k). F0ca2: This device file does include on-chip debug information. F0ca3: Unsupported information included on-chip debug information device file. A01a0: response from emulation CPU. Please confirm signal CLOCK RESET
User's Manual U17287EJ1V0UM
CHAPTER ASSOCIATION WITH plus
CHAPTER ASSOCIATION WITH plus
ID78K0S-QB automatically perform series operations development processes, such creating source files compiling debugging correcting source files, association with plus. This chapter explains following items related association with plus. details plus functions, refer plus User's Manual. Setting Build Mode Registering Debugger plus Project Start ID78K0S-QB from plus Auto Load Caution load module file created using Windows command prompt, function associate ID78K0S-QB with plus cannot used.
User's Manual U17287EJ1V0UM
CHAPTER ASSOCIATION WITH plus
Setting Build Mode
debug load module file created plus ID78K0S-QB source level, build output symbol information debugging must performed create load module file. This setting performed selecting [Debug Build] plus.
User's Manual U17287EJ1V0UM
CHAPTER ASSOCIATION WITH plus
plus.
Registering Debugger plus Project
debugger used load module files downloaded specified each project
4.2.1
Selecting debugger
procedure selecting debugger follows: ID78K0S-QB registered debugger active project. ID78K0S-QB icon displayed tool plus. Creating workspace Select [File] menu [New Workspace.] plus. This opens dialog create workspace using wizard format. Creating necessary settings workspace with wizard, [Select Debugger] dialog will opened. Specify ID78K0S-QB this dialog box. (Refer "Table Execution File".) details setting, refer User's manual. Using existing workspace Select [Tool] menu [Debugger Settings.] plus. [Debugger Settings] dialog will opened. Specify ID78K0S-QB click <OK> button this dialog box. (Refer "Table Execution File".) details setting, refer User's manual.
User's Manual U17287EJ1V0UM
CHAPTER ASSOCIATION WITH plus
Start ID78K0S-QB from plus
ID78K0S-QB started from plus follows: Click ID78K0S-QB starting button tool plus. Select [Build] menu [Debug] plus. Select [Build] menu [Build Debug] plus. Select [Build] menu [Rebuild Debug] plus. debugging environment ID78K0S-QB saved project file currently being used plus, will started debugging environment saved project file. debugging environment ID78K0S-QB saved project file being used plus, Configuration Dialog opened. this time, device type (chip name) cannot changed.
4.3.1
Restoring debugging environment
previous debugging environment restored following procedure when ID78K0S-QB started from plus: Create workspace (project file: e.g., sample.prj) plusNote. Start ID78K0S-QB from plus. Because project file created, items other than device type (chip name) Configuration Dialog same manner when only ID78K0S-QB started. Download load module file debugged with Download Dialog ID78K0S-QB. Debug load module file ID78K0S-QB. Click <Yes> button Exit Debugger Dialog when ID78K0S-QB terminated. debugging environment will saved project file (sample.prj) plus when ID78K0S-QB terminated (the debug environment also saved sample.prj file overwriting project file times other than completion ID78K0S-QB debugging). When ID78K0S-QB next started after sample.prj file read plus, debug environment point when project file saved automatically restored. Note ID78K0S-QB plus, environment information saved project file referenced. extension project file that used ID78K0S-QB plus "prj". information that saved restored project file, refer "Uer's manual" each product.
User's Manual U17287EJ1V0UM
CHAPTER ASSOCIATION WITH plus
Auto Load
found while load module file being debugged ID78K0S-QB, correct source file using following procedure. Compiling re-downloading file automatically executed. (Refer "4.4.1 Auto load correcting source code".) load module downloaded again ID78K0S-QB compiling linking file plus with activated ID78K0S-QB. (Refer "4.4.2 Auto load starting debugger".) Caution This processing cannot performed selected that standard editor (idea-L) used with plus.
4.4.1
Auto load correcting source code
Correct source file auto load follows: Open source file corrected Source Window. Select [File] menu [Open] specify file corrected ID78K0S-QB file already open Source Window, that window displayed forefront). specified file will opened Source Window. Select [Edit] menu [Edit Source] ID78K0S-QB. editor will opened specified source file will read. Correct source file editor. Terminate editor. reset performed when load module file automatically downloaded. debug window that opened when editor called, each event setting will restored. previously used line symbol been deleted result correcting source file, following happens: variable that displayed dimmed. event mark event condition displayed yellow. software break point deleted. Select [Build] menu [Build Debug], [Build] menu [Rebuild Debug] plus.
Caution
User's Manual U17287EJ1V0UM
CHAPTER ASSOCIATION WITH plus
4.4.2
Auto load starting debugger
following operation performed plus with ID78K0S-QB started, load module will automatically downloaded ID78K0S-QB. Selecting [Build] menu [Build Debug] plus. Selecting [Build] menu [Rebuild Debug] plus. Remark Specify whether reset after downloading from [Debugger Settings.] [Tool] menu plus reset performed default).
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
CHAPTER DEBUG FUNCTION
This chapter explains about debug function ID78K0S-QB. Table Debug Function List (Flow Debugging Operations) Item debugging environment download load module display source file disassemble result break point execute user program check variable value check edit memory contents check change register variable manage events function save debug environment window status Jump function cautions Refer Setting Debugging Environment Download Function, Upload Function Source Display, Disassemble Display Function Break Function Program Execution Function Watch Function Memory Manipulation Function Register Manipulation Function Event Function 5.10 Real-time Monitor Function 5.11 Load/Save Function 5.12 Functions Common Each Window
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Setting Debugging Environment
This section explains following items related setting debugging environment: Setting operating environment Setting option
5.1.1
Setting operating environment
in-circuit emulator operating environment settings performed Configuration Dialog that automatically displayed when ID78K0S-QB starts project file already exists, debugging environment restored clicking <Project.> button. (Refer "5.11.1 Debugging environment (project file)".)
5.1.2
Setting option
extended options debug options Extended Option Dialog Box, Debugger Option Dialog
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Download Function, Upload Function
ID78K0S-QB allows downloading uploading object files formats listed following table: Table Table 5-3. This section explains following items: Download Upload
5.2.1
Download
Object files downloaded Download Dialog Box. corresponding source text file (Source Window) displayed downloading load module files with debug information. Table Type File That Downloaded Format Load module (XCOFF(.LNK, .LMF)) Intel format (00, address) Motorola format type (S0, Extended Tektronix format Binary data Binary Data (*.bin) Extension Load Module (*.lnk, *.lmf) Format (*.hex)Note
Note
Automatic format detection
5.2.2
Upload
Uploading memory contents, etc., performed Upload Dialog Box. saving range set. Table Type File That Uploaded Format Intel format (Standard 16bit-address) Motorola format type (S0, 24bit-address) Extended Tektronix format Extension Format (*.hex)Note
Note
Specify saving format
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Source Display, Disassemble Display Function
Disassemble display online assembly per-
Source file display performed Source Window. formed Assemble Window. This section explains following items: Source display Disassemble display Mixed display mode (Source Window) Convert symbol (symbol address)
5.3.1
Source display
corresponding text file displayed Source Window downloading load module file having debug information. display start position changed Source Text Move Dialog displayed selecting [View] menu [Move.]. Specifications related size, display font, etc., specification source path made Debugger Option Dialog Box. Specify searching method Source Search Dialog opened clicking <Search.> button. search result highlighted Source Window. Table File Type Displayed File Type (Extension) Source (*.c, *.s, *.asm) Text (*.txt) (*.*) Meaning Source file (The extension changed Debugger Option Dialog Box.) Text file files
5.3.2
Disassemble display
Disassemble display performed Assemble Window. display start position changed Address Move Dialog opened selecting [View] menu [Move.]. Offset display register name display specified Debugger Option Dialog Box. Specify searching method Assemble Search Dialog opened clicking <Search.> button. search result highlighted Assemble Window.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.3.3
Mixed display mode (Source Window)
Programs disassembled displayed combined with source file selecting [View] menu [Mix] Source Window. contents displayed mixed display mode saved view file. Normal display mode
normal display mode, general text files displayed well source files. Mixed display mode
program code corresponds line displayed source file, disassembly line displayed next source line. label address, code data, disassembled mnemonic displayed (the display start position mnemonic adjusted value size). Caution mixed display mode valid only when load module downloaded symbol information read, corresponding source file displayed.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.3.4
Convert symbol (symbol address)
Symbol Address Dialog Box, displayed address specified variable function, value specified symbol. Convert symbol performed selecting character string converted Source Window Assemble Window, then selecting context menu [Symbol.]. Specification symbols indicated below. Table Specifying Symbols Conversion Target Variable Specification Method file#var specify static variable with file name) func#var specify static variable with function name) file#func#var specify static variable with file name function name) func file#func specify static function with file name) label file#label specify local label with file name) equsym file#equsym specify local symbol with file name) bitsym file#bitsym specify local symbol with file name) file#no prog$file#no portname sfrname regname pswname
Function Label symbol symbol Line number source file port name name Register name flag name
Remark Separator used separator file names, variables, function names, line numbers. specified symbol found scope, symbols (static variables, static functions, local labels) searched. Remark Separator specify load module name when more load modules read, separator delimit load module name from file name, variable, function name, symbol name. default status, symbol name takes precedence. temporarily change priority, prefixing symbol gives priority register name.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Break Function
break function used stop execution user program CPU. This section explains following items: Break types Breakpoint setting Setting breaks variables Hardware break software break
5.4.1
Break types
ID78K0S-QB following break functions. Table Break Types Item Hardware break Note1 (Event detection break) Software break Note1 Contents Function stop user program execution upon detection break event condition. Refer "5.4.2 Breakpoint setting". Function replace instruction specified address software break instruction stop user program executed (refer "5.4.4 Hardware break software break"). Refer "5.4.2 Breakpoint setting". Function stop user program execution selected selecting [Run] menu [Come Here] upon detection address specified Source Window Assemble Window. Function stop execution upon satisfaction stop condition each command ([Step In], [Next Over], [Return Out], [Slowmotion]). Function forcibly stop execution selecting [Run] menu [Stop], selecting STOP button. valid execution commands.
[Come Here] break Note2 (Simple break) Break satisfaction condition step execution Forced break
Note1 Note2
This break valid [Go], GO], [Come Here] [Restart]. After user program execution been stopped, breakpoint this function eliminated. During execution user program this function, break events before cursor position does occur.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.4.2
Window.
Breakpoint setting
Software breakpoints simply desired location clicking Source Window Assemble
Breakpoint setting method Breakpoints executed clicking lines which displayed (lines where program code exists). Figure Breakpoint Setting
Deleting breakpoint method Click position which breakpoint deleted set. result deletion, another event remains, however, mark that event displayed.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.4.3
Setting breaks variables
Access breaks easily variables from context menu Source Window Watch Window. Figure Setting Break Variable
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.4.4
Hardware break software break
Hardware break Hardware breaks breaks that using hardware resource event condition. Therefore, ID78K0S-QB, they managed using "5.9 Event Function" break event conditions. number valid break points varies depending device (refer "5.9.4 Number enabled events each event condition"). Access events only hardware breaks ID78K0S-QB. Software break Software breaks breaks that rewriting instructions specified addresses software break instructions. Therefore, number software breaks that limited, stopping variable access timing, etc., cannot specified. Table Number Valid Software Break Product Name ID78K0S-QB 2000 Valid Number
Software break managed Software Break Manager. Figure Management Software Breaks
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Program Execution Function
program execution function used start execution user program CPU. Through user program execution, program counter (PC) advances until breakpoint forced break. (Refer "5.4 Break Function".) following types ID78K0S-QB execution functions provided. They operated using execution buttons tool from [Run] menu. Figure Execution Button
Figure [Run] Menu
Table Type Execution Items [Restart] Contents reset user program executed starting from RESET address. This same operation "resetting before execution user program executing [Go]". user program executed starting from address indicated current register stopped break event condition satisfied. user program executed starting from address indicated current register Execution user program continues, ignoring breakpoints. user program executed until execution returns calling function described language. Source Window, Step execution line source text performed starting from current register value contents each window updated. Assemble Window, instruction executed from current register value contents each window updated.
[Go] [Ignore break points
[Return Out] [Step
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Items [Next Over]
Contents CALL CALLT CALLF instruction Next step execution performed, assuming function subroutine called CALL CALLT CALLF instruction step (step execution continues until nesting level becomes same when CALL CALLT CALLF instruction executed). Instruction other than CALL CALLT CALLF same processing [Step performed. This command executes user program starting from specified address. Execution user program stopped when break event condition satisfied. user program executed from address indicated current register address selected line/address display area Source Window Assemble Window, then break occurs. While user program being executed, break event currently does occur. user program executed starting from address indicated current register stopped break event condition satisfied. contents each window updated, execution user program resumed from address which program stopped. This operation repeated until user executes [Stop]. Step execution line performed from address indicated current register value source mode. instruction mode, step execution instruction performed. contents each window updated each time step execution performed. This operation repeated until user executes [Stop].
[Start From Here]
[Come Here]
[Slowmotion]
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Watch Function
This section explains following items related watch function: Displaying changing data values Displaying changing local variable values Registering deleting watch data Changing watch data Temporarily displaying changing data values Callout watch function Stack trace display function
5.6.1
Displaying changing data values
Shifts data values checked
Data values displayed changed Watch Window. registering watch data. display format specified Debugger Option Dialog Box. Figure Watch Window
Figure Specification Display Format (Debugger Option Dialog Box)
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.6.2
Displaying changing local variable values
Local variables displayed changed Local Variable Window. Local variables within current function automatically displayed this window. (Variable addition/deletion possible.) Figure Local Variable Window
5.6.3
Registering deleting watch data
Data registered Watch Window from Source Window Assemble Window. This simply done selecting variable symbol name respective window, then clicking <Watch> button. Registration also possible with following method. Drag drop selected variable symbol name directly Watch Window. (Refer "5.12.3 Drag drop function".) Click <Add> button Quick Watch Dialog Watch Dialog Box. delete watch data, click variable name symbol name (multiple selections also made using Shift Ctrl key), then click <Delete> button. However, lines with expanded hierarchy, such
elements array, members structures unions, cannot deleted.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.6.4
Changing watch data
Watch data changed Change Watch Dialog Box. Note that symbol name changed even results duplication name already with existing data. Figure Change Watch Dialog
5.6.5
Temporarily displaying changing data values
Data values temporarily displayed changed Quick Watch Dialog Box. Select desired variable symbol name Source Window Assemble Window click <Quick.> button perform watch data registration. display radix, display size, display number changed this window. Figure 5-10 Quick Watch Dialog
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.6.6
Callout watch function
corresponding variable value pops when mouse cursor placed over selected variable Source Window Assemble Window.
5.6.7
Stack trace display function
This function displays stack contents current user program Stack Window. Figure 5-11 Stack Window
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Memory Manipulation Function
This section explains following items related memory manipulation: Verify check, etc., specified Extended Option Dialog Box. Displaying changing memory contents Filling, copying, comparing memory contents
5.7.1
Displaying changing memory contents
Memory Window, memory contents displayed changed using mnemonic codes, hexadecimal codes, ASCII codes. Searching done Memory Search Dialog displayed clicking <Search.> button. results search highlighted Memory Window. display start position changed Address Move Dialog displayed selecting [View] menu [Move.]. variables data allocated sampling range displayed real time even during program execution. (Refer "5.10 Real-time Monitor Function".) Figure 5-12 Displaying Changing Memory Contents
5.7.2
Filling, copying, comparing memory contents
Memory contents Filled, copied, compared Memory Fill Dialog Box, Memory Copy Dialog Box, Memory Compare Dialog displayed selecting [Edit] menu [Memory] [Fill./Copy./Compare.]. comparison results displayed Memory Compare Result Dialog Box.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Register Manipulation Function
This section explains following items related register manipulation function. Displaying changing register contents Displaying changing contents Displaying changing port contents
5.8.1
Displaying changing register contents
Register contents displayed changed Register Window. Register name display switching (absolute name/function name) done Debugger Option Dialog Box. Figure 5-13 Absolute Name/Function Name Switching
Table Absolute Name Function Name Correspondence Function Name Pair Register Register Absolute Name Pair Register Register
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.8.2
Displaying changing contents
contents displayed changed Window. display start position changed Address Move Dialog displayed selecting [View] menu [Move.]. display register selected Select Dialog Box. Figure 5-14 Displaying Contents
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.8.3
Displaying changing port contents
User-defined ports displayed changed Window once they have been registered Port Dialog Box. case products that support programmable registers, programmable register contents displayed changed setting programmable area Configuration Dialog Box. Figure 5-15 Register Port
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Event Function
Events specify specific states target system during debugging ,such "wrote data address 0x2000". ID78K0S-QB uses event trigger action functions such break functions. This section explains following items: Using event function Creating events Setting various event conditions Number enabled events each event condition Managing events
5.9.1
Using event function
Events (event conditions) assigned various debugging functions consist event conditions listed following table. Table 5-10 Various Event Conditions Contents ->Setting Dialog Condition which execution user program stopped (refer "5.4 Break Function"). Break Dialog
Event Condition Break event condition
Mark
5.9.2
Creating events
Events used action triggers various event conditions described before through registration event conditions, individually naming states called events. Creating registering events Event conditions usually created Event Dialog Box. address condition, status condition, data condition this dialog box. Specify combination these event condition name register this event condition.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.9.3
Setting various event conditions
Various event conditions listed Table 5-10 individually created corresponding dialog box. Setting various event conditions setting various event conditions done selecting event icon desired event condition displayed event manager area Event Manager) respective setting dialog box, dragging dropping this icon condition area set. Figure 5-16 Setting Various Event Conditions
shape mouse cursor changes "OK" when dragged over settable condition area. Regarding created event conditions, event icon mark becomes setting enabled clicking <Set> <OK> button Setting dialog box. After event been set, debugging action occurs various event conditions. Setting using selection mode (settings after checking contents) Event Dialog open "selection mode" placing focus condition area then clicking <Add Event.> button. corresponding detailed condition displayed when condition dialog selected, conditions after checking contents. Copying moving event icons event condition setting area, event conditions copied moved through drag drop operation using following methods. event condition dropped using only mouse, move event condition. event condition dropped while pressing Ctrl key, copy event condition.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Manipulation event manager area Event conditions clicking <Add> button after placing focus condition area selecting event icon. Event setting content display Select event click <Open> button double-click event. setting dialog corresponding selected event will opened contents event will displayed. Deletion event deleted selecting event then clicking <Remove Delete> button pressing Delete key. Changing display mode sorting display mode sorting event manager area selected clicking <Info.> button. Area non-display area hidden clicking <Shrink<<< button.
5.9.4
Number enabled events each event condition
conditions registered event conditions various event conditions. However, number event conditions that (enabled) same time limited follows: Therefore, valid number exceeded used event conditions exceed maximum number that used simultaneously, necessary disable various event conditions once then register them again. (Refer "5.9.5 Managing events".) Table 5-11 Number Enabled Events Each Event Condition Event Connected Execute QB-78K0SKX1MINI Access
Event Link
Break
Trace
Timer
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.9.5
Managing events
Events managed Event Manager. Event Manager allows display, enabling/disabling, deletion Various Event Conditions. Figure 5-17 Managing Events (Event Manager)
Event icons Event icons consist mark event name indicating type event. color each event icon indicates setting status that event. Enable/disable switched clicking mark part. Table 5-12 Event Icon Character Color Black Yellow
Mark
Meaning Indicates that event condition which used various event conditions enabled. Indicates that Various Event Conditions enabled. various events occurs when condition satisfied. Indicates that event condition which used various event conditions disabled. Indicates that Various Event Conditions disabled. various events occur even when condition satisfied. Indicates that symbol specified event held pending because cannot recognized program currently loaded. Indicates that Various Event Conditions held pending. various events occur even when condition satisfied.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.10
Real-time Monitor Function
real-time monitor function (RRM function) displays real time variables allocated sampling range, data, etc., Watch Window Memory Window. This section explains following items: Sampling range setting Sampling time setting
5.10.1
Sampling range setting
sampling range function Dialog Box. locations 2-byte units bytes area. Figure 5-18 Sampling Range Setting (RRM Dialog Box)
5.10.2
Sampling time setting
sampling time function Extended Option Dialog Box. Values updated specified time interval. Figure 5-19 Sampling Time Setting
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.11
Load/Save Function
ID78K0S-QB allows saving loading following types information files. result, recovery these various types information possible. Remark simple window status maintained selecting [Window] menu [Static]. (Refer "5.12.1 Active status static status".) This section explains following items: Debugging environment (project file) Window display information (view file) Window setting information (setting file)
5.11.1
Debugging environment (project file)
project file (*.prj) file that records debugging environment. project file created when debugging environment particular point time saved, that debugging environment restored loading this file subsequent time. Project files loaded saved Project File Save Dialog Project File Load Dialog Box, respectively. load project file startup, press <Project.> button Configuration Dialog Box. Automatic save/automatic load project file project file loaded/saved when starting exiting Debugger Option Dialog also advance. Figure 5-20 Automatic Save/Automatic Load Setting Project File
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Contents saved project File following contents saved project file: Table 5-13 Contents Saved Project File Window Name Configuration Dialog Main Window Download Dialog Extended Option Dialog Debugger Option Dialog Source Window Assemble Window Memory Window Stack Window Window Local Variable Window Event Manager Console Window Expansion Window Event Dialog Break Dialog Register Window Watch Window Port Dialog Software Break Manager Saved Contents items (target device, clock setting, mask setting, mapping information) Display position, toolbar/status bar/button display information, execution mode information File information downloaded information Display information window Display information window, display start address Display information window
Display information window, event information Display information window, break event information Display information window Display information window, watch registration information Added port information Display information window, software break information
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.11.2
Window display information (view file)
view file file that records window display information. View files loaded saved each window. When view file loaded, reference window (Source Window static status) displayed display information time saving displayed. View files loaded saved View File Load Dialog View File Save Dialog Box, respectively. Table 5-14 Type View Files Target Window File Name Source Window View file Source Window Assemble Window View file Assemble Window Memory Window View file Memory Window Watch Window View file Watch Window Register Window View file Register Window Window View file Window Local Variable Window View file Local Variable Window Stack Window View file Stack Window files Source fileNote Text file
File Type Source Text (*.svw) Assemble (*.dis) Memory (*.mem) Watch (*.wch) Register (*.rgw) (*.sfr) Local Variable (*.loc) Stack Trace (*.stk) (*.*) Source (*.c, *.s, *.asm) (During downloading) Text (*.txt)
Note
extension source file changed Extended Option Dialog Box.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.11.3
settings).
Window setting information (setting file)
setting file file that records window setting information (watch data settings, settings, event
Setting files loaded saved each window. When setting file loaded, target window displayed setting information that saved restored. Setting files loaded saved Environment Setting File Load Dialog Environment Setting File Save Dialog Box, respectively. Table 5-15 Type Setting Files Target Window File Name Watch Window Setting file Watch window Window Setting file window Event Manager Setting file event
File Type Watch (*.wch)Note (*.sfr)Note Event (*.evn)
Note
variable value loaded.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.12
Functions Common Each Window
windows have following common functions. Active status static status Jump function Drag drop function Cautions
5.12.1
Active status static status
Source Window that displaying source file which symbol information read, Assemble Window Memory Window statuses: Only window opened active status. However, because more windows static status opened, current status windows temporarily held. Select this status [Window] menu. Active status display position contents window active status automatically updated association with current value. This window also jump destination Jump function. Only window opened active status. Static status display position window static status does move association with current value, displayed contents updated. static window used jump destination Jump function. active window already open, next window opened static status. more static windows opened same time.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.12.2
Jump function
jump function used jump Source Window, Assemble Window Memory Window from jump pointer that line address which cursor placed, display contents jump destination window from jump pointer. jump among above windows, from Stack Window, Event Manager Register Window above windows. Jump method jump method follows: Move cursor line address that used jump pointer, window from which jumping possible (select event icon Event Manager). Select following menu item which execution jump from [Jump] menu. Source Window Select [Source Text] Assemble Window Select [Assemble] Memory Window Select [Memory] Caution program code does exist line cursor position, first address line with program code above below that line used jump pointer.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Details jump source address details jump source address follows: Table 5-16 Details Jump Source Address
Target Window From Register Window From Memory Window From Event Manager Registers selected Address cursor position
Details Jump Pointer
selected event icon that event condition, address condition used jump pointer. address condition point address condition range address condition Jump specified address Jump lower address (point address before mask mask specified) Jump address position
From Stack Window
function cursor position that stack flame number indicates used jump pointer. With current function jump destination Source Window Other than above Jumps current line Jumps current address
With function other than current function jump destination Source Window Other than above Jump Source Window Assemble Window Fetch address Jump line that calls nested function. Jump address next instruction that calls nested function.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.12.3
Drag drop function
Selected highlighted line numbers, addresses, text dragged dropped another window using following method. Drag selected line number, address, text. shape mouse cursor changes from arrow "-". Drop selection window area where dropped. shape cursor changes from "OK" when cursor placed over window area where selection dropped. window which line number address been dropped, operation performed dropped address address that obtained from dropped line number. example, variable simply registered dragging dropping Watch Window such variable located Source Window. Drag drop details operation performed after dropping line number address differs, depending window area which line number address been dropped. Table 5-17 Details Drag Drop Function (Line/Address) Window/Area Drop Condition setting area each various event setting dialog (address data setting areas) Operation After Drop text dropped line number address area which line number address been dropped. address condition closest symbol format symbol name offset value.
Table 5-18 Details Drag Drop Function (Character String) Window/Area Drop Event Manager event manager area each various event setting dialog Operation After Drop dropped text converted symbol into address value, event condition Access status (all access statuses) Execute status automatically created, using converted address value address condition. Event condition names automatically created Evt00001, Evt00002, data condition path count specified. address condition dropped text. relationship between event condition created symbol follows: Symbols Variable Function Symbol data section Symbol code section Others Status Access (R/W) Execute Access (R/W) Execute Access (R/W)
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
Window/Area Drop Condition setting area each various event setting dialog (other than address data setting areas)
Operation After Drop dropped text converted symbol into address value, event condition Access status (all access statuses) Execute status automatically created, using converted address value address condition. automatically created event condition each condition setting area which line number address been dropped. Event condition names automatically created Evt00001, Evt00002, data condition path count specified. address condition dropped text. relationship between event condition created symbol follows: Symbols Variable Function Symbol data section Symbol code section Others Status Access (R/W) Execute Access (R/W) Execute Access (R/W)
Condition setting area each various event setting dialog (address data setting areas) Watch Window
dropped text area.
dropped text recognizable symbol, contents symbol displayed.
Caution
various event setting dialog boxes include Event Dialog Break Dialog Box.
User's Manual U17287EJ1V0UM
CHAPTER DEBUG FUNCTION
5.12.4
Cautions
number characters that displayed line each area window 319. width display area narrow, display become corrupted. this case, increase width window. When scrolling performed using cursor keys Mixed display mode (Source Window), excessive scrolling occur. Also, scrolling down last line possible using cursor keys. screen resolution (800 600, etc.), statuses displayed status bar. select [Slowmotion] from [Run] menu during execution. [Slowmotion] [Run] menu usually dimmed during execution, there moment when selected, [Slowmotion] selected this time, program will able stopped even [Stop] selected from [Run] menu STOP button clicked). Memory Window When display address changed Memory Window, position caret ASCII display area synchronized. select Dialog display arrangement changed select Dialog Box, multiple lines cannot selected. Select line time. number lines displayed Watch Window maximum 10,000 lines displayed Watch Window. number assembly language source file support lines 65,535 lines assembly language source files displayed. source files exceed 65,535 lines, partition them. switching applications during dragging some reason other application switches while event icons process being dragged, icons will longer able dropped. escape from drag, then reattempt drag.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
CHAPTER WINDOW REFERENCE
This chapter explains detail functions windows dialog boxes ID78K0S-QB. Window List Explanation Windows
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Window List
list windows ID78K0S-QB. Table Window List
Window Name Main Window
Contents This window displayed first, when ID78K0S-QB started. controls execution user program. Various windows opened from this window. Displays sets ID78K0S-QB operation environment. Displays sets extended options ID78K0S-QB. Sets sampling range. Displays sets other options. Saves current debug environment project file. Loads debug environment. Loads object file binary file. Saves memory contents file. Displays source file text file. Searches Source Window. Specifies file displayed Source Window position from which displaying file started. Disassembles program executes online assembly. Searches Assemble Window. Specifies start address display contents Memory Window Assemble Window. Displays address specified variable function, value specified symbol. Displays changes specified watch data. Displays temporarily specified watch data. Registers watch data todisplay Watch Window. Changes watch data todisplay Watch Window. Displays changes local variable current function. Displays current stack contents. Displays contents memory. Searches Memory Window. Fills memory contents with specified data. Copies memory.
Configuration Dialog Extended Option Dialog Dialog Debugger Option Dialog Project File Save Dialog Project File Load Dialog Download Dialog Upload Dialog Source Window Source Search Dialog Source Text Move Dialog Assemble Window Assemble Search Dialog Address Move Dialog Symbol Address Dialog Watch Window Quick Watch Dialog Watch Dialog Change Watch Dialog Local Variable Window Stack Window Memory Window Memory Search Dialog Memory Fill Dialog Memory Copy Dialog
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Window Name Memory Compare Dialog Memory Compare Result Dialog Register Window Window Select Dialog Port Dialog Event Manager Software Break Manager Event Dialog Break Dialog View File Save Dialog View File Load Dialog Environment Setting File Save Dialog Environment Setting File Load Dialog Reset Debugger Dialog Exit Debugger Dialog About Dialog Console Window Font Dialog Browse Dialog Compares memory.
Contents
Displays results comparing memory. Displays contents registers. Displays contents SFR. Selects ports displayed Window. Registers port displayed Window. Displays, enables/disables, deletes each event condition. Display, enable disable, delete software breaks. Registers event conditions. Registers sets break event conditions. Saves display information current window view file. Loads view file each window. Saves setting information current window setting file. Loads setting file each window. Initializes ID78K0S-QB,CPU, symbol information. Terminates ID78K0S-QB. Displays version ID78K0S-QB. Inputs commands. Displays types fonts displayed. Selects file set.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Explanation Windows
This section explains each window dialog follows:
Window Name Dialog Name
Briefly explains function window dialog points noted. addition, display image window dialog also illustrated. Items related operation also explained.
Opening
Explains open window dialog box.
Explanation each area
Explains items displayed each area window dialog box.
Context menu
Explains context menu that displayed window when right mouse button clicked. From
context menu, convenient functions often used this window selected with single action (window only).
Function buttons
Explains operation each button window dialog box.
Related operations
Explains operation window dialog related this window dialog box.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Main Window
This window automatically opened when ID78K0S-QB started initialized. ID78K0S-QB, other windows manipulated from this window. (Refer "Table Window List".) Execution user program controlled this window. Execution user program controlled following three modes: Source mode (Debugs user program source level.) Instruction mode (Debugs user program instruction level.) Auto mode (Automatically selects source mode instruction mode.) Figure Main Window
Menu Toolbar Window display area Status
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Menu
[File] menu [Edit] menu [View] menu [Option] menu [Run] menu [Event] menu [Browse] menu [Jump] menu [Window] menu (10) [Help] menu [File] menu Open. Loads view file, source file, text file. Opens View File Load Dialog Box. operation differs depending extension file selected dialog box. Saves contents displayed current window file whose name specified. Opens View File Save Dialog Box. Closes current window. Downloads file. Opens Download Dialog Box. Uploads file. Opens Upload Dialog Box. Manipulates project file. Opens project file. Opens Project File Load Dialog Box. Overwrites current status project file currently being read ID78K0SQB. Saves current status specified project file. Opens Project File Save Dialog Box. Manipulates setting file. Opens setting file. Opens Environment Setting File Load Dialog Box. Saves setting current window setting file. Opens Environment Setting File Save Dialog Box. Initializes target CPU, symbols, ID78K0S-QB. Opens Reset Debugger Dialog Box. Terminate ID78K0S-QB. Opens Exit Debugger Dialog Box. Lists names files opened.
Save
Close Download. Upload. Project Open. Save Save Environment Open. Save Debugger Reset. Exit (Open file)
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
[Edit] menu Copy Paste Write Restore Memory Fill. Copy. Compare. Modify. Edit Source Cuts selected character string saves clipboard buffer. Copies selected character string saves clipboard buffer. Pastes contents clipboard buffer text cursor position. Writes modified contents target. Cancels modification. Manipulates memory contents. Fills memory contents with specified codes. Opens Memory Fill Dialog Box. Copies memory contents. Opens Memory Copy Dialog Box. Compares memory contents. Opens Memory Compare Dialog Box. Cannot selected. Opens source file displayed active Source Window with editor specified plus when plus runs.
[View] menu [View] menu contains common parts well dedicated parts added according active window. details about dedicated parts, refer description each window. Common items Search. Performs search. Opens search dialog corresponding current window. Same operation <Search> button. Moves display position. Opens specification dialog corresponding current window. Temporarily displays contents specified data. Opens Quick Watch Dialog Box. Registers specified data Watch Window. Opens Watch Dialog Box. Adds selected data Watch Window. data symbol, added accordance with setting Debugger Option Dialog Box. Changes data line selected Watch Window. Opens Change Watch Dialog Box. This menu valid only when variable selected Watch Window. Deletes selected watch point from Watch Window.This menu valid only when variable selected Watch Window. Displays address specified variable function, value specified symbol. Opens Symbol Address Dialog Box.
Move. Quick Watch. Watch. View Watch
Change Watch.
Delete Watch Symbol.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
[Option] menu Tool Status Button Source Mode Instruction Mode Auto Mode Selects whether toolbar displayed (default) not. Selects whether status displayed (default) not. Selects whether buttons each window displayed (default) not. Executes step execution source level line units). Executes step execution instruction level instruction units). Automatically selects step execution source level step execution instruction level (default). Step execution performed source level mode other than mixed display mode) Source Window active. performed instruction level Assemble Window active. neither window active, step execution performed source level. Sets environment. Opens Configuration Dialog Box. Sets extended functions. Opens Extended Option Dialog Box. Sets sampling range function. Opens Dialog Box. Sets ID78K0S-QB options. Opens Debugger Option Dialog Box. Adds user-defined ports. Opens Port Dialog Box. Cannot selected. Cannot selected.
Configuration. Extended Option. Setting. Debugger Option. Port Trace Clear Coverage [Run] menu Restart
Resets executes program. Same operation this button.
Stop
Forcibly stops program execution. Same operation this button.
Executes program from current Same operation this button.
Ignore break points
Ignores break points being set, executes program. Same operation this button.
Return
user program executed until execution returns Same operation this button. Note: This command used function described language.
Step
Executes instructions program (step execution). function subroutine called, instructions executed one. Same operation this button.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Next Over
Executes instructions program (Next step execution). function subroutine called, instructions executed stepby-step basis. Same operation this button.
Start From Here Come Here
Executes program from cursor position Source Window Assemble Window. Executes program from current cursor position Source Window Assemble Window. Continues executing program. break occurs because break condition satisfied, window updated program executed again. Same operation clicking this button each time break occurred.
Slowmotion
Continues step execution. Each time step execution been performed, window updated then step execution performed again. Same operation clicking this button each time break occurred.
Reset
Resets CPU. Same operation this button.
Change Break Point Software Break Point Delete Software Break Uncond. Trace Cond. Trace Tracer Control Mode Coverage Start/ Coverage Stop Timer Start/ Timer Stop Tracer Start/ Tracer Stop
Sets address cursor position Source Window Assemble Window Cannot selected. Sets cancels software breakpoint cursor position Source Window Assemble Window. Deletes software break points. Cannot selected. Cannot selected. Cannot selected. Cannot selected. Cannot selected. Cannot selected.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
[Event] menu Event Manager Manages various event conditions. Opens Event Manager. Same operation this button. Software Break Manager Event. Manages software break event conditions.Opens Software Break Manager. Registers event condition. Opens Event Dialog Box. Same operation this button. Event Link. Break. Cannot selected. Registers sets break condition. Opens Break Dialog Box. Same operation this button. Trace. Snap Shot. Stub. Timer. DMM. Delay Count. [Browse] menu Source Text Displays source text. Opens Source Window. there Source Window already open active status, opened static status. Same operation this button. Assemble Displays disassemble results. Opens Assemble Window. there Assemble Window already open active status, opened static status. Same operation this button. Memory Displays contents memory. Opens Memory Window. there Memory Window already open active status, opened static status. Same operation this button. Watch Displays watch contents. Opens Watch Window. Same operation this button. Register Displays register contents. Opens Register Window. Same operation this button. Opens SFR. Opens Window. Same operation this button. Local Variable Displays local variable. Opens Local Variable Window. Same operation this button. Cannot selected. Cannot selected. Cannot selected. Cannot selected. Cannot selected. Cannot selected.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Stack Trace
Displays stack trace results. Opens Stack Window. Same operation this button.
Trace Coverage Console Others [Jump] menu Source Text
Cannot selected. Cannot selected. Opens Console Window. Displays other windows. Displays user-defined window list.
Displays corresponding source text source line, using data value selected current window jump destination address. line information exists jump destination address, however, cannot jump. Opens Source Window. active Source Window open, that window displayed forefront that manipulated). Disassembles displays results from jump destination address specified data value selected current window. Opens Assemble Window. active Assemble Window open, that window displayed forefront that manipulated). Displays memory contents from jump destination address specified data value selected current window. Opens Memory Window. active Memory Window open, that window displayed forefront that manipulated). Cannot selected.
Assemble
Memory
Coverage [Window] menu Window
Opens window displaying same contents those current window.This menu valid only when current window Source Window, Assemble Window, Memory Window. Cascade display windows main window. Tile display windows main window. Rearranges icons main window. Closes windows, except main window. Updates contents window with latest data. Sets window active status. Sets window static status. Lists windows that open. window with check mark shown side figure current window selecting window name, selected window used current window.
Cascade Tile Arrange Icons Close Refresh Active Static (Open Window)
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
(10) [Help] menu ID78K0S-QB Help Command Reference Main Window Current Window About. Displays help debugger. Opens Help window COMMAND REFERENCE. Displays help main window. Displays help current window. Displays version ID78K0S-QB. Opens About Dialog Box.
Toolbar
Meaning each button Operation toolbar Meaning each button meaning each button toolbar follows. When mouse cursor placed button toolbar, tool hint pops several seconds later. Stops execution user program. Same function [Run] menu [Stop] Resets executes user program. Same function [Run] menu [Restart] Executes user program from current without resetting CPU. Same function [Run] menu [Go] Ignores break points being set, executes user program. Same function [Run] menu [Ignore break points user program executed until execution returns. Same function [Run] menu [Return Out] Note: This command used function described language. Step execution (executes instructions program one.) function subroutine called, instructions executed one. Same function [Run] menu [Step In]. Next step execution (executes program, assuming function/call statement step.) function subroutine called, instructions executed step-by-step basis. Same function [Run] menu [Next Over]. Resets CPU. Same function [Run] menu [CPU Reset]. Opens View File Load Dialog Box. Same function [File] menu [Open]. Opens Download Dialog Box. Same function [File] menu [Download]. Opens Project File Load Dialog Box. Same function [File] menu [Project] [Open].
Stop
ReGo
Step
Over
Open Load
Proj
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Displays source text. Opens Source Window. Same function [Browse] menu [Source Text]. Displays disassemble results. Opens Assemble Window. Same function [Browse] menu ->[Assemble]. Displays contents memory. Opens Memory Window. Same function [Browse] menu [Memory]. Displays watch contents. Opens Watch Window. Same function [Browse] menu [Watch]. Displays register contents. Opens Register Window. Same function [Browse] menu [Register]. Displays contents SFR. Opens Window. Same function [Browse] menu [SFR]. Displays local variable contents. Opens Local Variable Window. Same function [Browse] menu [Local Variable]. Displays stack trace results. Opens Stack Window. Same function [Browse] menu [Stack Trace]. Cannot selected.
Cannot selected. Opens Event Manager. Same function [Event] menu [Event Manager]. Registers sets events. Opens Event Dialog Box. Same function [Event] menu [Event]. Registers sets break events. Opens Break Dialog Box. Same function [Event] menu [Break]. Cannot selected. Cannot selected. Operation toolbar Whether tool displayed specified selecting [Option] menu [Tool Bar]. This toolbar displayed following modes. modes selected Debugger Option Dialog Box. Figure Toolbar (Picture Only)
Figure Toolbar (Picture Text)
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Window display area
This area center) displays various debug windows. displayed window changed size icon created this area.
Status
status displays status ID78K0S-QB in-circuit emulator. While user program being executed, status displayed red. Whether status displayed specified selecting [Option] menu [Status Bar]. Figure Status
Program name Source name Line number Function name value status status Break Cause STEP mode
Displays program file name indicated value. Displays source file name indicated value. Displays line number indicated value. Displays function name indicated value. Displays current value. Refer "Table Status". Refer "Table Status". there more statuses, they delimited with displayed.) Refer "Table Break Cause". Displays step execution mode. Displays that following modes selected from [Option] menu: SRC. Source mode INST Instruction mode AUTO Automatic mode Displays input mode. Insertion mode OVR. Overwrite mode Memory Window fixed mode.
input mode
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Table Status Display HALT STOP RESET Halt mode Stop mode Reset mode Power supplied target Meaning
Table Status Display STEP BREAK Meaning User program execution progress (the color status changes). Step execution progress Break occurring
Table Break Cause Display Manual Break Temporary Break Event Break Software Break Uninitialize Stack Pointer Forced break Temporary break Break event Software break Break failure perform stack pointer initialization Meaning
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Configuration Dialog
This dialog used display ID78K0S-QB operation environment. (Refer "5.1 Setting Debugging Environment".) This dialog automatically displayed after ID78K0S-QB started However, setting required read project results reading project file reflected this dialog box. (Refer "5.11.1 Debugging environment (project file)".) Figure Configuration Dialog
Opening Explanation each area Function buttons
Opening
(Automatically when ID78K0S-QB started Select [Option] menu [Configuration.].
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Explanation each area
Chip Internal ROM/RAM Main Clock Clock Code Peripheral Break Monitor Clock Target Power Fail-safe Break (10) Mask (11) Memory Mapping Chip This area used select chip name. chip name selected from drop-down list. drop-down list, only chip names registered registry from device file installer displayed. This area specified only when debugger started Remark default, type selected previous startup displayed, that type registered, first type registered displayed. Internal ROM/RAM This area used size internal internal CPU. sizes internal device files fixed ID78K0S-QB. Main Clock This area used select main clock source input CPU. this area, oscillator connected clock socket emulator, setting fixed "System". oscillator connected, setting fixed "Clock Board". Clock Board External System clock clock socket emulator used main clock Cannot selected. divided frequency from internal emulator system clock used main clock CPU. (default) This value selected from drop-down list.
Clock Cannot selected this area. Code Cannot selected this area.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Peripheral Break This area used specify whether peripheral emulation function in-circuit emulator stopped during break. Break Break Peripheral emulation functions stopped during breaks. Peripheral emulation functions stopped during breaks (default).
Remark
following peripheral macros compatible with Peripheral Breaks. 16-bit timer/event counter 8-bit timer 8-bit timer Regardless settings this area, operations watchdog timer stopped during breaks. Peripheral macros other than above, operate during breaks.
Monitor Clock This area used specify whether operation clock monitor program switched from subclock main clock during break. This area does have with product without subclock. System operation clock switched main clock monitor program executed (default). Caution: theID78K0S-QB, clock changed manipulating PCC, while main clock stopped. operation clock switched main clock during break, clock returned previous setting when execution returns user program. monitor program executed with clock selected user program.
User Target Power
This area used select whether Power Emulation function valid When debugging with target system unconnected, select "Not Permit". Permit Permit Power emulation function valid. Power emulation function invalid.
Remark
"Not Permit" selected when target system connected, target reset occurs during (execution), break occurs after debugger reset.
Fail-safe Break Cannot selected this area.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
(10) Mask This area used mask signal sent from target. signal masked input in-circuit emulator. Mask only when operation target stable debugging stage. Remark When target system unconnected, "TARGET RESET" masked regardless settings.
(11) Memory Mapping Cannot selected this area.
Function buttons
Cancel Restore Project. About. Help
Validates current environment. Sets environment closes this dialog box. Cancels changes closes this dialog box. Restores previous settings before this dialog opened. Opens Project File Load Dialog Box. error occurs while project file being opened read, ID78K0S-QB longer continue terminated. Opens About Dialog Box. Displays help window this window.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Extended Option Dialog
This dialog used display extended options ID78K0S-QB. (Refer "5.1 Setting Debugging Environment".) Figure Extended Option Dialog
Opening Explanation each area Function buttons
Opening
Select [Option menu [Extended Option
Explanation each area
Realtime Monitor Flash Self Mode Mouse Click Clear Register When Reset Clear Trace Memory Before Break Sound Verify Check
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Realtime Monitor real-time monitor (refer "5.10 Real-time Monitor Function"). function selected item enabled. Realtime Readout Break When Readout Performs real-time monitoring real time. Cannot selected.
Redraw Interval Specify sampling time (ms) real-time monitor function function. sampling time specified 100-ms units from 65500. specified, this area blank, data displayed real time. Flash Self Mode Cannot selected this area. Mouse Click Cannot selected this area. Clear Register When Reset Select this checkbox register 0xfedf banks general-purpose registers reset. Under default setting, registers cleared. Clear Trace Memory Before Cannot selected this area. Break Sound check checked, beep sound issued when break occurs. Verify Check This area used specify whether verify check performed when data been written memory. verify check performed when download, memory fill, memory copy executed. verify check also performed when variable data changed Watch Window Memory Window written memory.
Function buttons
Cancel Restore Help
Validates settings closes this dialog box. Cancels changes closes this dialog box. Restores previous settings before this dialog opened. Displays help window this window.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Dialog
This dialog used sampling range function. (Refer "5.10 Real-time Monitor Function".) locations specified 2-byte units sampling range. total sizes specified locations cannot exceed bytes. Figure Dialog
Opening Explanation each area Function buttons
Opening
settings this dialog when opened differ depending opening method. When settings performed from Dialog dialog opened selecting [Option] menu [RRM Setting.]. this case, data Address Size input manually. When settings performed from Memory Window This dialog opened opening Memory Window, selecting address window, then selecting [RRM Setting.] from context menu. this case, selected address displayed empty Address, bytes displayed empty Size, value obtained converting address symbol displayed empty Symbol. However, total sizes specified locations already exceeds bytes, dialog opens value set.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
When settings performed from Watch Window This dialog opened opening Watch Window, selecting variable window, then selecting [RRM Setting.] from context menu. this case, value obtained converting variable into address displayed empty Address, bytes displayed empty Size, value obtained converting variable symbol displayed empty Symbol. However, total sizes specified locations already exceeds bytes, dialog opens value set.
Explanation each area
Address Size Symbol Size Total Address This area used specify sampling start address function. default radix inputting numeric value hexadecimal. address also specified symbol expression. (Refer "Table Specifying Symbols".) Following input, click <OK> button <Apply> button enable settings. When settings enabled, addresses aligned 2-byte units, address duplicate, enabled. Size This area used specify sampling range from Address. values that selected However, total sizes specified locations cannot exceed bytes. Symbol This area displays symbols addresses specified Address. specified addresses displayed symbol symbol offset. address been set, nothing displayed. Size Total This area displays total sizes specified Size. total exceeds bytes, displayed red.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Function buttons
Cancel Restore Default Delete Jump
Validates settings closes this dialog box. Closes this dialog box. Restores input data original status. Clears current setting sets internal start address first Address, first Size. Deletes setting numbers with focus. Opens Memory Window displays addresses Address whose numbers have focus. Jump performed Memory Window that active status. multiple memory windows opened, they must static status. (Refer "5.12.1 Active status static status".) Enables settings. Displays this dialog online help files.
Apply Help
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Debugger Option Dialog
This dialog used display various options ID78K0S-QB. Figure Debugger Option Dialog
Opening Explanation each area Function buttons
Opening
Select [Option] menu [Debugger Option.].
Explanation each area
Source Path Default Extension Open File History Font Project File: Tool Pictures Kanji Size
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Startup Routine (10) DisAssemble (11) Watch Default Source Path This area used specify directory which source file text file searched. Base: directory basis relative path displayed. base directory determined following sequence: (ii) Directory which project file been loaded Directory which load module file been loaded last
(iii) Current directory Windows Text This area used specify directory searched. specify directory, either directly input text box, click <Browse.> button. relative path also specified. Opens Source Path Dialog clicking <Browse.> button. (semicolon) (comma). Remark Immediately after this dialog been opened, base directory selected opened. selected directory already been source path, source path added. Figure Source Path Dialog delimit paths,
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Default Extension This area used specify default extension. Delimit extensions with (blank),";" (semicolon) (comma). Source File: extension source file that displayed when Browse Dialog opened selecting [File] menu [Open.]. default extension *.c, *.asm". extension load module that displayed when Download Dialog opened. default extension *.lnk, *.lmf
Load Module:
Open File History This area used number histories open file displayed bottom field [File] menu. default value set, history displayed menu. Font This area used specify font displayed Source Window, Watch Window, Quick Watch Dialog Box, Local Variable Window, Stack Window. Clicking <Font.> button opens Font Dialog which font displayed size set. Project File: This area used automatic saving loading project file. environment (project file)".) Auto Save: Sets whether project file automatically saved ID78K0S-QB termination. Query Automatically saves project file ID78K0S-QB termination. Does automatically save project file ID78K0S-QB termination. Displays Exit Debugger Dialog ID78K0S-QB termination (default). (Refer "5.11.1 Debugging
Auto Load: Sets whether project file automatically loaded ID78K0S-QB start Automatically loads project file ID78K0S-QB start Specify project file loaded Load Project File. Does automatically loads project file ID850QB start (default) Load Project File
Specify project file loaded automatically. project file name inputting from keyboard clicking <Browse.> button. Clicking <Browse.> button displays Browse Dialog Box.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Tool Pictures This area sets buttons displayed tool bar. (Refer Toolbar".) Pictures Text Pictures only Displays button which graphic character displayed. Displays button with only graphic (default).
Kanji Cannot selected this area. Size This area used size each extension when files displayed. Extension: extension. Input extension from keyboard, select from drop-down list. Size: Select size. Select many spaces displayed code List:
Displays size each extension. <Add> button change size setting, select Extension: Size: click <Add> button. <Delete> button delete size setting, select setting deleted from List click <Delete> button. Startup Routine This area used specify first address address, display start symbol text area (code area) start-up routine symbols. source file opened object file load module format downloaded Download Dialog Box. Begin label: label: main() label: Specifies symbol first address (default: _@cstart) Specifies symbol address (default: _@cend) Specifies display start symbol (default _main)
Caution1 specified symbol correct, source file cannot opened until reaches address range corresponding source file. addition, start-up routine cannot skipped step execution. Caution2 sure specify this area. this area blank, dialog cannot closed.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
(10) DisAssemble This area used disassemble display. Show Offset: Specifies whether offset (symbol offset) displayed during disassemble display. When offset displayed, only symbol that matches numeric value displayed, any. matching symbol found, numeric value displayed hexadecimal number unchanged. Label Mnemonic Specifies whether offset displayed Label field. default condition, offset displayed. Specifies whether offset displayed Mnemonic field. default condition, offset displayed.
Register Name: This area used select method displaying register names mnemonics during disassemble display. Function Name Absolute Name Displays register names function names nicknames (default). Displays register names absolute names.
(11) Watch Default This area used specify symbol watched Watch Window etc. Size: Sets default display size data [Adaptive] specified. Byte Word Double Word
8-bit display(default) 16-bit display 32-bit display
Radix: Sets default radix which data displayed [Proper] specified. String Displays data hexadecimal numbers (default). Displays data decimal numbers. Displays data octal numbers. Displays data binary numbers. Displays data character strings.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Show Variable Type:
Select display/non-display variable type specified. Displays type variable. Does display type variable (default).
Language: Select display/non-display type variable specified. Displays C-like base number (default). Displays assembly language-like base number.
Function buttons
Cancel Restore Help
Validates settings closes this dialog box. Cancels changings closes this dialog box. Restores previous settings before this dialog opened. Displays this dialog online help files.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Project File Save Dialog
This dialog used save current debugging environment project file. (Refer "5.11.1 Debugging environment (project file)".) Project files newly saved saved under existing file name this dialog box. Figure 6-10 Project File Save Dialog
Opening Explanation each area Function buttons
Opening
Select [File] menu [Project] [Save As.]. save file same name project file previously loaded saved, select [File] menu [Project] [Save].)
Explanation each area
Save in:, File name: Save type:
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Save in:, File name: This area used specify file name. file name directly input, selected from list upper part this area. characters string with extension specified. Save type: This area used specify extension (*.prj) project file saved. extension omitted, "*.prj" appended default extension.
Function buttons
Save Cancel Help
Saves debugging environment selected file. After saving, dialog closed. Closes this dialog without saving file. Displays this dialog online help files.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Project File Load Dialog
This dialog used restore debugging environment debugging environment saved project file. (Refer "5.11.1 Debugging environment (project file)".) there active Source Window after project file been loaded, displayed top. Caution Following ID78K0S-QB startup, project file with settings that differ from those target device startup been loaded, target device specified startup used. Figure 6-11 Project File Load Dialog
Opening Explanation each area Function buttons
Opening
Click Proj button, select [File] menu [Project] [Open.].
Explanation each area
Look In:, File name: Files type:
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Look In:, File name: This area used specify file name loaded. file name directly input from keyboard, selected from list. characters string with extension specified. Files type: This area used specify extension (*.prj) file loaded.
Function buttons
Open Cancel Help
Loads selected file. After loading file, this dialog closed. Closes this dialog without executing anything. Displays this dialog online help files.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Download Dialog
This dialog used select name format file downloaded, downloads memory contents in-circuit emulator target system. (Refer "5.2 Download Function, Upload Function".) load module file been downloaded, corresponding source file searched, Source Window automatically opened.
Caution
file other than load module file loaded, source debugging cannot executed. Figure 6-12 Download Dialog
Remark
following dialog appears while downloading downloading celled time. This dialog closed automatically after completing downloading. Figure 6-13 Progress Download
Opening Explanation each area Function buttons
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Opening
Click Load button, select [File] menu [Download.].
Explanation each area
Look In:, File name: Files type: Load Reset Offset Address: Look In:, File name: This area used specify file name. file name directly input from keyboard, selected from list upper part this area. characters string with extension specified. Files type: This area used specify type (extension) file downloaded. (Refer "Table Type File That Downloaded".) Remark These default extensions; other extensions also used. default extension displayed load module also specified Debugger Option Dialog Box. Load This area used load condition. This setting valid only file load module format specified. This setting valid only file load module format specified. Symbol Object Specifies whether symbol information read not. Specifies whether object information read (when checked, default) not. (The object information read even this button checked when file loaded.) Cannot selected.
Erase
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Reset This area used reset condition. This setting valid only file load module format specified. Symbol Offset Address: This area used specify offset address that used when file loaded (for binary data, specify start address). address also specified symbol expression. (Refer "Table Specifying Symbols".) default radix inputting numeric value hexadecimal. Specifies whether symbol information reset not. Fixed checked status (always reset). Specifies whether reset not. (Checked, default.)
Function buttons
Open Cancel Help Restore
Loads selected file. After loading file, this dialog closed. Closes this dialog without loading file. Displays this dialog online help files. Restores input data original status.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Upload Dialog
This dialog used name format file saved, save memory contents, etc., that file. (Refer "5.2 Download Function, Upload Function".) Figure 6-14 Upload Dialog
Opening Explanation each area Function buttons
Opening
Select [File] menu [Upload.].
Explanation each area
Save in:, File name: Save type: Save Address:
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Save in:, File name: This area used specify file name saved. file name directly input from keyboard, selected from list. character string with extension specified. Save type:
This area used specify type (extension) file saved. format data saved determined extension. (Refer "Table Type File That Uploaded") However, "All (*.*) selected, data saved default Intel extended format. Remark Extensions other than those listed also used.
Save Address: This area used specify range address saved. address also specified symbol expression. (Refer "Table Specifying Symbols".) default radix inputting numeric value hexadecimal.
Function buttons
Save Cancel Help Restore
Saves file according setting. Closes this dialog without executing anything. Displays this dialog online help files. Restores status before this dialog opened.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Source Window
This window used displays source files text files. (Refer "5.3 Source Display, Disassemble Display Function".) addition Breakpoint setting Mixed display mode (Source Window), number other
operations using Context menu, Function buttons, etc., performed this window. Moreover, there statuses, Active status static status, this window. Moreover, items selected window with Drag drop function used another window. (Refer "5.12 Functions Common Each Window".)
Caution
program codes described include file these codes included multiple files, line
numbers addresses correspond one-to-one bases. such include file, function that indicates correspondence relationship between line numbers addresses dose correctly operate. Figure 6-15 Source Window
Opening Explanation each area [View] menu (Source Window-dedicated items) Context menu Function buttons
Opening
Click button, select [Browse] menu [Source Text]. (This window automatically opened corresponding source file exists after download module file been downloaded.
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Explanation each area
Point mark area Current mark area Line number/address display area Source text display area Point mark area This area used Event Setting Status (Event Mark) program codes display, well Breakpoint setting. Remark program code displayed only when symbol information downloaded load module read. Breakpoints deleted clicking with mouse this program code.
displayed line, breakpoint line above below line, whichever displayed.) event been corresponding line, marks listed following table displayed. Table Event Setting Status (Event Mark) Mark (blue) Current mark area mark ">", which indicates current value register value), displayed this area. Clicking this mark with mouse displays pop-up window that shows register value. double-clicking current mark area, program executed specified line. Line number/address display area This area displays line numbers source file text file. indicates line numbers which corresponding program code exists, black indicates line numbers which corresponding program code does exist. Mixed display mode (Source Window), disassemble display addresses displayed gray. Software breakpoint set. Meaning
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Source text display area This area displays source files text files. Yellow indicates current line, indicates lines where valid breakpoint set. Mixed display mode (Source Window), source lines displayed regular color. Moreover, this area also provides following functions lines (start address program code) addresses where cursor been placed. [Come Here] [Start From Here] (Refer "Table Type Execution") Drag drop function Context menu Caution Program code does exist source line, address line above below line which program code exists manipulated these functions. These functions cannot performed following cases. corresponding menu will dimmed cannot selected. file other than source file displayed While user program being executed
[View] menu (Source Window-dedicated items)
following items added [View] menu, when Source Window active. Create Break Event Break when Access this Variable Break when Write this Variable Break when Read from this Variable Clear Event? Sets break event that occurs selected variable accessed. Sets break event that occurs selected variable accessed read/ write. Sets break event that occurs selected variable accessed write. Sets break event that occurs selected variable accessed read. Deletes break event corresponding selected variable. Cannot selected. Turns on/off Mixed display mode (Source Window).
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Context menu
Move. Watch. Symbol.
Moves display position. Opens Source Text Move Dialog Box. Turns on/off Mixed display mode (Source Window). Adds specified data Watch Window. Opens Watch Dialog Box. Displays address specified variable function, value specified symbol. Opens Symbol Address Dialog Box. Sets break event that occurs selected variable accessed read/ write. Sets break event that occurs selected variable accessed write. Sets break event that occurs selected variable accessed read. Deletes break event corresponding selected variable. Cannot selected. Executes program from current cursor position. (Refer "Table Break Types".) Sets address cursor position Cannot selected. Sets deletes software breakpoint cursor position. Disassembles displays starting from jump destination address specified data value cursor position. (Refer "5.12.2 Jump function".) Opens Assemble Window. active Assemble Window open, that window displayed forefront that manipulated). Displays memory contents starting from jump destination address specified data value cursor position. (Refer "5.12.2 Jump function".) Opens Memory Window. active Memory Window open, that window displayed forefront that manipulated). Cannot selected.
Break when Access this Variable Break when Write this Variable Break when Read from this Variable Clear Event? Come Here Change Break Point Software Break Point Assemble
Memory
Coverage
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Function buttons
Search.
Opens Source Search Dialog searches character string source text. character string selected source text display area, Source Search Dialog opened search character string. character string selected, Source Search Dialog opened with nothing specified searched. Specify search method Source Search Dialog Box. results search highlighted Source window. This same operation selecting [View] menu [Search.]. Searches forward (upward screen) text that satisfies search condition Source Search Dialog Box, starting from address cursor position. This button displayed <Stop> button during search. Searches backward (downward screen) text that satisfies search condition Source Search Dialog Box, starting from address cursor position. This button displayed <Stop> button during search. Stops searching. Adds variables selected source text display area Watch Window. Watch Window opened, opened. text selected source text display area, Watch Window only opened. This same operation selecting [View] menu [View Watch]. Temporarily displays contents, such variable, selected source text display area Quick Watch Dialog Box. text selected source text display area, Quick Watch Dialog only opened. This same operation selecting [View] menu [Quick Watch.]. Updates contents window with latest data. Closes this window.
Stop(during search) Watch
Quick.
Refresh Close
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Source Search Dialog
This dialog used search contents file Source Window. (Refer "5.3.1 Source display".) setting each item then clicking <Find Next> button, searching started. clicking <Set Find> button, direction buttons ("<<" ">>") Source Window used search. Figure 6-16 Source Search Dialog
Opening Explanation each area Function buttons
Opening
When Source Window current window, select [View] menu [Search.], click <Search.> button same window.
Explanation each area
Find What Match Case Direction
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Find What This area used specify data searched. character.) default condition, string selected window that called this dialog displayed. necessary, character string displayed changed. input histories recorded. Match Case This should checked distinguish between uppercase lowercase. Direction This area used specify direction search. Down Forward search. Searches data forward (upward screen) from current position cursor. Backward search. Searches data backward (downward screen) from current position cursor (default).
Function buttons
Find Next
Searches specified data accordance with given condition. specified character string found result search, highlighted. continue searching, click this button again. Sets specified condition search condition closes this dialog box. Stops searching. Closes this dialog box. (During searching, this button replaced <Stop> button.) Displays this dialog online help files.
Find Stop (during searching) Cancel Help
User's Manual U17287EJ1V0UM
CHAPTER WINDOW REFERENCE
Source Text Move Dialog
T

Other recent searches


TRS-72120-CXX0G - TRS-72120-CXX0G   TRS-72120-CXX0G Datasheet
SPL31A - SPL31A   SPL31A Datasheet
REJ03D0399 - REJ03D0399   REJ03D0399 Datasheet
0300 - 0300   0300 Datasheet
RD01MUS2 - RD01MUS2   RD01MUS2 Datasheet
LT1110 - LT1110   LT1110 Datasheet
BLT71 - BLT71   BLT71 Datasheet

 

Privacy Policy | Disclaimer
© 2013 Datasheets.org.uk