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
AE-4X Series E6000 Emulator
User's Manual
ADE-702-314 Rev. 04/23/02 Hitachi, Ltd. HS0AE4XEPI61HE
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, 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 AE-4 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.
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.
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.
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.
WARNING
CAUTION
CAUTION
CAUTION used without safety alert symbol indicates potentially hazardous situation which, avoided, result property damage.
NOTE emphasizes essential information.
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. Before inserting user system interface cable, make sure that front back sides correctly aligned user system. Supply power according power specifications apply incorrect power voltage. only provided power cable.
Preface
Thank purchasing AE-4X series E6000 emulator. AE-4X series E6000 emulator (hereafter referred E6000) designed software hardware development tool systems based Hitachi's original AE-4 series microcomputers, including ISO14443 contactless type. E6000 provides CD-R that contains Hitachi Debugging Interface (HDI) system program, test program, user's manual. There manuals E6000: AE-4X Series E6000 Emulator User's Manual (this manual) Hitachi Debugging Interface User's Manual. E6000 Emulator User's Manual describes E6000 functions common AE-4X series microcomputers. Please read this manual before using E6000.
About This Manual
This manual describes E6000 emulator AE-4X series microcomputers gives specifications 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 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 provided CD-R that follow steps your system learn firsthand operates. Section Diagnostic Test Procedure, describes diagnostic test procedure using E6000 test program. This manual assumes that already have working knowledge procedures running using programs MS-DOS Microsoft Windows operating system. This manual also assumes that operating environment English version Microsoft Windows running Assumptions This manual assumes that already have working knowledge procedures running using programs MS-DOS Microsoft Windows operating system. This manual also assumes that operating environment English version Microsoft Windows running Related Manuals Hitachi Debugging Interface User's Manual Interface Board User's Manual (indicates following manuals this user's manual) Interface Board User's Manual (HS6000EII01HE) Interface Board User's Manual (HS6000EIC01HE, HS6000EIC02HE)
PCMCIA Interface Card User's Manual (HS6000EIP01HE) Adapter User's Manual (HS6000ELN01HE) Conventions This manual uses following typographical conventions:
Style computer Used Text that type that appears screen. label representing actual value should type part command. Names menus, menu commands, buttons, dialogue boxes, windows that appear screen.
parameter
bold
Trademarks Microsoft Windows Windows Windows Windows 4.0, Windows 2000, MS-DOS registered trademarks Microsoft Corporation United States and/or other countries. registered trademark International Business Machines Corporation.
Contents
About This Manual.ii Section Introduction
Debugging Features 1.1.1 Breakpoints 1.1.2 Trace 1.1.3 Execution Time Measurements. 1.1.4 Performance Analysis 1.1.5 Monitoring 1.1.6 Coverage Complex Event System (CES) 1.2.1 Event Channels 1.2.2 Range Channels 1.2.3 Breaks 1.2.4 Timing. Hardware Features 1.3.1 Memory. 1.3.2 Clocks 1.3.3 Probes 1.3.4 Environment Conditions 1.3.5 Emulator External Dimensions Mass
Section Setting
Package Contents Setting Interface Board Windows 2.2.1 Setting Interface Board. 2.2.2 Modifying CONFIG.SYS File 2.2.3 Modifying SYSTEM.INI File Setting Interface Board Windows 4.0. Installing Troubleshooting 2.5.1 Faulty Connection. 2.5.2 Communication Problems.
Section Hardware
Connecting User System
3.1.1 Connecting User System Interface Cable Body E6000 Emulator 3.1.2 User System Interface Cable Head 3.1.3 Connecting System Interface Cable Head. 3.1.4 Antenna User System Interface Cable Head Power Supply 3.2.1 Adapter 3.2.2 Polarity Power Supply Plug. 3.2.3 Power Supply Monitor Circuit. Hardware Interface. 3.3.1 Signal Protection E6000 Emulator 3.3.2 User System Interface Circuits. 3.3.3 External Probes/Trigger Output 3.3.4 External Probe (EXT2)/Trigger Output 3.3.5 Power Supply Circuit Jumper Settings. Differences between E6000 Emulator. 3.5.1 Registers. 3.5.2 EEPROM 3.5.3 3.5.4 SYSCR Register. 3.5.5 Security 3.5.6 Contactless Operation
Section Tutorial.32
Introduction. Starting HDI. 4.2.1 Selecting Target Platform Setting E6000 Emulator 4.3.1 Configuring Platform 4.3.2 Mapping Memory Downloading Tutorial Program 4.4.1 Loading Object File 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 4.6.1 Viewing Memory
4.10
4.11 4.12 4.13 4.14 4.15
4.6.2 Watching Variables. Stepping Through Program 4.7.1 Single Stepping 4.7.2 Stepping Over Function 4.7.3 Displaying Local Variables. Using Complex Event System. 4.8.1 Defining Event Using Complex Event System Using Trace Buffer. 4.9.1 Displaying Trace Buffer. 4.9.2 Setting Trace Filter. Measuring Performance 4.10.1 Selecting Measurement Conditions. 4.10.2 Displaying Analysis Results. Monitor Stack Trace Function Coverage Function Saving Session What Next?
Section Diagnostic Test Procedure.81
System Set-Up Test Program Execution Diagnostic Test Procedure Using Test Program
Appendix Command Line Functions.89
Figures
Figure Computer Properties Dialog (Before Setting). Figure Edit Resource Setting Dialog Box. Figure Computer Properties Dialog (After Setting) Figure Faulty Connection Message Figure Communication Problem Message Figure E6000 Emulator Connectors. Figure External View E6000 Emulator. Figure External View Contact less User System Interface Cable. Figure External View User System Interface Cable Head. Figure Resonance Characteristics User System Interface Cable Head Figure Polarity Power Supply Plug Figure User System Interface Signal Circuit Figure User System Interface Circuit Figure User System Interface Circuit RESET. Figure 3.10 User System Interface Circuit I/O-1/IRQ I/O-2/IRQ Figure 3.11 User System Interface Circuit Figure 3.12 Probe1 Trigger Connector Figure 3.13 External Probe1 Interface Circuit Figure 3.14 Connector External Probe Figure 3.15 Relationship between User System E6000 Emulator Figure Start Menu Figure Select Platform Dialog Box. Figure Hitachi Debugging Interface Window. Figure Configuration Dialog Figure Memory Mapping Dialog Figure Edit Memory Mapping Dialog Box. Figure System Status Window (Memory Sheet). Figure Open Dialog (Object File Selection). Figure Dialog Figure 4.10 Open Dialog (Source File Selection) Figure 4.11 Source Program Window Figure 4.12 Setting Breakpoint Break) Figure 4.13 Program Break. Figure 4.14 System Status Window (Platform Sheet) Figure 4.15 Registers Window Figure 4.16 Register Dialog Figure 4.17 Breakpoints Window
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 Executed) 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
Open Memory Window Dialog Memory Window (Byte) 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 (1). Program Window after Executing Step Command. Program Window after Executing Step Command (2). Program Window after Executing Step Over Command. Locals Window. Locals Window (After Contents Variable Changed) Locals Window (Elements Array Variable after Function sort been Breakpoint/Event Properties Dialog Breakpoints Window Stopping Program Event Breakpoint Trace Window General Panel Trace Filter Dialog Area Panel Trace Filter Dialog Trace Window (When Trace Filter Specified). Selecting Conditions Measurement. Displaying Measurement Conditions. Displaying Analysis Results Displaying Analysis Results Open Monitor Menu Dialog Address Monitor Dialog Box. Monitor Display Stack Trace Window Coverage Main Window.
viii
Tables
Table Table Table Table Table Table Table Table Table Table Table Table Table Table Memory Types. Environment Conditions Address Interface Board Memory Switch Setting Initial Value Differences between E6000 Emulator. EEPROM Differences between E6000 Emulator Differences between E6000 Emulator SYSCR Register Differences between E6000 Emulator. Security Differences between E6000 Emulator Differences Contactless Operation Configuration Options Memory Types. Access Types Step Commands Command List.
Section Introduction
E6000 emulator advanced realtime in-circuit emulator which allows programs developed debugged AE-4 series microcomputers (herein after called MCU). E6000 emulator used either without user system, developing debugging software, with user system user system interface cable, debugging user hardware. E6000 emulator works with Hitachi debugging interface (HDI), Microsoft Windows based interface program. 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 with BREAK instruction. 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. 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 approximately hours, 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 external probe (EXT2) when specified addresses (four points max.) accessed. 1.1.6 Coverage
E6000 emulator provides coverage function. coverage function executes programs obtains stores histories data access. This function allows know what part your program been been tested.
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. 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., 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 Data, with optional mask Read Write either access type (e.g., instruction prefetch) access area (e.g., on-chip on-chip RAM)
signal state more four external probes Delay cycles after event event detection system used control break trace functions E6000 emulator. 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 on-chip memory capacity insufficient during user program development, this emulation memory used instead. However, final stage development, this emulation memory verify that user program correctly operates within on-chip RAM. On-chip expanded memory mapping. However, there limitations follows: ROM: from start address. only modified emulator read-only. RAM: advanced from address (H'FFCFFF). only modified emulator read/write. This expanded area specified memory E6000 emulator using Memory Mapping. command.
Table Memory Types
Memory Type On-chip User Emulator Description Accesses on-chip memory. Accesses memory user system. Accesses emulation memory.
Note) "User" this emulator. contents specified block memory displayed using Memory. function. contents memory modified time, even during program execution, results immediately reflected other appropriate windows. 1.3.2 Clocks
emulation clock specified following frequencies: 1.7856 MHz, 2.4576 MHz, 3.5712 MHz, 4.9152 MHz, 6.78 MHz, 7.1424 MHz, 9.8304 MHz, target clock. E6000 emulator works within voltage frequency ranges described each hardware manual. 1.3.3 Probes
External probe (EXT1) external probe (EXT2) connected E6000 emulator make signal braking tracing. probe signal used event detection system condition, depending whether level high low. Probe outputs high-level signals triggering oscilloscopes, etc., when condition setting monitor function satisfied.
1.3.4
Environment Conditions
Observe conditions listed table when using HS0AE4EPI61H. Table Environment Conditions
Item Temperature Humidity Ambient gases input voltage User system voltage (UVcc) input power supply Specifications Operating +35°C Storage +50°C Operating condensation Storage condensation corrosive gases Voltage: V±5% Current: Voltage: Follow power specification each within voltage range Voltage: Frequency: 50/60 Power consumption:
1.3.5
Emulator External Dimensions Mass
Dimensions: Mass:
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® refer section 2.2, Setting Interface Board Windows When using Microsoft Windows refer section 2.3, Setting Interface Board Windows 4.0. Note: interface board supported Windows Windows 2000.
Package Contents
E6000 emulator supplied package containing following components. E6000 emulator E6000 emulator power supply adapter) CD-R (HDI, User's Manual) User interface cable External probe External probe Hitachi Debugging Interface E6000 Setup Guide
Before proceeding should check that have items listed above, contact your supplier missing.
2.2.1
Setting Interface Board Windows®
Setting Interface Board
Start 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 Table Address Interface Board Memory 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
Switch Setting
Define memory area that 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. 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 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. Modifying SYSTEM.INI File
2.2.3
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. Shut down Windows
Start
Start
Start
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 Windows 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
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.
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 interface switch setting rear panel interface board. Selected area memory another application.
Section Hardware
This section explains connect E6000 emulator user system.
Connecting User System
This E6000 emulator package includes user system interface cable dedicated with card reader. head user system interface cable same shape card, therefore, E6000 emulator easily connected card reader user system inserting cable head into card reader. connect E6000 emulator user system, proceed follows: After checking that E6000 emulator power off, plug user system interface cable body into E6000 emulator. Insert user system interface cable head into card reader user system. Turn initiate E6000 emulator.
Figure gives details connectors provided E6000 emulator.
Figure E6000 Emulator Connectors
3.1.1
Connecting User System Interface Cable Body E6000 Emulator
Plug user system interface cable body into E6000 emulator, taking care insert straight, push firmly into place.
Figure External View E6000 Emulator
3.1.2
User System Interface Cable Head
following figure shows overview contactless user system interface cable.
Figure External View Contact less User System Interface Cable following explains each section. Through hole CAP1 bypass capacitor between contact
Solder 0.1-uF capacitor prevent overshooting rising edge your contact ICcard reader. Probe measuring contact signals
probe measure Vcc, GND, CLK, RES, I/O-1 signals with oscilloscope contact operation. Through hole CAP2 antenna tuning capacitor
through hole adjustment capacitor used when contactless operation prevents emulator from communicating with contactless IC-card reader.
Antenna pattern SDIP-64 socket
This antenna pattern contact less operation based ISO14443. This socket used check working samples. operation working samples SDIP-64type chips checked. This socket available contact type Dual Way. Contact This contact contact operation based ISO7816. 3.1.3 Connecting System Interface Cable Head
emulator ISO7816 contact operation, plug user system interface cable head into user system after activating emulator. Note following when inserting. Check that cable head facing right towards card reader slot. When card reader automatically pulls pushes card into card slot, check distance which card moves, place E6000 emulator appropriate distance from card reader. Dust particles contact pads surface cable head will degrade electrical connection between cable head card reader, user system interface cable will operate correctly. prevent this, clean contact pads with cloth. emulator ISO14443 contactless operation, hold IC-card-shaped section user system interface cable contactless IC-card reader. distance which communication provided contactless operation between IC-card reader user system interface cable varies depending output power IC-card reader, characteristics antenna, etc. communication with your IC-card reader cannot provided, solder capacitor CAP2 adjustment. Contact Hitachi's sales department types contactless IC-card readers emulator. Note: distance contactless operation between card IC-card reader varies depending characteristics device, card antenna, IC-card reader. shape antenna this user system interface cable example software evaluation. your real card, design optimum antenna your system.
3.1.4
Antenna User System Interface Cable Head
Figures show shape resonance characteristics antenna ISO14443 contact operation user system interface cable head.
Figure External View User System Interface Cable Head
Figure Resonance Characteristics User System Interface Cable Head (Horizontal axis: frequency MHz/Div, Vertical axis: attenuation factor: relative value (log scale) dB/Div)
3.2.1
Power Supply
Adapter
adapter supplied with E6000 emulator must used times. 3.2.2 Polarity Power Supply Plug
Figure shows polarity power-supply plug.
Figure Polarity Power Supply Plug
3.2.3
Power Supply Monitor Circuit
E6000 emulator incorporates power supply monitor circuit From adapter that 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 insufficient current being supplied E6000 emulator. Note: provided adapter E6000 emulator.
Hardware Interface
following user system interface signals, control circuits connected between user system E6000 emulator: RESET I/O-1/IRQ I/O-2/IRQ 3.3.1 Signal Protection E6000 Emulator
user system interface signals over/reverse voltage protected diode arrays have pull-up resistors. monitored E6000 emulator detect powered user system hardware presence. 3.3.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 circuits interface signals: Vcc:
Figure User System Interface Signal Circuit CLK:
Figure User System Interface Circuit RESET:
Figure User System Interface Circuit RESET
I/O-1/IRQ I/O-2/IRQ:
Figure 3.10 User System Interface Circuit I/O-1/IRQ I/O-2/IRQ
Zener diode User system interface cable
Figure 3.11 User System Interface Circuit
3.3.3
External Probes/Trigger Output
8-pin connector, marked EXT1 lower right user system interface cable connector), E6000 emulator case accommodates four external probe inputs trigger outputs. assignment this connector shown figure 3.12.
Figure 3.12 Probe1 Trigger Connector
external probe interface circuit shown figure 3.13.
Figure 3.13 External Probe1 Interface Circuit trigger output low-level signal controlled event channel trigger output available either (within range from does depend user level) TUvcc (the user system supply voltage level).
3.3.4
External Probe (EXT2)/Trigger Output
6-pin connector, marked EXT2 lower right user system interface cable connector), E6000 emulator case accommodates four trigger outputs. assignment this connector shown figure 3.14.
Figure 3.14 Connector External Probe trigger output high-level signal output during read write cycles when trigger which condition monitor function satisfied. trigger output available (user system power voltage level).
3.3.5
Power Supply Circuit
CAUTION
When user system connected E6000 emulator, start E6000 emulator then turn on/off user system. Failure will result FIRE HAZARD will damage emulator product host computer.
E6000 emulator always operates E6000 emulator power supply. This means that power taken from user system. circuit interfacing user system includes voltage level shifter support operation voltage. Therefore, note that even user system operates voltage lower than E6000 emulator operate maximum operating frequency 5MHz (Input frequency 10MHz). user threshold range using E6000 emulator configuration dialog box. user drops below this threshold, User System Voltage System Status window will display Down Reset input, otherwise displayed. When user system interface cable connected, this function does work.
User level
User threshold
User threshold
Down
Figure 3.15 Relationship between User System E6000 Emulator
Jumper Settings
change settings jumper removing cover emulator. Keep pins closed.
3.5.1
Differences between E6000 Emulator
Registers
When E6000 emulator initialized system reset, there some differences initial values some general registers between E6000 emulator shown table 3.1. Table Initial Value Differences between E6000 Emulator
Status Power-on Register (SP) Reset command (SP) Reset vector value Undefined Undefined mask other bits undefined Reset vector value Undefined Undefined mask other bits undefined E6000 Emulator Reset vector value H'00000000 H'00000010 mask other bits undefined Reset vector value Undefined H'00000010 mask other bits undefined
Please refer section 3.3.2, User System Interface Circuits, details protection circuit used ports E6000 emulator. 3.5.2 EEPROM
Table EEPROM Differences between E6000 Emulator
Item Programming time Overwrite time Erase time Setting registers (max) normal mode/2 (max) fast mode (max) normal mode/1 (max) fast mode (max) normal mode/1 (max) fast mode limits setting follows. Source address(ER5):RAM Destination address(ER6):EEPROM Byte count(R4L):up page size setting wrong, result EEPMOV guaranteed. E6000 Emulator Always time. Always time. Always time. setting wrong, result EEPMOV guaranteed result different from MCU.
3.5.3
Table Differences between E6000 Emulator
Item interrupt interrupt processing starts after instruction executed, following example: MOV.B R0L,@ECR EEPMOV.B interrupt interrupt processing performed between instruction interrupt processing instruction following instruction. E6000 Emulator break specified single-step execution performed example instructions left, interrupt timing E6000 emulator differs from that MCU. break specified single-step execution performed instruction described left, interrupt will occur.
3.5.4
SYSCR Register
Table SYSCR Register Differences between E6000 Emulator
Item CRES cold reset. E6000 Emulator CRES always when user system interface cable connected. When user system interface cable connected, high CRES determined User Threshold power supply level user power supply voltage monitoring function emulator.
3.5.5
Security
Table Security Differences between E6000 Emulator
Item reset voltage detected. E6000 Emulator emulator circuit detecting drops Vcc, true supported (the emulator only provides pseudo-LVD) Does support high-voltage detecting function. Supports low-frequency detecting function. Does support high-frequency detecting function.
reset high voltage detected. reset frequency detected. reset high frequency detected.
3.5.6
Contactless Operation
Table Differences Contactless Operation
Item Characteristics antenna input Switching contact/contactless (CCLMD bit) Residual multiplication coprocessor operation register (CPRMD bit) Coprocessor operation contactless mode Refer hardware manual. results selfjudgment reflected. results selfjudgment reflected. E6000 Emulator Different from those with Communication mode item Configuration Properties window. with Active Coprocessor item Configuration Properties window.
Coprocessor operation Coprocessor operation allowed even allowed with CPRMD with CPRMD
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 AE-4 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 Programming Manual target MCU. tutorial program arranges random data ascending/descending order. source program (Sort.c), object file Sysrof format (Tutorial.abs) provided installation disk.
Starting
start HDI: Select E6000 AE-4 from 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 AE-4 Emulator click continue. Note that change target platform time choosing Session. from File menu. When emulator been successfully Hitachi Debugging Interface window will displayed, with message Link status bar.
Menu Tool Help button
Program window
Status
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.
Setting E6000 Emulator
Before downloading program E6000 emulator, first need target conditions. following items need configured: device type device option clock source Communications mode 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
options shown table 4.1. Table Configuration Options
Option Device Clock Timer resolution User system voltage monitoring level (User LowVCC threshold) Driver Watchdog timer user reset other options Communication mode Break count Value (Depending Evaluation Chip) AE460 3.5712 4.00
E6000 Driver Disabled Enabled Contact mode 65535
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 Table lists three memory types available E6000 emulator. Table Memory Types
Memory Type On-chip User Emulator Description Accesses on-chip memory. Accesses memory user system Accesses emulation memory
Note) "User" this emulator. Table lists three access types. Table Access Types
Access Type Read-write Read-only Guarded Description access allowed
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. 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 MCU.
Downloading Tutorial Program
After E6000 emulator download object program want debug. 4.4.1 Loading Object File
First load Sysrof-format object file, follows: Choose Load Program. from File menu, click Load Program button toolbar. Load Program dialog then displayed.
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.
will prompted source file corresponding object file have loaded.
Figure 4.10 Open Dialog (Source File Selection) Select Tutorial.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.
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'1040 follows: Double-click column line containing address H'1040.
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)
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.
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) 2648.500 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.
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'1040. (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 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 pop-up menu.
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 main Byte: 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.
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.
Figure 4.22 Watch Dialog
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 Step Commands
Command Step Step Over Step Step. 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.
4.7.1
Single Stepping
Confirm that break H'1040. Select Reset from menu click Reset button toolbar.
program executed stopped H'107a break. statement sort will highlighted.
Figure 4.24 Program Window after Executing Reset Command Choose Step times from menu, click Step button times 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.
Address H'1044 will highlighted showing that emulator exit from function.
Figure 4.26 Program Window after Executing Step Command
Choose Step four times from menu, click Step button four times call change function.
Figure 4.27 Program Window after Executing Step Command
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 three times from menu, click Step Over button three times toolbar.
program executes change function stops beginning address, H'10ac.
Figure 4.28 Program Window after Executing Step Over Command
4.7.3
Displaying Local Variables
example, will examine local variables function sort. 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.
Figure 4.30 Locals Window (After Contents Variable Changed) Double click symbol front array Locals window display separate elements array Refer elements array before executing sort function, confirm that random data sorted descending order.
Figure 4.31 Locals Window (Elements Array Variable after Function sort been Executed)
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 timing when program accesses address H'10ca. 4.8.1 Defining Event Using Complex Event System
define event, using complex event system, monitor part program follows: 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.
Figure 4.32 Breakpoint/Event Properties Dialog Type Event enter address H'11e8 into Address condition. Click define breakpoint. This will cause break whenever address H'10ca accessed, either read write.
Breakpoints window shows event have defined.
Figure 4.33 Breakpoints Window Choose Reset from menu, click Reset button toolbar.
Execution will stop breakpoint address H'1040. program from current position, choosing from menu, click button toolbar.
Execution will stop address H'10ca.
Figure 4.34 Stopping Program Event Breakpoint status will display Break Complex Event System indicate that break caused satisfaction event condition.
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.35.
Figure 4.35 Trace Window
necessary, adjust width each column dragging column dividers either side labels just below title bar. cycle -00003, that address H'011ca been accessed. 4.9.2 Setting Trace Filter
Currently Trace window shows cycles. First click Trace window with right mouse button choose Clear from popup menu clear existing trace buffer. Then choose Filter display Trace Filter dialog box.
Figure 4.36 General Panel Trace Filter Dialog 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'10ca Address field. Click Area display Area panel. State Prefetch.
Figure 4.37 Area Panel Trace Filter Dialog Click save trace filter. Choose Breakpoints from View menu open Breakpoints window breakpoints. Then choose Reset from menu execute program. Then choose Halt from menu halt execution trace buffer. Trace window, only cycles which accessed address H'10ca displayed.
Figure 4.38 Trace Window (When Trace Filter Specified)
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.39 Selecting Conditions Measurement Select Time Specified Range Measurement from Measurement Method measure performance over specified range. Input Range1 Range Name. Input address H'10c8 Start Address address H'120c Address. Click select conditions. This completes setting No.1.
Performance Analysis Conditions window, conditions selected Performance Analysis Properties dialog displayed.
Figure 4.40 Displaying Measurement Conditions Click measurement conditions. Now, performance execution address range H'10c8 H'120c measured. Click Close close Performance Analysis dialog box. Select Reset from menu click Reset button toolbar, execute program from beginning.
program will stop address H'104e.
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.41 Displaying Analysis Results performance analysis results displayed histogram percentages. Click Value.
Figure 4.42 Displaying Analysis Results analysis results displayed percentages actual time measured.
4.11
Monitor
will able refer contents memory realtime (minimum time update window shown example window below when execute user program. Choose Monitor Window. from View menu.
Figure 4.43 Open Monitor Menu Dialog Choose Address Monitor from Select Monitor Function, click
Select check left Monitor input H'00ffcf00, choose Access, then click button.
Figure 4.44 Address Monitor Dialog Choose Reset from menu click Reset button tool bar. watch memory contents being updated realtime (minimum time updating window shown example window below. this tutorial, since user program stops breaks, only accessed addresses confirmed.
Figure 4.45 Monitor Display
4.12
Stack Trace Function
using stack trace function, check history functions called when user programs stopped results having allocated automatic variables. Double click column, including address H'1090, Program window Break. Select Reset from menu click Reset button toolbar execute program from initial position. program execution stops address H'1090 Break that been set. Select Stack Trace from View menu open Stack Trace window. Click Stack Trace window with right mouse button, select View Setting from pop-up menu, open Stack Trace Setting window. Check Parameter, Local Variable, Hexadecimal Stack Trace Setting window click
Figure 4.46 Stack Trace Window that currently sort function called from main function. Note: This function used only when load module with debugging information Dwarf2 format been loaded.
4.13
Coverage Function
When coverage function used, check what instruction been executed what memory been accessed when user program stopped. Remove break points selecting Delete from menu appeared clicking right button mouse Breakpoints window. Select Reset from menu click Reset button toolbar execute program from initial position. When state status becomes Status SLEEP1, click Stop button toolbar stop program execution. Select Coverage from View menu open Coverage Main window. Click Display Coverage Update button Coverage Main window, reflect results execution, select bytes from Display Scale drop down list box. Input address H'1000 display start address Jump address dialog appeared double-clicking graph area. program execution history displayed with Display colors graph area.
Figure 4.47 Coverage Main Window Clicking Save button Coverage Main window saves this coverage result with CSV-file format. details above functions, refer online help. Online help displayed clicking Help button window pressing key.
4.14
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.15
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.
Section Diagnostic Test Procedure
This section describes diagnostic test procedure using E6000 emulator test program.
System Set-Up Test Program Execution
execute test program, following hardware; connect user system interface cable user system. AE-4 E6000 emulator (HS0AE4XEPI61H) Host computer (MS-DOS) E6000 interface board (One following interface boards shown this manual. Prepare suitable according your interface specifications.) interface board (HS6000EII01H) interface board (HS6000EIC01H, HS6000EIC02H) PCMCIA interface card (HS6000EIP01H) interface adapter (HS6000ELN01H) Install E6000 interface board host computer connect supplied interface cable board. Connect interface cable AE-4X E6000. Connect supplied adapter AE-4X E6000. Initiate host computer make enter prompt command input wait state. Turn E6000 switch.
Diagnostic Test Procedure Using Test Program
Insert CD-R (HS0AE4EPI61SR supplied with E6000) into CD-ROM drive host computer pressing Shift key, move current directory <Drive>:\Diag with command prompt, enter following commands according interface board used initiate test program: interface board (HS6000EII01H) >TM0AE4X -ISA (RET) interface board (HS6000EIC01H, HS6000EIC02H) >TM0AE4X -PCI (RET) PCMCIA interface card (HS6000EIP01H) >TM0AE4X -PCCD (RET) interface adapter (HS6000ELN01H) >TM0AE4X -ELN (RET) must installed before test program executed. sure initiate test program from <Drive>:\Diag. initiate from directory other than <Drive>:\Diag, such <Drive>:\Diag\TM0AE4X (RET). test program initiated when current directory <Drive>:\Diag, test program will operate correctly. When added command line such >TM0AE4X -ISA (RET), steps will repeatedly executed. stop execution, enter Notes: When CD-R inserted into CD-ROM drive without pressing Shift key, installation wizard automatically started. such case, exit installation wizard. <Drive> drive name CD-ROM drive. remove CD-R from CD-ROM drive during test program execution.
Messages test contents displayed during tests follows. perform tests through (The testing time about minutes when interface card Windows with main memory.)
Message E6000 AE-4X Emulator Tests Vn.m Copyright 2001 Hitachi Ltd. Loading driver.OK (Use PCI)
Description
Test program start message. Vn.m shows version number. Shows that driver software interface board been normally loaded. Shows that driver software interface board been normally initialized. Shows that interface board correctly installed host computer. Shows that E6000 emulator correctly connected host computer. Shows number lower board E6000 emulator (always Shows number upper board E6000 emulator (always 1c).
Initializing driver.OK
Searching interface card
Checking emulator connected
Emulator board information: Main board
Emulation board
Test Register IDR0 Register PAGE Register TRACE Register PERFM Register Register IDR1 Register IDR2 Register EEMAX Register CHIPTYPE Register Test DPRAM Decode Test Marching Test Test Firmware Decode Test page [H'700 H'71f] Marching test page [H'700 H'71f] Test Trace memory Decode Test page [H'000 H'04f] (Lower 32K) Marching test page [H'000 H'04f] (Lower 32K) Decode Test page [H'000 H'04f] (Upper 32K).OK Marching test page [H'000 H'04f] (Upper 32K).OK Test control memory Decode Test page [H'200 H'27f] Marching test page [H'200 H'27f] Coverage Test Coverage Test2 page [H'900 H'9ff] H'a00
Shows check results registers E6000 emulator.
Shows results decoding test marching test dual-port E6000 emulator (normal completion). Shows results decoding test firmware E6000 emulator (normal completion). Shows results marching test E6000 emulator (normal completion). Shows results decoding test trace E6000 emulator (normal completion). Shows results marching test E6000 emulator (normal completion).
Shows results decoding test mapping E6000 emulator (normal completion). Shows results marching test E6000 emulator (normal completion). Shows results decoding test Coverage E6000
Test Internal Decode Test (Internal ROM) Marching test (Internal ROM) Decode Test (Internal RAM) Marching Test (Internal RAM) RESERVED Test Emulation STEP Operation Step Operation
emulator (normal completion). Shows results decoding marching test emulation E6000 emulator (normal completion).
Shows check results step execution controlling circuits E6000 emulator (normal completion). Shows check results forced break controlling circuits E6000 emulator (normal completion). Shows check results illegal access break controlling circuits E6000 emulator (normal completion). Shows check results internal controlling circuits E6000 emulator (normal completion). Shows check results hardware break controlling circuits E6000 emulator (normal completion).
Test Keybreak Break
Test Emulation Hardware Break Break Break Test Internal Write-Protect ROMWR Test
Test Hardware Break Break Point Initialized.OK Event Detectors channel 1-12 Test Sequencing Check Range Break Range Break Test Data Check Compare Either
Test Emulation Trace Free Trace.OK Range Trace.OK Point Point Trace Start Stop Event Trace Trace memory Overflow.OK Time STAMP Trace.OK Start Stop Event Trace Test2 ASEJTC Trace Test.OK Test Runtime Counter Runtime Counter (9.8304MHz) Runtime Counter (7.1424 MHz) Runtime Counter (4.9152 MHz) Runtime Counter (3.5712 MHz) Runtime Counter (2.4576 MHz) Runtime Counter (1.7856 MHz) Test Emulation Monitor EMA23 EMA0 ACST2 ACST0 D)ASE BRKACK RESERVED INST (MONIT2O: EVAGDD (MONIT2O: RF_VCC (MONIT2E: Testing PERFM Time Measurement.OK RESERVED Subroutine Count Measurement Timeout Function (TIMOT Bit.OK Timeout Function (TIMOP Test Monitor Register test Parallel test SPRSEL2 test monitor test RESERVED Test Reset GoReset 00>FF Test.OK
Shows check results trace controlling circuits E6000 emulator (normal completion).
Shows check results execution time measurement circuits E6000 emulator (normal completion).
Shows check results monitor controlling circuits E6000 emulator (normal completion).
Shows check results execution time measurement controlling circuits E6000 emulator (normal completion).
Shows check results monitor circuits E6000 emulator (normal termination).
Shows check results GoReset controlling circuits E6000 emulator (normal termination).
Test PC_CVR RESERVED Coverage Test Area Coverage Test Area Coverage Test Area Coverage Test Coverage Test. Coverage Test LID2BCC Coverage. Test EEPROM EEPROM TEST (ECR OC1, 0=0, No.1 A-1) Decode Test (PBMSEL A-2) Decode Test (PBMSEL A-3) EEPMOV UserRun A-4) Shift Address Test. EEPROM TEST (ECR OC1, 0=0, No.2 EEPROM TEST (ECR OC1, 0=0, EEPROM DELETE TEST (ECR OC1, 0=1, EEPROM PROTECT TEST EEMAX TEST EEMAX TEST EEMOV EEPROM TEST EEPMOV TIME MEASUREMENT TEST. EEPROM TEST TEST Test Double Stack, Stack Double Stack Test Stack Test Stack Test Stack Test Test SUB_CHIP Test MLTIRQ Line Test MLTMON Line Test MLTCONT Line Test. MLTRES Line Test. MLTSLEEP Line Test. MLTIO Line Test UART,TIMER Register Test Register Test.
Shows check results coverage controlling circuits E6000 emulator (normal completion).
Shows check results writing EEPROM/rewriting EEPROM/erasing erasing time, EEMAX Break write-protect controlling circuits E6000 emulator (normal completion).
Shows check results Double Stack, Stacks Stack controlling circuits E6000 emulator (normal completion). Shows check results sub-chip circuit E6000 emulator (normal termination).
Test DATA_CVR Coverage Test Area Coverage Test Area Coverage Test RDWR Coverage Test.OK EEPWR Coverage Test Coverage Test.OK Tests 20M: Tests passed, emulator functioning correctly
Shows check results coverage controlling circuits E6000 emulator (normal completion).
When added command line, steps will repeatedly executed.
When detecting error, test program displays ERROR stops execution. this case, emulator hardware malfunctioning. Inform Hitachi sales agency test results detail.
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
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 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
Table Command List (cont)
Command Name CLOCK COVERAGE COVERAGE_CLEAR DEVICE_TYPE DISASSEMBLE EEPROM_DISPLAY EEPROM_MAP ERASE EVALUATE FILE_LOAD FILE_SAVE FILE_VERIFY GO_RESET GO_TILL HALT HELP Abbreviation Command Type Specific Specific Specific Specific General Specific Specific General General General General General General General General General General Description Sets clock rate E6000 emulator Displays coverage information Clears coverage information Selects target device E6000 emulator Disassembles displays program Displays protected areas EEPROM Sets cancels protected areas EEPROM 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 platforms Operation logging files
INITIALISE
General General
Table Command List (cont)
Command Name MAP_DISPLAY MAP_SET MEMORY_DISPLAY MEMORY_EDIT MEMORY_FILL MEMORY_MOVE MEMORY_TEST QUIT RADIX REFRESH REGISTER_DISPLAY REGISTER_SET RESET SLEEP STEP Abbreviation Command Type General Specific General General General General General General General Specific General General General General General Description Displays memory information Sets memory mapping Displays memory contents Modifies memory contents Fills memory with specified data Moves memory block Tests memory block 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
STEP_OUT STEP_OVER STEP_RATE
General General General
Table Command List (cont)
Command Name SUBMIT SYMBOL_ADD SYMBOL_CLEAR SYMBOL_LOAD SYMBOL_SAVE SYMBOL_VIEW TEST_EMULATOR TIMER 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
TRACE_ALL TRACE_ACQUISITION TRACE_COMPARE TRACE_SAVE TRACE_SEARCH USER_SIGNALS
General Specific Specific Specific Specific Specific
Note: commands available monitor functions.

Other recent searches


TMS320DM6467 - TMS320DM6467   TMS320DM6467 Datasheet
STM-16 - STM-16   STM-16 Datasheet
SLD-K2 - SLD-K2   SLD-K2 Datasheet
ORT8850 - ORT8850   ORT8850 Datasheet
IDT74FST163232 - IDT74FST163232   IDT74FST163232 Datasheet
DM644x - DM644x   DM644x Datasheet
CL-654-HC1L - CL-654-HC1L   CL-654-HC1L Datasheet
ADC12DS105 - ADC12DS105   ADC12DS105 Datasheet
2SK2884 - 2SK2884   2SK2884 Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive