| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
HS7709ASTC01H SH7729 Board HS7729STC01H User's Manual
Top Searches for this datasheetSH7709A Board HS7709ASTC01H SH7729 Board HS7729STC01H User's Manual ADE-702-215 Rev. 07/27/00 Hitachi, Ltd. HS7709ASTC01HE(B) 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 board. KEEP user's manual handy future reference. attempt board until fully understand mechanism. Board: Throughout this document, term "CPU board" shall defined following products produced only Hitachi, Ltd. excluding subsidiary products. board power adapter power cable user system host computer included this definition. Purpose Board: This board software hardware development tool systems employing Hitachi microcomputer SH7709A SH7729. Simple debugging functions such debugging, performance evaluation, development user system including SH7709A SH7729 enabled connecting board host computer. addition, expansion boards installed slots; therefore, memory expanded. However, this board must installed user products used part user products; limited debugging evaluation user systems. This board must only used above purpose. Limited Applications: This board authorized MEDICAL, atomic energy, aeronautical space technology applications without consent appropriate officer Hitachi sales company. Such includes, limited life support systems. Buyers this board must notify relevant Hitachi sales offices before planning product such applications. Improvement Policy: Hitachi, Ltd. (including subsidiaries, hereafter collectively referred Hitachi) pursues policy continuing improvement design, performance, safety board. Hitachi reserves right change, wholly partially, specifications, design, user's manual, other documentation time without notice. Target User Board: This board should only used those have carefully read thoroughly understood information restrictions contained user's manual. attempt board until fully understand mechanism. highly recommended that first-time users instructed users that well versed operation board. Rev. 1.0, 07/00, page LIMITED WARRANTY Hitachi warrants boards manufactured accordance with published specifications free from defects material and/or workmanship. Hitachi, option, will repair replace boards 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 board 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 BOARD, BOARD, DOCUMENTATION, EVEN ADVISED POSSIBILITY SUCH DAMAGES. EXCEPT EXPRESSLY STATED OTHERWISE THIS WARRANTY, THIS BOARD SOLD MUST ASSUME RISK RESULTS OBTAINED FROM BOARD. Rev. 1.0, 07/00, 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 board without Hitachi's prior written consent problems caused user system. Rights Reserved: This user's manual board copyrighted rights reserved Hitachi. part this user's manual, part, reproduced duplicated form, hard-copy machinereadable 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 board therefore inclusive. Therefore, must board safely your risk. Rev. 1.0, 07/00, page SAFETY PAGE READ FIRST READ this user's manual before using this board. KEEP user's manual handy future reference. attempt board 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. 1.0, 07/00, page WARNING Observe precautions listed below. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Always satisfy power supply conditions which described manual. Ensure that there short circuits between GND. apply voltage that outside guaranteed range. Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. When turning board user system, take care that conductive material does touch board user system. Check that numbers connectors board those user system correctly aligned before connecting board user system. Rev. 1.0, 07/00, page Rev. 1.0, 07/00, page Preface Thank purchasing board Hitachi's SH7709A/SH7729 microcomputer. board efficient development tool software hardware systems based Hitachi's SH7709A/SH7729 microcomputer. This manual describes products, SH7709A board (model number HS7709ASTC01H), SH7729 board (model number HS7729STC01H). differences between appear table below. Table Differences between HS7709ASTC01H HS7729STC01H Model Number Installed (part functions HS7709ASTC01H HD6417709AF133 HS7729STC01H HD6417729F133 Hereafter, there need distinguish between them, both products will referred "CPU boards." This manual explains functions method operation these boards. Section Overview, describes hardware system configuration explains environment settings enable board use. Section Preparation before Use, explains procedures using boards, installation, various connections, power supply specifications. Section Tutorial, introduces major features while demonstrating methods loading debugging language program. Section Descriptions Windows, describes each windows used HDI. Section Command-Line Functions, explains various commands issued from command line. Section Board Specifications, explains specifications boards, memory map, interfaces with external equipment, board initialization. Section Notes Troubleshooting, explains important information regarding gives suggestions troubleshooting. Section Creation User Interrupt Handlers, explains create original interrupt handler routine. Please read this manual completely order gain thorough understanding this product's functions performance. Rev. 1.0, 07/00, page text appearing various windows differ from those appearing this manual depending language being used. figures appearing this manual Microsoft Windows Related Manuals SH7709A Hardware Manual SH7729 Hardware Manual SH3, SH3E, SH3-DSP Programming Manual SuperH RISC engine Assembler User's Manual Series Linkage Editor, Librarian, Object Converter User's Manual SuperH RISC engine C/C++ Compiler User's Manual Series Simulator/Debugger User's Manual Hitachi Debugging Interface User's Manual When connecting E10A emulator board, following manual should also read. SH7729 E10A Emulator User's Manual Note: Microsoft Windows registered trademarks Microsoft Corporation United States and/or other countries. Rev. 1.0, 07/00, page Contents Section Overview. Features System Configuration Warnings Components Environmental Conditions Section Preparation before Use. Board Preparation.7 Installation.8 2.2.1 Installation Disks Board.8 2.2.2 Installing Connecting Cables Connecting User Expansion Board Connecting PCMCIA Card Switches Jumpers Power Supply 2.8.1 Power-Supply Specifications 2.8.2 Connecting Power Cable.28 Section Tutorial. 3.10 3.11 3.12 3.13 Introduction.31 Running HDI.32 [HDI] Window Setting Board Setting [Monitor Setup] Dialog Downloading Tutorial Program 3.6.1 Downloading Tutorial Program 3.6.2 Displaying Source Program Setting Software Breakpoint Setting Registers Executing Program.44 Reviewing Breakpoints Viewing Memory Watching Variables.50 Stepping Through Program 3.13.1 Executing [Step Command.56 3.13.2 Executing [Step Out] Command Rev. 1.0, 07/00, page 3.14 3.15 3.16 3.17 3.13.3 Executing [Step Over] Command. Displaying Local Variables. Software Break Function Saving Session What Next? Section Descriptions Windows Windows Descriptions Each Window 4.2.1 [Monitor Setup] Dialog 4.2.3 [Add/Edit Breakpoint] Dialog 4.2.4 [System Status] Window. 4.2.5 [Simulated Window] Window. Section Command-Line Functions Command-Line Functions Notation Used Command Descriptions. 5.2.1 Format. 5.2.2 Parameter Input. 5.2.3 Examples. 5.2.4 Related Items Command Descriptions. 5.3.1 BREAKPOINT: 5.3.2 BREAKPOINT_CLEAR: 5.3.3 BREAKPOINT_DISPLAY: 5.3.4 BREAKPOINT_ENABLE: Section Board Specifications Block Diagram Specifications. Memory Interface 6.4.1 Serial Interface. 6.4.2 User Expansion Board Interface 6.4.3 PCMCIA Interface 6.4.4 E10A Emulator Interface Parts Layout Initialization 6.6.1 Initializing Resources. 6.6.2 Procedure Making Initial Settings State Controller (BSC) 6.6.3 Initial Settings State Controller (BSC). Section Notes Troubleshooting.139 Notes Rev. 1.0, 07/00, page Troubleshooting .148 Section Creation User Interrupt Handlers. Creation User Interrupt Handlers.149 Rev. 1.0, 07/00, page Figures Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure 2.10 Figure 2.11 Figure 2.12 Figure 2.13 Figure 2.14 Figure 2.15 Figure 2.16 Figure 2.17 Figure 2.18 Figure 2.19 Figure 2.20 Figure 2.21 Figure 2.22 Figure 2.23 Figure 2.24 Figure 2.25 Figure 2.26 Figure 2.27 Figure 2.28 Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure 3.10 Figure 3.11 Figure 3.12 Board, External View Board System Configuration Board Preparation Flow Chart Installation Disks Board. [setup.EXE] Icon. [Welcome!] Dialog [Read Dialog [Select Destination Directory] Dialog [Install] Dialog Box. [Make Backups?] Dialog [Select Backup Directory] Dialog [Install] Dialog Box. [Previous Install Detected] Dialog Box. [Installing] Dialog Box. [Insert Disk] Dialog Box. [Installing] Dialog Box. [Select Program Manager Group] Dialog Box. [HDI] Program Group E10A Emulator Interface Cable Connection. Serial Interface Cable Connection. Expansion Interface Cable Connection. Expansion Interface Cable Connection. Power Supply Cable Connection User Expansion Board Connection PCMCIA Card Connection Switch Location Jumper Insertion. Power-Supply Specifications Front View Power Supply Connector Power Supply Cable Connection [Start] Menu [Select Platform] Window. Startup Completed. [HDI] Window [Monitor Setup] Dialog [Load Object File] Dialog Box. [HDI] Dialog [Open Program Window] Dialog Box. [Program] Window (Displaying Source Program). [Program] Window (Setting Software Breakpoint) [Registers] Window. [Register] Dialog (PC). Rev. 1.0, 07/00, page Figure 3.13 Figure 3.14 Figure 3.15 Figure 3.16 Figure 3.17 Figure 3.18 Figure 3.19 Figure 3.20 Figure 3.21 Figure 3.22 Figure 3.23 Figure 3.24 Figure 3.25 Figure 3.26 Figure 3.27 Figure 3.28 Figure 3.29 Figure 3.30 Figure 3.31 Figure 3.32 Figure 3.33 Figure 3.34 Figure 3.35 Figure 3.36 Figure 3.37 Figure 3.38 Figure 3.39 Figure 3.40 Figure 3.41 Figure 3.42 Figure 3.43 Figure 3.44 Figure 3.45 Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure [Register] Dialog (SP) [Go] Button [Program] Window (Break Status).44 [System Status] Window [Breakpoints] Window [Open Memory Window] Dialog Box.48 [Word Memory] Window.49 [Instant Watch] Dialog [Watch] Window (Displaying Array).51 [Add Watch] Dialog [Watch] Window (Displaying Variable) [Watch] Window (Displaying Array Elements) [Program] Window (Step Execution).54 [Watch Window] Window (Step Execution).55 [Step Button.56 [Program] Window (Step In).56 [Step Out] Button [Program] Window (Step Out) [Watch Window] Window (Step Out).58 [Program] Window (Step Step In).59 [Watch Window] Window (Step Step In).59 [Step Over] Button [Program] Window (Before Step Over Execution) [Watch Window] Window (Before Step Over Execution).61 [Program] Window (Step Over) [Watch Window] Window (Step Over).62 [Locals] Window.63 [Breakpoints] Window (Before [Del All] execution).64 [Add/Edit Breakpoint] Dialog [Breakpoints] Window (Software Breakpoint Setting) [Program] Window Execution Stop (Software Break) Displayed Contents [System Status] Window (Software Break) Session Name Display.68 [Monitor Setup] Dialog Box.74 [Breakpoints] Window [Add/Edit Breakpoint] Dialog [System Status] Window [Simulated I/O] Window Block Diagram board Board Memory Connection Host Computer Serial Interface Connector Arrangement Expansion Arrangement Expansion Arrangement Expansion Arrangement Rev. 1.0, 07/00, page Figure Figure Figure 6.10 Figure 6.11 Figure 6.12 Figure 6.13 Figure 6.14 Figure 6.15 Figure 6.16 Figure 6.17 Figure 6.18 Figure Figure Figure Release Timing (1). Release Timing (2). Example CKIO Terminal Resistor Connection. Configuration User Expansion Board Interface Circuit (CN3). Configuration User Expansion Board Interface Circuits (CN6, CN7). Connection-Dimension Specifications User Expansion Board (CN3). PCMCIA Slot Slot Arrangements Area Allocation Hitachi-UDI Port Connector (CN8) Arrangement Parts Layout (Mounting Side) Procedure Setting Settings Dialog Indicating Breakpoint Cannot Power-on Reset Input Dialog Box. Manual Reset Input Dialog Box. Rev. 1.0, 07/00, page viii Tables Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table 6.10 Table 6.11 Table 6.12 Table 6.13 Table Table Table Table Differences between HS7709ASTC01H HS7729STC01H Board Component List.4 Environmental Conditions.5 Operating Environments Switch Specifications Jumper Settings Tutorial Program Configuration.31 Setting [Configuration] Dialog Contents [System Status] Window.46 Step Option.54 Window Menus Related Manual Entries Meanings DSR.CS[2:0] bits.73 [Monitor Setup] Dialog Page.75 [Breakpoints] Window Display Items [Breakpoints] Window Button Operation [Add/Edit Breakpoint] Dialog Pages [System Status] Window Display Items.80 Correspondence between Board Debugger Command-Line Functions User's Manual.83 Board Debugger Commands.87 BREAKPOINT Command Parameter BREAKPOINT_CLEAR Command Parameters.88 BREAKPOINT_ENABLE Command Parameters.90 Specifications Assignment Serial Interface Connector Serial Interface Specifications.97 Assignment Expansion Connector .100 Assignment Expansion Connector .103 Assignment Expansion Connector .105 Specifications.107 PCMCIA Card Slot (CN9) Assignments.112 PCMCIA Card Slot (CN9) Assignments.113 PCMCIA Registers Addresses.115 Hitachi-UDI Port Connector (CN8) Assignment .127 List Uninstalled Parts .128 Resource Initialization.130 Operations that Generate Errors .144 Watchdog Timer Register .146 Register Initial Value Settings.148 Interrupt causes branch addresses user interrupt handlers .149 Rev. 1.0, 07/00, page Rev. 1.0, 07/00, page Section Overview Features SH7709A/SH7729 board (hereafter, referred board) supports evaluation functions performance Hitachi SH7709A/SH7729 microcomputer, development evaluation systems that incorporate SH7709A/SH7729. features this board follows: Supports user expansion boards expansion connector signals conforming SH7709A/SH7729 external specifications, which expansion boards developed user increase memory connected evaluated. Supports maximum operating frequency Allows evaluation (internal operating frequency) (external frequency) which maximum frequencies SH7709A/SH7729. Interface interfacing with compatible host computer, serial interface (that conforms RS-232C) (one channel) provided. Hitachi Debugging Interface (HDI) also provided host interface software. Enables user-program evaluation 15.5 Mbytes user program loaded serial interface into user memory evaluated. Support PCMCIA PCMCIA interface hardware provided standard equipment, that user programs employed PCMCIA evaluations. Figure Board, External View Note: registered trademark International Business Machines Corporation United States. Rev. 1.0, 07/00, page System Configuration system configuration board shown figure 1.2. following items required board. compatible machine: monitor command input serial cable: power adapter: power cable: provided cable. provided adapter. provided power cable. power cable Serial cable power adapter board compatible User expansion board User expansion cable Figure Board System Configuration Rev. 1.0, 07/00, page Warnings CAUTION READ following warnings before using board. Incorrect operation will damage user system board. USER PROGRAM will LOST. Check components against component list after unpacking board. Never place heavy objects board. Protect board from excessive impacts stresses. details, refer section 1.5, Environmental Conditions. connect cable connector other than specified ones board. When moving host computer user expansion board, take care vibrate damage board. After connecting cable, check that connected correctly. details, refer section Preparation before Use. Supply power connected equipment after connecting cables. Cables must connected removed while power Rev. 1.0, 07/00, page Components Table lists components board. Check components after unpacking. Rev. 1.0, 07/00, page Table Item board Board Component List View Quantity Remarks printed circuit board power supply adapter power supply cable Serial communication cable Jumper Hitachi Debugging Interface (HDI) installation disks Board User's Manual floppy disks, model number HS7709ASTC01SF User's Manual Japanese, English version; Japanese: HS7709ASTC01HJ, English: HS7709ASTC01HE Japanese, English version; Japanese:HS6400DII W3SJ English:HS6400DIIW Manual User's Manual Board User's Manual Errata Errata Japanese Manual; HS7709ASTC01HJ English Errata needed because already been reflected English Manual. Rev. 1.0, 07/00, page Environmental Conditions CAUTION Observe conditions listed tables when using board. Failure will damage user system board. USER PROGRAM will LOST. Table Environmental Conditions Item Temperature Humidity Vibration Specifications Operating: +10°C +35°C Storage: -10°C +50°C Operating: condensation Storage: condensation Operating: 2.45 max. Storage: max. Transportation: 14.7 max. There must corrosive gases present Ambient gases Table Operating Environments Item Host computer Minimum memory capacity Hard-disk capacity Description Built-in Pentium higher-performance (133 higher recommended); compatible machine. Windows Windows Windows Mbytes more (double load module size recommended) Installation disk capacity: Mbytes more. (Prepare area least double memory capacity (four-times more recommended) swap area.) Required install HDI. Connectable host computer; compatible with Windows Windows Windows Input: VAC, 50/60 max. Output: +5.0VDC, 5.0A max. Floppy disk drive Pointing device such mouse Power supply (for power supply adapter) Rev. 1.0, 07/00, page Section Preparation before Board Preparation WARNING READ reference sections shaded figure before using board product. Incorrect operation will damage user system board. USER PROGRAM will LOST. Unpack board prepare follows: Reference Unpack board. Check components against component list. Component list Turn host computer. Section Procedure when board used first. Install HDI. Turn host computer. Connect board host computer power supply adapter, where necessary PCMCIA card user expansion board. Also sure jumper board. Section Turn host computer. Chapter Turn board. Start HDI. Procedure when board used second time later. Figure Board Preparation Flow Chart Rev. 1.0, 07/00, page 2.2.1 Installation Installation Disks Board board packaged together with floppy disks (Fig. 2.2). SH7709A/SH7729 Board Vx.xx (HS7709ASTC01SF) Hitachi Debugging Interface SH7709A/SH7729 Board Vx.xx (HS7709ASTC01SF) Hitachi Debugging Interface Serial nnnn 'yy.mm.dd disk #2/E disk #1/2 Figure Installation Disks Board Rev. 1.0, 07/00, page 2.2.2 Installing This section describes example installing compatible machine. Please perform installation using backup floppy disks, rather than original copies. Insert installation disk into floppy disk drive host computer. (The following explanation assumes that this drive.) setup.exe program floppy disk. Figure [setup.EXE] Icon This runs installer, following [Welcome!] dialog will displayed. Figure [Welcome!] Dialog Click [OK] button proceed with installation. Rev. 1.0, 07/00, page [Read dialog then displayed. Click [OK] button proceed. Figure [Read Dialog Rev. 1.0, 07/00, page Then [Select Destination Directory] dialog displayed. Select directory installing HDI, click [OK] button. When installing into default directory (C:\HDI_EVB), just click [OK] button. Figure [Select Destination Directory] Dialog Rev. 1.0, 07/00, page When specified directory name already exists, [Install] dialog displayed. When installing into existing directory, click [Yes] button. user wants change directory, click [No] button. [Select Destination Directory] dialog then allows user select another directory. Figure [Install] Dialog Clicking [Yes] button [Install] dialog displays [Make Backups?] dialog user whether backups should made files replaced installation. Click [Yes] button save files [No] button user does want make backup. Figure [Make Backups?] Dialog Rev. 1.0, 07/00, page When user selects [Yes] button [Make Backups?] dialog box, [Select Backup Directory] dialog displayed. Specify backup file name then click [OK] button proceed. save into default directory (C:\HDI_EVB\BACKUP), just click [OK] button. Figure [Select Backup Directory] Dialog When specified directory name already exists, [Install] dialog displayed. When installing into existing directory, click [Yes] button. user wants change directory, click [No] button. [Select Backup Directory] dialog then allows user select another directory. Figure 2.10 [Install] Dialog Rev. 1.0, 07/00, page version different tool installed previously, [Previous Install Detected] dialog shown below displayed. HDI.INI file must overwritten order board; click [Yes] button. Figure 2.11 [Previous Install Detected] Dialog Note file C:\WINDOWS\HDI.INI board overwritten, previously installed other purposes (E10A emulator, simulator etc.) longer usable. Should this occur, please reinstall previous program. Similarly, order board after installing other tools, boards must again reinstalled. order multiple tools parallel, copies HDI.INI file must maintained separately each tool, copying appropriate file C:\WINDOWS directory necessary. installer then installs files into specified directory. Figure 2.12 [Installing] Dialog Rev. 1.0, 07/00, page During installation, message will appear prompting user insert installation disk Remove disk insert installation disk click [OK] button. Figure 2.13 [Insert Disk] Dialog installer then installs files into specified directory. Figure 2.14 [Installing] Dialog Rev. 1.0, 07/00, page [Select Program Manager Group] dialog allows user specify program group name icons. specify default group name (HDI SH7709A board) program group name, just click [OK] button. Figure 2.15 [Select Program Manager Group] Dialog Rev. 1.0, 07/00, page Specifying program group name enables installer create following icons program group user specified. Figure 2.16 [HDI] Program Group These icons represent following functions: [HDI SH7709A 7729 board] executes program. [Uninstall SH7709A 7729 board] deletes software associated files when uninstalled. Rev. 1.0, 07/00, page Connecting Cables Figures 2.17 2.20 show connect interface cables board. WARNING Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. board E10A emulator interface cable Connected Figure 2.17 E10A Emulator Interface Cable Connection Rev. 1.0, 07/00, page board Connected Serial interface cable Figure 2.18 Serial Interface Cable Connection expansion interface cable Connected board Figure 2.19 Expansion Interface Cable Connection Rev. 1.0, 07/00, page expansion interface cable board expansion connector Connected board expansion interface cable Figure 2.20 Expansion Interface Cable Connection Always switch board user system before connecting disconnecting CABLES. Failure will result FIRE HAZARD will damage expansion board board will result PERSONAL INJURY. USER PROGRAM will LOST. WARNING Connected Figure 2.21 Power Supply Cable Connection Rev. 1.0, 07/00, page Align connectors power cable Connecting User Expansion Board Figure 2.22 shows connect user expansion board. WARNING Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Connected User expansion board board Figure 2.22 User Expansion Board Connection Rev. 1.0, 07/00, page Connecting PCMCIA Card Figure 2.23 shows connect PCMCIA card. Press Release button Slot Slot PCMCIA card (Memory card, card) Insert into PCMCIA slot board Figure 2.23 PCMCIA Card Connection PCMCIA card (memory card, card), insert PCMCIA card into slot slot remove PCMCIA card, press release button direction arrow. Rev. 1.0, 07/00, page Switches Table lists switches used board figure 2.24 shows where three switches located board). Table Switch Manual reset switch Abort switch Switch Specifications Symbol Type Push button Function Forcibly initializes system. this switch when system does operate correctly, example, when user program goes control. Forcibly terminates command execution. Aborts user program execution returns system firmware command input wait state. Push button Power supply switch Note Rocker switch Turns power supplied board. power supply turned while pressing manual reset switch, board will started. Please operate manual reset switch while turning power. board Power switch Abort switch Manual reset switch Figure 2.24 Switch Location Rev. 1.0, 07/00, page Jumpers WARNING Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Table lists jumpers board figure 2.25 shows insert jumper pin. Rev. 1.0, 07/00, page Table Symbol Jumper Settings Function Selects endian Setting Closed Open Description endian Little endian sure open this jumper.* (default shipment) test Selects timer clock Open closed closed External clock TCLK (CN3-158 pin) On-board clock (1.2255 MHz) (default shipment) mounted mounted mounted Selects host computer interface baud rate mounted Selects frequency*1 Closed Closed Open Open Closed Open Closed Open (default shipment) Forbidden Forbidden emulator Emulator used (default shipment) Closed Open 115200 bit/s* 57600 bit/s (default shipment) E10A emulator enabled Closed Open mounted mounted Notes: same frequency supplied CPU, clock, expansion connectors, internal operating clock always operates MHz. jumper closed, monitor program will corrupted. sure open When frequency MHz, board cannot interfaced with host computer 115200 bit/s; baud rate 57600 bit/s. Rev. 1.0, 07/00, page Jumper Figure 2.25 Jumper Insertion Rev. 1.0, 07/00, page board 2.8.1 Power Supply Power-Supply Specifications Figure 2.26 shows power-supply specifications. (Regulator specifications) Vout Vdrop (Vin) (Vout) (CPU) 5.0V Power-on reset_N Figure 2.26 Power-Supply Specifications Rev. 1.0, 07/00, page 2.8.2 Connecting Power Cable Power should always supplied board using provided power supply adapter power supply cable. method connection shown figure 2.28. WARNING Observe precautions listed below. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Always provided power supply adapter. Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Vcc(5V) Figure 2.27 Front View Power Supply Connector Rev. 1.0, 07/00, page board view Figure 2.28 Power Supply Cable Connection Rev. 1.0, 07/00, page Rev. 1.0, 07/00, page Section Preparation before Board Preparation WARNING READ reference sections shaded figure before using board product. Incorrect operation will damage user system board. USER PROGRAM will LOST. Unpack board prepare follows: Reference Unpack board. Check components against component list. Component list Turn host computer. Section Procedure when board used first. Install HDI. Turn host computer. Connect board host computer power supply adapter, where necessary PCMCIA card user expansion board. Also sure jumper board. Section Turn host computer. Chapter Turn board. Start HDI. Procedure when board used second time later. Figure Board Preparation Flow Chart Rev. 1.0, 07/00, page 2.2.1 Installation Installation Disks Board board packaged together with floppy disks (Fig. 2.2). SH7709A/SH7729 Board Vx.xx (HS7709ASTC01SF) Hitachi Debugging Interface SH7709A/SH7729 Board Vx.xx (HS7709ASTC01SF) Hitachi Debugging Interface Serial nnnn 'yy.mm.dd disk #2/E disk #1/2 Figure Installation Disks Board Rev. 1.0, 07/00, page 2.2.2 Installing This section describes example installing compatible machine. Please perform installation using backup floppy disks, rather than original copies. Insert installation disk into floppy disk drive host computer. (The following explanation assumes that this drive.) setup.exe program floppy disk. Figure [setup.EXE] Icon This runs installer, following [Welcome!] dialog will displayed. Figure [Welcome!] Dialog Click [OK] button proceed with installation. Rev. 1.0, 07/00, page [Read dialog then displayed. Click [OK] button proceed. Figure [Read Dialog Rev. 1.0, 07/00, page Then [Select Destination Directory] dialog displayed. Select directory installing HDI, click [OK] button. When installing into default directory (C:\HDI_EVB), just click [OK] button. Figure [Select Destination Directory] Dialog Rev. 1.0, 07/00, page When specified directory name already exists, [Install] dialog displayed. When installing into existing directory, click [Yes] button. user wants change directory, click [No] button. [Select Destination Directory] dialog then allows user select another directory. Figure [Install] Dialog Clicking [Yes] button [Install] dialog displays [Make Backups?] dialog user whether backups should made files replaced installation. Click [Yes] button save files [No] button user does want make backup. Figure [Make Backups?] Dialog Rev. 1.0, 07/00, page When user selects [Yes] button [Make Backups?] dialog box, [Select Backup Directory] dialog displayed. Specify backup file name then click [OK] button proceed. save into default directory (C:\HDI_EVB\BACKUP), just click [OK] button. Figure [Select Backup Directory] Dialog When specified directory name already exists, [Install] dialog displayed. When installing into existing directory, click [Yes] button. user wants change directory, click [No] button. [Select Backup Directory] dialog then allows user select another directory. Figure 2.10 [Install] Dialog Rev. 1.0, 07/00, page version different tool installed previously, [Previous Install Detected] dialog shown below displayed. HDI.INI file must overwritten order board; click [Yes] button. Figure 2.11 [Previous Install Detected] Dialog Note file C:\WINDOWS\HDI.INI board overwritten, previously installed other purposes (E10A emulator, simulator etc.) longer usable. Should this occur, please reinstall previous program. Similarly, order board after installing other tools, boards must again reinstalled. order multiple tools parallel, copies HDI.INI file must maintained separately each tool, copying appropriate file C:\WINDOWS directory necessary. installer then installs files into specified directory. Figure 2.12 [Installing] Dialog Rev. 1.0, 07/00, page During installation, message will appear prompting user insert installation disk Remove disk insert installation disk click [OK] button. Figure 2.13 [Insert Disk] Dialog installer then installs files into specified directory. Figure 2.14 [Installing] Dialog Rev. 1.0, 07/00, page [Select Program Manager Group] dialog allows user specify program group name icons. specify default group name (HDI SH7709A board) program group name, just click [OK] button. Figure 2.15 [Select Program Manager Group] Dialog Rev. 1.0, 07/00, page Specifying program group name enables installer create following icons program group user specified. Figure 2.16 [HDI] Program Group These icons represent following functions: [HDI SH7709A 7729 board] executes program. [Uninstall SH7709A 7729 board] deletes software associated files when uninstalled. Rev. 1.0, 07/00, page Connecting Cables Figures 2.17 2.20 show connect interface cables board. WARNING Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. board E10A emulator interface cable Connected Figure 2.17 E10A Emulator Interface Cable Connection Rev. 1.0, 07/00, page board Connected Serial interface cable Figure 2.18 Serial Interface Cable Connection expansion interface cable Connected board Figure 2.19 Expansion Interface Cable Connection Rev. 1.0, 07/00, page expansion interface cable board expansion connector Connected board expansion interface cable Figure 2.20 Expansion Interface Cable Connection Always switch board user system before connecting disconnecting CABLES. Failure will result FIRE HAZARD will damage expansion board board will result PERSONAL INJURY. USER PROGRAM will LOST. WARNING Connected Figure 2.21 Power Supply Cable Connection Rev. 1.0, 07/00, page Align connectors power cable Connecting User Expansion Board Figure 2.22 shows connect user expansion board. WARNING Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Connected User expansion board board Figure 2.22 User Expansion Board Connection Rev. 1.0, 07/00, page Connecting PCMCIA Card Figure 2.23 shows connect PCMCIA card. Press Release button Slot Slot PCMCIA card (Memory card, card) Insert into PCMCIA slot board Figure 2.23 PCMCIA Card Connection PCMCIA card (memory card, card), insert PCMCIA card into slot slot remove PCMCIA card, press release button direction arrow. Rev. 1.0, 07/00, page Switches Table lists switches used board figure 2.24 shows where three switches located board). Table Switch Manual reset switch Abort switch Switch Specifications Symbol Type Push button Function Forcibly initializes system. this switch when system does operate correctly, example, when user program goes control. Forcibly terminates command execution. Aborts user program execution returns system firmware command input wait state. Push button Power supply switch Note Rocker switch Turns power supplied board. power supply turned while pressing manual reset switch, board will started. Please operate manual reset switch while turning power. board Power switch Abort switch Manual reset switch Figure 2.24 Switch Location Rev. 1.0, 07/00, page Jumpers WARNING Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Table lists jumpers board figure 2.25 shows insert jumper pin. Rev. 1.0, 07/00, page Table Symbol Jumper Settings Function Selects endian Setting Closed Open Description endian Little endian sure open this jumper.* (default shipment) test Selects timer clock Open closed closed External clock TCLK (CN3-158 pin) On-board clock (1.2255 MHz) (default shipment) mounted mounted mounted Selects host computer interface baud rate mounted Selects frequency*1 Closed Closed Open Open Closed Open Closed Open (default shipment) Forbidden Forbidden emulator Emulator used (default shipment) Closed Open 115200 bit/s* 57600 bit/s (default shipment) E10A emulator enabled Closed Open mounted mounted Notes: same frequency supplied CPU, clock, expansion connectors, internal operating clock always operates MHz. jumper closed, monitor program will corrupted. sure open When frequency MHz, board cannot interfaced with host computer 115200 bit/s; baud rate 57600 bit/s. Rev. 1.0, 07/00, page Jumper Figure 2.25 Jumper Insertion Rev. 1.0, 07/00, page board 2.8.1 Power Supply Power-Supply Specifications Figure 2.26 shows power-supply specifications. (Regulator specifications) Vout Vdrop (Vin) (Vout) (CPU) 5.0V Power-on reset_N Figure 2.26 Power-Supply Specifications Rev. 1.0, 07/00, page 2.8.2 Connecting Power Cable Power should always supplied board using provided power supply adapter power supply cable. method connection shown figure 2.28. WARNING Observe precautions listed below. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Always provided power supply adapter. Always switch board user system before connecting disconnecting CABLES, CONNECTORS, JUMPERS. Vcc(5V) Figure 2.27 Front View Power Supply Connector Rev. 1.0, 07/00, page board view Figure 2.28 Power Supply Cable Connection Rev. 1.0, 07/00, page Rev. 1.0, 07/00, page Section Tutorial Introduction following describes main functions using tutorial program. tutorial program based program that sorts random data items ascending descending order. tutorial program included sort.c file. compiled load module provided SYSROF format included sort.abs file. Table lists tutorial program configuration. Table Tutorial Program Configuration Item Tutorial file (load module) Tutorial file (source file) Make file (DOS batch file) Subcommand file linkage editor Contents c:\hdi_evb\tutorial\sort.abs c:\hdi_evb\tutorial\sort.c operating environment, area starting from address H'AC000000. function used. Notes: tutorial program compiled C:\HDI_EVB\TUTORIAL directory. tutorial files installed some other directory, program must recompiled. sort.abs operates endian. sort.abs must recompiled operate little endian. This sample program created using compiler V5.0 H-series linkage editor V6.0B. Rev. 1.0, 07/00, page Running HDI, select [HDI SH7709A 7729 Board] from [Start] menu. Figure [Start] Menu [Select Platform] window displayed. Select monitor used. this example, SH7709A selected. Confirm that power board turned then click Figure [Select Platform] Window Rev. 1.0, 07/00, page When Link appears status bar, startup completed. Figure Startup Completed Rev. 1.0, 07/00, page [HDI] Window Figure [HDI] Window functions described section Descriptions Windows. Numbers figure indicate following: Menu bar: Gives user access commands using debugger. Toolbar: Provides convenient buttons shortcuts most frequently used menu commands. Window work area: Area display programs other information. Status bar: Displays status board, progress information about downloading. [Help] button: Activates on-line help about features user interface. Rev. 1.0, 07/00, page Setting Board following conditions board before downloading program: Connection method definition file Options program load following describes board tutorial programs. Setting [Monitor Setup] Dialog Select [Configure Platform.] from [Setup] menu configuration. [Monitor Setup] dialog displayed. Figure [Monitor Setup] Dialog Rev. 1.0, 07/00, page options follows: Table Setting [Configuration] Dialog Option Comms Port: Baud Rate: Default COM1: 115200 Value Select from among COM1, COM2, COM3, COM4 host computer serial port. Sets serial baud rate. Select either 57600 bit/s 115200 bit/s, match setting jumper Connection possible other setting. Sets register definition file. Click [Browse] button select SH7709A SH7729 definition file. selecting file, [I/O Register Window] (accessed from [View] menu) used display register information. definition file none Download with verify Delete breakpoints when program reloaded Reset when program been downloaded Unchecked When this checked, program verified when written into memory. Unchecked When this checked, breakpoints deleted when program reloaded. Unchecked When this checked, registers initialized when program loaded. reset signal input board. Click [OK] button changes configuration. Rev. 1.0, 07/00, page 3.6.1 Downloading Tutorial Program Downloading Tutorial Program Download object program debugged. Select [Load Program.] from [File] menu. [Load Program] dialog displayed. Select Sort.abs directory click [Open] button. Figure [Load Object File] Dialog When file been loaded, following dialog displays information about memory areas that have been filled with program code. Rev. 1.0, 07/00, page Figure [HDI] Dialog Click [OK] button continue. Rev. 1.0, 07/00, page 3.6.2 Displaying Source Program allows user debug program source level. Select [Program Window.] from [View] menu. [Open] dialog displayed. Select source file that corresponds object file user loaded. Figure [Open Program Window] Dialog Select [sort.c] click [Open] button. [Program] window displayed. Rev. 1.0, 07/00, page tutorial program performs following processing. main function generates random data sorting. sort function stores random data generated main function array, sorts data ascending order. change function inputs array created sort function, sorts data descending order. Figure [Program] Window (Displaying Source Program) necessary, select [Font] option from [Customise] submenu [Setup] menu select clear font size. Initially [Program] window shows start main program, user scroll scroll through program other statements. Rev. 1.0, 07/00, page Setting Software Breakpoint breakpoint easy debugging functions. [Program] window provides very simple setting software breakpoint program. example, breakpoint sort function call: Select double-clicking [Break] column line containing sort function call. word Break will displayed line containing sort function show that software breakpoint set. Figure 3.10 [Program] Window (Setting Software Breakpoint) Note: software breakpoint cannot area delay slots program. Rev. 1.0, 07/00, page Setting Registers values program counter (PC) stack pointer (SP) using following method before executing program. Select [Register Window] from [View] menu. [Registers] window displayed. Here initial values registers displayed, register contents changed. Figure 3.11 [Registers] Window Rev. 1.0, 07/00, page change value program counter (PC), double-click value area [Registers] window with mouse. following dialog then displayed, value changed. program counter H'AC000000 this tutorial program, click [OK] button. Figure 3.12 [Register] Dialog (PC) change value stack pointer (SP), double-click value area [Registers] window with mouse. following dialog then displayed value entered keyboard. H'ACF80000 address user program area this tutorial program, click [OK] button. Figure 3.13 [Register] Dialog (SP) Rev. 1.0, 07/00, page Executing Program Execute program described following: execute program, select [Go] from [Run] menu, click [Go] button toolbar. Figure 3.14 [Go] Button program will executed breakpoint that been inserted, statement will highlighted [Program] window show position that program halted. Figure 3.15 [Program] Window (Break Status) Rev. 1.0, 07/00, page user cause break that occurred last time [System Status] window. Select [Status Window] from [View] menu. Figure 3.16 [System Status] Window Rev. 1.0, 07/00, page [System Status] window displays following items each page. Table Contents [System Status] Window Item Monitor Session Name Program Name Connected Mode definition Clock Target Version Monitor Version Status Description Indicates whether board connected not. Displays session file name. Displays load module file name. Displays name connected board monitor program. Displays target family endian setting. this case, SH7700 family Endian displayed. Indicates processor mode. User mode Privileged mode displayed. Displays selected register definition file. Displays clock frequency (CPU operating frequency) being used. Indicates version target connection board. Displays monitor program version. Displays user program execution status: RUNNING: Being executed Break: Stopped Displays cause program stopping break. this example, cause stop Breakpoint. Indicates data baud rate serial interface. Break Cause Comm port baud rate Rev. 1.0, 07/00, page 3.10 Reviewing Breakpoints user breakpoints program [Breakpoints] window. Select [Breakpoint Window] from [View] menu. Figure 3.17 [Breakpoints] Window [Breakpoints] window also allows user set, change, delete, enable, disable breakpoints. Rev. 1.0, 07/00, page 3.11 Viewing Memory user view contents memory block [Memory] window. example, view memory contents corresponding main word size: Select [Memory Window from [View] menu, enter main [Address] edit box, Word [Format] combo box. Figure 3.18 [Open Memory Window] Dialog Rev. 1.0, 07/00, page Click [OK] button. [Memory] window showing specified area memory displayed. Figure 3.19 [Word Memory] Window Rev. 1.0, 07/00, page 3.12 Watching Variables With [Watch] window displayed, user steps through program, possible watch that values variables used user program changed. example, watch longtype array declared beginning program, using following procedure: Click left displayed array [Program] window position cursor. Click [Program] window with right mouse button select [Instant Watch.] from popup menu. following dialog will displayed. Figure 3.20 [Instant Watch] Dialog Rev. 1.0, 07/00, page Click [Add Watch] button variable [Watch] window. Figure 3.21 [Watch] Window (Displaying Array) user also variable [Watch] window specifying name. Click [Watch] window with right mouse button select [Add Watch.] from pop-up menu. following dialog will displayed. Input symbol address. this time, input variable click [OK] button. Figure 3.22 [Add Watch] Dialog Rev. 1.0, 07/00, page [Watch] window will also show long-type variable max. Figure 3.23 [Watch] Window (Displaying Variable) Rev. 1.0, 07/00, page user double-click symbol left array watch elements array Figure 3.24 [Watch] Window (Displaying Array Elements) Rev. 1.0, 07/00, page 3.13 Stepping Through Program provides range step menu commands that allow efficient program debugging. Table Step Option Menu Command Step Step Over Step Step. Description Executes each statement, including statements within functions. Executes function call single step. Steps function, stops statement following statement program that called function. Steps specified times repeatedly specified rate. [Go] command described section 3.9, Executing Program, confirm that program executed sort function statement address H'AC000038. value variable appears [Watch Window] during step execution. Figure 3.25 [Program] Window (Step Execution) Rev. 1.0, 07/00, page Figure 3.26 [Watch Window] Window (Step Execution) Rev. 1.0, 07/00, page 3.13.1 Executing [Step Command [Step steps into called function stops first statement called function. step through sort function, select [Step from [Run] menu, click [Step button toolbar. Figure 3.27 [Step Button highlighted line moves first statement sort function [Program] window. Figure 3.28 [Program] Window (Step Rev. 1.0, 07/00, page 3.13.2 Executing [Step Out] Command [Step Out] steps called function stops next statement calling statement main function. step sort function, select [Step Out] from [Run] menu, click [Step Out] button toolbar. Figure 3.29 [Step Out] Button data variable displayed [Watch Window] window sorted ascending order. Figure 3.30 [Program] Window (Step Out) Rev. 1.0, 07/00, page Figure 3.31 [Watch Window] Window (Step Out) Rev. 1.0, 07/00, page execute steps, [Step twice. value displayed [Watch Window] window changed maximum data value. Figure 3.32 [Program] Window (Step Step Figure 3.33 [Watch Window] Window (Step Step Rev. 1.0, 07/00, page 3.13.3 Executing [Step Over] Command [Step Over] executes function call single step stops next statement main program. Using [Step Over], execute steps reach change function statement. step through statements change function single step, select [Step Over] from [Run] menu, click [Step Over] button toolbar. Figure 3.34 [Step Over] Button Figure 3.35 [Program] Window (Before Step Over Execution) Rev. 1.0, 07/00, page Figure 3.36 [Watch Window] Window (Before Step Over Execution) When last statement change function executed, data variable which displayed [Watch] window, sorted descending order. Figure 3.37 [Program] Window (Step Over) Rev. 1.0, 07/00, page Figure 3.38 [Watch Window] Window (Step Over) Rev. 1.0, 07/00, page 3.14 Displaying Local Variables user display local variables function using [Locals] window. example, will examine local variables main function, which declares five local variables: min, max. Select [Local Variable Window] from [View] menu. [Locals] window displayed. [Locals] window will show local variables their values. local variable exists, none displayed [Locals] window. Figure 3.39 [Locals] Window Double-click symbol front array [Locals] window display elements array When elements array referenced before after executing sort function program, random data should sorted descending order. This confirms that program operating normally. Rev. 1.0, 07/00, page 3.15 Software Break Function board software break function. With HDI, software breakpoint using [Breakpoints] window. board software breakpoints. Setting software breakpoint described below. Select [Breakpoint Window] from [View] menu. [Breakpoints] window displayed. Click [Del All] button cancel breakpoints that have been set. Click [Add] button. Figure 3.40 [Breakpoints] Window (Before [Del All] execution) Rev. 1.0, 07/00, page [Add/Edit Breakpoint] dialog displayed. Either address symbol entered. Enter Change check [Enable] checkbox. Figure 3.41 [Add/Edit Breakpoint] Dialog Click [OK] button. Rev. 1.0, 07/00, page software breakpoint that been displayed [Breakpoints] window. breakpoint displayed under [Type]. Figure 3.42 [Breakpoints] Window (Software Breakpoint Setting) stop tutorial program breakpoint, following procedure must executed: Close [Breakpoints] window. program counter stack pointer values that have been section 3.8, Setting Registers, [Registers] window. Click [Go] button. program runs, stops breakpoint. Rev. 1.0, 07/00, page Figure 3.43 [Program] Window Execution Stop (Software Break) Select [Status Window] command from [View] menu. [System Status] window displays following contents. window confirms that execution stopped breakpoint. Figure 3.44 Displayed Contents [System Status] Window (Software Break) Rev. 1.0, 07/00, page 3.16 Saving Session program been downloaded, corresponding source file displayed, numerous windows opened, take some time restore this setup next time program downloaded. able save current settings retrieval next time program loaded, order reduce setup time. order save session which already been named, save session with same name current object file, select [Save Session] from [File] menu. save current settings session with name, select [Save Session As.] command from [File] menu. dialog displayed; enter name session. Three files saved: session file (*.hds), target session file (*.hdt), watch session file (*.hdw). When these files saved, session name appears title bar. Figure 3.45 Session Name Display Note: symbol memory information saved session files. changes used again future, they must saved separately. details, refer Hitachi Debugging Interface User's Manual. Rev. 1.0, 07/00, page 3.17 What Next? this tutorial, have introduced examples program debugging using board HDI. Further details found separately issued Hitachi Debugging Interface User's Manual. Rev. 1.0, 07/00, page Rev. 1.0, 07/00, page Section Descriptions Windows Windows window menu bars corresponding pull-down menus listed table 4.1. mark and/or relevant section number shown table when menu description included Hitachi Debugging Interface User's Manual this manual,. Menu items shown gray screen available. Table Window Menus Related Manual Entries Hitachi Debugging Interface User's Manual Menu File Menu Pull-Down Menu Load Program. Save Memory. Verify Memory. Save Session Load Session Save Session Initialize Exit This Manual 3.6.1 3.16 Edit Menu Copy Paste Find. Line. Fill Memory. Move Memory. Test Memory. Update Memory Rev. 1.0, 07/00, page Table Window Menus Related Manual Entries (cont) Hitachi Debugging Interface User's Manual Menu View Menu Pull-Down Menu Toolbar Status Breakpoint Window Command Line Window Register Window Local Variable Window Memory Mapping Window Memory Window. Performance Analysis Window Program Window. Register Window Status Window Text Window Trace Window This Manual 3.10, 3.15, 4.2.2 3.14 3.11 3.6.2 3.9, 3.15, 4.2.4 4.2.5 3.13.1 3.13.3 3.13.2 Watch Window Localized Dump Window Simulated Window Menu Reset Run. Step Step Over Step Step. Halt Program Reset Cursor Cursor Rev. 1.0, 07/00, page Table Window Menus Related Manual Entries (cont) Hitachi Debugging Interface User's Manual Menu Setup Menu Pull-Down Menu Options Radix Customise Select Platform. Configure Platform. Overlay This Manual 3.5, 4.2.1 Tools Menu Symbols. Evaluate. Window Menu Cascade Tile Arrange Icons Close Help Menu Index Using Help Search Help About Notes: Function supported. Only board ROM, information display supported. User program executed after setting H'AC000000. This function initializes PC/SR/VBR; reset. Other registers initialized. When using HS7729STC01H, (DSP status register) value displayed [Registers] window. Bits this register represent meaning `DC' (bit table 4.2. Table Meanings DSR.CS[2:0] bits Operating mode Displayed contents window Carry Borrow Negative Zero Overflow Signed Greater than Value CS[2:0] (binary) Signed Greater than Equal Rev. 1.0, 07/00, page Descriptions Each Window This section describes each window. 4.2.1 [Monitor Setup] Dialog Function: Specifies setup conditions board. This dialog displayed selecting [Configure Platform] from [Setup] menu. Window: Figure [Monitor Setup] Dialog Rev. 1.0, 07/00, page Description: settings [Monitor Setup] dialog indicated below. Table [Monitor Setup] Dialog Page Option Comms Port: Baud Rate: Setting COM1, COM2, COM3, COM4 selected host computer serial port. Sets serial baud rate. Select either 57600 bit/s 115200 bit/s, match setting jumper Connection possible other setting. Sets register definition file. Click [Browse] button select SH7709A SH7729 definition file. When selecting file, [I/O Register Window] (accessed from [View] menu) used display register information. When this checked, program verified when written into memory. When this checked, breakpoints deleted when program reloaded. definition file Download with verify Delete breakpoints when program reloaded Reset when program When this checked, registers initialized when program been downloaded loaded. reset signal input board. Clicking [OK] button sets setup conditions. [Cancel] button clicked, this dialog closed without setting conditions. Rev. 1.0, 07/00, page 4.2.2 [Breakpoints] Window Function: This window lists break conditions that have been set. This window displayed selecting [Breakpoints Window] [View] menu. Window: Figure [Breakpoints] Window Rev. 1.0, 07/00, page Description: [Breakpoints] window displays breakpoint setting information. items listed following tables displayed. Table [Breakpoints] Window Display Items Item [Enable] [File/Line] [Symbol] [Address] [Type] Description Displays whether break condition enabled disabled. indicates that breakpoint enabled. Displays file name line number where breakpoint set. Displays symbol corresponding breakpoint address. symbol been defined address, blank displayed. Displays address where breakpoint set. Displays breakpoint" pop-up menu, which opened clicking right mouse button, used set, change, clear breakpoints, enable disable break conditions. button functions described following table. Table [Breakpoints] Window Button Operation Button Name [Add] [Edit] Description Sets break conditions. Clicking this button will display [Break] dialog box, enabling break conditions set. Changes break conditions. Select break conditions changed click this button. [Add/Edit Breakpoint] dialog will displayed, enabling break condition changed. Clears break conditions. Select break conditions cleared click this button. Clears break conditions. Enables disables break conditions. Select break conditions enabled disabled click this button. Displays on-line help. [Delete] [Del All] [Disable] ([Enable]) [Help] Breakpoint setting information displayed lower area. Software breakpoints indicated follows. breakpoints (Here number breakpoints decimal notation.) Rev. 1.0, 07/00, page 4.2.3 [Add/Edit Breakpoint] Dialog Function: Sets breakpoint. This dialog displayed when [Add] [Edit] button clicked [Breakpoints] dialog box, displayed selecting [Breakpoint Window] item [View] menu. Window: Figure [Add/Edit Breakpoint] Dialog Description: [Add/Edit Breakpoint] dialog made components listed table below. Table [Add/Edit Breakpoint] Dialog Pages Page Name [Breakpoint address] [Enable] Description Enter address symbol which breakpoint set. breakpoint enabled when this checked. After clicking [OK], breakpoint set. Rev. 1.0, 07/00, page 4.2.4 [System Status] Window Function: This window lists information, such conditions that have been board execution results. displayed selecting [Status Window] item [View] menu. Window: Figure [System Status] Window Rev. 1.0, 07/00, page Description: items listed following table displayed [System Status] window. Table [System Status] Window Display Items Item Monitor Session Name Program Name Connected Mode definition Clock Target Version Monitor Version Status Description Indicates whether board connected not. Displays session file name. Displays load module file name. Displays name connected board monitor program. Displays target family endian setting. this case, SH7700 family Endian displayed. Indicates processor mode. User mode Privileged mode displayed. Displays selected register definition file. Displays clock frequency (CPU operating frequency) being used. Indicates version target connection board. Displays monitor program version. Displays user program execution status: RUNNING: Being executed Break: Stopped Displays cause program stopping break. this example, cause stop Breakpoint. Indicates data baud rate serial interface. Break Cause Comm port baud rate Rev. 1.0, 07/00, page 4.2.5 [Simulated Window] Window Description: This window displays data input output from serial line during user program execution. valid only during execution user program. Serial data output user program displayed this window. Data input from keyboard host computer displayed this window addition being sent board. This window displayed selecting [Simulated Window] item from [View] menu. Right-clicking mouse this window displays following pop-up menu. [Copy] Copies text appearing highlighted Windows clipboard. [Paste] Pastes contents Windows clipboard [Simulated Window], sends same contents board. [Clear Window] Clears contents [Simulated I/O] window. Window: Figure [Simulated I/O] Window Rev. 1.0, 07/00, page Rev. 1.0, 07/00, page Section Command-Line Functions Command-Line Functions This section explains command-line functions specific board debugger. other command-line functions, please refer Hitachi Debugging Interface User's Manual. Table indicates which command-line functions described Hitachi Debugging Interface User's Manual supported these boards. Table Correspondence between Board Debugger Command-Line Functions User's Manual Abbrev. Manual Board Standard Command (comment) ACCESS (illegal access processing) ANALYSIS (enable/disable performance analysis range) ANALYSIS_RANGE (set/display performance analysis range) ANALYSIS_RANGE_DELETE (delete performance analysis range) ASSEMBLE (execute assembly) ASSERT (evaluate truth expression) BREAKPOINT (set breakpoint) BREAKPOINT_CLEAR (clear breakpoint) BREAKPOINT_DISPLAY (display breakpoints) BREAKPOINT_ENABLE (enable/disable breakpoints) BREAKPOINT_SEQUENCE (set/delete event sequence) BREAK_ACCESS (set breakpoint triggered memory range access) BREAK_CLEAR (delete breakpoint) BREAK_DATA (set memory data value break condition) BREAK_DISPLAY (display breakpoints) Rev. 1.0, 07/00, page Table Correspondence between Board Debugger Command-Line Functions User's Manual (cont) Abbrev. Manual Board Standard Command BREAK_ENABLE (enable/disable breakpoints) BREAK_REGISTER (set breakpoint triggered register value) BREAK_SEQUENCE (set sequential breakpoints) CLOCK (set emulator clock time) DEVICE_TYPE (select emulator device type) DISASSEMBLE (disassemble) ERASE (clear command-line window) EVALUATE (evaluate expression) FILE_LOAD (load file) FILE_SAVE (save contents memory file) FILE_VERIFY (compare memory file contents) (execute user program) GO_RESET (execute from default GO_TILL (execute user program temporary breakpoint) HALT (halt user program) HELP (open help file) INITIALISE (initialize target. windows except command-line closed.) INTERRUPTS (manipulate interrupts) (control command output files) MAP_DISPLAY (display memory map) MAP_SET (set memory mapping) MEMORY_DISPLAY (display memory contents) MEMORY_EDIT (modify memory contents) MEMORY_FILL (write specified data memory area) MEMORY_MOVE (move memory contents) MEMORY_TEST (perform read/write/verify test memory area) MODE (set display mode) QUIT (end session) Rev. 1.0, 07/00, page Table Note: Correspondence between Board Debugger Command-Line Functions User's Manual (cont) Abbrev. Manual Board Standard Command RADIX (set display default radix) REFRESH (update memory-related windows) REGISTER_DISPLAY (display register values) REGISTER_SET (change register values) RESET (processor reset) SLEEP (delay command execution) STEP (execute single program step) STEP_OUT (step subroutine) STEP_OVER (step over instruction) STEP_RATE (adjust step rate) SUBMIT (file processing command) SYMBOL_ADD (add symbol) SYMBOL_CLEAR (clear symbol) SYMBOL_LOAD (load symbols from file) SYMBOL_SAVE (save symbols file) SYMBOL_VIEW (display symbols) TEST_EMULATOR (test emulator hardware) TIMER (set display resolution timer realtime measurement) TRACE (display contents trace buffer) TRACE_ACQUISITION (set display trace acquisition conditions) TRACE_COMPARE (compare trace files) TRACE_SAVE (save trace file) TRACE_SEARCH (search trace information) USER_SIGNALS (enable/disable user signal information) This function initializes PC/SR/VBR; reset. Other registers initialized. This function executes user program after H'AC000000. options [wait] [continue] specified have effect. Additional commands following [Go] command cannot used. When using HS7729STC01H, (DSP status register) value displayed result this command. Bits represent meaning `DC' (bit Refer table Meanings DSR.CS [2:0] bits detailed display specifications. Rev. 1.0, 07/00, page Notation Used Command Descriptions Conventions used 5.3, Command Descriptions, explained below. 5.2.1 Format input format each command follows. Characters shown bold-italics: Characters input. Parameters enclosed omitted. Contents shown set. command parameter details described parameter table. 5.2.2 Parameter Input Numerical Parameters: binary, octal, decimal, hexadecimal value, symbol, formula input. symbol contain characters. Terms formula separated with operators (such Keyword Parameters: bold characters given description column table input. character string shown description input, error will occur. 5.2.3 Examples These actual input examples. commands whose execution results specific display output, example display given. 5.2.4 Related Items Related board debugger commands (abbreviations) dialog boxes shown. (Refer section Descriptions Windows.) Rev. 1.0, 07/00, page Command Descriptions command list board debugger shown below. Table Board Debugger Commands Command BREAKPOINT BREAKPOINT_CLEAR BREAKPOINT_DISPLAY BREAKPOINT_ENABLE Abb. Function breakpoint instruction position Clear breakpoint Display list breakpoints Enable/disable breakpoint 5.3.1 BREAKPOINT: Description: Sets breakpoint specified instruction position. Format: <address> Table BREAKPOINT Command Parameter Parameter <address> Type Numerical value Description Specifies address which break execution occurs. Examples: following sets breakpoint that execution halted when instruction address AC000020 about executed. BREAKPOINT AC000020 (RET) Rev. 1.0, 07/00, page 5.3.2 BREAKPOINT_CLEAR: Description: Cancels breakpoints that have been set. Format: <address> Table BREAKPOINT_CLEAR Command Parameters Parameter <address> Type Numerical value Keyword Description Specifies address breakpoint cleared. This option cannot omitted. "all" option specified, breakpoints cleared. Examples: cancel breakpoint whose address value AC000020: >BREAKPOINT_CLEAR AC000020 (RET) cancel breakpoints that have been set: >BREAKPOINT_CLEAR (RET) Rev. 1.0, 07/00, page 5.3.3 BREAKPOINT_DISPLAY: Description: Displays software breakpoints that have been set. Format: Example: display breakpoints that have been set: BREAKPOINT_DISPLAY (RET) Rev. 1.0, 07/00, page 5.3.4 BREAKPOINT_ENABLE: Description: Enables disables breakpoint. Format: <address> <option> <option> Table BREAKPOINT_ENABLE Command Parameters Parameter <address> <option> Type Numerical value Keyword Keyword Description Specifies address breakpoint enabled/disabled. Enables breakpoint settings. Disables break settings. When "all" specified address, breakpoints enabled disabled. Examples: disable breakpoint AC000020 address: >BREAKPOINT_ENABLE AC000020 (RET) enable breakpoints: (RET) Rev. 1.0, 07/00, page Section Board Specifications Block Diagram block diagram board shown figure 6.1. Power switch power supply adapter Abort switch Manual reset switch Jumpers SDRAM Mbytes Monitor: Mbytes User: 15.5 Mbytes Address Data driver switch Port signals SH7709A/SH7729 (133MHz) Serial RS-232C 9pin D-sub connector PCMCIA Memory card slot Expansion connector driver 3.3-/ 1.8-V voltage regulator Power-on reset FPGA Address decoder Clock divider Wait state controller Reset/interrupt controller Flash memory monitor 512KB Oscillator 66MHz Hitachi-UDI port connector Connected E10A emulator Clock driver Connected host system serial interface Figure Block Diagram board Rev. 1.0, 07/00, page Specifications Table lists components board. Table Item Microcomputer Operating frequency Endian Memory Specifications Specifications SH7709A/SH7729 Type name: HD6417709A/HD6417729 Package: 208-pin LQFP internal clock: (fixed) clock: 66.6 33.3 (switchover jumpers) Little endian (switchover jumpers) SDRAM Capacity: Mbytes width: bits Type number: HM5264165TT-B60 Flash memory (monitor program) Capacity: kbytes width: bits Type number: PA28F400B5-B60 Serial interface channel: Conforms RS-232C Transfer rate: 57.6 115.2 kbit/s (switchover jumpers) Connector: 9-pin D-sub connector board connector: DELC-J9PAF-20L9 manufactured Japan Aviation Electronics Industry, Ltd. Maximum cable length: Rev. 1.0, 07/00, page Table Item Specifications (cont) Specifications Three expansion connectors board: 8817-180-170L manufactured CORPORATION User side: 8807-180-170L* manufactured CORPORATION Note: Gold-plated thickness mark: Flush, 0.25 more) board: 8931E-100-178S manufactured CORPORATION User side: 8925*-100-179 manufactured CORPORATION Note: Strain-relief Yes, board 7620-6002SC manufactured Company. User side: 7920-7500SC manufactured Company. Expansion board interface PCMCIA E10A emulator interface Switches Memory card card slots board type number: 10236-5202VC manufactured Company. SW1: Manual reset switch SW2: Abort switch SW3: Power supply switch External dimensions Board Product Width: Length: Width: Length: Height: Rev. 1.0, 07/00, page Memory Memory board shown figure 6.2. Each area allocated follows: Area Firmware area. Allocated flash memory, on-board registers, monitor input/output. width bits fixed. reserved area. Expansion area. Mbytes SDRAM allocated. first 15.5 Mbyte-area assigned user area remaining Mbyte-area assigned monitor program work area. width bits fixed. Expansion area. Expansion area. PCMCIA area. Area Area Area Area Area Area Rev. 1.0, 07/00, page Physical area 00000000 Area 04000000 Area 08000000 Area 0C000000 Area 10000000 Area 14000000 Area 18000000 Area 1C000000 Reserved 1FFFFFFF PCMCIA expansion expansion SDRAM (16-bit/32-bit width) expansion Reserved (Internal area) Flash memory on-board register (16-bit width) 00000000 Monitor program area 512kB 0007FFFC 00080000 Shadow area monitor program 00FFFFFE 01000000 01000000 On-board register 01FFFFFE 02000000 Expansion 03FFFFFE 01800000 PCMCIA Register 01800012 Reserved (Unusable) 01FFFFFE 01800000 01800002 01800004 01800006 01800008 0180000A 0180000C 0180000E 01800010 PCC01SR PCC0GCR PCCOCSCR PCC0CSCIER PCC1ISR PCC1GCR PCC1CSCR PCC1CSCIER PCCVCR Register area monitor program 0C000000 User program area 15.5Mbyte (32-bit width) 0CF7FFFF 0CFFFFFF 0FFFFFFC 18000000 18800000 19000000 19800000 1A000000 1A800000 1B000000 1BFFFFFF Reserved Firmware work area (0.5Mbyte) Shadow area SDRAM Slot0 attribute memory Slot1 attribute memory Slot common memory Slot common memory Slot area Slot area used Figure Board Memory Rev. 1.0, 07/00, page 6.4.1 Interface Serial Interface WARNING Always switch board user system before connecting disconnecting CABLES CONNECTORS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. board serial interface channel) that conforms RS-232C interface with host computer. on-chip serial communication interface (SCI0) used interface between host computer board. Therefore, users cannot SCI0. connector, 9-pin D-sub connector used. baud rate 57.6 kbit/s 115.2 kbit/s selected. baud rate, refer section 2.7, Jumpers. Table lists assignment serial interface connector. Table shows serial interface specifications. details serial interface cable connection, refer section 2.3, Connecting Cables. Table Assignment Serial Interface Connector Signal Name Reserved Reserved Description connection Received serial data Transmitted serial data Data terminal ready Signal ground Data ready Request send Clear send connection Rev. 1.0, 07/00, page Table Item Serial Interface Specifications Specifications Synchronization method Asynchronous method Transfer rate configuration Controller Driver Connectors 57.6 115.2 kbit/s (can switched with jumpers) Start bit: bit, Stop bit: bit, Parity: none, Data length: bits On-chip (serial communication interface) SH7709A/SH7729 LT1181ACSW (manufactured LINEAR TECHNOLOGY CORP.) board connector: DELC-J9PAF-20L9 manufactured Japan Aviation Electronics Industry, Ltd. Figure shows wiring connection between host computer (IBM compatible machine) serial interface connector board interface connector. Figure shows serial interface connector arrangement. serial cable that matches specifications shown figures must used. details serial interface cable connection, refer section 2.3, Connecting Cables. Serial interface connector board Serial interface connector N.C. N.C. RING Figure Connection Host Computer Rev. 1.0, 07/00, page arrangement serial interface connector Figure Serial Interface Connector Arrangement 6.4.2 User Expansion Board Interface board connector user expansion board interface. WARNING Always switch board user system before connecting disconnecting CABLES CONNECTORS. Failure will result FIRE HAZARD will damage user system board will result PERSONAL INJURY. USER PROGRAM will LOST. Figures show arrangement expansion connectors CN3, CN6, CN7. Tables list assignment expansion connectors CN3, CN6, CN7, respectively. Refer hardware manual those pins that have numbers function column. signal level which equivalent that SH7709A/SH7729 CPU. details expansion board connection, refer section 2.4, Connecting User Expansion Board. Pin179 Pin1 Pin180 Expansion connector Pin2 Figure Expansion Arrangement Rev. 1.0, 07/00, page Pin99 Pin1 Pin100 Expansion connector Pin2 Figure Expansion Arrangement Pin19 Pin1 Pin2 Pin20 Expansion connector Figure Expansion Arrangement Rev. 1.0, 07/00, page Table Name CASL Assignment Expansion Connector Function Name (10) (10) (10) Function Name Function CASU/PTJ[3] PTJ[4] PTJ[5] Notes: connect Reserve pins. Some signals converted input output expansion connector follows: D[31:0]: figure 6.11. A[25:0]: figure 6.11. (10) When used port, signals limited output direction. Rev. 1.0, 07/00, page Table Name Assignment Expansion Connector (cont) Function Name RAS3L Reserve Reserve _RSTOUT _RESETP _WE0/DQMLL _WE1/DQMLU _WE2/DQMUL _WE3/ DQMUU Function Name Reserve _CS2 _CS4 _CS5/_CE1A _CS6/_CE1B Reserve Reserve RD/_WR _IRQOUT _BACK _CS3 STATUS1 Function Notes: connect Reserve pins. Some signals converted input output expansion connector follows: A[25:0]: figure 6.11. RSTOUT: low-level pulse output when reset power when manual reset switch pressed, when reset signal input from expansion connector). BACK: figures 6.8, 6.9, 6.11 6.12. Rev. 1.0, 07/00, page Table Assignment Expansion Connector (cont) Function (10) Name _WAIT Reserve Reserve Reserve Reserve Function Name Reserve Reserve Reserve CKIO Function Name STATUS0 PTJ[1] _BREQ TCLK _NMI Notes: connect Reserve pins. Some signals converted input output expansion connector follows: BREQ: figures 6.8, 6.9, 6.11 6.12. TCLK: Clock input timer. Jumper selects either board clock clock input from expansion connector. NMI: Invalid reserved during monitor program execution. WAIT: result ORing WAIT signals from board resource area area (PCMCIA space) access input CPU. CKIO: Output only. Provides same frequency that jumpers J10. recommended that terminal resistor connected expansion board. figure 6.10. (10) When used port, signals limited output direction. Rev. 1.0, 07/00, page Table Name PTE[7] Assignment Expansion Connector Function Name _CE2A/PTE[4] _RAS2U/PTE[1] ADTRG/PTH[5] PINT[15]/PTF[7] PINT[14]/PTF[6] PINT[13]/PTF[5] PINT[12]/PTF[4] _iRLS[3]/ PINT[11]/PTF[3] _iRLS[2]/ PINT[10]/PTF[2] _iRLS[1]/ PINT[9]/PTF[1] _iRLS[0]/ PINT[8]/PTF[0] PTE[0] _DREQ0/ PTD[4] Function Name _DREQ1/PTD[6] DACK0/PTD[5] DACK1/PTD[7] DRAK0/PTD[1] DRAK1/PTD[0] MCS[4]/ PINT[OKI]/ PTC[OKI] MCS[5]/PINT[5]/ PTC[5] MCS[6]/PINT[6]/ PTC[6] MCS[7]/PINT[7]/ PTC[7] Function _CAS2L/ PTE[6] _CE2B/PTE[5] _CAS2H/ PTE[3] _RESEGND IOIS16/PTG[7] PTG[6] PTG[5] PTG[4] Note: PTG[3] PTG[2] PTG[1] PTG[0] _RAS3U/ PTE[2] Some signals converted input output expansion connector follows: With E10A emulator connected, these signal pins cannot used. Rev. 1.0, 07/00, page Table Assignment Expansion Connector (cont) Name MCS[0]/PINT[0]/ PTC[0] MCS[1]/PINT[1]/ PTC[1] MCS[2]/PINT[2]/ PTC[2] MCS[3]/PINT[3]/ PTC[3] _Wakeup/ PTD[3] RESETOUT/ PTD[2] RXD1/SCPT[2] Function Name TXD1/SCPT[2] SCK1/SCPT[3] RXD2/SCPT[4] TXD2/SCPT[4] SCK2/SCPT[5] RTS2/SCPT[6] CTS2/SCPT[7] PTH[6] Function Name IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 Reserve Function Notes: connect Reserve pin. Some signals converted input output expansion connector follows: IRQ[4:0]: Invalid reserved during monitor program execution. With E10A emulator connected, these signal pins cannot used. Rev. 1.0, 07/00, page Table Assignment Expansion Connector Function Name AN[4]/PTL[4] AVss AN[5]/PTL[5] AVss AN[6]/DA[1]/PTL[6] AVss AN[7]/DA[0]/PTL[7] AVss Reserve AVss Function Name Reserve AVss AN[0]/PTL[0] AVss AN[1]/PTL[1] AVss AN[2]/PTL[2] AVss AN[3]/PTL[3] AVss Note: connect Reserve pins. Rev. 1.0, 07/00, page CKIO (expansion connector) BREQ tBREQH tBREQS (expansion connector) BACK (CPU) BACK (expansion connector) CSn, RD/WR, CAS, RAS, (expansion connector) (expansion connector) tBACKD tCBACKD tCOFF1 tCOFF2 Figure Release Timing CKIO (expansion connector) BREQ (expansion connector) tBREQH BACK (CPU) BACK (expansion connector) CSn, RD/WR, CAS, RAS, (expansion connector) (expansion connector) tBREQS tBACKD tCON1 tCON2 Figure Release Timing Rev. 1.0, 07/00, page Table Parameter tBREQH tBREQS tBACKD tCBACKD tCOFF1 tCOFF2 tCON1 tCON2 Specifications Minimum =tBREQH =tBREQS =tBACKD Maximum =tBREQH =tBREQS =tBACKD 25.5 29.7 30.1 29.7 30.1 Note: Equivalent specifications board Expansion connector Expansion board 3.3V 3.3V 3.3V Characteristic impedance IDT49FCT3805 -8mA 16mA Make line between expansion connector receiver short possible. series, series, etc. When characteristic impedance expansion board same that board, terminal resister Figure 6.10 Example CKIO Terminal Resistor Connection Rev. 1.0, 07/00, page SH7709A /SH7729 A[25.0] WE[3.0] U4-7 QS3384 3.3V U8-11 VHC244 4.7k U123-15 VHC244 Expansion connector A[25.0] WE[3.0] D[31.0] D[31.0] 3.3V 4.7k IRQOUT, STATUS1,0 BREQ,NMI, WAIT IRQOUT, STATUS1,0 VHC244 FPGA BREQ,NMI, WAIT BACK IRQL[4.0], RESETP Control circuit 3.3V 4.7k BACK,RSTout VHC244 RESETP LS279 SW1,2 CKIO CKIO Clock Driver 3.3V 4.7k Divider selector OSC1 [66MHz] CKIN OSC2 [14.7456MHz] Divider (x1/8) TCLK 3.3V RD,CS0,CS2, CS3,CS4, CS5/CE1A, CS6/CE1B RD/WR RAS2L,BS, CASLL,CASLH, CASHL,CASHH, RAS3L 3.3V VHC244 TCLK RD,CS0,CS2, CS3,CS4, CS5/CE1A, CS6/CE1B, RD/WR RAS2L,BS, CASLL,CASLH, CASHL,CASHH, RAS3L VHC244 Figure 6.11 Configuration User Expansion Board Interface Circuit (CN3) Rev. 1.0, 07/00, page SH7709A/SH7729 IRL[3.0],IRQ[3.0] IRQ4 FPGA VHC244 Control circuit 3.3V 4.7k RESECTS2 RTS2 3.3V 4.7k RXD1/2 TXD1/2 SCK1/2 3.3V CE2A/2B DACK0/1,DRAK0/1 WAKEUP,BACK CAS2L/2H, RAS2U/3U 4.7k 3.3V 4.7k 3.3V 4.7k 3.3V 4.7k 3.3V 4.7k 3.3V 4.7k Expansion connector IRQ[3.0] IRQ4 EMRST CTS2 RTS2 RXD1/2 TXD1/2 SCK1/2 3.3V DREQ0/1,IOIS16, CA,ADTRG 3.3V PTC[7.0],PTD[2], PTE[7/0],PTF[7.0], PTG[6.0],PTH[6] 4.7k 4.7k CE2A/2B DACK0/1,DRAK0/1, WAKEUP,BACK, CAS2L/2H, RAS2U/3U DREQ0/1,IOIS16, CA,ADTRG PTC[7.0],PTD[2], PTE[7/0],PTF[7.0], PTG[6.0],PTH[6] AN[7.0]/PTL[7.0] 470pF AN[7.0]/PTL[7.0] Figure 6.12 Configuration User Expansion Board Interface Circuits (CN6, CN7) Rev. 1.0, 07/00, page 5.08 2.54 7.62 8.96 board 8807-180-170L* 8817-180-170L Figure 6.13 Connection-Dimension Specifications User Expansion Board (CN3) Rev. 1.0, 07/00, page 30.0 User expansion board 3.175 hole Adjust height using spacers. Unit: Dimension tolerance: ±0.1mm 6.4.3 PCMCIA Interface WARNING Install PCMCIA driver board before inserting removing card while power Failure will damage card. Overview: This board provided with slots PCMCIA type type cards. Both slots used with either cards with memory cards. Card voltages supported. This board provided with PCMCIA drivers. When using PCMCIA slots, must provide your driver software. Figure 6.14 shows arrangements PCMCIA slot slot assignments slot slot listed tables respectively. Pin1 Slot Pin34 Pin35 Slot Pin68 PCMCIA slot Figure 6.14 PCMCIA Slot Slot Arrangements Rev. 1.0, 07/00, page Table PCMCIA Card Slot (CN9) Assignments Signal Name P0CD1 PCC0DA11 PCC0DA12 PCC0DA13 PCC0DA14 PCC0DA15 P0CE2 P0VS1 P0WE2 P0WE3 PCC0AD17 PCC0AD18 PCC0AD19 PCC0AD20 PCC0AD21 VCCA Signal Name VPPA PCC0AD22 PCC0AD23 PCC0AD24 PCC0AD25 P0VS2 P0RESET P0WAIT P0REG P0BVD2 P0BVD1 PCC0DA8 PCC0DA9 PCC0DA10 P0CD2 Signal Name Signal Name PCC0DA3 PCC0DA4 PCC0DA5 PCC0DA6 PCC0DA7 P0CE1 PCC0AD10 P0RD PCC0AD11 PCC0AD9 PCC0AD8 PCC0AD13 PCC0AD14 P0WE1 P0RDY VCCA VPPA PCC0AD16 PCC0AD15 PCC0AD12 PCC0AD7 PCC0AD6 PCC0AD5 PCC0AD4 PCC0AD3 PCC0AD2 PCC0AD1 PCC0AD0 PCC0DA0 PCC0DA1 PCC0DA2 P0WP Rev. 1.0, 07/00, page Table PCMCIA Card Slot (CN9) Assignments Signal Name Signal Name Signal Name Signal Name PCC1DA3 PCC1DA4 PCC1DA5 PCC1DA6 PCC1DA7 P1CE1 PCC1AD10 P1RD PCC1AD11 PCC1AD9 PCC1AD8 PCC1AD13 PCC1AD14 P1WE1 P1RDY VCCB VPPB PCC1AD16 PCC1AD15 PCC1AD12 PCC1AD7 PCC1AD6 PCC1AD5 PCC1AD4 PCC1AD3 PCC1AD2 PCC1AD1 PCC1AD0 PCC1DA0 PCC1DA1 PCC1DA2 P1WP P1CD1 PCC1DA11 PCC1DA12 PCC1DA13 PCC1DA14 PCC1DA15 P1CE2 P1VS1 P1WE2 P1WE3 PCC1AD17 PCC1AD18 PCC1AD19 PCC1AD20 PCC1AD21 VCCB VPPB PCC1AD22 PCC1AD23 PCC1AD24 PCC1AD25 P1VS2 P1RESET P1WAIT P1REG P1BVD2 P1BVD1 PCC1DA8 PCC1DA9 PCC1DA10 P1CD2 Rev. 1.0, 07/00, page board PCMCIA interface following features. control: PCMCIA interrupts input IRQ1. PCMCIA control: PCMCIA slots supported. cards memory cards used both slots. Card voltage: Both supported. PCMCIA area: Both slots area Because area further subdivided into eight areas, each area allocated Mbytes. PCMCIA supports Mbytes each area, board provided with bank-switching register corresponding upper addresses A23. Access procedure follows. Upper addresses written (General Control Register) bits slot accessed (0/1). area window accessed according card type inserted. Allocation area space shown figure. 6.15. 18000000 18800000 19000000 19800000 1A000000 Slot attribute memory Slot attribute memory Slot common memory Slot common memory Slot area 1A800000 Slot area 1B000000 1BFFFFFF used Figure 6.15 Area Allocation Rev. 1.0, 07/00, page Explanation Registers: Table 6.10 lists addresses gives explanations registers related PCMCIA interface. Table 6.10 PCMCIA Registers Addresses Register Name PCC0ISR PCC0GCR PCC0CSCR PCC0CSCIER PCC1ISR PCC1GCR PCC1CSCR PCC1CSCIER PCCVCR Formal Name PCC0 interface status register PCC0 general control register PCC0 card status change register PCC0 card status change interrupt enable register PCC1 interface status register PCC1 general control register PCC1 card status change register PCC1 card status change interrupt enable register voltage control register Address H'01800000 H'01800002 H'01800004 H'01800006 H'01800008 H'0180000A H'0180000C H'0180000E H'01800010 PCC0 interface status register (PCC0ISR) Name Initial value P0RDY P0WP P0VS2 P0VS1 P0CD2 P0CD1 P0BVD2 P0BVD1 This register monitors values each input signal channel Here 1=High 0=Low. PCC0 general control register (PCC0GCR) Name Initial value P0DRVE P0RES P0PCCT used used P0PA25 P0PA24 P0PA23 This register controls buffer, reset other operations channel also controls uppermost three bits channel address used access Mbytes from Mbyte window. Rev. 1.0, 07/00, page P0DRVE (external buffer control) PCC0DRV signal driven high (buffer disabled) PCC0DRV signal driven (buffer enabled) P0RES (reset control) PCC0RES signal driven (normal operation) PCC0RES signal driven high (reset) P0PCCT (PCMCIA card type) Slot card handled memory card Slot card handled card Bits 4-3: Unused Always read Bits 2-0: P0PA25-23 (used upper address control, window switching) Corresponding address line driven Corresponding address line driven high PCC0 card status change register (PCC0CSCR) Name Initial value P0CDC P0RC P0BW P0BD P0SCDI used P0IREQ P0SC This register contains flags used monitor changes status channel reading this register after interrupt (IRQ1) received, cause interrupt identified. P0SCDI (software card detection interrupt) When writing data software, interrupt generated. This freely, case card detection interrupt, interrupt itself masked PCC0CSCIER (P0CDE). Interrupt generated Slot card detection interrupt generated Rev. 1.0, 07/00, page Unused Always read P0IREQ (IREQ interrupt) cases where card slot card, when interrupt generated PCC0RDY/IREQ, this case memory card, this always Conditions setting this conform settings bits PCC0CSCIER (IREQE1-0) (interrupt disabled, level mode, rising-edge mode, falling-edge mode). case edge mode, interrupt cleared writing this bit. IREQ interrupt request IREQ interrupt request generated slot card P0SC (STSCHG interrupt) cases where slot card card, when interrupt generated PCC0BVD1/STSCHG, this case memory card, always condition setting transition STSCHG from high level. cleared writing interrupt masked PCC0CSCIER STSCHG interrupt request STSCHG interrupt request slot card P0CDC (card detection interrupt) This indicates that either PCC0CD2 PCC0CD1 changed card been inserted removed). condition setting change signal level; cleared writing interrupt masked PCC0CSCIER change PCC0CD2/PCC0CD1 Either PCC0CD2 PCC0CD1 changed P0RC (ready change interrupt) cases where card slot memory card, this when PCC0RDY signal changes cases where card card, this always condition setting when RDY/BSY changes from high (there transition from busy state ready state); cleared writing interrupt masked PCC0CSCIER change RDY/BSY RDY/BSY changed from high level P0BW (battery voltage interrupt; data preserved, battery must replaced) cases where card slot memory card, this when PCC0BVD2/BVD1 signal indicates drop battery voltage case card, this always Rev. 1.0, 07/00, page condition setting this when PCC0BVD2=Low addition PCC0BVD1=High; cleared writing interrupt masked PCC0CSCIER Memory card slot does indicate battery voltage Memory card slot indicates battery voltage P0BD (battery replacement interrupt) cases where card slot memory card, this when PCC0BVD2/BVD1 signal indicates battery needs replaced case card, this always conditions setting this either that PCC0BVD2=High PCC0BVD1=Low, else that PCC0BVD2=Low PCC0BVD1=Low. This cleared writing interrupt masked PCC0CSCIER Battery slot memory card does need replacement Battery slot memory card needs replacement; integrity data memory card guaranteed PCC0 card status change interrupt enable register (PCC0CSCIER) Name Initial value P0CRE P0CDE P0RE P0IREQE P0IREQE P0SCE P0BWE P0BDE This register masks status change interrupts channel interrupt request generated when corresponding bits PCC0CSCR this register both P0CRE (PCC0GCR reset enable) When insertion card into slot detected (CD1 changes from high low, changes from high low), this determines whether PCC0GCR initialized. initialized even when card insertion detected initialized when card insertion detected Bits 6-5: P0IREQE1-0 (IREQ interrupt enable) cases where card slot card, these bits enable disable IREQ interrupts interrupt mode. Before changing these bits, PCC0CSCR (P0IREQ) should first cleared. case memory card, operations these bits invalid. Rev. 1.0, 07/00, page IREQ1 IREQ0 Settings Interrupt disabled. P0IREQ does change, regardless IREQ signal level. Level mode interrupt. P0IREQ when IREQ signal level, interrupt request generated. Edge mode interrupt. P0IREQ IREQ signal falling edge, interrupt request generated. Edge mode interrupt. P0IREQ IREQ signal rising edge, interrupt request generated. P0SCE (STSCHG interrupt enable) cases where card slot card, this enables disables PCC0BVD1/STSCHG interrupts. interrupt request generated when PCC0CSCR this When card memory card, operations this invalid. STSCHG interrupt disabled STSCHG interrupt enabled P0CDE (card detection interrupt enable) Enables disables PCC0CD2 PCC0CD1 interrupts. interrupt request generated when PCC0CSCR this PCC0CD2/PCC0CD1 interrupt disabled PCC0CD2/PCC0CD1 interrupt enabled P0RE (ready change interrupt enable) cases where card slot memory card, this enables disables PCC0RDY interrupts. interrupt request generated when PCC0CSCR this case card, operations this invalid. RDY/BSY interrupt disabled RDY/BSY interrupt enabled Rev. 1.0, 07/00, page P0BWE (battery voltage interrupt enable) cases where card slot memory card, this enables disables battery voltage-low interrupts. interrupt request generated when PCC0CSCR this case card, operations this invalid. Battery voltage-low interrupt disabled Battery voltage-low interrupt enabled P0BDE (battery replacement interrupt enable) cases where card slot memory card, this enables disables battery replacement interrupts. interrupt request generated when PCC0CSCR this case card, operations this invalid. Battery replacement interrupt disabled Battery replacement interrupt enabled PCC1 interface status register (PCC1ISR) Name Initial value P1RDY P1WP P1VS2 P1VS1 P1CD2 P1CD1 P1BVD2 P1BVD1 This register monitors values channel input signals. Here 1=high 0=low level. PCC1 general control register (PCC1GCR) Name Initial value P1PCCT P1PA23 P1DRVE P1RES used used P1PA25 P1PA24 This register controls buffer, reset other operations channel also controls uppermost three bits channel address used access Mbytes from Mbyte window. Rev. 1.0, 07/00, page P1DRVE (external buffer control) PCC1DRV signal driven high (buffer disabled) PCC1DRV signal driven (buffer enabled) P1RES (reset control) PCC1RES signal driven (normal operation) PCC1RES signal driven high (reset) P1PCCT (PCMCIA card type; interrupt processing varies depending whether memory card card) Slot card handled memory card Slot card handled card Bits 4-3: Unused Always read Bits 2-0: P1PA25-23 (used upper address control, window switching) Corresponding address line driven Corresponding address line driven high PCC1 card status change register (PCC1CSCR) Name Initial value P1CDC P1RC P1BW P1BD P1SCDI used P1IREQ P1SC This register contains flags used monitor changes status channel reading this register after interrupt (IRQ1) received, cause interrupt identified. P1SCDI (software card detection interrupt) When writing data software, interrupt generated. This freely, case card detection interrupt, interrupt itself masked PCC1CSCIER (P1CDE). Interrupt generated Slot card detection interrupt generated Unused Always read Rev. 1.0, 07/00, page P1IREQ (IREQ interrupt) cases where card slot card, when interrupt generated PCC1RDY/IREQ, this case memory card, this always Conditions setting this conform settings bits PCC1CSCIER (IREQE1-0) (interrupt disabled, level mode, rising-edge mode, falling-edge mode). case edge mode, interrupt cleared writing this bit. IREQ interrupt request IREQ interrupt request generated slot card P1SC (STSCHG interrupt) cases where slot card card, when interrupt generated PCC1BVD1/STSCHG, this case memory card, always condition setting transition STSCHG from high level. cleared writing interrupt masked PCC1CSCIER STSCHG interrupt request STSCHG interrupt request slot card P1CDC (card detection interrupt) This indicates that either PCC1CD2 PCC1CD1 changed card been inserted removed). condition setting change signal level; cleared writing interrupt masked PCC1CSCIER change PCC1CD2/PCC1CD1 Either PCC1CD2 PCC1CD1 changed P1RC (ready change interrupt) cases where card slot memory card, this when PCC1RDY signal changes cases where card card, this always condition setting when RDY/BSY changes from high (there transition from busy state ready state); cleared writing interrupt masked PCC1CSCIER change RDY/BSY RDY/BSY changed from high level Rev. 1.0, 07/00, page P1BW (battery voltage interrupt; data preserved, battery must replaced) cases where card slot memory card, this when PCC1BVD2/BVD1 signal indicates drop battery voltage case card, this always condition setting this when PCC1BVD2=Low addition PCC1BVD1=High; cleared writing interrupt masked PCC1CSCIER Memory card slot does indicate battery voltage Memory card slot indicates battery voltage P1BD (battery replacement interrupt) cases where card slot memory card, this when PCC1BVD2/BVD1 signal indicates battery needs replaced case card, this always conditions setting this either that PCC1BVD2=High PCC1BVD1=Low, else that PCC1BVD2=Low PCC1BVD1=Low. This cleared writing interrupt masked PCC1CSCIER Battery slot memory card does need replacement Battery slot memory card needs replacement; integrity data memory card guaranteed PCC1 interrupt enable register (PCC1CSCIER) Name Initial value P1CDE P1RE P1CRE P1IREQE P1IREQE P1SCE P1BWE P1BDE This register masks status change interrupts channel interrupt request generated when corresponding bits PCC1CSCR this register both P1CRE (PCC1GCR reset enable) When insertion card into slot detected (CD1 changes from high low, changes from high low), this determines whether PCC1GCR initialized. initialized even when card insertion detected initialized when card insertion detected Bits 6-5: P1IREQE1-0 (IREQ interrupt enable) cases where card slot card, these bits enable disable IREQ interrupts interrupt mode. Before changing these bits, PCC1CSCR (P1IREQ) should first cleared. case memory card, operations these bits invalid. Rev. 1.0, 07/00, page IREQ1 IREQ0 Settings Interrupt disabled. P1IREQ does change, regardless IREQ signal level. Level mode interrupt. P1IREQ when IREQ signal level, interrupt request generated. Edge mode interrupt. P1IREQ IREQ signal falling edge, interrupt request generated. Edge mode interrupt. P1IREQ IREQ signal rising edge, interrupt request generated. P1SCE (STSCHG interrupt enable) cases where card slot card, this enables disables PCC1BVD1/STSCHG interrupts. interrupt request generated when PCC1CSCR this When card memory card, operations this invalid. STSCHG interrupt disabled STSCHG interrupt enabled P1CDE (card detection interrupt enable) Enables disables PCC1CD2 PCC1CD1 interrupts. interrupt request generated when PCC1CSCR this PCC1CD2/PCC1CD1 interrupt disabled PCC1CD2/PCC1CD1 interrupt enabled P1RE (ready change interrupt enable) cases where card slot memory card, this enables disables PCC1RDY interrupts. interrupt request generated when PCC1CSCR this case card, operations this invalid. RDY/BSY interrupt disabled RDY/BSY interrupt enabled Rev. 1.0, 07/00, page P1BWE (battery voltage interrupt enable) cases where card slot memory card, this enables disables battery voltage-low interrupts. interrupt request generated when PCC1CSCR this case card, operations this invalid. Battery voltage-low interrupt disabled Battery voltage-low interrupt enabled P1BDE (battery replacement interrupt enable) cases where card slot memory card, this enables disables battery replacement interrupts. interrupt request generated when PCC1CSCR this case card, operations this invalid. Battery replacement interrupt disabled Battery replacement interrupt enabled voltage control register (PCCVCR) Name Initial value VCC0SEL VCC0SE VPP0SE VPP0SEL VCC1SEL VCC1SEL VPP1SEL VPP1SE This register used control power supply slots Four control signals each slot directly driven either high low. Bits 7-0: Corresponding signal driven Corresponding signal driven high Rev. 1.0, 07/00, page Power Supply Correspondence VCCXSEL1 VCCXSEL0 Settings Output VPPXSEL1 VPPXSEL0 Output 3.3V Hi-Z 6.4.4 E10A Emulator Interface board equipped with Hitachi-UDI port connector (CN8) which SH7729 E10A emulator connected. SH7709A/7729 signals connected directly this connector. When connecting E10A emulator, always sure turn jumper board. Figure 6.16 shows arrangement Hitachi-UDI port connector (CN8). Table 6.11 shows assignment Hitachi-UDI port connector (CN8). Hitachi-UDI Port connector Figure 6.16 Hitachi-UDI Port Connector (CN8) Arrangement Rev. 1.0, 07/00, page Table 6.11 Hitachi-UDI Port Connector (CN8) Assignment SH7709A/SH7729 Signal Name AUDDATA[0] AUDDATA[1] AUDDATA[2] AUDDATA[3] _AUDSYNC Input/Output Input/output Input/output Input/output Input/output Input/output Input SH7709A/SH7729 Signal Name _TRST _ASEBRKAK Reserve _RESET AUDCK Input/Output Input Input Input Input Output Output Output Input Rev. 1.0, 07/00, page Parts Layout parts layout board shown figure 6.17. Uninstalled parts listed table 6.12. Table 6.12 List Uninstalled Parts Part Number OSC3 OSC4 CN4* J12, TP12 CKIN U21, Part Name TCO-711S4 CXO-105D FFC-10 310-93-103 410-93-202 ST-1-3 ST-1-3 MCR10EZHJ472 MCR10EZHJ103 MCR10EZHJ000 DBLC-J25SAF20L9 HD74LS244 HD74LS374 TC74VHC374 281E6801-337M 281E1002-157M 281E1002-107M Quantity Note: connector testing. Should connected cables even connector installed. Rev. 1.0, 07/00, page 8817-180-170L 3.3V-GND HD151015 TSSOP-24 3.3µF 5V-GND 1BAU 1CK2 3.3µF 3.3µF HD151015 TSSOP-24 HD151015 HD151015 VHC244 TSSOP20 TSSOP20 TSSOP20 3.3V-GND 1END 1MRB TSSOP-24 HD151015 VHC244 HD151015 TSSOP-24 HD151015 TSSOP-24 TSSOP-24 538061604 HD151015 VHC244 VHC244 53553-1607 TSSOP-24 8931E-100178S HD151015 TSSOP-24 HD151015 TSSOP-24 HD151015 TSSOP-24 TSSOP-24 TSSOP20 HD151015 HD151015 TSSOP-24 TSSOP-24 VHC244 TSSOP20 VHC244 VHC244 VHC244 TSSOP20 LT1301 CD73-330M HRF22 HD151015 TSSOP-24 TSSOP20 TSSOP20 VHC244 TSSOP20 VHC244 VHC244 VHC244 TSSOP20 TSSOP20 TSSOP20 LTC1472CS LTC1472CS QS3384 QS3384 LVT16543 SSOL048 LS374 FP-20DA VHC374 FP-20DA LS374 FP-20DA LS244 FP-20DA MB3771 PSS-24A PSS-24A FP-8D QS3384 QS3384 LS244 FP-20DA 5V-GND PSS-24A PSS-24A HM5264165 TTP-54D 3.3µF HM5264165 TTP-54D 1.8V-GND DT-26SH 3.3µF PA28F400B5-B70 SOP-44 EMP7128S TQFP-100 3.3V-GND 3.3V-GND XTAL1 LS279 FP-16DA PL-SKT/Q160 EPM7192 PQFP-160 SH7709A /SH7729 LQFP-208 3.3V-GND 3.3µF CKIN ABORT MRESET LED1 SG-8002JA OSC1/3/4 EXO-3C 14.7456M OSC2 LT1181ACS SOL-28 V03C TP10 TP11 TP12 HEC0470-01-630 M2T-12AKH1-G5E LT1084 7620-6002SC FFC-10 LT1084 Figure 6.17 Parts Layout (Mounting Side) 6.6.1 Initialization Initializing Resources Table 6.13 shows which board resources initialized. Rev. 1.0, 07/00, page Dsub9 Dsub25 3.3µF 3.3V-GND 3.3µF 49FCT3805 SSOP20 DX10M-36SE 66.6Mz 5500707 Table 6.13 Resource Initialization Interrupt Source Causing Initialization Power-On Reset Resource SH7709A CACHE INTC DMAC IRDA SCIF PORT Notes: Initialized Monitor Hardware Program Manual Reset Switch Monitor Hardware Program Remarks initialized When, during board operation, power-on reset occurs power supply voltage drop other reasons, "Power reset detected." dialog displayed. However, this case general-use registers control registers initialized. Change settings necessary restart HDI. Rev. 1.0, 07/00, page Table 6.13 Resource Initialization (cont) Interrupt Source Causing Initialization Power-On Reset Resource SH7709A H-UDI ASERAM XYCNT XYMEM Interrupt controller PCMCIA SDRAM (Monitor program work area) Monitor Hardware Program Manual Reset Switch Monitor Hardware Program Remarks SH7729 only Initialized TRST Initialized TRST Initialized TRST SH7729 only SH7729 only SDRAM (User program area) Notes: Initialized initialized When, during board operation, power-on reset occurs power supply voltage drop other reasons, "Power reset detected." dialog displayed. However, this case general-use registers control registers initialized. Change settings necessary restart HDI. Rev. 1.0, 07/00, page 6.6.2 Procedure Making Initial Settings State Controller (BSC) Figure 6.18 flowchart procedure setting initial settings state controller (BSC). information settings each register, please refer section 6.6.3, Initial Settings State Controller (BSC). START WCR2 Software timer 1.5µs more >Automatic refresh times (180ns/once) WTCNT RTCNT WTCSR RTCOR=Normal value =A5A6 66MHz =A553 33MHz BCR1 RTCNT RFCR BCR2 RTCOR=A503 RTCSR BCR3 RFCR SDMR WCR1 RTCSR FRQCR Figure 6.18 Procedure Setting Settings Rev. 1.0, 07/00, page 6.6.3 Initial Settings State Controller (BSC) clock mode board. state controller (BSC) registers, bits corresponding areas must modified because these areas assigned resources board. these bits modified, board will operate. following shows initial register values monitor program. figures, shaded bits must modified. Separate figures used show register values that depend operating frequency (CKIO). Registers Whose Values Same MHz: BCR1 (H'FFFFFF60) H'0009 name Initial value BST1 BST0 BST1 BST0 BST1 BST0 BCR2 (H'FFFFFF62) H'2FF0 name Initial value BCR3 (H'FFFFFF7E) H'0303 name Initial value Rev. 1.0, 07/00, page WCR1 (H'FFFFFF64) H'1F71 name Initial value WTCNT (H'FFFFFF84) H'5A00 name Initial value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 WTCSR (H'FFFFFF86) H'A547 name Initial value WT/I IOVF CSK2 CSK1 CSK0 (H'FFFFFF6A) H'0300 TPC1 TPC0 name Initial value Rev. 1.0, 07/00, page (H'FFFFFF68) H'5724 TPC1 TPC0 name Initial value RTCNT (H'FFFFFF70) H'A500 name Initial value Register Values MHz: FRQCR (H'FFFFFF80) H'0112 STC2 IFC2 PFC2 name Initial value STC1 STC0 IFC1 IFC0 PFC1 PFC0 SDMR (H'FFFFE088) H'00 name Initial value Rev. 1.0, 07/00, page RTCSR (H'FFFFFF6E) H'A508 name Initial value CMIE CKS2 CKS1 CKS0 OVIE RTCOR (H'FFFFFF72) H'A5A6 name Initial value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 RFCR (H'FFFFFF74) H'A400 name Initial value WCR2 (H'FFFFFF66) H'FFDB name Initial value Rev. 1.0, 07/00, page Register Values MHz: FRQCR (H'FFFFFF80) H'0122 STC2 IFC2 PFC2 name Initial value STC1 STC0 IFC1 IFC0 PFC1 PFC0 SDMR (H'FFFFE088) H'00 name Initial value RTCSR (H'FFFFFF6E) H'A508 name Initial value CMIE CKS2 CKS1 CKS0 OVIE RTCOR (H'FFFFFF72) H'A553 name Initial value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Rev. 1.0, 07/00, page RFCR (H'FFFFFF74) H'A400 name Initial value WCR2 (H'FFFFFF66) H'FFDA name Initial value Rev. 1.0, 07/00, page Section Notes Troubleshooting Notes User Prog Other recent searchesURC1B - URC1B URC1B Datasheet uPD780988 - uPD780988 uPD780988 Datasheet uPD780982 - uPD780982 uPD780982 Datasheet uPD780983 - uPD780983 uPD780983 Datasheet uPD780984 - uPD780984 uPD780984 Datasheet uPD780986 - uPD780986 uPD780986 Datasheet uPD78F0988A - uPD78F0988A uPD78F0988A Datasheet TPS22960 - TPS22960 TPS22960 Datasheet S2092 - S2092 S2092 Datasheet S2080 - S2080 S2080 Datasheet PIC18F2X50 - PIC18F2X50 PIC18F2X50 Datasheet DM9008 - DM9008 DM9008 Datasheet NE2000 - NE2000 NE2000 Datasheet
Privacy Policy | Disclaimer |