The Datasheet Archive - 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*)

 

 

SM850 System Simulator Ver. 2.00 Later Operation (WindowsBased)


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



User's Manual
SM850
System Simulator Ver. 2.00 Later Operation (WindowsBased)
Target Device V850 Family
Document U13759EJ1V0UM00 (1st edition) Date Published August 1999 CP(K)
1997 1999 Printed Japan
[MEMO]
User's Manual U13759EJ1V0UM00
V850 Family, V850/SA1, V850/SB1, V850/SB2, V850E/MS1, V852, V853, V854 trademarks Corporation. UNIX trademark licensed X/Open Company Limited United States other countries. Pentium trademark Intel Corporation. MS-DOS, Windows, Windows either registered trademarks trademarks Microsoft Corporation United States and/or other countries. PC/AT trademark International Business Machines Corporation.
User's Manual U13759EJ1V0UM00
information this document subject change without notice. Before using this document, please confirm that this latest version. part this document copied reproduced form means without prior written consent Corporation. Corporation assumes responsibility errors which appear this document. Corporation does assume liability infringement patents, copyrights other intellectual property rights third parties arising from device described herein other liability arising from such device. license, either express, implied otherwise, granted under patents, copyrights other intellectual property rights Corporation 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. Corporation assumes responsibility losses incurred customer third parties arising from these circuits, software, information.
User's Manual U13759EJ1V0UM00
Regional Information
Some information contained this document vary from country country. Before using product your application, pIease contact 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.
Electronics Inc. (U.S.)
Santa Clara, California Tel: 408-588-6000 800-366-9782 Fax: 408-588-6130 800-729-9288
Electronics (Germany) GmbH
Benelux Office Eindhoven, Netherlands Tel: 040-2445845 Fax: 040-2444580
Electronics Hong Kong Ltd.
Hong Kong Tel: 2886-9318 Fax: 2886-9022/9044
Electronics Hong Kong Ltd. Electronics (France) S.A.
Velizy-Villacoublay, France Tel: 01-30-67 Fax: 01-30-67 Seoul Branch Seoul, Korea Tel: 02-528-0303 Fax: 02-528-4411
Electronics (Germany) GmbH
Duesseldorf, Germany Tel: 0211-65 Fax: 0211-65
Electronics (France) S.A. Electronics (UK) Ltd.
Milton Keynes, Tel: 01908-691-133 Fax: 01908-670-290 Spain Office Madrid, Spain Tel: 91-504-2787 Fax: 91-504-2860
Electronics Singapore Pte. Ltd.
United Square, Singapore 1130 Tel: 65-253-8311 Fax: 65-250-3583
Electronics Taiwan Ltd. Electronics Italiana s.r.l.
Milano, Italy Tel: 02-66 Fax: 02-66
Electronics (Germany) GmbH
Scandinavia Office Taeby, Sweden Tel: 08-63 Fax: 08-63
Taipei, Taiwan Tel: 02-2719-2377 Fax: 02-2719-5951
Brasil S.A.
Electron Devices Division Rodovia Presidente Dutra, 07210-902-Guarulhos-SP Brasil Tel: 55-11-6465-6810 Fax: 55-11-6465-6829
J99.1
User's Manual U13759EJ1V0UM00
[MEMO]
User's Manual U13759EJ1V0UM00
INTRODUCTION
Readers
This manual intended user engineers design develop application systems V850 Family.
Purpose
This manual intended users understand functions SM850 organization below.
Organization
This manual consists following chapters: General Installation Starting exiting Function SM850 Association with project manager Window reference
This Manual
assumed that readers this manual have general knowledge electrical engineering, logic circuits, microcontrollers, language, assemblers. understand functions V850 Family Refer User's Manual Hardware each product. understand instruction functions V850 Family Refer V850 Family User's Manual Architecture V850E/MS1User's Manual Architecture.
Conventions
Data significance: Note: Caution: Remark: Numerical representation:
Higher digits left lower digits right Footnote item marked with Note text Information requiring paticular attention Supplementary information Binary. Decimal.
Prefixes indicating power (address space, memory capacity): (kilo): (giga): descriptions: 1,024 1,0243 (mega): 1,0242 descriptions this manual explained terms PC-9821 series keyboard. When using keyboard whose descriptions differ from above, keys accordance with descriptions APPENDIX FUNCTION LIST.
User's Manual U13759EJ1V0UM00
Related Documents
documents related this manual listed below. related documents indicated this publication include preliminary versions. However, preliminary versions marked such.
Documents related V850 Family
Document Name Part Number V852
Data Sheet
User's Manual Hardware Architecture U10243E
µPD703002 µPD70P3002
U11826E U11827E U12261E U13188E U12036E U13189E U12756E U12755E U13829E prepared prepared prepared prepared U13995E
U10038E
V853
µPD703003 µPD703003A, 703004A, 703025A µPD70F3003 µPD70F3003A, 70F3025A
U10913E
V854
µPD70F3008 µPD70F3008Y
U11969E
V850/SA1 V850/SB1
µPD703015 µPD703033, 703033Y µPD70F3033, 70F3033Y
U12768E U13568E
V850/SB2
µPD703035, 703035Y µPD70F3035, 70F3035Y
U13850E
V850E/MS1
µPD703100-33, 703100-40, 703101-33, 703102-33 µPD703100-A33, 703100-A40, 703101-A33, 703102-A33 µPD70F3102-33 µPD70F3102-A33
U12688E
U12197E
U14168E
U13844E U13845E
User's Manual U13759EJ1V0UM00
Documents related development tools (user's manual)
Document Name Document Number U11595E U11596E U12420E U12898E U12887E Operation UNIX Based Operation Windows Based language Assembly language ID850 (Ver. 1.31) (Integrated debugger) SM850 (Ver. 2.00) (System simulator) RX850 (Real-time Operation Windows Based Operation Windows Based Basics Technical Installation RX850 (Real-time Fundamental Technical Installation RD850 (Task debugger)
Note
IE-703002-MC (In-circuit emulator V852, V853, V854, V850/SA1) IE-703003-MC-EM1 (Peripheral board V853) IE-703008-MC-EM1 (Peripheral board V854) IE-703017-MC-EM1 (Peripheral board V850/SA1) 703100-MC (In-circuit emulator V850E/MS1) CA850 compiler package)
U12839E U12827E U12840E U10543E U13716E This manual U13430E U13431E U13410E U13773E U13772E U13774E U11158E U13737E U11181E
RD850 (Ver. 3.0) (Task debugger) AZ850 (System performance analyzer)
Note ID850 (Ver. 1.31) supported
User's Manual U13759EJ1V0UM00
[MEMO]
User's Manual U13759EJ1V0UM00
CONTENTS
CHAPTER
GENERAL.
Overview. Features. System Configuration Operating Environment
1.4.1 1.4.2 Hardware environments.21 Software environments
Note Debugging Source Level INSTALLATION
CHAPTER
Installing SM850 Uninstalling SM850 STARTING EXITING.
CHAPTER
Starting Exiting. FUNCTION SM850
CHAPTER
External Parts
4.1.1 4.1.2 4.1.3 4.1.4 Creating external parts.37 Displaying manipulation results with external parts Operations external parts reset Editing Parts window.38 Creating/editing input data Downloading input data file.40 Processing when input data set.41 Output output data file data display.42 Setting event action Downloading event condition file
Data Input Function.
4.2.1 4.2.2 4.2.3 4.2.4
Peripheral Event Action Setting Function.
4.3.1 4.3.2
Debugging Functions SM850 ASSOCIATION WITH PROJECT MANAGER
CHAPTER
Debugger Registration Project.
5.1.1 5.2.1 Debugger selection Reproducing debug environment
Starting SM850 from Correction Auto Load Source File
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE.
Window List. Explanation Windows
Main Window Configuration Dialog Extended Option Dialog Debugger Option Dialog Font Dialog Project File Load Dialog Box.102 Project File Save Dialog Box.105 View File Load Dialog .109 View File Save Dialog .112 Download Dialog Box.117 Load Module List Dialog .121 Upload Dialog .123 Browse Dialog Box.126 Source Move Dialog Box.128 Address Move Dialog Box.131 Trace Move Dialog Box.134 Symbol Address Dialog .137 Source Window.140 Source Search Dialog .154 Assemble Window .157 Assemble Search Dialog Box.169 Memory Window .172 Memory Search Dialog .176 Memory Fill Dialog .179 Memory Copy Dialog .181 Memory Compare Dialog .183 Memory Compare Result Dialog .185 Watch Window .187 Quick Watch Dialog .192 Watch Dialog .196 Register Window.199 Register Select Dialog .202 Window.204 Select Dialog .207 Port Dialog .210 Local Variable Window.213 Stack Window .215 Trace View Window .219 Trace Search Dialog .227 Trace Data Select Dialog .234 Coverage Window.237 Coverage Search Dialog Box.242 Coverage Clear Dialog .245 Coverage Address Dialog Box.247
User's Manual U13759EJ1V0UM00
Coverage Condition Setting Dialog Coverage Efficiency View Dialog Box. Event Manager Event Dialog Event Link Dialog Box. Break Dialog Trace Dialog Snap Shot Dialog Box. Stub Dialog Timer Dialog Timer Result Dialog Reset Debugger Dialog About Dialog Exit Debugger Dialog Box. V850 Simulator Window Event Action Dialog Box. Input Editor Window. Input Timing Chart Editor Window Setting Dialog Simulation Data Load Dialog Output Setting Dialog Output Timing Chart Window. Search Window. Parts Window. Buttons Dialog Matrixes Dialog Box. LEDs Dialog Box. 7seg LEDs Dialog Level Gauges Dialog Motors Dialog Buzzers Dialog 14seg LEDs Dialog Internal Interrupt Button Dialog Box. Pull-Up/Pull-Down Dialog Serial Window Bitmap Entry Dialog Open Dialog Box. Save Dialog Error/Warning Dialog
APPENDIX APPENDIX
DEBUGGING WITH SM850. TERMINOLOGY
Terminology Window Type Configuration
B.2.1 B.2.2 Windows. Dialog boxes
User's Manual U13759EJ1V0UM00
APPENDIX APPENDIX
ERROR MESSAGE LIST FUNCTION LIST
Special Function Function List. Function Function List Special Function Function List SHIFT Key) Function Function List SHIFT Key) Special Function Function List CTRL Key) Function Function List CTRL Key) Control Function List CTRL Key) Special Function Function List CTRL SHIFT Key) INDEX
APPENDIX
User's Manual U13759EJ1V0UM00
LIST FIGURES (1/3)
Figure 4-10 4-11 6-10 6-11 6-12 6-13 6-14 6-15 6-16 6-17 6-18
Title
Page
SM850 System Configuration Example SM850 Icon.31 Configuration Dialog Starting Main Window V850 Simulator Button.32 comctl32.dll 4.72 Installer.33 Exit Debugger Dialog Example SM850 External Parts Parts Window.37 Input Editor Window Input Timing Chart Editor Window Simulation Data Load Dialog V850 Simulator Window Pull-Up/Pull-Down Dialog Box.41 Output Timing Chart Window Event Action Window Simulation Data Load Dialog Memory Space Managed SM850PD703000).44 Select Debugger Dialog (PM) Main Window Tool Example Tool Hint.59 Status Example Menu Explanation Display.63 File Menu Bar.64 Edit Menu View Menu Bar.67 Option Menu Bar.72 Menu Bar.75 Event Menu Browse Menu Jump Menu Bar.79 Window Menu Bar.80 Help Menu Configuration Dialog Extended Option Dialog Debugger Option Dialog
User's Manual U13759EJ1V0UM00
LIST FIGURES (2/3)
Figure 6-19 6-20 6-21 6-22 6-23 6-24 6-25 6-26 6-27 6-28 6-29 6-30 6-31 6-32 6-33 6-34 6-35 6-36 6-37 6-38 6-39 6-40 6-41 6-42 6-43 6-44 6-45 6-46 6-47 6-48 6-49 6-50 6-51 6-52 6-53 6-54 6-55 6-56 6-57 6-58 6-59
Title
Page
Font Dialog Project File Load Dialog .102 Project File Save Dialog .106 View File Load Dialog Box.109 View File Save Dialog Box.112 Download Dialog .118 Load Module List Dialog .121 Upload Dialog .123 Browse Dialog .126 Source Move Dialog .128 Address Move Dialog .131 Trace Move Dialog .134 Symbol Address Dialog .137 Source Window .140 Source Search Dialog Box.154 Assemble Window .157 Assemble Search Dialog .169 Memory Window .172 Memory Search Dialog .176 Memory Fill Dialog Box.179 Memory Copy Dialog .181 Memory Compare Dialog Box.183 Memory Compare Result Dialog Box.185 Watch Window.188 Quick Watch Dialog .192 Watch Dialog Box.196 Register Window .199 Register Select Dialog .202 Window .204 Select Dialog .207 Port Dialog Box.210 Local Variable Window .213 Stack Window.215 Trace View Window .219 Trace Search Dialog Box.227 Trace Data Select Dialog Box.234 Coverage Window .237 Coverage Search Dialog .242 Coverage Clear Dialog .245 Coverage Address Dialog .247 Coverage Condition Setting Dialog .249
User's Manual U13759EJ1V0UM00
LIST FIGURES (3/3)
Figure 6-60 6-61 6-62 6-63 6-64 6-65 6-66 6-67 6-68 6-69 6-70 6-71 6-72 6-73 6-74 6-75 6-76 6-77 6-78 6-79 6-80 6-81 6-82 6-83 6-84 6-85 6-86 6-87 6-88 6-89 6-90 6-91 6-92 6-93 6-94 6-95 6-96 6-97
Title
Page
Coverage Efficiency View Dialog .252 Event Manager.256 Event Dialog .265 Event Link Dialog .279 Break Dialog .289 Trace Dialog .296 Snap Shot Dialog .309 Stub Dialog .323 Timer Dialog .330 Timer Result Dialog .339 Reset Debugger Dialog Box.341 About Dialog .343 Exit Debugger Dialog .344 V850 Simulator Window .346 Event Action Dialog Box.350 Input Editor Window .354 Input Timing Chart Editor Window .360 Setting Dialog .365 Simulation Data Load Dialog .367 Output Setting Dialog Box.369 Output Timing Chart Window .371 Search Window.375 Parts Window.378 Button Dialog .389 Matrixes Dialog .392 LEDs Dialog Box.396 7seg LEDs Dialog .399 Level Gauges Dialog Box.402 Motor Dialog .405 Buzzers Dialog Box.408 14seg LEDs Dialog .410 Internal Interrupt Button Dialog .413 Pull-Up/Pull-Down Dialog Box.415 Serial Window.417 Bitmap Entry Dialog .419 Open Dialog Box.423 Save Dialog .425 Error/Warning Dialog .427 Display Format Error Message Debugger.443
User's Manual U13759EJ1V0UM00
LIST TABLES
Table
Title
Page
External Parts Supplied with SM850 Operations External Parts Reset Windows SM850 Debugger. SM850 Simulator Section Window List. List Other Windows Status Display Contents Status Display Contents. Display Contents Break Cause STEP Modes Input Modes Delimiter Symbols Register V850 Family. Error Message Type. Error Messages Debugger Simulator Section Error Message List Special Function Function List Function Function List Special Function Function List SHIFT Key) Function Function List SHIFT Key). Special Function Function List CTRL Key) Function Function List CTRL Key). Control Function List CTRL Key) Special Function Function List CTRL SHIFT Key)
User's Manual U13759EJ1V0UM00
CHAPTER
GENERAL
Overview
SM850 system simulator (hereafter referred "SM850") software tool, developed NEC's V850 Family 32-bit microcontroller embedded control applications, simulate user programs efficiently. SM850 features easy-to-understand (Graphical User Interface) host machine using Windows operating system. Moreover, commands that frequently used started clicking mouse, providing environment with excellent operability.
Features
features SM850 follows. Evaluation without target simulating operations target device including internal peripheral unit operation interrupt servicing well operation itself, logic user program debugged without incircuit emulator early stage. Supports integrated debugging environment While maintaining same operability in-circuit emulator. Various simulation functions External components using standard "external components" peripheral I/Os blocks used GUI, such LEDs, matrixes, motors, simulated environment target system easily organized. external components input output data during simulation. Architecture user target system user logic section target system allows user-based architecture (programming) means user-open interface. Data input function Data with timing information created with types input editors input during simulation. output result displayed timing charts. Peripheral event action setting functions Interrupts generated data time using events peripheral registers addresses.
User's Manual U13759EJ1V0UM00
CHAPTER
GENERAL
types simulation mode types simulation mode, which selected according purpose debugging, available. Instruction operation mode This operation mode used only simulation instructions executed high speeds. useful debugging logic user program. Peripheral operation mode This mode verify internal external peripheral operations while accurately simulating pipeline processing. this mode, external peripherals dependent input/output data devices treated components such operation peripherals visually verified debugged.
System Configuration
SM850 debug user programs developed V850 Family simulating operation target device without in-circuit emulator. Moreover, standard "parts" simulate target system also provided with SM850, that develop software without having wait completion production target system. Example system configuration Figure shows example system configuration SM850. Figure 1-1. SM850 System Configuration Example
Host machine
Device SM850 file
User's Manual U13759EJ1V0UM00
CHAPTER
GENERAL
Configuration SM850 SM850 consists following parts. Debugger section Simulator section When SM850 started debugger section simulator section main windows automatically opened buttons taskbar). windows dialog boxes activated from these main windows.
Operating Environment
SM850, following hardware software environments necessary. 1.4.1 Hardware environments Host machine PC-9821 series PC98-NX series PC/ATor compatibles Pentium100 faster (120 faster recommended) Memory RAM: Mbytes more Mbytes more recommended) 1.4.2 Software environments Windows95, Windows NT(Ver. 4.0), Windows98 Device file Device file target device used
Note Debugging Source Level
When debugging source level, option option) that creates debugging information after source files have been compiled. this done, debugging cannot performed source level.
User's Manual U13759EJ1V0UM00
[MEMO]
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
This chapter explains install/uninstall SM850 customize environment setting file
Installing SM850
order SM850, necessary install both SM850 device file. Install device file using dedicated installer "DFINST.exe" (supplied with SM850). Caution reinstalling SM850, sure uninstall first. SM850 uninstalled
reinstalled directory that different SM850 originally installed uninstallation originally installed SM850 become impossible. following floppy disks (FDs) necessary installing SM850. System disks SM850 (DISK1 Copy system disks other floppy disks backup. backed disks installation prevent accident. example installing SM850 shown below. setting this example follows: Install directory: Drive floppy disk: C:\nectools32 Drive
Directory which Windows installed: C:\WINDOWS Start Windows. Insert system disk (DISK1) floppy disk drive (drive this example). Start explorer, select drive double-click "Setup.exe".
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
setup program activated following setup initialization. Click Next.
When installing SM850, click after reading accepting terms software license agreement. Clicking will abort installation.
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
Select items installed destination drive directory. Clear check mark from components that installed directory C:\nectools32. there problem with drive directory, click Browse make appropriate modifications. After setting each item, click Next. abort installation, click Cancel.
Note
default destination drive
Note latest version peripheral simulation supplied with device file, clear check mark from V850 Peripheral Simulation check install peripheral simulation (SPxxxx.dll) when installing device file. other hand, latest version peripheral simulation supplied with SM850, click select V850 Peripheral Simulation check box, then clear check when installing device file. Caution previously installed SM850 been uninstalled, dialog querying whether uninstall will displayed.
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
Specify name file which SM850 icon registered. After specifying group name, click Next. abort installation, click Cancel. default group name "NEC Tools".
Final confirmation installation start Confirm settings made <6>. there changes these settings, click Next. changes necessary, click Back. there problems, click Cancel abort installation.
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
Copying files Copy files into directory <4>. change-of-system-disk message (Setup Needs Next Disk) dialog will open, after changing disk, click
Displays installation status
Change-of-system-disk message
<10> Completing installation After files have been copied, Setup Complete dialog will open, click Finish. data file 16-bit version development tools NECDEV.INI exists Windows directory, message querying whether move device file data registry will displayed. move this data, action required. desire this data moved, clear check mark then click Finish. Data dialog will open, click
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
<11> When system disks have been copied, SM850 icon will registered "NEC Tools" group.
Installation SM850 complete.
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
Uninstalling SM850
This section explains uninstall SM850, using "C:\WINDOWS" directory which Windows installed. Start Windows Activate "Add/Remove Programs" from control panel.
Select "NEC V850 System Simulator Vx.xx" from list displayed "Install/Uninstall" click Add/Remove.
User's Manual U13759EJ1V0UM00
CHAPTER
INSTALLATION
Confirm File Deletion dialog will displayed next, click Yes.
program will deleted. When message "Uninstall completed" appears, click
Select "NEC V850 Peripheral Simulation DLL" from screen click Add/Remove. Repeat above. Uninstallation SM850 complete.
User's Manual U13759EJ1V0UM00
CHAPTER
STARTING EXITING
This chapter explains start exit SM850.
Starting
start method follows: Start Windows. Double-click short-cut icon SM850 desk start SM850 (See Figure 3-1). Configuration dialog will displayed (See Figure 3-2). Figure 3-1. SM850 Icon
Figure 3-2. Configuration Dialog Starting
User's Manual U13759EJ1V0UM00
CHAPTER
STARTING EXITING
Operating environment parameters SM850 this dialog (For details, refer CHAPTER WINDOW REFERENCE). After setting parameters, click dialog box. Main window will then opened (See Figure 3-3). Furthermore, V850 Simulator
Note
button will displayed Windows taskbar (See Figure 3-4).
Note
Clicking this button will open simulator section's main window (V850 Simulator window Operations concerning peripheral simulation external parts carried from this window.
Note When device debugged following: V850/SA1, V850/SB1, V850/SB2, V852, V853, V854. device debugged V850E/MS1, button displayed will that V850E Simulator GUI. Figure 3-3. Main Window
Figure 3-4. V850 Simulator Button
Caution
Problems such occurrence application errors dialog boxes displaying data correctly sometimes experienced when SM850 started while use. cause such problems that version comctl32.dll, which comes with Windows95, being used. disks. Note that Microsoft InternetExplorer3.X been installed, this update unnecessary. this case, will necessary update comctl32.dll using comctl32.dll 4.72 Installer (40comupd.exe) included system
User's Manual U13759EJ1V0UM00
CHAPTER
STARTING EXITING
Figure 3-5. comctl32.dll 4.72 Installer
Exiting
exit method SM850 follows: main window, select [File] [Exit] SM850 main window, select [File] [Exit] following Exit Debugger dialog will displayed. Figure 3-6. Exit Debugger Dialog
save current debugging environment project file, check check Save Project file". Click check checked (2), Save dialog opened, current debugging environment saved project file, windows closed, then SM850 exited. check checked, windows closed then SM850 exited.
User's Manual U13759EJ1V0UM00
[MEMO]
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
This chapter details functions SM850 simulation (external parts, data input function, peripheral event action function) debugging.
External Parts
SM850 supplies standard "external parts" such peripheral I/Os blocks icons. Using these parts, dummy target system organized. Figure 4-1. Example SM850 External Parts
Button
matrix
Level gauge
14-segment
7-segment
Buzzer motor Reset button Internal interrupt button
Serial window
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
SM850 supplies following external parts: Table 4-1. External Parts Supplied with SM850
External Part Name Button Description button connected pin. pressing displayed button, input value given pin. matrix connected pin, that data input pressing more keys. display output status connected controller/driver incorporated device debugged pictures characters. display output status connected controller/driver incorporated device debugged pictures characters. connected indicate output lighting extinguishing. value specified range given connected converter. eight pins (seven pins displaying numerals decimal point) allocated 7-segment allocated digit signal, that display 7-segment changes depending value each pin. corresponding 7-segment lights extinguishes output allocated digit signal active. motor connected pin, revolution stopping motor shows output value pin. total time during which active value output counted from beginning simulation displayed. buzzer connected pin, output status indicated buzzer sound change map. Hardware reset executed clicking displayed reset button. pins pins displaying numerals decimal point) allocated 14-segment allocated digit signal, that display 14-segment changes depending value each pin. corresponding 14-segment lights extinguishes output allocated digit signal active. internal interrupt connected button. pressing displayed button, internal interrupt generated. Whether connected pull-up/pull-down resistor input input frequency display frequency data counter, etc. operation mode information serial interface displayed.
matrix Internal
Internal
Level gauge 7-segment
motor
Buzzer
Note
Reset button 14-segment
Internal interrupt button
Pull-up/pull-down setting Serial
Note issue buzzer sound, however, sound board speaker necessary. Remark Depending device debugged, some external parts unable selected.
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
4.1.1 Creating external parts external parts created Parts Window (p.378). Connection between external parts pins made dialog that opened [Parts] menu Parts Window, clicking buttons tool details setting, refer explanation each dialog box. Figure 4-2. Parts Window
4.1.2 Displaying manipulation results with external parts External parts whose setting been completed each dialog displayed Parts window serve inlet signals during simulation. using these displayed parts, results checked input values given simulator. details manipulation each external part, refer description setting dialog each part. manipulation executed with Parts window execution mode. 4.1.3 Operations external parts reset Table shows operations respective external parts when reset generated from debugger.
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
Table 4-2. Operations External Parts Reset
External Parts Button 7-/14-segment Level gauge Inactive status pressed Inactive status Displayed white Input value Scroll scroll leftmost position, operation point dial lower left. Inactive status with total number clocks being Inactive status pressed Initial status Operation Reset
motor Buzzer Internal interrupt button Serial
4.1.4 Editing Parts window Parts window, parts moved, characters, lines, rectangles written, external parts changed. editing, select [Mode] [Edit] Parts window. result, Parts window location mode which editing carried out. location mode, mouse cursor changes "+", window that indicates pointer position mouse with coordinates pops editing enabled. details editing operations, refer description Parts window (p.378).
Data Input Function
SM850 input data with timing information input created using types input editors, during simulation. result output from simulator saved, displayed timing chart. 4.2.1 Creating/editing input data data file with timing information created edited Input Editor window Input timing Chart Editor window. Input Editor window (see p.354) Data input timing numeric value units. wait value (input timing) data input using loop.
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
Figure 4-3. Input Editor Window
Input timing Chart Editor window (see p.360) Input timing input data timing chart. Data setting wait values (input timing) using time axis. Figure 4-4. Input Timing Chart Editor Window
created data saved input data files. Specify following extensions when saving data specify timing wait value. .i_0 File which timing data input described execution timing instruction that accesses specific
Note
Note
.i_1 File which timing data input described clock units
.i_2 File which timing input data described units main clock.
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
.i_3 File which timing input data described units main clock. Notes this file, wait value which been ignored. With V850, clock unit same main clock unit.
4.2.2 Downloading input data file input data file downloaded Simulation Data Load dialog (see p.367). Figure 4-5. Simulation Data Load Dialog
downloading input data file (.i_x), input signal from external source pin. When input data file downloaded, file having same file name except file identifier downloaded same time simulation. five files downloaded including event condition file (see p.43). Files downloaded time, unless operating. priority input data higher data input later
Note
Note input data file downloaded while input external part displayed, input from input data file takes precedence. external part input displayed while input data file downloaded, input from external part takes precedence.
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
4.2.3 Processing when input data which described input data file (.i_x), whose value undefined because pull-up processing performed, accessed during program execution, initialize value this case, initial value message will displayed message area V850 Simulator window. Figure 4-6. V850 Simulator Window
pull-up/pull-down processing advance Pull-Up/Pull-Down dialog (see p.415). Figure 4-7. Pull-Up/Pull-Down Dialog
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
4.2.4 Output output data file data display output status output file Output Setting dialog (see p.369). timing chart output checked Output Setting dialog box, Output Timing Chart window (see p.371) opened, output status displayed timing chart. identifier (.out) automatically appended output file. Figure 4-8. Output Timing Chart Window
Because data input peripheral registers, well output data from peripheral registers, also saved output file, status later checked.
Peripheral Event Action Setting Function
SM850 generate interrupt timing, data address, peripheral register, after specified event condition been satisfied, specifying event peripheral register address trigger. These settings reflected during simulation. 4.3.1 Setting event action event condition operation (action) performed after event condition been satisfied Event Action dialog (see p.350).
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
Figure 4-9. Event Action Window
event condition, address, register name, access status, access size, data condition mask condition specified. action, interrupt generated specified timing, data specified address (address, peripheral register (IOR), pin). specified event condition action saved event condition file (.evn). 4.3.2 Downloading event condition file specified event condition file downloaded Simulation Data Load dialog (see 367). Figure 4-10. Simulation Data Load Dialog
downloading event condition file (.evn), event registered simulator, event checked during simulation.
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
Debugging Functions SM850
debugging functions SM850 almost same those ID850. However, they slightly different because SM850 implements debugging through software, without using in-circuit emulator. Differences mapping functions SM850 virtually manages contiguous memory space same that target device specified Configuration dialog box, allocating alternate memory host machine. this way, size internal ROM/RAM area changed, memory area mapped emulation ROM/RAM area. Figure 4-11 shows target memory space when µPD703000 specified Configuration dialog box. Figure 4-11. Memory Space Managed SM850PD703000)
0xFFFFFF Peripheral registers 0xFFF000 0xFFEFFF Internal 0xFFE000 0xFFDFFF Memory space: External memoryNote Range that mapped Guard area Emulation Emulation Target memory
Size changed depending target device
Program memory
Data memory
0x100000 0x0FFFFF Internal 0x000000 Size changed depending target device
Note (entire space) (internal ROM) (internal RAM) (peripheral I/O)
User's Manual U13759EJ1V0UM00
CHAPTER
FUNCTION SM850
Simulation mode specification simulation operation mode specified Configuration dialog (see p.82) accordance with stage debugging. Instruction operation mode this mode, simulation repeatedly executed 1-instruction units. Peripheral functions operate. After simulation been started, this mode changed pipeline operation mode. Peripheral operation mode this mode, pipeline operation accurately implemented while one-instruction execution simulated 1-clock units. Peripheral simulation also carried out. After simulation been started, this mode changed instruction operation mode. Differences event functions This function following features. event condition same name more event conditions. break event conditions set. Setting external sense data invalid. Pass count set. Differences break function software break event condition cannot set. Differences timer function This function following features. Eight timer event conditions set. simulation time zone specified timer event condition measured. Differences trace function This function following features. size trace capacity specified. frames frames Display block information Display type trace mode trace section trace Qualify trace Step execution trace Display branch destination address
User's Manual U13759EJ1V0UM00
[MEMO]
User's Manual U13759EJ1V0UM00
CHAPTER
ASSOCIATION WITH PROJECT MANAGER
This chapter explains procedure notes using functions associated with Project Manager. SM850 automatically perform sequence tasks such creating program, compiling, debugging, correcting program, association with Project Manager (PM). debug load module file created source level, confirm that item [Option] [Debug] checked building. Caution When load module file created using MS-DOS associated with cannot used.
prompt, functions SM850
Debugger Registration Project
Either debuggers SM850/ID850 specified each project selection procedure explained below. 5.1.1 Debugger selection procedure selecting debugger follows. Select [Project] [New] create project Alternatively, read existing project selecting [Project] [Open.] details setting items, refer on-line help User's Manual. Select [Option] [Select debugger.] from menu bar. This opens Select debugger dialog box. Figure shows Select Debugger dialog box. Figure 5-1. Select Debugger Dialog (PM)
User's Manual U13759EJ1V0UM00
CHAPTER
ASSOCIATION WITH PROJECT MANAGER
Either select "V850 System Simulator" from debugger list, specify execution file name (SM85032.EXE) debugger file name. Click SM850 will registered project debugger open SM850 icon will also displayed tool bar.
Starting SM850 from
following methods used start SM850 from Click SM850 startup button toolbar. Select [Build] [Debug] from menu bar. Alternatively, click batch-processing button tool (however, SM850 will start only Build finished normally). 5.2.1 Reproducing debug environment following procedure shown below, possible reproduce debug environment previous time SM850 started from Create project file
Note
with (eg: aaa.prj).
Note project file save reference environment data debugger (SM850, ID850) project file extension when dealing with debugger prj. Refer online help user's manual each product regarding data that saved reproduced using project file. Start SM850 from Debug target device with SM850. When SM850 finished debugging, check [Save project file] Exit Debugger dialog exit SM850. debug environment completion SM850 debugging saved aaa.prj file (the debug environment also saved aaa.prj file times other than completion SM850 debugging). When SM850 next started after aaa.prj file read debug environment saved above automatically reproduced. project file currently being used (aaa.prj) automatically read when SM850 started
User's Manual U13759EJ1V0UM00
CHAPTER
ASSOCIATION WITH PROJECT MANAGER
Correction Auto Load Source File
found result debugging using SM850, compiling re-downloading automatically executed well editing source file with SM850 started with following procedure. Caution [Option] [Project Manager Options.] selected editor other than standard editor selected, this processing cannot performed. Read source file correct with SM850 Source Window. With Source Window displayed foremost position, select [File] [Open] main window specify corresponding file corresponding file already been displayed Source Window, activate window). corresponding file displayed Source Window. Select [Edit] [Edit Source] SM850 main window. corresponding file automatically read standard editor opened. Correct source file editor. Select [File] [Save] editor save file. Select [File] [Exit idea editor terminate editor. result, automatically executes compiling, assembling, linking accordance with settings project. When these operations have been completed normally, created load module file automatically downloaded SM850. Cautions building performed from SM850 unconditionally executes symbol reset. debug window, which opened when editor called, event settings restored. However, previously used lines symbols have been deleted because source file correction, error message will displayed, event corresponding these lines symbols cannot used.
User's Manual U13759EJ1V0UM00
[MEMO]
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
This chapter explains detail functions windows dialog boxes SM850. configuration details types windows dialog boxes, refer APPENDIX TERMINOLOGY.
Window List
Table lists windows SM850 debugger. Table 6-1. Windows SM850 Debugger (1/3)
Window Name Main window Outline This window displayed first when simulator started. controls execution user program. addition, various windows opened from this window. Sets/display simulator environment. Sets/display each extended option. This where each option displayed set. This where type size display font Source window set. Reads debugging environment. Saves debugging environment. This where display files each window source text event setting files read. This where display files current window event setting files saved. This where object files, binary files, coverage results downloaded. This where downloaded load module files file path names displayed list. This where memory coverage contents saved file. This where files Debugger Option Setting Source Search dialog boxes selected. This where files displayed Source window display start position specified. This where display start address Memory, Assemble, Coverage windows specified. This where display start position Trace View window specified. This where addresses symbol values variables functions displayed. Displays source text source file. This where character string source file searched. Displays disassemble text executes on-line assemble. This where contents Assemble window searched. Displays/changes memory contents. Page p.56
Configuration dialog Extended Option dialog Debugger Option dialog Font dialog Project File Load dialog Project File Save dialog View File Load dialog
p.82 p.87 p.92 p.99 p.102 p.105 p.109
View File Save dialog
p.112
Download dialog Load Module List dialog
p.117 p.121
Upload dialog Browse dialog
p.123 p.126
Source Move dialog
p.128
Address Move dialog
p.131
Trace Move dialog Symbol Address dialog
p.134 p.137
Source Window Source Search dialog Assemble window Assemble Search dialog Memory window
p.140 p.154 p.157 p.169 p.172
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Table 6-1. Windows SM850 Debugger (2/3)
Window Name Memory Search dialog Memory Fill dialog Memory Copy dialog Memory Compare dialog Memory Compare Result dialog Watch window Quick Watch dialog Watch dialog Register window Outline This where contents Memory window searched. This where memory contents initialized specified data. Copies memory contents. Compares memory contents. Displays result comparison memory contents. Page p.176 p.179 p.181 p.183 p.185
This where variables displayed changed. This where variable values temporarily displayed changed. This where variables displayed Watch window registered. This where contents registers (program register, system register) displayed changed. Selects register displayed Register Window. Displays/changes contents peripheral register. This where peripheral registers ports displayed window selected. This where ports displayed window registered. Displays/changes local variable current function. This where stack contents current user program displayed changed. Displays trace result. This where trace data searched. This where items displayed Trace View window selected. Displays coverage result. This where coverage results searched. This where coverage results cleared. This where 1-Mbyte greater space selected coverage measurement range. This where coverage efficiency measurement range set.
p.187 p.192 p.196 p.199
Register Select dialog window Select dialog
p.202 p.204 p.207
Port dialog Local Variable window Stack window
p.210 p.213 p.215
Trace View window Trace Search dialog Trace Data Select dialog Coverage window Coverage Search dialog Coverage Clear dialog Coverage Address dialog
p.219 p.227 p.234 p.237 p.242 p.245 p.247
Coverage Condition Setting dialog Coverage Efficiency View dialog Event Manager
p.249
This where coverage results displayed terms efficiency.
p.252
This where each event displayed, switched between enabled disabled, deleted. Registers/displays event condition. Registers/displays event link condition. Registers/sets/displays break event condition. Registers/sets/displays trace event condition. Registers/sets/displays snap event condition. Registers/sets/displays stub event condition.
p.255
Event dialog Event Link dialog Break dialog Trace dialog Snap Shot dialog Stub dialog
p.264 p.278 p.288 p.295 p.308 p.322
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Table 6-1. Windows SM850 Debugger (3/3)
Window Name Timer dialog Outline Displays result simulation time measurement registers/sets/displays timer event condition. This where results executed measurement displayed. Initializes SM850 target symbol information. Displays version SM850. Ends SM850. Page p.329
Timer Result dialog Reset Debugger dialog About dialog Exit Debugger dialog
p.339 p.341 p.343 p.344
SM850 simulator section window list shown Table below. Table 6-2. SM850 Simulator Section Window List (1/2)
Window Name V850 Simulator window Event Action dialog Input Editor window Input Timing Chart Editor window Setting dialog Main window simulator (SM850). Sets/displays event action peripheral register address. Sets input value input (0/1 format). Sets input value input (timing chart format). Sets names displayed Input Editor window, Input Timing Chart Editor window, Output Timing Chart window. This where input data files event condition files downloaded. Saves file output result from output displays timing chart. This where data interrupt signal timing charts displayed. Searches data. Sets/displays external parts. Sets connection information button displayed Parts window. Sets connection information matrix displayed Parts window. Sets connection information displayed Parts window. Sets connection information 7-segment displayed Parts window. Sets connection information level gauge displayed Parts window. Sets connection information motor displayed Parts window. Sets connection information buzzer displayed Parts window. Sets connection information 14-segment displayed Parts window. Sets connection information internal interruption button displayed Parts window. Sets connection information pull-up/pull-down resister displayed Parts window. Displays information serial interface. Registers/deletes bitmap files external parts displayed Parts window. Specifies file subject operation. Outline Page p.346 p.350 p.354 p.360 p.365
Simulation Data Load dialog Output Setting dialog Output Timing Chart window Search window Parts window Buttons dialog Matrixes dialog LEDs dialog 7seg LEDs dialog Level Gauges dialog Motors dialog Buzzers dialog 14seg LEDs dialog
p.367 p.369 p.371 p.375 p.378 p.389 p.392 p.396 p.399 p.402 p.405 p.408 p.410
Internal Interrupt Button dialog Pull-Up/Pull-Down dialog
p.413
p.415
Serial window Bitmap Entry dialog Open dialog
p.417 p.419 p.423
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Table 6-2. SM850 Simulator Section Window List (2/2)
Window Name Save dialog Saves file subject operation Outline Page p.425
Table 6-3. List Other Windows
Window Name Error/Warning dialog Displays error/warning message Outline Page p.427
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Explanation Windows
This section explains each window using format shown below.
Window Name
Window type
window name window type (mode type when dialog box) indicated above frame.
General Briefly explains window.
Opening method open windows explained.
Window Shows screen image configuration window.
Function Explains each function window.
Function button Explains operations function buttons window.
Menu Enumerates menus pulled down from menu bar, explains function each menu.
Caution Explains points caution noted.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Main Window
Main window
General This window automatically opened after SM850 started initialization complete. remains displayed until SM850 terminated. Various windows opened manipulated from this window. Execution user program also controlled this window. Execution user program controlled three modes: source mode, instruction mode, auto mode. Source mode Debugging performed source level. Instruction mode Debugging performed instruction level. Auto mode Switches automatically between source mode instruction mode. When starting SM850, auto mode assumed.
Window
Figure 6-1. Main Window
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Function Main window consists following areas. Tool Window display area Status display area Each function explained below. Tool tool consists buttons that execute frequently used commands with single click. Each button graphically displayed easy understand. This button group switched between "Graphics-only buttons" "Graphics Text buttons" Debugger Option Setting dialog box. function each button also executed using menu this window. This tool shown when specified displayed selecting [Option] [Tool Bar] from menu this window. Figure 6-2. Tool
Graphics-only tool
Graphics Text tool
explanation each button given below. This button stops execution user program. same function [Run] [Stop] menu bar. After emulation reset, this runs user program simulation. function same [Run] [Restart] toolbar. This runs user program simulation without resetting emulation CPU. same function [Run] [Go] menu bar. Executes program real-time until execution returns calling function. same function [Run] [Return Out] menu bar. This button used step execution. clicking this button successively, program executed many steps number times this button clicked. Step execution performed line units source mode, instruction units instruction mode. same function [Run] [Step menu bar.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
This button executes Next step (Simulates program, regarding function/call statement step.). clicking this button successively, Next step execution performed many times number times this button clicked. Step execution performed line units source mode, instruction units instruction mode. same function [Run] [Next Over] menu bar. This button resets emulation CPU. same function [Run] [CPU Reset] menu bar. Opens Display File Load dialog box. function same [File] [Open] menu bar. Opens Download dialog box. function same [File] [Download] menu bar. Opens Project File Load dialog box. function same [File] [Project] [Open] menu bar. This button opens Source Window displays contents source text. same function [Browse] [Source Text] menu bar. This button opens Assemble Window user program disassembled displayed. same function [Browse] [Assemble] menu bar. This button opens Memory Window memory contents displayed. same function [Browse] [Memory] menu bar. Displays watch contents. Opens Watch window. function same [Browse] [Watch] menu bar. This button opens Register Window displays contents registers. same function [Browse] [Register] menu bar. This button opens Window displays contents peripheral register. same function [Browse] [I/O Register] menu bar. Displays local variable contents. Opens local variable window. function same [Browse] [Local Variable] menu bar. This button opens Stack Window displays contents stack. same function [Browse] [Stack Trace] menu bar.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
This button opens Trace View window displays result trace. same function [Browse] [Trace] menu bar. Displays coverage measurement results. Opens Coverage window. function same [Browse] [Coverage] menu bar. Opens event manager. function same [Event] [Event Manager] menu bar. Performs event entry settings. Opens Event dialog box. function same [Event] [Event.] menu bar. This button opens Break dialog registers, sets, displays break events. same function [Event] [Break.] menu bar. This button opens Trace dialog registers, sets, displays trace events. same function [Event] [Trace.] menu bar. This button opens Timer dialog box, registers, sets, displays timer events, displays result timer measurement. same function [Event] [Timer.] menu bar. Tool hint function mouse cursor pointed buttons tool bar, tool hint pops after seconds. Figure 6-3. Example Tool Hint
Moving tool dragging tool with mouse, moved desired position within outside Main window.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Window display area This area displays various debug windows. displayed window changed size registered icon this area. list windows displayed this area follows. Source window Assemble window Watch window Memory window Register window window Status display area Figure 6-4. Status Local Variable window Stack window Trace View window Coverage window Event Manager
This area displays status simulator debugger. Program name Source name Line Program name: Source name: Line No.: Function name: value: status: Displays program file name indicated value Displays source file name shown value. Displays line number shown value. Displays function name indicated value Displays current value. Displays status (target device). Displays character delimiter there multiple states. status: Displays status simulator (RUN, BREAK mode). Displays character delimiter there multiple states. Break cause: STEP mode: input mode: Displays cause break. This area that displays step execution mode. This area displays input mode.
types statuses shown below.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Table 6-4. Status Display Contents
Status Indication HALT RESET Currently halt mode Reset state Meaning
types statuses shown below. Table 6-5. Status Display Contents
Status Indication STEP BREAK Meaning Currently simulating user program Currently simulating step Currently operating trace Currently operating timer Currently operating Coverage Break
causes break follows. Table 6-6. Display Contents Break Cause
Displayed Cause Manual Break Temporary Break Event Break Trace Full Break Break Write Protect Illegal Forcibly break Temporary break Break event Break trace full Access non-map area Write access write-protected area Illegal access peripheral register Meaning
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
types STEP modes shown below. Table 6-7. STEP Modes
STEP Mode Meaning STEP simulation source mode. This displayed when [Options] [Source Mode] menu selected. STEP simulation instruction mode. This displayed when [Options] [Instruction Mode] menu selected. STEP simulation auto mode. This displayed when [Options] [Auto Mode] menu selected.
INST
AUTO
types input modes shown below. Table 6-8. Input Modes
Input Mode Meaning Displayed when input insert mode. Displayed when input overwrite mode.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Menu explanation display function While selecting menu item menu with mouse, simple explanation reverse highlighted item menu displayed left status bar. Also, when mouse cursor pointed buttons toolbar, menu explanation corresponding that button displayed. Figure 6-5. Example Menu Explanation Display
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Menu
File Figure 6-6. File Menu
[Open.]
This loads display file source file text file. Opens Display File Load dialog box. Operation differs depending file extension selected dialog box. When display file: When event setting file (.evn): Files displayed Source window. Event Manager opened event set. Other than above (.S, .txt, .svw): Files displayed Source window.
[Save As.]
Saves displayed contents current window display file under another name. Opens display file save dialog box.
[Close] [Download.] [Load Module.]
Closes current window. Downloads user program. Opens Download dialog box. Displays list names files that have been downloaded. Opens Load Module List dialog box.
[Upload.]
Uploads user program. Opens Upload dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Project
Operates project file. Reads contents project file. Opens Project File Load dialog box.
[Open.]
[Save]
Overwrites current status project file. file overwritten selected selecting [File] [Project] [Open Project.] from menu bar, [Save As.].
[Save As.]
Saves current status project file. Opens Project File Save dialog box.
[Debugger Reset.]
Resets target CPU, symbols debugger. Opens Reset Debugger dialog box.
[Exit] [Open File]
Terminates debugger. Opens Exit Debugger dialog box. Displays list names files that downloaded. file name selected, that file downloaded.
Edit Figure 6-7. Edit Menu
[Cut] [Copy] [Paste] [Write [Restore] [Memory [Fill.]
Cuts selected character string places clipboard buffer. Copies selected character string clipboard buffer. Pastes contents clipboard buffer text cursor position. Writes corrections target. Cancels correction. Manipulates memory contents. Initializes memory contents. Opens Memory Fill dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Copy.]
Copies values from memory memory. Opens Memory Copy dialog box.
[Compare.]
Compares values between memories. Opens Memory Compare dialog box.
[Edit Source]
When Project Manager operating, opens source file displayed active Source Window using editor specified Project Manager.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
View items displayed display menu differ according whether window active not. explanation each dependent part given (k). Figure 6-8. View Menu
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Common part
[Search.]
Searches character strings numeric values. Opens Find dialog according current window. Performs same operation Search button.
[Move.]
This moves display position. opens Source Move dialog box, Address Move dialog Frame Move dialog corresponding current window.
[Quick Watch.]
Displays contents specified data temporarily. Opens Quick Watch dialog box.
[Add Watch.]
Adds specified data Watch window. Opens Watch dialog box.
[View Watch]
Adds selected data Watch window. case symbol, adds accordance with settings Debugger Option Setting dialog box.
[Delete Watch]
Deletes selected watch point from Watch window. This menu active only when variables specified Watch window.
[Symbol.]
Displays address specified variable function value specified symbol. Opens Symbol Address dialog box.
Source window dependent part
[Event?]
Displays cursor position line address's event information. event set, opens Event dialog box.
[Mix]
Switches between assemble display mixed display display. check mark There mixed display (default). Check mark ""): There mixed display.
Assemble window dependent part
[Event?]
Displays event information cursor position address. event set, opens Event dialog box.
Memory window dependent part
[Bin] [Oct] [Dec] [Hex]
Displays current window binary. Displays current window octal. Displays current window decimal. Displays current window hexadecimal (default).
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Nibble] [Byte] [Half Word] [Word] [Ascii]
Displayed 4-bit units. Displays data 8-bit units (default). Displays data 16-bit units. Displays data 32-bit units. Turns ON/OFF display ASCII characters. check mark displayed. Check mark ""): Displayed (default).
Watch window dependent part
[Bin] [Oct] [Dec] [Hex] [String] [Proper]
selected item displayed binary number selected item displayed octal number. selected item displayed decimal number. selected item displayed hexadecimal number. selected item displayed character string. selected item displayed standard value each variable. case symbols, they displayed accordance with settings Debugger Option Setting dialog (default).
[Byte] [Half Word] [Word] [Adaptive]
selected item displayed 8-bit units. selected item displayed 16-bit units. selected item displayed 32-bit units. selected item displayed standard values each variable. case language symbols, only this item valid. case assembler symbols, they displayed accordance with settings Debugger Option Setting dialog box.
[Up] [Down] [Compulsion Read]
selected data moved line selected data moved line down. data peripheral registers, where reading prohibited because values will change they read, ports added Port dialog box, protected areas subjected compulsory reading.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Register window dependent part
[Bin] [Oct] [Dec] [Hex] [Pick
Displayed binary number. Displayed octal number. Displayed decimal number. Displayed hexadecimal number. Displays only register selected Register Select dialog box. check mark displayed (default). Check mark ""): selected register only displayed.
[Select]
Opens Register Select dialog box.
window dependent part
[Bin] [Oct] [Dec] [Hex] [Sort Name] [Sort Address] [Unsorted] [Attribute]
Displayed binary number. Displayed octal number. Displayed decimal number. Displayed hexadecimal number (default). Displayed alphabetical order. Displayed address order (default). sorted. Selects whether display display Attribute field. check mark displayed. Check mark ""): Displayed (default).
[Pick
Only peripheral register selected Select dialog displayed. check mark displayed (default). Check mark ""): selected register only displayed.
[Select] [Compulsion Read]
Opens Select dialog box. data peripheral registers, where reading prohibited because values will change they read, ports added Port dialog box, protected areas subjected compulsory reading.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Local Variable window dependent part, Stack Trace window dependent part
[Bin] [Oct] [Dec] [Hex] [String] [Proper]
Displayed binary number. Displayed octal number. Displayed decimal number. Displayed hexadecimal number. Displayed character string. Displayed standard value each variable (default).
Trace window dependent part
[Select]
Selects content display. Opens Trace Select dialog box.
[Pick [Off] [Search] [Snap] [BRM1] [Mix]
Performs pick display settings. Pick displayed (default). Picks frames which match search conditions displays them. Picks snap frames displays them. Picks first fetch frame after program branch displays Switches between mixed display mixed display sources. check mark mixed display (default). Check mark ""): Mixed display.
[Window Synchronize] [Source]
This links together Trace window Source window, Assemble window, Memory window Coverage window. Selects whether Source window will linked linked. check mark linked (default). Check mark ""): Linked.
[Assemble]
Selects whether Assemble window will linked linked. check mark linked (default). Check mark ""): Linked.
[Memory]
Selects whether Memory window will linked linked. check mark linked (default). Check mark ""): Linked.
[Coverage]
Selects whether Coverage window will linked linked. check mark linked (default). Check mark ""): Linked.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Coverage window dependent part
Byte] Bytes] [1024 Bytes]
Displays 1-byte units (default). Displays 64-byte units. Displays 1,024-byte units.
Event Manager dependent part
[Select Event] [Delete Event] [Sort Name] [Sort Kind] [Unsort] [Detail] [Overview]
Selects events entered event manager. Deletes selected event. Displays icons sorted event name. Displays icons sorted event kind. Icons sorted (default). Displays details. Displays list.
Option Figure 6-9. Option Menu
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Tool Bar]
Selects whether tool displayed not. check mark displayed. Check mark ""): Displayed (default).
[Status Bar]
Selects whether status displayed not. check mark displayed. Check mark ""): Displayed (default).
[Button]
Selects whether function buttons each debug window displayed not. check mark displayed. Check mark ""): Displayed (default).
[Source Mode] [Instruction Mode] [Auto Mode]
Performs step execution source level (line units). Performs step execution instruction level (instruction units). Switches automatically between source level step simulation instruction level step simulation, executes step simulation (default). When Source window active, source level step simulation (except mixed display mode) performed, when Assemble window active, instruction level step simulation performed. When neither window active, source level step simulation performed.
[Configuration.]
Sets environment. Opens Configuration dialog box.
[Extended Option.]
Sets extended functions. Opens Extended Option dialog box.
[Debugger Option.]
Sets debugger. Opens Debugger Option Setting dialog box.
[Add Port.]
Adds user defined port. Opens Port dialog box.
[Trace Clear]
Clears trace data. Displays Trace window active.
[Coverage [Clear.]
Opens coverage measurement related dialog boxes. Initializes coverage measurement results. Opens Coverage Clear dialog box.
[Select.]
Selects coverage measurement area with MByte more space. Opens Coverage Address dialog box.
[Condition.]
Sets coverage efficiency measurement conditions. Opens Coverage Condition Setting dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Efficiency.]
Displays coverage efficiency results. Opens Coverage Efficiency dialog box.
[Coverage
Selects whether coverage measurement turned off. During emulation, this setting cannot changed. check mark Coverage measurement performed (default). Check mark ""): Coverage measurement performed.
[Timer
Selects whether timer measurement turned off. During emulation, this setting cannot changed. Check Mark Timer measurement performed. Check Mark ""): Timer measurement performed (default). Note that Run-Break event timer measurement cannot stopped.
[Tracer
Selects whether tracer turned off. During emulation, this setting cannot changed. check mark Trace performed. Check mark ""): Trace performed (default).
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Figure 6-10. Menu
[Restart]
This performs program simulation after resetting emulation CPU. Operates same button.
[Stop]
Forcibly stops execution program. Performs same operation button.
[Go]
Executes program without resetting CPU. operation button.
Performs same
[Return Out]
Executes program real-time until execution returns calling function. Performs same operation button. button.
[Step
Performs step execution. Performs same operation mode, executed instruction units.
source mode, program executed line units, instruction
[Next Over]
Performs next step execution. step.
Performs same operation
button. Executes program, assuming function subroutine statement
[Start From Here]
Simulates program from cursor position Source window Assemble window.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Come Here]
Executes program until cursor position Source window Assemble window.
Continues execution program.
break occurs because break
condition satisfied, updates window then executes user program again. Performs same operation clicking break occurs. [Slowmotion] Continues step execution program. After updating window each step simulation, performs step simulation again. Each time step simulation performed, operates same when button clicked. [CPU Reset] [Change Resets emulation CPU. Performs same operation button. button each time
Sets address cursor position Source window Assemble window
[Break Point]
Sets/Cancels break point cursor position Source window Assemble window.
[Uncond. Trace
Validates unconditional trace function. program executed (default).
Always traces while user
When tracer started, trace mode cannot changed. [Cond. Trace Validates trace function. according trace condition. When tracer started, trace mode cannot changed. [Coverage Start Coverage Stop] When coverage measurement stopped, this starts When coverage measurement being performed, this stops display definitions follows. "Coverage Start": "Coverage Stop": Means that measurement stopped. measurement will started. Measurement progress. selected, measurement will stopped. there currently emulation, there mark next [Option] [Coverage item, this item invalid appears dimmed). Coverage measurement starts operating immediately after coverage been turned emulation started. [Timer Start Timer Stop] When timer measurement stopped, this starts When timer measurement being performed, this stops display definitions follows. "Timer Start": "Timer Stop": Means that measurement stopped. selected, measurement will started. Measurement progress. selected, measurement will stopped. there currently emulation, there mark next selected, Traces while user program executed
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Option] [Timer item, this item invalid appears dimmed). Timer measurement starts operating immediately after timer been turned emulation started. [Tracer Start Tracer Stop] When tracer measurement stopped, this starts When tracer measurement being performed, this stops display definitions follows. "Tracer Start": "Tracer Stop": Means that measurement stopped. selected, measurement will started. Measurement progress. selected, measurement will stopped. there currently emulation, there mark next [Option] [Tracer item, this item invalid appears dimmed). Tracer measurement starts operating immediately after tracer been turned emulation started. [Ignore Break Point] This selects whether make break point valid invalid. made invalid, break point does cause break occur. check mark Valid (default) Check mark (""): Invalid During emulation, this setting cannot switched.
Event Figure 6-11. Event Menu
[Event Manager]
Manages each type event condition. Opens event manager. Operates same button.
[Event.]
Enters event conditions. Opens Event dialog box. Operates same button.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Event Link.]
Enters event link conditions. Opens Event Link dialog box.
[Break.]
Enters sets break conditions. Opens Break dialog box. Operates same button.
[Trace.]
Enters sets trace event conditions. Opens Trace dialog box. Operates same button.
[Snap Shot.]
Performs entry setting snap event conditions. Opens Snap Shot dialog box.
[Stub.]
Performs entry setting stub event conditions. Opens Stub dialog box.
[Timer.]
Performs entry setting snap event conditions displays measurement results. Opens Timer dialog box. Operates same button.
Browse Figure 6-12. Browse Menu
[Source Text]
Displays source text. Opens Source window. operation static state. button.
Performs same
window exists that already active state, opens window
[Assemble]
Disassembles displays user program. Opens Assemble window. Performs same operation button.
[Memory]
Displays memory contents. Opens Memory window. Performs same operation button.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Watch]
Displays watch contents (variable other data). Opens Watch window. Operates same button.
[Register]
Displays register contents. Opens Register Window. Performs same operation button.
[I/O Register]
Displays contents peripheral registers. Opens Window. Performs same operation button.
[Local Variable]
Displays local variable. Opens Local Variable window. Performs same operation button.
[Stack Trace]
Displays stack contents. Opens Stack Window. Performs same operation button.
[Trace]
Displays result trace. Opens Trace window. Performs same operation button.
[Coverage]
Displays result coverage measurement. Opens Coverage window. Performs same operation static state. button. window exists that already active state, opens window
Jump Figure 6-13. Jump Menu
[SourceText]
Sets data selected current window jump address, displays source text source line starting from that address. jump performed jump address contains line information. Opens Source window. Source window being displayed active state, that window displayed front plane (operation object).
[Assemble]
Sets data selected current window jump address, displays disassembled text starting from that address. Opens Assemble window. Assemble window being displayed active state, that window displayed front plane (operation object).
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Memory]
Sets data selected current window jump address, displays memory contents starting from that address. Opens Memory window. Memory window being displayed active state, that window displayed front plane (operation object).
[Coverage]
data value selected current window used jump destination address, coverage measurement results from that window displayed. Opens Coverage window. Coverage window being displayed active state, that window displayed front plane (operation object).
Window Figure 6-14. Window Menu
[New Window]
Opens window which displays same contents current window. This valid only cases where current window Source window, Assemble window, Memory window Coverage window.
[Cascade] [Tile] [Arrange Icons] [Close All] [Refresh] [Active]
Cascades windows Main window. Tiles windows Main window. Rearranges icons Main window. Closes windows except Main window. Updates contents window with latest data. Switches window active state. currently active state, check mark entered left this item.
[Static]
Switches window static state. currently static state, check mark entered left this item.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
[Open window]
Lists opened windows. window with check mark added side number current window. window selected selecting window name displayed current window.
(10)Help Figure 6-15. Help Menu
[Help Topics] [Main Window Help] [Current Window Help] [About.]
Displays table contents Help window. Displays help main window. Displays help current window. Displays version information debugger.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Configuration Dialog
Modal
General Displays sets operating environment simulator. This dialog displayed automatically after simulator started. simulator, operating environment simulator must first this dialog box. When project file read, however, doesn't need set. result reading project file reflected Configuration dialog box.
Opening method This dialog opened following steps: When simulator started automatically opened From menu Select [Option] [Configuration.]. Press GRPH keys that order.
Window
Figure 6-16. Configuration Dialog
clock source select area
Emulation select area
Internal ROM/RAM area Simulation mode select area
Mapping setting area
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Function Configuration dialog consists following areas. Emulation select area Internal ROM/RAM area Simulation mode select area clock source select area Mapping setting area function each area explained below. Emulation select area
This area selects emulation CPU. Note that this area selected only when SM850 started. chip name specified inputting name using keyboard selecting from Name dropdown list. Internal ROM/RAM area
This area displays size internal emulation CPU. default size automatically displayed with asterisk attached when emulation selected. change size internal RAM, select size from internal drop-down list. selected size cannot realized simulator limitations, simulator automatically adjusts size. that reason, Configuration dialog displayed again, because size being displayed greater than size specified previous time. Sizes which follows.
Size Internal Size Alignment (Kbyte) Range (Kbyte) Internal Size Alignment (Kbyte) Range (Kbyte)
Part Number V850
0,32,64,128,256,512,1024
1024,2048,3072,4096,6144,8192, 1024,2048,3072,4096,6144,8192, 36864,45056,53248,61440
V850E
0,32,64,128,256,512,1024
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
internal size changed, internal RAM's start address moves shown below.
Size Part Number V850 4096) bytes (6144 12288) bytes (16384 28672) bytes V850E 4096) bytes (6144 12288) bytes (16384 28672) bytes (36864 61440) bytes 0xFFE000 0xFFC000 0xFF8000 0x3FFE000 0x3FFC000 0x3FF8000 0x3FF0000 Internal Size Internal Start Address
Simulation mode select area
Selects simulator operating mode. Select from among following modes. default mode Peripheral. Instruction: Peripheral: Co-Simulation: Selects instruction operating mode. (Does perform peripheral simulation.) Selects peripheral operating mode. (Performs peripheral simulation.) This cannot selected.
instruction operating mode peripheral operating mode selected, mode changed between modes during debugging.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
clock source select area
This area used select clock source input emulation CPU. unit MHz. Select clock number inputting from keyboard selecting from drop-down list. Mapping setting area
This area specifies access size, memory attribute, address, sets mapping. Selecting memory access size Specifies access size simulator software. Access Size: Fixed bits Mapping attribute specification following types mapping attributes selected. Memory Attribute Emulation ROM: Emulation RAM: Selects simulator alternate ROM. Selects simulator alternate RAM.
Mapping address specification Mapping Address: Specify address mapped. Input higher address lower address from keyboard.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Setting memory mapping memory mapping After specifying memory mapping attribute address, click button. Memory mapping corresponding Memory Attribute Memory Mapping address range added. mapping units adjusted when button clicked. mapping units match, minimum range subject mapping that set, which includes specified address, used. mapping unit KBytes. Simulator secures substitute memory host computer. that reason, mappable size dependent installed memory virtual memory host computer. Furthermore, V850 family, mapping done 0xFFFFF only ROM-less product been selected. delete memory mapping Select displayed area where desire delete mapping, then click Delete button. currently selected mapping will deleted.
Function buttons
Validates current environments. Sets environments closes Configuration dialog box. error occurs when button clicked, Simulator stops because impossible continue.
Cancels change closes this dialog box.
This returns environmental settings state they were before Configuration dialog opened.
Opens Project File Load dialog box. project file open error occurs during reading, simulator stops because impossible continue.
Opens Help window that explains Configuration dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Extended Option Dialog
Modal
General This dialog displays sets various extended options simulator.
Opening method This dialog opened following steps: Main window Select [Option] [Extended Option.] from menu bar. Press GRPH keys that order.
Window
Figure 6-17. Extended Option Dialog
Trace buffer size setting area Trace time counter division ratio selection area Real-time internal sampling time setting area Break mode setting area
Beep sound specification area Verify specification area Project save level selection area
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Function Extended Option dialog consists following areas. Trace buffer size setting area Trace time counter division ratio selection area Real-time internal sampling time setting area Break mode setting area Beep sound specification area Verify specification area Project save level selection area function each area explained below. Trace buffer size setting area
Specify size trace when tracing user program simulation (frame units). Select from drop-down list. following sizes selected
Setting Units (Bytes) Frame Size
Trace time counter division ratio selection area
This area used division ratio counter used time display. Select division ratio from drop-down list. following division ratios selected.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Numeric Value Drop-Down List (Default value)
When division ratio been set, number clocks necessary counting counter displayed time changed. Real-time internal sampling time setting area
This area specifies sampling time real-time internal sampling. During emulation, following range sampled real time. Real-time display range: Internal area Variables, data, etc. allocated this range viewed real time Watch window Memory window. Sampling time specified from 65500 100-msec units. Real-time display performed sampling time left blank.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Break mode setting area
This area sets event mode. Before: Sets event pre-simulation event (default). event occurs before instruction executed. After: Sets event post-simulation event. event occurs after instruction been executed. Beep sound specification area
Specify whether there will beep sound when there break. check checked, beep sound emitted when there break (the default with beep sound activated). Verify specification area
This area specifies whether memory verification check performed when written check checked, when download, memory fill, memory copy performed memory verified. verify check also performed when variables data, etc. have been changed Watch window Memory window, even when writing memory (the default check performed). Project save level selection area
Specify save level when saving project file. Basic: Normal: Full: Saves debugging environment (window state, event setting state, etc.) only (default). Saves contents basic save plus simulator's internal instructions interrupted state (project information such instructions, memory, registers peripheral registers). Saves contents normal save plus debugging information (trace, coverage results, etc.) generated during simulation.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Function buttons
Makes currently environment active. Sets environment closes Extended Option dialog box.
Cancels change contents closes Extended Option dialog box.
Returns environmental setting state that existed before Extended Option dialog opened.
Opens Help window that explains Extended Option dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Debugger Option Dialog
Modal
Outline Displays sets each type extended option debugger.
Opening method This dialog opened either following methods. Select [Options] [Debugger Option.] menu Main window. Press GRPH keys, then key, that order.
Window
Figure 6-18. Debugger Option Dialog
Source path specification area Default source specification area Default load module specification area Open file history setting area Display font setting area Project file setting area
Tool display button setting area size setting area Startup symbol setting area (10)Offset display setting area (11)Register name display selection area (12)Watch symbol setting area
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Functions Debugger Option dialog consists following items. Source path specification area Default source specification area Default load module specification area Open file history setting area Display font setting area Project file setting area Tool display button setting area size setting area Startup symbol setting area Offset display setting area Register name display selection area Watch symbol setting area Each function explained below. Source path specification area
Specify directory which source file text files will searched for. path specified inputting from keyboard using When added. relative path also specified. directory that reference relative path displayed right "Base:". reference directory decided using following procedure. directory from which project files were loaded. directory from which latest load module file loaded. Windows current directory. Delimiters path information specified (blank), (semi-colon), (comma). Japanese characters specified source path (Japanese version only). Example source located following directory, b:\src c:\asm source path specification becomes follows. b:\src;c:\asm button.
button clicked, Source Move dialog displayed source path
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Default source specification area
When [File] [Open.] selected Source Move dialog opened, file extension displayed source file set. File extension delimiters specified (blank), (semi-colon), (comma). Default load module specification area
file extension load module displayed when Download dialog opened. File extension delimiters specified (blank), (semi-colon), (comma). Open file history setting area
number items history displayed bottom [File] menu. number items range When set, history displayed menu. default four items. Display font setting area
Specify display font Source window. button clicked, Font dialog opens display font selected.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Project file setting area
Perform setting project file auto save auto load. Project file auto save Selection made from among following items. Auto Save: ,,On: ,,Off: ,,Query: Performs project file auto save when closing. Does perform project file auto save when closing. Displays Close Confirmation dialog when closing (default).
Project file auto load Selection made from among following items. Auto Load: ,,On: ,,Off: Performs project file auto load when starting. Does perform project file auto load when starting (default).
Auto load project file settings Specifies project file loaded during auto load. This specified when "Auto Load" been turned "On." dimmed). When turned "Off," specification column becomes inactive appears
Load Project File: Input project file name from keyboard clicking button. Tool display button setting area button clicked, Source File Select dialog displayed.
tool display button. display button selected from among following items. ,,Pictures Text: Displays buttons which show both graphics text (default). ,,Pictures only: Displays buttons which show only graphics.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
size setting area
size each file extension when displaying files with that file extension. File extension setting file extension. Extension: Setting file extension done inputting from keyboard selecting from drop-down list. size selection following sizes selected. Size: Displays code with spaces. Displays code with spaces. Displays code with spaces. size each file extension. List: Displays list file extensions sizes. size setting added, size changed, "Extension" "Tab Size", then click button.
delete size setting, Select file extension setting "Tab List," then click currently selected file extension setting deleted. Startup symbol setting area button.
beginning symbol startup routine. sure this area. left blank, dialog cannot closed.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Begin Label: Label:
opening symbol. default _start. symbol. default _startend.
(10) Offset display setting area
whether there will offset display (symbol offset) during disassemble display. there offset display, symbol displayed only when there symbol that matches numerical value, when there matching symbol, numerical value displayed notation. areas where offset display specified following types. ,,Label: ,,Mnemonic: whether there will offset display label column. default offset display. whether there will offset display mnemonic column. default offset display. (11) Register name display selection area
Select display method register name mnemonic during disassemble display. ,,Function Name: ,,Absolute Name: Displays register name function name another name (default). Displays register name absolute name.
(12) Watch symbol setting area
Specify watch symbol details. Default size display size data specified "Adaptive" Watch window, etc. size displayed selected from among following items.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Size: ,,Byte: ,,Half Word: ,,Word: Default radix display radix data specified "Proper" Watch window, etc. display radix selected from among following. Radix: ,,Hex: ,,Dec: ,,Oct: ,,Bin: ,,String: Function buttons Displayed hexadecimal (default). Displayed decimal. Displayed octal. Displayed binary. Displayed character string. Displays bits (default). Displays bits. Displays bits.
After activating each type option debugger, dialog closed.
Each options debugger this occasion made inactive dialog closed. Returns environment setting state existing before Debugger Option dialog opened. Opens help window Debugger Option dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Font Dialog
Modal
Outline This selects display font Source window sets font size.
Opening method This dialog opened following method. Click
button Debugger Option dialog box.
Window
Figure 6-19. Font Dialog
Functions Font dialog consists following items. Font name specification area Font size specification area Sample display area Each function explained below.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Font name specification area
Select specified font from among currently usable fonts. Fixed width fonts (fonts with constant stroke width fixed pitch fonts) only listed. When font name selected from list, font name displayed edit font sizes with which that font used displayed font size specification area. also possible input font name directly edit using keyboard. Font size specification area
usable sizes font specified font name specification area listed point units. When selecting font size from list, size displayed edit box. also possible input font size directly edit from keyboard. Sample display area
sample character string showing specified font font size displayed.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Function buttons
font Source window changed specified font face font size dialog closed.
dialog closed without changing font.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Project File Load Dialog
Modal
General This dialog restores previous debugging environments. loading project file, size window that displayed environments position environments window also restored.
Opening method This dialog opened following steps: main window Select [File] [Project.] [Open Project.] from menu bar. Press GRPH keys that order.
Press
button tool bar.
Window
Figure 6-20. Project File Load Dialog
File location selection area
File name selection area
File kind selection area
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Function Loads project files. This dialog consists following areas. File location selection area File name selection area File kind selection area function each area explained below. File location selection area Select drive directory. File name selection area Specify file name. file name input from keyboard selected from list column area. File kind selection area Displays kind file displayed list. Project (*.prj) files displayed.
Loaded contents items from each window shown following table saved project file. However, files loaded after debugger started, when project file with different target device loaded, debugger itself reset project file loaded (when target device differs from target device specified when debugger started, target device becomes target device specified project file). (1/2)
Window Configuration dialog Main window Data items (Target device, clock source selection, mask setting, mapping information) Display position, tool bar/status bar/button display information, execution mode information, trace On/Off information, coverage On/Off information File information downloaded Setting information Setting path information Display information window, font information Display information window, display start address Display information window, display start address Display information window Display information window Display information window Display information window Display information window, event information
Download dialog Extended Option dialog Debugger Option dialog Source window Assemble window Memory window Stack window window Local Variable window Trace View window Event dialog
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
(2/2)
Window Event Link dialog Break dialog Trace dialog Snap Shot dialog Stub dialog Timer dialog Event Manager Register window Watch window Coverage window Simulator Main window Parts window Output Timing Chart window Data Display information window, link event information Display information window, break event information Display information window, trace event information Display information window, snap event information Display information window, stub event information Display information window, timer event information Display information window Display information window Display information window, watch entry information Display information window Display information window, status Display information window, status Display information window, status
Function buttons
Open
Loads selected file project file. Closes dialog box.
Cancel
Closes this dialog without loading project file.
Help
Opens Help window that explains Project File Load dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Project File Save Dialog
Modal
General project file file that stores debugging environments. save debugging environments project file, size window that displayed debugging environments position environments window also saved.
Opening method This dialog opened either following steps: Main window Select [File] [Project] [Save As.] from menu bar. Press GRPH keys that order. project file loaded saved previously, save file same name, follows: main window Select [File] [Project] [Save] from menu bar. Press GRPH keys that order. this way, file same name previously loaded saved project file saved without Project File Save dialog being opened.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Window
Figure 6-21. Project File Save Dialog
Save location selection area
File name selection area
Save level selection area
File kind selection area
Function Project File Save dialog used save project file project file whose name been changed. This dialog consists following areas. Save location selection area File name selection area File kind selection area Save level selection area function each area explained below. Save location selection area Select drive directory. File name selection area Specify file name. file name input from keyboard selected from list column area.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
File kind selection area Displays kind file displayed list. Project (*.prj) files displayed. Save level selection area Specify save level when saving project file. Save Level Basic: Normal: Saves debugging environment (window state, event setting state, etc.) only (default). Saves contents basic save plus simulator's internal instructions interrupted state (project information such instructions, memory, registers peripheral registers). Full: Saves contents normal save plus debugging information (trace, coverage results, etc.) generated during simulation. default save level specified Extended Option dialog box. Also, when save level changed, change reflected Extended Option dialog box.
Saved contents items from each window shown following table saved project file. (1/2)
Window Configuration dialog Main window Data items (Target device, clock source selection, mask setting, mapping information) Display position, tool bar/status bar/button display information, execution mode information, trace On/Off information, coverage On/Off information File information downloaded Setting information Setting information Display information window, font information Display information window, display start address Display information window, display start address Display information window Display information window Display information window Display information window, event information Display information window, link event information Display information window, break event information Display information window, trace event information Display information window, snap event information Display information window, stub event information Display information window, timer event information Display information window Display information window
Download dialog Extended Option dialog Debugger Option dialog Source window Assemble window Memory window Stack window window Local Variable window Event dialog Event Link dialog Break dialog Trace dialog Snap Shot dialog Stub dialog Timer dialog Event Manager Register window
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
(2/2)
Window Watch window Coverage window Simulator Main window Parts window Output Timing Chart window Data Display information window, watch entry information Display information window Display information window, status Display information window, status Display information window, status
Function buttons
Save
Saves project information selected file. Then, closes this dialog box.
Cancel
Closes this dialog without saving project file.
Help
Opens Help window that explains Project File Save dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
View File Load Dialog
Modal
General This dialog opens window display file, source file, other text file, event setting file read.
Opening method This dialog opened following steps: Main window Select [File] [Open] from menu bar. Press GRPH keys that order. Press short-cut keys CTRL Press
button tool bar.
Window
Figure 6-22. View File Load Dialog
File location selection area
File name selection area
File kind selection area
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Function This dialog opens window display file, source file, other text file, event setting file read. Depending file loaded, window opened status differ. Loading source file (files which symbol information been written) Source window exists active state, opened static state, there Source window active state, Source window active state opened. Display file some other text file opened text format file Source window static state. Loading event setting file event manager opened event setting contents returned previous environment. This dialog consists following items. File location selection area File name selection area File kind selection area function each area explained below. File location selection area Select drive directory. File name selection area Specify file name. file name input from keyboard selected from list column area. File kind selection area Displays kind file displayed list. file kinds shown below.
File Kind (File Extension) Source (*.C, *.S) Text (*.TXT) Source Text (*.SVW) Assemble (*.DIS) Memory (*.MEM) Watch (*.WCH)
Note
Meaning
Source file Text file Source window display file Assemble window display file Memory window display file Watch window display file
Note source file extension changed Debugger Option dialog box. Remark using previous Variable window display file, used Watch window display file changing file extension from wch.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
File Kind (File Extension) Register (*.REW) Register (*.IOR) Local Variable (*.LOC) Stack Trace (*.STK) Trace (*.TVW) Coverage (*.COV) Event (*.EVN) (*.*)
Meaning Register window display file window display file Local Variable window display file Stack Trace window display file Trace window display file Coverage window display file Event setting file files
Function buttons
Open
After selected file loaded, dialog closed.
Cancel
Closes this dialog without loading display file.
Help
Opens Help window that explains View File Load dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
View File Save Dialog
Modal
General This window saves contents current window display file event setting file.
Opening method This dialog opened following steps: Main window, make window saved current window perform either following operations. Select [File] [Save As.] from menu bar. Press GRPH keys that order.
Window
Figure 6-23. View File Save Dialog (1/3)
range save Local Variable window, Stack window, window, Register window, Watch window, Event Manager)
Save location selection area
File name selection area
File kind selection area
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Figure 6-23. View File Save Dialog (2/3)
Address range save Assemble window, Memory window, Coverage window)
Save range setting area
Frame range save Trace window)
Save range setting area
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Figure 6-23. View File Save Dialog (3/3)
Line range save Source window)
Save range setting area
Function This window saves contents current window display file. This dialog consists following areas. Save location selection area File name selection area File kind selection area Save range setting area function each area explained below. Save location selection area Select drive directory. File name selection area Specify file name. file name input from keyboard selected from list column area. File kind selection area Displays kind file displayed list.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
file kinds shown following table.
File Kind (File Extension) Source Text (*.SVW) Assemble (*.DIS) Memory (*.MEM) Watch (*.WCH) Register (*.REG) Register (*.IOR) Local Variable (*.LOC) Stack Trace (*.STK) Trace (*.TVW) Coverage (*.COV) Event (*.EVN) Source window Assemble window Memory window Watch window Register window window Local Variable window Stack Trace window Trace window Coverage window Event Manager Current Window Name
Save range setting area This area displayed only when current window saved Assemble window, Memory window Coverage window, Source window, Trace View window.
All: Screen shot:
Specifies that area from first line last line saved. This specifies that entire visible area from line screen bottom line saved. However, cases where there mixed display with Source window, area saved from source line included visible area screen.
Specify Line case Source window), Specify Frame case Trace View window), Specify Address case other windows): This specifies starting line line area saved. When starting line line omitted, regarded starting line/end line were specified. Details shown below. current window Assemble window, Memory window, Coverage window Specifies address range saved. Addresses also specified symbols expressions.
(The specification method same case Address Move dialog box.) default radix when numbers input hexadecimal. area with bytes more specified, following message dialog displayed progressive grasp state conditions obtained. stopping middle save operation, possible stop clicking Stop button message dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
current window Trace window
Specifies range trace frames saved. (The specification method same case Frame Specification dialog box.) default radix when numbers input decimal. range more than frames specified, dialog indicating saving status displayed. stop saving midway, click button this dialog box.
current window Source window
Specifies range line numbers. default radix when inputting numbers decimal. When source window mixed display mode, mixed display portion specified lines also saved. range more than frames specified, dialog indicating saving status displayed. stop saving midway, click button this dialog box.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Download Dialog
Modal
General This dialog selects name format file downloaded, downloads contents target memory results coverage simulator. files formats them that downloaded follows. load module format file (ELF (.OUT)) Intel format file (normal extended) Motorola format file type (S0, Extended Tektronix format file Binary data format file Results coverage file other than object file load module format loaded, debugging cannot executed source level.
Opening method This dialog opened following steps: Main window Select [File] [Download.] from menu bar. Press GRPH keys that order. Press button tool bar.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Window
Figure 6-24. Download Dialog
File location selection area
File name selection area
File kind selection area
Load condition specification area
Reset conditions specification area
Offset setting area
Function maximum number load module files that loaded Download dialog consists following areas. File location selection area File name selection area File kind selection area Offset setting area Load condition specification area Reset conditions specification area function each area explained below. File location selection area Select drive directory. File name selection area Specify file name. file name input from keyboard selected from list column area. This dialog used specify multiple files.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
specifying multiple file names, place (double quotation marks) both sides each file name. also possible specify multiple file names from column area while pressing SHIFT CTRL key. File kind selection area Displays kind file displayed list. contents displayed "File Kind" shown below.
Contents (File Extension) Load Module (*.OUT) Format (*.HEX) Binary Data (*.BIN) Coverage (*.CVB) Load module format format (the format auto-judged) Binary data format Coverage results Format
Remark
format judged automatically.
Note that these default file extensions; file extensions other than these also used. Offset setting area
Specify offset address when loading format, binary data format coverage results. Address specification also formula (except symbols). specification method same case Address Specification dialog box. default radix when inputting numerical values hexadecimal. Offset values disregarded load module format files. Load condition specification area
This area sets download condition selected file. Symbol: Object: Specifies whether symbol information read (checked, default) not. condition disregarded files other than those load module format. Specifies whether object information read (checked, default) not. Note that this
cases where program configured from multiple load module files debugged, there modules where symbol information necessary, debugger read symbol information, memory volume reduced.
User's Manual U13759EJ1V0UM00
CHAPTER
WINDOW REFERENCE
Reset conditions specification area
Sets reset conditions. Symbol: CPU: Specifies whether reset (checked, default) reset symbol information. Specifies whether reset reset (not checked, default) emulation CPU.
When debugging program configured from multiple load module files, load individual load module files without resetting symbol information. This setting disregarded files other than load module format format files.
Function buttons
After selected file loaded, dialog closed.
Closes this dialog without loading file.
Opens Help window that explains Downlo

Other recent searches


UCD7201 - UCD7201   UCD7201 Datasheet
TMS320C3x - TMS320C3x   TMS320C3x Datasheet
SN74ALS160B - SN74ALS160B   SN74ALS160B Datasheet
SN74ALS163B - SN74ALS163B   SN74ALS163B Datasheet
SN74AS160 - SN74AS160   SN74AS160 Datasheet
SN74AS163 - SN74AS163   SN74AS163 Datasheet
SN54ALS160B - SN54ALS160B   SN54ALS160B Datasheet
SN54ALS163B - SN54ALS163B   SN54ALS163B Datasheet
SN54AS160 - SN54AS160   SN54AS160 Datasheet
SN54AS163 - SN54AS163   SN54AS163 Datasheet
MTBF700 - MTBF700   MTBF700 Datasheet
LTC3853 - LTC3853   LTC3853 Datasheet
CP221 - CP221   CP221 Datasheet
AL125 - AL125   AL125 Datasheet
AL1022 - AL1022   AL1022 Datasheet
AL3000 - AL3000   AL3000 Datasheet
AL300A - AL300A   AL300A Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive