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*)

 

 

Cautions Keep safety first your circuit designs! Renesas Technolo


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet




Cautions
Keep safety first your circuit designs! Renesas Technology Corporation puts maximum effort into making semiconductor products better more reliable, there always possibility that trouble occur with them. Trouble with semiconductors lead personal injury, fire property damage. Remember give consideration safety when making your circuit designs, with appropriate measures such placement substitutive, auxiliary circuits, (ii) nonflammable material (iii) prevention against malfunction mishap. Notes regarding these materials These materials intended reference assist customers selection Renesas Technology Corporation product best suited customer's application; they convey license under intellectual property rights, other rights, belonging Renesas Technology Corporation third party. Renesas Technology Corporation assumes responsibility damage, infringement third-party's rights, originating product data, diagrams, charts, programs, algorithms, circuit application examples contained these materials. information contained these materials, including product data, diagrams, charts, programs algorithms represents information products time publication these materials, subject change Renesas Technology Corporation without notice product improvements other reasons. therefore recommended that customers contact Renesas Technology Corporation authorized Renesas Technology Corporation product distributor latest product information before purchasing product listed herein. information described here contain technical inaccuracies typographical errors. Renesas Technology Corporation assumes responsibility damage, liability, other loss rising from these inaccuracies errors. Please also attention information published Renesas Technology Corporation various means, including Renesas Technology Corporation Semiconductor home page (http://www.renesas.com). When using information contained these materials, including product data, diagrams, charts, programs, algorithms, please sure evaluate information total system before making final decision applicability information products. Renesas Technology Corporation assumes responsibility damage, liability other loss resulting from information contained herein. Renesas Technology Corporation semiconductors designed manufactured device system that used under circumstances which human life potentially stake. Please contact Renesas Technology Corporation authorized Renesas Technology Corporation product distributor when considering product contained herein specific purposes, such apparatus systems transportation, vehicular, medical, aerospace, nuclear, undersea repeater use. prior written approval Renesas Technology Corporation necessary reprint reproduce whole part these materials. these products technologies subject Japanese export control restrictions, they must exported under license from Japanese government cannot imported into country other than approved destination. diversion reexport contrary export control laws regulations Japan and/or country destination prohibited. Please contact Renesas Technology Corporation further details these materials products contained therein.
Hitachi Microcomputer Development Environment System
Series E6000 Emulator
User's Manual
ADE-702-194B Rev. 01/12/01 Hitachi, Ltd. HS2000EPI61HE(C)
Cautions
Hitachi neither warrants grants licenses rights Hitachi's third party's patent, copyright, trademark, other intellectual property rights information contained this document. Hitachi bears responsibility problems that arise with third party's rights, including intellectual property rights, connection with information contained this document. Products product specifications subject change without notice. Confirm that have received latest product standards specifications before final design, purchase use. Hitachi makes every attempt ensure that products high quality reliability. However, contact Hitachi's sales office before using product application that demands especially high quality reliability where failure malfunction directly threaten human life cause risk bodily injury, such aerospace, aeronautics, nuclear power, combustion control, transportation, traffic, safety equipment medical equipment life support. Design your application that product used within ranges guaranteed Hitachi particularly maximum rating, operating supply voltage range, heat radiation characteristics, installation conditions other characteristics. Hitachi bears responsibility failure damage when used beyond guaranteed ranges. Even within guaranteed ranges, consider normally foreseeable failure rates failure modes semiconductor devices employ systemic measures such fail-safes, that equipment incorporating Hitachi product does cause bodily injury, fire other consequential damage operation Hitachi product. This product designed radiation resistant. permitted reproduce duplicate, form, whole part this document without written approval from Hitachi. Contact Hitachi's sales office questions regarding this document Hitachi semiconductor products.
IMPORTANT INFORMATION
READ FIRST
READ this user's manual before using this E6000 emulator. KEEP user's manual handy future reference. attempt E6000 emulator until fully understand mechanism. E6000 emulator: Throughout this document, term "E6000 emulator" shall defined E6000 emulator, user system interface cable, interface board, optional SIMM memory module produced only Hitachi, Ltd. excluding subsidiary products. user system host computer included this definition. Purpose E6000 emulator: This E6000 emulator software hardware development tool systems employing Hitachi microcomputer series (hereafter referred MCU). This E6000 emulator must only used above purpose. Improvement Policy: Hitachi, Ltd. (including subsidiaries, hereafter collectively referred Hitachi) pursues policy continuing improvement design, functions, performance, safety E6000 emulator. Hitachi reserves right change, wholly partially, specifications, design, user's manual, other documentation time without notice. Target User E6000 emulator: This E6000 emulator should only used those have carefully read thoroughly understood information restrictions contained user's manual. attempt E6000 emulator until fully understand mechanism. highly recommended that first-time users instructed users that well versed operation E6000 emulator.
Rev. 3.0, 01/01, page
LIMITED WARRANTY
Hitachi warrants E6000 emulators manufactured accordance with published specifications free from defects material and/or workmanship. Hitachi, option, will repair replace E6000 emulators returned intact factory, transportation charges prepaid, which Hitachi, upon inspection, determine defective material and/or workmanship. foregoing shall constitute sole remedy breach Hitachi's warranty. Hitachi warranty booklet details warranty period. This warranty extends only you, original Purchaser. transferable anyone subsequently purchases emulator product from you. Hitachi liable claim made third party made third party.
DISCLAIMER
HITACHI MAKES WARRANTIES, EITHER EXPRESS IMPLIED, ORAL WRITTEN, EXCEPT PROVIDED HEREIN, INCLUDING WITHOUT LIMITATION THEREOF, WARRANTIES MARKETABILITY, MERCHANTABILITY, FITNESS PARTICULAR PURPOSE USE, AGAINST INFRINGEMENT PATENT. EVENT SHALL HITACHI LIABLE DIRECT, INCIDENTAL CONSEQUENTIAL DAMAGES NATURE, LOSSES EXPENSES RESULTING FROM DEFECTIVE E6000 EMULATOR, E6000 EMULATOR, DOCUMENTATION, EVEN ADVISED POSSIBILITY SUCH DAMAGES. EXCEPT EXPRESSLY STATED OTHERWISE THIS WARRANTY, THIS E6000 EMULATOR SOLD MUST ASSUME RISK RESULTS OBTAINED FROM E6000 EMULATOR.
Rev. 3.0, 01/01, page
State Law: Some states allow exclusion limitation implied warranties liability incidental consequential damages, above limitation exclusion apply you. This warranty gives specific legal rights, have other rights which vary from state state. Warranty Void Following Cases: Hitachi shall have liability legal responsibility problems caused misuse, abuse, misapplication, neglect, improper handling, installation, repair modifications E6000 emulator without Hitachi's prior written consent problems caused user system. Rights Reserved: This user's manual E6000 emulator copyrighted rights reserved Hitachi. part this user's manual, part, reproduced duplicated form, hard-copy machine-readable form, means available without Hitachi's prior written consent. Other Important Things Keep Mind: Circuitry other examples described herein meant merely indicate characteristics performance Hitachi's semiconductor products. Hitachi assumes responsibility intellectual property claims other problems that result from applications based examples described herein. license granted implication otherwise under patents other rights third party Hitachi. Figures: Some figures this user's manual show items different from your actual system. Limited Anticipation Danger: Hitachi cannot anticipate every possible circumstance that might involve potential hazard. warnings this user's manual E6000 emulator therefore inclusive. Therefore, must E6000 emulator safely your risk.
Rev. 3.0, 01/01, page
SAFETY PAGE
READ FIRST
READ this user's manual before using this emulator product. KEEP user's manual handy future reference. attempt emulator product until fully understand mechanism.
DEFINITION SIGNAL WORDS
This safety alert symbol. used alert potential personal injury hazards. Obey safety messages that follow this symbol avoid possible injury death.
DANGER
DANGER indicates imminently hazardous situation which, avoided, will result death serious injury. WARNING indicates potentially hazardous situation which, avoided, could result death serious injury. CAUTION indicates potentially hazardous situation which, avoided, result minor moderate injury. CAUTION used without safety alert symbol indicates potentially hazardous situation which, avoided, result property damage.
WARNING
CAUTION CAUTION
NOTE emphasizes essential information.
Rev. 3.0, 01/01, page
WARNING
Observe precautions listed below. Failure will result FIRE HAZARD will damage user system emulator product will result PERSONAL INJURY. USER PROGRAM will LOST. repair remodel emulator product yourself electric shock prevention quality assurance. Always switch E6000 emulator user system before connecting disconnecting CABLES PARTS. Always before connecting CABLES, make sure that both sides correctly aligned. Supply power according power specifications apply incorrect power voltage. only provided power cable.
Rev. 3.0, 01/01, page
Rev. 3.0, 01/01, page
About This Manual
This manual explains E6000 Emulator series microcomputers. Debugging Platform User's Manual series E6000 emulators. detailed specifications each E6000 emulator, refer supplementary information supplied with E6000 emulator. Section Introduction, gives rapid introduction system's facilities, including overview main emulation features provided E6000 emulator Hitachi debugging interface (HDI) software that provides access them. Section Setting describes E6000 emulator prepare conjunction with Hitachi Debugging Interface (HDI). Section Hardware, explains connect E6000 emulator external user system. Section Tutorial, then introduces each E6000 emulator's main features showing load debug simple program. tutorial program supplied disk that follow steps your system learn first-hand operates. Assumptions This manual assumes that already have working knowledge procedures running using applications MS-DOS Microsoft Windows operating system. Related Manuals Supplementary Information Hitachi Debugging Interface User's Manual User System Interface Cable User's Manual Interface Board User's Manual (the user's manuals listed below referred this user's manual) Interface Board User's Manual (HS6000EII01HE) Interface Board User's Manual (HS6000EIC01HE, HS6000EIC02HE) PCMCIA Interface Card User's Manual (HS6000EIP01HE) Description Notes Using Adapter E6000/E8000 Emulator (HS6000ELN01HE) Optional Memory Board User's Manual SIMM Memory Module User's Manual (HS6000EMS11HE) SIMM Memory Module User's Manual (HS6000EMS12HE)
Rev. 3.0, 01/01, page
Conventions This manual uses following typographical conventions:
Style computer parameter bold Used Text that type that appears screen. label representing actual value should type part command. Names menus, menu commands, buttons, dialog boxes, windows that appear screen.
Trademarks Microsoft MS-DOS Windows Windows Windows Windows 4.0, Windows 2000 registered trademarks Microsoft Corporation United States and/or other countries. registered trademark International Business Machines Corporation. operating environment this manual Microsoft Windows English version
Rev. 3.0, 01/01, page
Contents
Section Introduction.1
Debugging Features.1 1.1.1 Breakpoints 1.1.2 Trace.1 1.1.3 Execution Time Measurements 1.1.4 Performance Analysis.2 1.1.5 Monitoring Complex Event System (CES) 1.2.1 Event Channels.3 1.2.2 Range Channels.3 1.2.3 Breaks.4 1.2.4 Timing Hardware Features.4 1.3.1 Memory 1.3.2 Clocks.5 1.3.3 Probes.5 1.3.4 Environment Conditions.6 1.3.5 Emulator External Dimensions Mass
Section Setting
Package Contents Setting Interface Board Windows Windows 98.8 2.2.1 Setting Interface Board 2.2.2 Modifying CONFIG.SYS File.10 2.2.3 Modifying SYSTEM.INI File.11 Setting Interface Board Windows Installing HDI.13 Troubleshooting 2.5.1 Faulty Connection 2.5.2 Communication Problems
Section Hardware.15
Connecting User System 3.1.1 Example Connecting User System Interface Cable Head User System 3.1.2 Plugging User System Interface Cable Body into E6000 Emulator 3.1.3 Plugging User System Interface Cable Body into Cable Head.17 Power Supply 3.2.1 Adapter
Rev. 3.0, 01/01, page
3.2.2 Polarity 3.2.3 Power Supply Monitor Circuit SIMM Memory Module 3.3.1 Optional SIMM Memory Module Configuration Hardware Interface 3.4.1 Signal Protection E6000 Emulator 3.4.2 User System Interface Circuits.19 3.4.3 Clock Oscillator.21 3.4.4 External Probe (EXT1)/Trigger Output.22 3.4.5 External Probe (EXT2)/Trigger Output.23 3.4.6 Voltage Follower Circuit.23 Differences between E6000 Emulator 3.5.1 Converter Converter.25
Section Tutorial
Introduction Starting 4.2.1 Selecting Target Platform.28 Setting E6000 Emulator.30 4.3.1 Configuring Platform 4.3.2 Mapping Memory.31 Downloading Tutorial Program.33 4.4.1 Loading Object File.33 4.4.2 Displaying Program Listing Using Breakpoints 4.5.1 Setting Break 4.5.2 Executing Program 4.5.3 Examining Registers 4.5.4 Reviewing Breakpoints Examining Memory Variables.40 4.6.1 Viewing Memory 4.6.2 Watching Variables Stepping Through Program.43 4.7.1 Single Stepping 4.7.2 Stepping Over Function.48 4.7.3 Displaying Local Variables Using Complex Event System 4.8.1 Defining Event Using Complex Event System.51 Using Trace Buffer 4.9.1 Displaying Trace Buffer 4.9.2 Setting Trace Filter 4.10 Measuring Performance.57 4.10.1 Selecting Measurement Conditions
Rev. 3.0, 01/01, page
4.11 4.12 4.13 4.14
4.10.2 Displaying Analysis Results.59 Monitor.60 Stack Trace Function.61 Saving Session.62 What Next?.62
Appendix Command Line Functions Figures
Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure 3.10 Figure 3.11 Figure 3.12 Figure 3.13 Figure 3.14 Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure 4.10 Figure 4.11 Figure 4.12 Figure 4.13 Figure 4.14 Figure 4.15 Computer Properties Dialog (Before Setting) Edit Resource Setting Dialog Computer Properties Dialog (After Setting) Faulty Connection Message.14 Communication Problem Message E6000 Emulator Connectors.15 Example Connecting User System Interface Cable Head User System Sequence Screw Tightening Plugging User System Interface Cable Body E6000 Emulator Polarity Power Supply Plug User System Interface Circuit General Ports User System Interface Circuit MD2, MD1, MD0, WAIT, User System Interface Circuit RESET User System Interface Circuit Analog Port Control Signals IRQ0-IRQ7 User System Interface Circuit External Probe Connector 1.22 Interface Circuit External Probe 1.22 External Probe Connector 2.23 Voltage Level Monitoring (Example V).24 Start Menu Select Platform Dialog Hitachi Debugging Interface Window Configuration Dialog Memory Mapping Dialog Box.31 Edit Memory Mapping Dialog System Status Window (Memory Sheet).33 Open Dialog (Object File Selection) Dialog Box.34 Open Dialog (Source File Selection) Source Program Window.35 Setting Breakpoint Break) Program Break.37 System Status Window (Platform Sheet).38 Registers Window.39
Rev. 3.0, 01/01, page
Figure 4.16 Figure 4.17 Figure 4.18 Figure 4.19 Figure 4.20 Figure 4.21 Figure 4.22 Figure 4.23 Figure 4.24 Figure 4.25 Figure 4.26 Figure 4.27 Figure 4.28 Figure 4.29 Figure 4.30 Figure 4.31 Figure 4.32 Figure 4.33 Figure 4.34 Figure 4.35 Figure 4.36 Figure 4.37 Figure 4.38 Figure 4.39 Figure 4.40 Figure 4.41 Figure 4.42 Figure 4.43 Figure 4.44 Figure 4.45 Figure 4.46 Figure 4.47
Register Dialog Breakpoints Window Open Memory Window Dialog Box.41 Memory Window (Byte).41 Watch Window (After Adding Variables) Watch Window (Symbol Expansion) Watch Dialog Watch Window (Adding Variables) Program Window after Executing Reset Command Program Window after Executing Step Command.45 Program Window after Executing Step Command Program Window after Executing Step Command Program Window after Executing Step Over Command Locals Window.49 Local Window (After Contents Variable Changed) Local Window (After Array Variable Sorted) Adding Breakpoints (Address Specification) Adding Breakpoints (Count Specification).52 Breakpoints Window Stopping Program Event Breakpoint.53 Trace Window General Panel Trace Filter Dialog Box.55 Area Panel Trace Filter Dialog Showing Trace Buffer Contents Selecting Conditions Measurement.57 Displaying Measurement Conditions.58 Displaying Analysis Results (1).59 Displaying Analysis Results (2).59 Open Monitor Menu Dialog Box.60 Address Monitor Dialog Monitor Display Window Stack Trace Window.62
Tables
Table Table Table Table Table Table Table Table Table Memory Types.4 Environment Conditions.6 Address Interface Board Memory Switch Setting Initial Value Differences between E6000 Emulator Configuration Options Memory Types.32 Access Types Step Commands.43 Command List
Rev. 3.0, 01/01, page
Section Introduction
E6000 emulator advanced realtime in-circuit emulator which allows programs developed debugged series microcomputers. E6000 emulator either used without user system, developing debugging software, connected user system interface cable user system, debugging user hardware. E6000 emulator works with Hitachi debugging interface (HDI) application Microsoft Windows operating system. This provides powerful range commands controlling emulator hardware, with choice either fully interactive automated debugging.
1.1.1
Debugging Features
Breakpoints
E6000 emulator provides comprehensive range alternative types breakpoints, give maximum flexibility debugging applications user system hardware. Hardware Break Conditions: break conditions defined using event range channels complex event system (CES). more information about hardware break conditions, section 1.2, Complex Event System (CES). Program Breakpoints Breakpoints): program breakpoints defined. These program breakpoints replacing user instruction BREAK instruction. target ROM, only breakpoint (on-chip break) set. 1.1.2 Trace
E6000 emulator incorporates powerful realtime trace facility which allows examine activity detail. realtime trace buffer holds 32768 cycles, continuously updated during execution. buffer configured rolling buffer, which stopped during execution read back host computer without halting emulation. data stored trace buffer displayed both source program assembly languages ease debugging. However, trace filtering used, only assembly language displayed.
Rev. 3.0, 01/01, page
buffer store cycles just selected cycles. This called trace acquisition uses complex event system (CES) select parts program interested section 1.2, Complex Event System (CES), more information. also possible store cycles then just look selected cycles. This called trace filtering. 1.1.3 Execution Time Measurements
E6000 emulator allows measure total execution time, measure time execution between specified events complex event system. resolution timer following values: maximum time that measured about hours, 16µs maximum time about days. 1.1.4 Performance Analysis
E6000 emulator provides functions measuring performance program. performance specified program range displayed either histogram percentage form. timer resolution selected. addition, execution count specified program range measured 65535). 1.1.5 Monitoring
E6000 emulator incorporates monitoring function that monitors displays contents accessed area windows without stopping program execution. eight blocks bytes monitored. addition, E6000 emulator output trigger signals when specified addresses (four points max.) accessed.
Complex Event System (CES)
most practical debugging applications, program hardware errors that trying debug occur under certain restricted circumstances. example, hardware error only occur after specific area memory been accessed. Tracking down such problems using simple breakpoints very time consuming.
Rev. 3.0, 01/01, page
E6000 emulator provides very sophisticated system giving precise description conditions want examine, called complex event system. This allows define events which depend state specified combination signals. complex event system provides unified controlling trace, break, timing functions E6000 emulator. 1.2.1 Event Channels
event channels allow detect when specified event occurred. event defined combination more following: Address address range Address outside range Data, with optional mask Read Write either access type (e.g., DMAC instruction prefetch) access area (e.g., on-chip on-chip RAM) signal state more four external probes certain number times that event must triggered Delay cycles after event eight events combined into sequence, which each event either activated deactivated occurrence previous event sequence. example, cause break register written after specified area been accessed. 1.2.2 Range Channels
range channels triggered combination more following: Address address range (inside range) Data, with optional mask Read Write either access type (e.g., DMAC instruction prefetch) access area (e.g., on-chip on-chip RAM) signal state more four external probes Delay cycles after event complex event system used control following functions E6000 emulator:
Rev. 3.0, 01/01, page
1.2.3
Breaks
breaks interrupt program execution when specified event, sequence events, activated. example, break halt execution when program reads from address, then writes another address. break also optionally delayed 65535 cycles. 1.2.4 Timing
events then measure execution time program between activation first event second event.
1.3.1
Hardware Features
Memory
E6000 emulator provides standard emulation memory substitute on-chip memory on-chip memory. When device type device mode without on-chip on-chip selected, standard emulation memory disabled. When debugging with only E6000 emulator user program data stored external address space, optional SIMM memory module must used. optional SIMM memory modules separately purchased. emulation memory mapped 64-byte units number separate memory blocks address space. Each memory block specified using Configure Map. function user (Target) emulator (SIMM memory module) and, each case, access specified read-write, read-only, guarded. definition each type memory follows: Table Memory Types
Description Uses on-chip memory. Accesses user system memory. Accesses E6000 emulator SIMM memory module.
Memory Type chip User Emulator
Rev. 3.0, 01/01, page
contents specified block memory displayed using Memory. function. contents memory modified time, even during program execution results immediately reflected other appropriate windows. Note that modifying memory contents during program execution following time requirements: on-chip RAM, emulator SIMM memory module E6000 emulator modifies memory contents temporarily switching memory emulator side without stopping user program execution. both memory read memory write accesses, stores maximum bytes memory contents buffer. Therefore, emulator uses memory MHz, on-chip ROM) on-chip DTCRAM user system memory E6000 emulator stops user program execution, then modifies memory contents. stated above, maximum bytes memory contents accessed. Therefore, user program stops maximum MHz, emulation memory). 1.3.2 Clocks
clock specified E6000 emulator internal clock target clock. frequencies that specified emulator internal clock depend MCU. details, refer supplementary information supplied together with emulator. 1.3.3 Probes
External probes (EXT1 EXT2) connected E6000 emulator, make signals user system break trace. signal external probe condition event detection system depending high level. Since signal external probe outputs high level when trigger setting condition matched monitor function, signal used trigger condition such oscilloscope.
Rev. 3.0, 01/01, page
1.3.4
Environment Conditions
Observe conditions listed table when using E6000 emulator. Table
Item Temperature Humidity Ambient gases input power User system voltage (UVcc) input power
Environment Conditions
Specifications Operating: +35°C Storage: +50°C Operating: condensation Storage: condensation corrosive gases Voltage: Power consumption: max. Depends target within range Voltage: 240VAC Frequency: Power consumption: 70VA
1.3.5
Emulator External Dimensions Mass
Dimensions: Mass: 1,000
Rev. 3.0, 01/01, page
Section Setting
This section explains interface board (HS6000EII01H separately purchased). E6000 emulator. Install software check correct operation entire system. another interface board, such card (PCMCIA), refer user's manual that interface board. E6000 emulator communicates with through interface board, therefore, interface board must inserted into host computer. interface board memory mapped board, before inserting first need reserve block memory addresses board. This ensures that other programs inadvertently interface hardware. allocated memory area must overlap memory already allocated other board. attempted, interface board E6000 emulator product will operate correctly. shipment, memory area interface board allocated address range from H'D0000 H'D3FFF. When using Microsoft Windows Microsoft Windows operating system, refer section 2.2, Setting Interface Board Windows Windows When using Microsoft Windows operating system, refer section 2.3, Setting Interface Board Windows 4.0. Note: interface board supported Windows 2000.
Package Contents
E6000 emulator supplied package containing following components. E6000 emulator E6000 emulator power supply adapter) CD-R(HDI, User's Manual) External probes External probes Hitachi Debugging Interface E6000 Setup Guide Before proceeding should check that have items listed above, contact your supplier missing.
Rev. 3.0, 01/01, page
2.2.1
Setting Interface Board Windows® Windows®
Setting Interface Board
Start Windows Windows Click Computer icon with right mouse button select Properties from popup menu. System Properties dialog will displayed. Double-click Computer icon Device Manager panel open Computer Properties dialog box. Click Memory View Resources panel display memory resources.
Figure Computer Properties Dialog (Before Setting) memory area that listed dialog assigned interface board. Table lists address ranges that switch rear panel interface board. Select address ranges that listed Computer Properties dialog box. example, select range H'D8000 H'DBFFF, corresponding switch number will
Rev. 3.0, 01/01, page
Table
Address Interface Board Memory Switch Setting
Switch Setting
Address Range From H'C0000 H'C3FFF From H'C4000 H'C7FFF From H'C8000 H'CBFFF From H'CC000 H'CFFFF From H'D0000 H'D3FFF shipment) From H'D4000 H'D7FFF From H'D8000 H'DBFFF From H'DC000 H'DFFFF From H'E0000 H'E3FFF From H'E4000 H'E7FFF From H'E8000 H'EBFFF From H'EC000 H'EFFFF
Define memory area that Windows Windows does area follows: Click Memory Reserve Resources panel click Add. Edit Resource Setting dialog will displayed.
Figure Edit Resource Setting Dialog Enter memory area addresses Start value value. Shut down host computer restart turn power switch. Using small screwdriver, rotate switch rear panel interface board that arrow points number corresponding memory area have selected. Remove cover from host computer install interface board spare slot.
Rev. 3.0, 01/01, page
Replace host computer cover. Connect interface cable between interface board connector E6000 emulator. Press each plug firmly home until clicks into position. Switch host computer. Open Computer Properties dialog check that memory area have selected listed System Reserved.
Figure Computer Properties Dialog (After Setting) 2.2.2 Modifying CONFIG.SYS File
Prevent memory area interface board being accessed another program follows: Select from Start menu. Type SYSEDIT click When EMM386.EXE used CONFIG.SYS file, CONFIG.SYS file must modified. CONFIG.SYS file used, EMM386.EXE used even when CONFIG.SYS file used, Section 2.2.3, Modifying SYSTEM.INI File. Locate line CONFIG.SYS file that reads: DEVICE=C:\WINDOWS\EMM386.EXE
Rev. 3.0, 01/01, page
Change line that reads shown below. DEVICE=C:\WINDOWS\EMM386.EXE X=aaaa-bbbb Here, aaaa upper four digits Start value bbbb upper four digits value. example, switch would line read: DEVICE=C:\WINDOWS\EMM386.EXE X=D800-DBFF Save CONFIG.SYS file.
2.2.3
Modifying SYSTEM.INI File
following line [386enh] section SYSTEM.INI file: EMMExclude=aaaa-bbbb Here, aaaa upper four digits Start value bbbb upper four digits value. example, switch would line read: EMMExclude D800-DBFF Save SYSTEM.INI file exit SYSEDIT. Restart host computer. This ensures that Windows will this block memory. ready connect E6000 emulator check communication
Setting Interface Board Windows
interface board uses slot, therefore host computer must have spare slot. This section describes general procedure installing interface board host computer. details, refer manual your host computer. Starting Windows Execute Start/Programs/Administrative Tools (Common)/WindowsNT Diagnostics. Click Memory button Resource and, following form, make note upper memory areas that have already been used.
Rev. 3.0, 01/01, page
Start
Start
Start
Shut down Windows Starting Host Computer Setup Mode: details setup mode, refer manual your host computer. Check which upper memory areas have already been used.
Start Start
Start
memory areas being used should same those checked WindowsNT above. Define memory area interface board. Select memory areas that correspond following interface board switch settings, other devices access selected memory area.
Start H'C0000 H'C4000 H'C8000 H'CC000 H'C3FFF H'C7FFF H'CBFFF H'CFFFF Start H'D0000 H'D4000 H'D8000 H'DC000 H'D3FFF H'D7FFF H'DBFFF H'DFFFF Start H'E0000 H'E4000 H'E8000 H'EC000 H'E3FFF H'E7FFF H'EBFFF H'EFFFF
Note: setting shipment.
Rev. 3.0, 01/01, page
Intel BIOS disk supplied with host computer, define memory area follows: Start host computer with Intel BIOS disk. Check upper memory areas that have already been used, with View/System Resources. Unlisted Card with Configure/Add Card/Others. Click dialog displayed because there .CFG file. Move Memory [hex] list Configure Unlisted Card dialog box. Click Memory. button display Specify Memory dialog box. Enter memory area range that used other device that corresponds interface board switch settings. Save file. Exit current setup program. Shut down host computer restart turn power switch. Using small screwdriver, rotate switch rear panel interface board that arrow points number corresponding memory area have selected. Remove cover from host computer install interface board spare slot. Replace host computer cover. Connect interface cable between interface board connector E6000 emulator. Press each plug firmly home until clicks into position. Switch host computer.
Installing
install HDI, refer Hitachi Debugging Interface E6000 Setup Guide.
Rev. 3.0, 01/01, page
2.5.1
Troubleshooting
Faulty Connection
following message appears during initialization, interface board able detect E6000 emulator.
Figure Faulty Connection Message This indicates: Power supply connected E6000 emulator, emulator switched Check power E6000 emulator. interface cable correctly connected between interface board E6000 emulator. 2.5.2 Communication Problems
following message indicates that able E6000 emulator correctly:
Figure Communication Problem Message This indicates: memory area reserved CONFIG.SYS file does match inteerface switch setting rear panel interface board. Selected area memory another application.
Rev. 3.0, 01/01, page
Section Hardware
This section explains connect E6000 emulator user system.
Connecting User System
connect E6000 emulator user system, proceed follows: Connect user system interface cable head user system. Plug cable body into E6000 emulator. Plug cable body into cable head. details these steps, refer User System Interface Cable User's Manual. Figure gives details connectors provided E6000 emulator.
interface cable connector User system interface cable connector Power connector External probe connectors
POWER
On/off switch
Case screw
Case screw
Figure E6000 Emulator Connectors
Rev. 3.0, 01/01, page
3.1.1
Example Connecting User System Interface Cable Head User System
Screw
User system interface cable head
socket
Figure Example Connecting User System Interface Cable Head User System Ensure that power E6000 emulator, user hardware, associated equipment. Insert cable head into socket user system hardware. Depending upon package, possible orientate this cable head position socket, care should taken correctly identify E6000 emulator socket when installing. Screw cable head socket with screws provided. Progressively tighten screws sequence shown figure until `finger tight'.
Figure Sequence Screw Tightening Note: careful over-tighten screws this result contact failure user system hardware damage cable head. Where provided, `solder lugs' socket provide extra strength E6000 emulator/user system connection.
Rev. 3.0, 01/01, page
3.1.2
Plugging User System Interface Cable Body into E6000 Emulator
Plug cable body into E6000 emulator, taking care insert straight, push firmly into place.
Cable body
Cable head
EXT2
POWER
EXT1
E6000 emulator
User system interface cable
Figure Plugging User System Interface Cable Body E6000 Emulator 3.1.3 Plugging User System Interface Cable Body into Cable Head
Plug cable body into cable head user system hardware.
Rev. 3.0, 01/01, page
3.2.1
Power Supply
Adapter
adapter supplied with E6000 emulator must used times. 3.2.2 Polarity
Figure shows polarity power-supply plug.
(Outside)
GND(Inside)
Figure Polarity Power Supply Plug 3.2.3 Power Supply Monitor Circuit
E6000 emulator incorporates power supply monitor circuit which only lights when voltage higher than 4.75 supplied. this does light, should check E6000 emulator voltage level. input voltage less than 4.75 could indicate that enough current cannot supplied E6000 emulator. Note: provided adapter E6000 emulator.
Rev. 3.0, 01/01, page
SIMM Memory Module
E6000 emulator optional SIMM memory modules available which provide emulation memory user code without needing user system. optional SIMM memory modules available different memory size, partitioned into four equal banks. These banks relocated page boundaries anywhere user area. 3.3.1 Optional SIMM Memory Module Configuration
configuration optional SIMM memory module controlled mapping RAM. Opening Memory sheet System Status window allows check which optional SIMM memory module, any, installed also allows four banks relocated required addresses from Memory Mapping dialog box.
Hardware Interface
signals directly connected E6000 emulator with buffering with exception those listed Supplementary Information: 3.4.1 Signal Protection E6000 Emulator
signals over/under voltage protected diode arrays. only exceptions being AVCC Vref. ports have pull-up resistors except analog port. pins cable head assembly connected together (with exception AVCC pin), then monitored E6000 emulator detect powered user system hardware presence. 3.4.2 User System Interface Circuits
interface circuit between E6000 emulator user system signal delay about user system interface cable includes pull-up resistors. Therefore, high-impedance signals will pulled high level. When connecting E6000 emulator user system, adjust user system hardware compensate propagation delays. following diagrams show equivalent circuit examples interface signals. interface circuits depend type. details, refer supplementary information supplied together with E6000 emulator.
Rev. 3.0, 01/01, page
General Ports:
User system interface cable
Figure User System Interface Circuit General Ports Mode Pins (MD2, MD1, MD0), WAIT, NMI: WAIT signals input through emulator control circuit. rising/falling time these signals must ns/V less. mode pins only monitored. mode depends settings.
Emulator control circuit
User system interface cable
Figure User System Interface Circuit MD2, MD1, MD0, WAIT, RESET:
Emulator control circuit 74HC14
User system interface cable
Figure User System Interface Circuit RESET
Rev. 3.0, 01/01, page
Analog Port Control Signals:
Analog port
User system interface cable
AVcc 0.022 0.022 Vref AVss User system interface cable
Figure User System Interface Circuit Analog Port Control Signals IRQ0-IRQ7: IRQ0 IRQ7 signals input also trace acquiring circuit. Therefore, rising falling time these signals must within ns/V shorter.
User system interface cable
Trace buffer Emulator control circuit User system interface cable connected cable head
Figure 3.10 IRQ0-IRQ7 User System Interface Circuit 3.4.3 Clock Oscillator
oscillator circuit been implemented user system interface cable head. details oscillator circuit, refer user's manual each user system interface cable.
Rev. 3.0, 01/01, page
3.4.4
External Probe (EXT1)/Trigger Output
8-pin connector, marked EXT1 right under user system interface cable connector), E6000 emulator case accommodates four external probe inputs trigger outputs. assignment this connector shown figure 3.11.
EXT1 TUVCC Trigger output
Probe
Figure 3.11 External Probe Connector interface circuit external probe shown figure 3.12.
HD151015 External probes
Figure 3.12 Interface Circuit External Probe trigger output controlled event channel active signal. trigger output available either (within range from does depend user level) TUVCC (the user level).
Rev. 3.0, 01/01, page
3.4.5
External Probe (EXT2)/Trigger Output
6-pin connector, marked EXT2 right under user system interface cable connector), E6000 emulator case accommodates four trigger outputs. assignment this connector shown figure 3.13.
EXT2
Trigger output
Figure 3.13 External Probe Connector trigger output active high signal which output during read write cycles when trace condition monitor function satisfied. trigger output available user level. 3.4.6 Voltage Follower Circuit CAUTION
connect user system interface cable E6000 emulator without user system connection. Turn user system before starting E6000 emulator.
voltage follower circuit implemented E6000 emulator which allows user system voltage level from user system monitored. This monitored voltage level automatically supplied logic E6000 emulator derived from E6000 emulator power supply unit. This means that power taken from user system board. user system interface cable connected E6000 emulator, E6000 emulator will operate specified voltage clock frequencies will available user. user system interface cable attached, E6000 emulator will match voltage supplied user target cases; i.e. even when user below operating voltage MCU. must careful select invalid clock frequency. When E6000 emulator connected user system user system turned off, voltage follower circuit output voltage level this case, E6000 emulator will operate correctly.
Rev. 3.0, 01/01, page
user threshold range max. using E6000 emulator configuration dialog box. user drops below this threshold, User System Voltage Platform sheet System Status window will display Down, otherwise displayed.
User level User threshold
User threshold
Down
E6000 level
User system interface cable removed
Figure 3.14 Voltage Level Monitoring (Example
Rev. 3.0, 01/01, page
Differences between E6000 Emulator
When E6000 emulator initialized system reset, there some differences initial values some general registers between E6000 emulator shown table 3.1. Table
Status Power-on
Initial Value Differences between E6000 Emulator
Register (SP) E6000 Emulator Reset vector value Undefined H'10 mask other bits undefined Reset vector value Undefined H'10 mask other bits undefined Reset vector value Undefined Undefined mask other bits undefined Reset vector value Undefined Undefined mask other bits undefined
Reset command
(SP)
Please refer supplied supplementary information details protection circuit used ports E6000 emulator. 3.5.1 Converter Converter
user system interface cable, there slight degradation conversion than that quoted Hardware Manual being emulated.
Rev. 3.0, 01/01, page
Rev. 3.0, 01/01, page
Section Tutorial
following describes sample debugging session, designed introduce main features E6000 emulator used conjunction with Hitachi debugging interface (HDI) software. tutorial designed E6000 emulator's resident memory that used without connecting E6000 emulator user system. tutorial assumes that H8S/2655 E6000 used. When using another type E6000 emulator, change file directory names your target ones.
Introduction
tutorial based simple program. Before reading this chapter: E6000 emulator from software. section Setting need connect E6000 emulator user system this tutorial. Make sure familiar with architecture instruction MCU. more information, refer Hardware Manual target MCU. tutorial program arranges random data ascending/descending order. source program (Sort.C), object file ELF/DWARF2 format (Tutorial.abs) provided installation disk.
Rev. 3.0, 01/01, page
Starting
start HDI: Select Hitachi Debugging Interface from E6000 H8S_2655 Start menu.
Figure Start Menu 4.2.1 Selecting Target Platform
extended functions supporting multiple target platforms, your system more than platform will first prompted choose target platform.
Figure Select Platform Dialog this tutorial select E6000 H8S/2600 Emulator click continue. Note that change target platform time choosing Select Platform. from Setup menu. have only platform installed, this menu option will available.
Rev. 3.0, 01/01, page
When emulator been successfully Hitachi Debugging Interface window will displayed, with message Link status bar.
Figure Hitachi Debugging Interface Window features HDI, Hitachi Debugging Interface User's Manual. functions specialized E6000 emulator, refer on-line help. Menu Bar: Gives access commands setting E6000 emulator using debugging functions. Toolbar: Provides convenient buttons shortcuts most frequently used menu commands. Program Window: Displays source program being debugged. Status Bar: Displays status E6000 emulator. example, progress information about downloads, snapshots address mode. Help Button: Activates context sensitive help about feature user interface.
Rev. 3.0, 01/01, page
Setting E6000 Emulator
Before downloading program E6000 emulator, first need target conditions. following items need configured: device type operating mode clock source user signals memory following sections describe E6000 emulator appropriate tutorial program. 4.3.1 Configuring Platform
target configuration: Choose Configure Platform. from Setup menu conditions selected platform. following dialog will displayed:
Figure Configuration Dialog
Rev. 3.0, 01/01, page
options shown table 4.1. Table
Option Device Mode Clock Timer resolution other options
Configuration Options
Value (Depending Evaluation Chip) H8/2655 (advanced mode, single chip) Default
Click change target settings. 4.3.2 Mapping Memory
After have selected device mode Configuration Dialog Box, automatically maps E6000 emulator memory device mode have selected. display current memory mapping, choose Configure Map. from Memory menu, click Memory button toolbar.
Memory Mapping dialog shown figure displayed.
Figure Memory Mapping Dialog
Rev. 3.0, 01/01, page
Table lists three memory types available E6000 emulator. Table Memory Types
Description Accesses on-chip memory. Accesses memory user system hardware. Accesses optional SIMM memory module.
Memory Type On-chip User Emulator
Table lists three access types. Table Access Types
Description access allowed
Access Type Read-write Read-only Guarded
this tutorial, default mapping, edit mapping follows: change setting, click Edit button after selecting target mapping line, simply double-click that line. Here, double-click Chip Read-only Memory Mapping dialog box. Edit Memory Mapping dialog displayed.
Figure Edit Memory Mapping Dialog Click close dialog box.
Rev. 3.0, 01/01, page
display device information, select Status from View menu click Status button toolbar open System Status window, select Memory sheet. device information then displayed follows:
Figure System Status Window (Memory Sheet) Note: memory differs depending target mode.
Downloading Tutorial Program
After E6000 emulator download object program want debug. 4.4.1 Loading Object File
First load ELF/DWARF2-format object file, follows: Choose Load Program. from File menu, click Load Program button toolbar. Load Program dialog then displayed.
Rev. 3.0, 01/01, page
Click Browse. button, select Tutorial.abs file Tutorial directory from Open dialog box, click Open button. Load Program dialog displayed. Click Open button start download file.
Figure Open Dialog (Object File Selection) When file been loaded, dialog shown figure displays information about memory areas that have been filled with program code.
Figure Dialog Click continue. program been loaded into on-chip ROM. 4.4.2 Displaying Program Listing
allows debug program source level. Choose Source. from View menu, click Program Source button toolbar.
Rev. 3.0, 01/01, page
will prompted source file corresponding object file have loaded.
Figure 4.10 Open Dialog (Source File Selection) Select Sort.c click Open display program window.
Figure 4.11 Source Program Window necessary, choose Font. option from Customize submenu Setup menu choose font size suitable your host computer. Initially program window opens showing beginning main program, scroll through program with scroll bars other sections.
Rev. 3.0, 01/01, page
Using Breakpoints
simplest debugging break, which lets halt execution when particular point program reached. then examine state memory that point program. 4.5.1 Setting Break
program window provides very simple setting break. example, break address H'103e follows: Double-click column line containing address H'103e.
Figure 4.12 Setting Breakpoint Break) word Break will displayed there show that break that address. Although performed this tutorial, double-clicking repeatedly Break column change display cyclic order shown below event measuring execution time between events (+Timer: start time measurement; -Timer: stop time measurement), point-to-point trace (+Trace: start trace; -Trace: temporarily stop trace), trace stop (TrStop: stop trace). When -Trace followed +Trace, trace resumed. However, when -Trace followed TrStop, trace will resume even after +Trace appears. (Blank) Break +Timer -Timer +Trace -Trace TrStop (Blank)
Rev. 3.0, 01/01, page
Note: Events -Timer -Trace selected only when corresponding +Timer +Trace have been set. 4.5.2 Executing Program
program from address pointed reset vector: Choose Reset from menu, click Reset button toolbar.
program will executed break inserted, statement will highlighted program window show that program halted.
Figure 4.13 Program Break message Break=PC Break displayed status show cause break. also cause last break System Status window. Choose Status from View menu click Status button toolbar open System Status window, select Platform sheet.
Rev. 3.0, 01/01, page
Figure 4.14 System Status Window (Platform Sheet) Cause last break line shows that break break. Time Count line shows that user program executing time (from user program start break) 218.375µs. timer resolution event time (set +Timer -Timer) time timer's resolution decided Timer Resolution option target Configuration dialog box. When using small resolution (e.g. long time measurement, inaccuracy large. Select timer resolution suitable length measurement time.
Rev. 3.0, 01/01, page
4.5.3
Examining Registers
While program halted refer contents registers. These displayed Registers window. Choose Registers from View menu, click Registers button toolbar:
Figure 4.15 Registers Window expected, value program counter, same highlighted statement, H'103e. (Note: values other registers differ from those shown above figure.) also change registers from Registers window. example, change value Double-click Value column corresponding Registers window. Register dialog allows edit value.
Figure 4.16 Register Dialog
Rev. 3.0, 01/01, page
Edit value H'1016, start address main program, click highlighted will move main program show value. Choose from menu, click button toolbar, execute breakpoint again.
4.5.4
Reviewing Breakpoints
list breakpoints program Breakpoints window. Choose Breakpoints from View menu, click Breakpoint button toolbar:
Figure 4.17 Breakpoints Window Breakpoints window also allows enable disable breakpoints, define breakpoints, delete breakpoints.
Examining Memory Variables
monitor behavior program examining contents area memory, displaying values variables used program. 4.6.1 Viewing Memory
view contents block memory Memory window. example, view memory corresponding array main Byte:
Rev. 3.0, 01/01, page
Choose Memory. from View menu, click Memory button toolbar.
Enter main Address field, Format Byte.
Figure 4.18 Open Memory Window Dialog Clicking opens Memory window showing specified area memory enables check contents memory block.
Figure 4.19 Memory Window (Byte) 4.6.2 Watching Variables
execute step program, useful able look values variables used your program, verify that they change that expected. example, look long-type array variable declared beginning program, using following procedure: Click left array variable move cursor position program window. Click Program window with right mouse button display pop-up menu, choose Watch. Watch window will display variable.
Rev. 3.0, 01/01, page
Figure 4.20 Watch Window (After Adding Variables) double-click symbol left symbol Watch window expand display individual elements array. necessary, select Decimal from Radix submenu Setup menu, click Radix=Decimal button toolbar display decimal form.
Figure 4.21 Watch Window (Symbol Expansion) variable name specified variable Watch window. Click Watch window with right mouse button display popup menu, choose Watch. Enter variable name click button.
Rev. 3.0, 01/01, page
Figure 4.22 Watch Dialog volatile long-type variable added Watch window.
Figure 4.23 Watch Window (Adding Variables)
Stepping Through Program
E6000 emulator provides range options perform step execution executing instruction statement time. alternative step commands listed table provided. Table
Command Step Step Over Step Step.
Step Commands
Description Executes every statement, including statements within functions. Executes function call single step. Exits function stops next statement calling program. Allows step repeatedly specified number times.
Rev. 3.0, 01/01, page
4.7.1
Single Stepping
Confirm that break H'103e. Select Reset from menu click Reset button toolbar.
program executed stopped H'103e break. statement sort(a) will highlighted.
Figure 4.24 Program Window after Executing Reset Command
Rev. 3.0, 01/01, page
Choose Step from menu, click Step button toolbar, step through sort statement.
Figure 4.25 Program Window after Executing Step Command Exit function, back next statement main program, choosing Step from menu, clicking Step button toolbar.
Rev. 3.0, 01/01, page
Address H'1042 will highlighted showing that emulator exit from function.
Figure 4.26 Program Window after Executing Step Command Step command execute program change function call. Note: When step instruction executed program counter enters C/C++ library function execution routine, Disassembly window automatically opened. this state, step instruction executed assembler level. When step instruction executed C/C++ source level, exit C/C++ library function execution routine with Step command close Disassembly window.
Rev. 3.0, 01/01, page
Figure 4.27 Program Window after Executing Step Command
Rev. 3.0, 01/01, page
4.7.2
Stepping Over Function
Step Over command executes function, without single-stepping through body function, stops next statement main program. Choose Step Over from menu, click Step Over button toolbar.
program executes change function stops beginning next address, H'106c.
Figure 4.28 Program Window after Executing Step Over Command
Rev. 3.0, 01/01, page
4.7.3
Displaying Local Variables
display local variables function using Locals window. example, will examine local variables function main. This function declares five local variables: min, max. Choose Locals from View menu, click Locals button toolbar.
Figure 4.29 Locals Window Locals window will show nothing when there local variables. Choose Step from menu click Step button toolbar perform step execution time.
contents variable changed their values displayed.
Rev. 3.0, 01/01, page
Figure 4.30 Local Window (After Contents Variable Changed) Double-click symbol left variable Locals window expand variable display individual element each array. Refer elements variable before sort function execution confirm that random data been sorted descending order.
Figure 4.31 Local Window (After Array Variable Sorted)
Rev. 3.0, 01/01, page
Using Complex Event System
this tutorial have monitored behavior program observing contents area memory Memory window, values variables Watch Locals windows. Sometimes action program complex allow this. Using emulator's complex event system, can, example, detect time when program accessed H'1098 five times. 4.8.1 Defining Event Using Complex Event System
define event, using complex event system, monitor part program follows: Select Hexadecimal Radix submenu from Setup menu, click Radix button toolbar display hexadecimal.
When hexadecimal input, prefix radix omitted. Choose Breakpoints from View menu display Breakpoints window, click Breakpoints button toolbar.
Click Breakpoints window with right mouse button, choose Add. breakpoint. following dialog allows breakpoint's properties. Type Event enter address H'1098 into Address condition.
Rev. 3.0, 01/01, page
Figure 4.32 Adding Breakpoints (Address Specification) Click Action display Action panel. generate break after accessing five times, enter Required number event occurrences edit box.
Figure 4.33 Adding Breakpoints (Count Specification)
Rev. 3.0, 01/01, page
Click define breakpoint. break occurs when address H'1098 accessed (read written) five times. Breakpoints window shows event have defined.
Figure 4.34 Breakpoints Window Choose Reset from menu, click Reset button toolbar.
Execution will stop breakpoint address H'103e. program from current position, choosing from menu, click button toolbar.
execution stops when address H'1098 accessed five times.
Figure 4.35 Stopping Program Event Breakpoint
Rev. 3.0, 01/01, page
status will display Break Complex Event System indicate that break caused satisfaction event condition. Note: complex event system, after event condition satisfied, delay will occur until execution stops.
Using Trace Buffer
trace buffer allows look back over previous cycles exactly what doing prior specified event. 4.9.1 Displaying Trace Buffer
specify address accessed program trace buffer look back what accesses took place. Open Trace window choosing Trace from View menu, click Trace button toolbar.
necessary scroll window down that last cycles. Trace window displayed, shown figure 4.36.
Figure 4.36 Trace Window necessary, adjust width each column dragging column dividers either side labels just below title bar. cycle -00005, that address H'1098 been accessed.
Rev. 3.0, 01/01, page
4.9.2
Setting Trace Filter
Currently Trace window shows cycles. Display Trace Filter dialog clicking Trace window with right mouse button selecting Filter. from popup menu. This allows define filter restrict which cycles will displayed trace buffer. necessary, click General show General panel. Select Pattern Type section. Address section click Address type H'1098 Address field.
Figure 4.37 General Panel Trace Filter Dialog
Rev. 3.0, 01/01, page
Click Area display Area panel. State Prefetch.
Figure 4.38 Area Panel Trace Filter Dialog Click save trace filter. Trace window, only cycles which accessed address H'1098 displayed. program stopped accessing H'1098 five times.
Figure 4.39 Showing Trace Buffer Contents
Rev. 3.0, 01/01, page
4.10
Measuring Performance
using performance analysis function HDI, measure performance program. results displayed histogram percentages. 4.10.1 Selecting Measurement Conditions
Select conditions measurement follows: Select Performance Analysis from View menu click button toolbar open Performance Analysis dialog box.
Click Conditions button open Performance Analysis Conditions window. After clicking Performance Analysis Conditions, click Edit button open Performance Analysis Properties dialog box. following dialog will displayed allow selection measuring conditions.
Figure 4.40 Selecting Conditions Measurement
Rev. 3.0, 01/01, page
Select Time Specified Range Measurement from Measurement Method measure performance over specified range. Input Analysis Range Name. Input address H'1088 Start Address address H'10ec Address. Click select conditions. This completes setting No.1. Performance Analysis Conditions window, conditions selected Performance Analysis Properties dialog displayed.
Figure 4.41 Displaying Measurement Conditions Click measurement conditions. Now, performance execution address range H'1088 H'10ec measured. Click Close close Performance Analysis dialog box. Double-click column line that includes address H'1082 break. Select Reset from menu click Reset button toolbar, execute program from beginning.
program will stop address H'1082.
Rev. 3.0, 01/01, page
4.10.2
Displaying Analysis Results
performance analysis results displayed histogram percentages. Select Performance Analysis from View menu click button toolbar open Performance Analysis dialog box.
Figure 4.42 Displaying Analysis Results performance analysis results displayed histogram percentages. Click Value.
Figure 4.43 Displaying Analysis Results analysis results displayed percentages actual time measured.
Rev. 3.0, 01/01, page
4.11
Monitor
monitor functions enable user display memory contents realtime during user program execution. Display memory contents updated minimum intervals Select Monitor Window. from View menu.
Figure 4.44 Open Monitor Menu Dialog Select address Monitor under Monitor Function, then click Select Monitor1 check box, enter H'fffa00 text box, select Access, then click
Figure 4.45 Address Monitor Dialog
Rev. 3.0, 01/01, page
Select Reset from menu click Reset button toolbar.
following window displays memory contents modified realtime (the display updated minimum intervals this tutorial, since program execution stops breakpoints, only addresses that satisfy specified condition displayed.
Figure 4.46 Monitor Display Window
4.12
Stack Trace Function
function-call history checked using stack trace function when user program halted. Double-click column line that includes address H'108e break. Select Reset from menu click Reset button toolbar, execute program from beginning.
Execution stops address H'108e break that been set. Select Stack Trace from View menu open Stack Trace window.
Rev. 3.0, 01/01, page
Figure 4.47 Stack Trace Window Figure 4.47 shows that position program counter currently selected line sort() function, that sort() function called from main() function. Note: This function used only when load module that Dwarf2-type debugging information loaded.
details functions described above, refer on-line help, which displayed clicking Help button pressing when target window open.
4.13
Saving Session
Before exiting, good practice save your session, that resume with same E6000 emulator configuration your next debugging session. Choose Save Session from File menu. Choose Exit from File menu exit HDI.
4.14
What Next?
This tutorial introduced some features E6000 emulator, their conjunction with HDI. combining emulation tools provided E6000 emulator perform extremely sophisticated debugging, allowing track down hardware software problems efficiently precisely isolating identifying conditions under which they occur. details operation, refer Hitachi Debugging Interface User's Manual, supplied separately.
Rev. 3.0, 01/01, page
Appendix Command Line Functions
This section lists E6000 emulator command line functions. Command Type: General: general commands Specific: Commands specific E6000 emulator general command line functions, refer Hitachi Debugging Interface User's Manual on-line help. E6000-specific commands, refer on-line help. display online help, enter following Command Line window: help <command> <command>: Command name abbreviation Table Command List
Abbreviation Command Type General General Specific Specific Specific General General Specific Specific Specific Specific Specific Description Comments Sets operation invalid access Enables disables performance analysis range Sets displays performance analysis range Cancels performance analysis range Assembles program Checks conditions Sets breakpoint event Clears breakpoint event Displays breakpoints events Enables disables breakpoint event Defines clears breakpoint event sequence
Command Name ACCESS ANALYSIS ANALYSIS_RANGE ANALYSIS_RANGE_DELETE ASSEMBLE ASSERT BREAKPOINT EVENT BREAKPOINT_CLEAR, EVENT_CLEAR BREAKPOINT_DISPLAY, EVENT_DISPLAY BREAKPOINT_ENABLE, EVENT_ENABLE BREAKPOINT_SEQUENCE, EVENT_SEQUENCE
Rev. 3.0, 01/01, page
Table
Command List (cont)
Abbreviation Command Type Specific Specific General General General General General General General General General General General Description Sets clock rate E6000 emulator Selects target device E6000 emulator Disassembles displays program Clears contents Command Line window Evaluates expression Loads object program file Saves memory contents file Verifies memory contents against file contents Executes user program Executes user program from reset vector Executes user program until temporary breakpoint Stops user program execution Displays help message command line command Initializes platform Manipulates logging file
Command Name CLOCK DEVICE_TYPE DISASSEMBLE ERASE EVALUATE FILE_LOAD FILE_SAVE FILE_VERIFY GO_RESET GO_TILL HALT HELP
INITIALISE
General General
Rev. 3.0, 01/01, page
Table
Command List (cont)
Abbreviation Command Type General Specific General General General General General Specific Specific Description Displays memory information Sets memory mapping Displays memory contents Modifies memory contents Fills memory with specified data Moves memory block Tests memory block Sets displays mode Sets displays on-chip peripheral functions Terminates Sets radix input value Updates memoryrelated windows Displays register values Sets register values Resets Delays command execution Performs single-step execution instruction unit source line unit Step current function Performs step-over execution rate multiple steps
Command Name MAP_DISPLAY MAP_SET MEMORY_DISPLAY MEMORY_EDIT MEMORY_FILL MEMORY_MOVE MEMORY_TEST MODE MODULES
QUIT RADIX REFRESH REGISTER_DISPLAY REGISTER_SET RESET SLEEP STEP
General General Specific General General General General General
STEP_OUT STEP_OVER STEP_RATE
General General General
Rev. 3.0, 01/01, page
Table
Command List (cont)
Abbrevia tion Command Type General General General General General General Specific Specific Description Executes emulator command file Adds symbol Deletes symbol Loads symbol information file Saves symbol information file Displays symbol Tests E6000 emulator hardware Sets displays timer minimum measurement unit execution time measurement Displays trace data Sets displays trace acquisition information Compares trace data Saves trace data Searches trace data Enables disables user signals
Command Name SUBMIT SYMBOL_ADD SYMBOL_CLEAR SYMBOL_LOAD SYMBOL_SAVE SYMBOL_VIEW TEST_EMULATOR TIMER
TRACE TRACE_ACQUISITION TRACE_COMPARE TRACE_SAVE TRACE_SEARCH USER_SIGNALS
General Specific Specific Specific Specific Specific
Note: commands available monitor functions.
Rev. 3.0, 01/01, page
Series E6000 Emulator User's Manual
Publication Date: Edition, March 1999 Edition, January 2001 Published Electronic Devices Sales Marketing Group Semiconductor Integrated Circuits Hitachi, Ltd. Edited Technical Documentation Group Hitachi Kodaira Semiconductor Co., Ltd. Copyright Hitachi, Ltd., 1999. rights reserved. Printed Japan.

Other recent searches


ZX05-14+ - ZX05-14+   ZX05-14+ Datasheet
KP-2012SURCK - KP-2012SURCK   KP-2012SURCK Datasheet
ICS721 - ICS721   ICS721 Datasheet
D45XT80 - D45XT80   D45XT80 Datasheet
AND8417 - AND8417   AND8417 Datasheet
2SK3265 - 2SK3265   2SK3265 Datasheet
2SC4572 - 2SC4572   2SC4572 Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive