Home
SH7055 E8000 Hitachi Debugging Interface HS7055D8IW1SE
Contents
1. 00003002 for i 0 1 lt 10 i H 00001e23 Ox003fffe4 0000300a j rand H 00000aad OxO003fffes 00003012 if j lt 0 H 00000722 Ox003fffec 00003016 j j H 00000000 0 003 0 0000301a a i 00003036 0000303 0 00003042 9 00003046 0 0000304a max 0 0000304 change a a fa 98 ay em Gi e Hi iz FH EJ 0000305 0 0000305 while 1 Break STOP ADDRESS NUM Figure 3 32 Source Window Step Over When the last statement of the change function is executed the data of variable a which is displayed in the Watch window is sorted in descending order 57 RENESAS 3 11 Displaying Local Variables The user can display local variables in a function using the Locals window For example the local variables in the main function which declares five local variables a j i min and max will be examined e Select Local Variable Window from the View menu The Locals window is displayed Initially the Locals window is empty because local variables have not yet been declared e Select Step In from the Run menu to execute a single step The Locals window will now show the local variables and their values 1826 Ox003fffc4 long 0 Ox003fffcO long 24878 Ox003fffbe long TE 0x003f ffc8 long 10 10 O x O3fffb8 int
2. sess 25 2 5 2 Connection Error of the Emulator sees 25 2 0 Umnstallation oes Ute oes Im eI ed ae eee ees 27 2 6 1 Uninstalling Software pete pete pb rs 27 2 6 2 Uninstalling the Acrobat 27 Section Poeta a Eve ett eos 29 3 b Introd ction bie RO eter 29 3 22 Running the HDI eco tte etn VA oE EEEE E Esa eoi 30 3 2 1 Selecting the Target Program eee eee 31 3 3 Setting up the Emulator ettet bee eee ette en EHE pene t neis 33 3 3 1 Setting the Configuration Dialog eee 34 3 3 2 Setting the Memory nennen rennen enne 36 3 4 Downloading the Tutorial Program esee nenne 39 3 4 1 Downloading the Tutorial Program esee 39 3 4 2 Displaying the Source Program 41 3 5 Setting the Software Breakpoint essere nennen trennen 43 3 6 Executing the Program isen aee e cuss e pipe e e es 44 3 7 Reviewing Breakpolnts meira n A n En E E nennen een E N tenete 46 3 8 Viewing Memory iioc depen get a e i SERE neds EEA a S EES 47 3 9 Watching Variables hie aia eee A Ge ie eR Odes 48 3 10 Stepping Throtigh a Program eee eie prre ire ebay 51 3 10 1 Executing Step In Command eese 53 3
3. Figure 5 5 Diagnostic Program Termination Note The diagnostic program can only be terminated when waiting for user input 104 RENESAS Section 6 Error Messages 6 1 Error Messages The HDI outputs error messages to notify the user of operating errors The error messages output by the HDI are shown in table 6 1 Table 6 1 Error Messages Message Can not set target configuration Clock mode option Cause and Countermeasure A mode in which the emulator is not supported has been selected in Clock in the Configuration window Can not set target configuration CPU mode option A mode in which the emulator is not supported has been selected in CPU mode in the Configuration window Can not set target configuration Execution mode option A mode in which the emulator is not supported has been selected in Execution mode in the Configuration window Cannot use command when user program executing Command line input has been performed when a command cannot be issued to the emulator Wait for processing to finish Command timeout The HDI has timed out because no response has been received from the emulator after the HDI issued a command Terminate the HDI power on the emulator and restart the HDI Emulator command send receive check error Communication with the emulator was not performed correctly on HDI activation Terminate the HDI power on the emulator and restart t
4. Ox003fffe0 Ox003fffe4 Oxd03fffes Ox003fffec xOO0S3fffc RENESAS long ilong ilong ilong ilong ilong ilong ilong ilong ilong ilong 3 10 Stepping Through a Program The HDI provides a range of step menu commands that allow efficient program debugging Table 3 4 Step Option Menu Command Description Step In Executes each statement within a function or one instruction of the assembly language Stops execution at the top of the function call Step Over Executes a function in a single step or one instruction of the assembly language A function call is executed in one step Step Out Steps out of a function and stops at the next statement that called the function in the program Step Steps the specified counts repeatedly at a specified rate 51 RENESAS To demonstrate program stepping confirm that the sort function statement at address H 00003036 has been executed inti Tutorial c CE XI Line Address BP Label Source 24 00003000 _ void main void 25 t 26 long a 10 min max 27 long 1 28 int i 29 30 00003002 fori i 0 i 10 i 31 0000300 j rand 32 00003012 if j lt 0 33 00003016 j j 34 35 0000301 a i j 36 0000303e 0 00003042 9 00003046 0 0000304a max 0 0000304 change 00003056 9 0000305 0 0000305
5. EDS Bancel ply Figure 3 55 Condition A Page Trace Acquisition Dialog Box 85 RENESAS e Highlight the first point in the Condition list box e Click the Edit button e The Trace Condition A1 dialog box is displayed Trace Condition Al x General Address Data Bus State Probe Interrupt Mode Cancel Help Figure 3 56 General Page Condition A1 Dialog Box e Select Trace Stop radio button as Mode in the General page e Select Address to display the Address page e Clear the Don t Care check box in the Address page e Select the Address radio button and input H 3046 as the value in the Start edit box 86 RENESAS Trace Condition Al Ea General Address Data Bus State Probe Interrupt Address Address C Range Stat u 2046 Monusermask User mask pm us cS Cancel Figure 3 57 Address Page Trace Condition A1 Dialog Box 87 RENESAS e Select Bus State to display the Bus State page e Select Read radio button Trace Condition A1 x General Address Data Bus State Probe Interrupt Bus State All Data DMAC Vector Fetch Read Write C Read Write Read Write Figure 3 58 Bus State Page Trace Condition A1 Dialog Box e Click the OK button e The Trace Acquisition dialog box is displayed and the first point display in the Condition lis
6. M 53 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 3 46 Figure 3 47 Figure 3 48 Figure 3 49 Figure 3 50 Figure 3 51 Figure 3 52 Figure 3 53 Figure 3 54 Figure 3 55 Figure 3 56 Figure 3 57 Figure 3 58 Figure 3 59 Figure 5 1 Figure 5 2 Figure 5 3 Figure 5 4 Figure 5 5 vi Source Window Step In esee eene ettet eterne tnn 53 Step Out Buttons at hee es hei EPIRI REIS Pes 54 Source Window Step OU eren iire ieee aE N E ETE A NE 54 Source Window Step Out gt Step In essen 55 Source Window Before Step Over 56 Step Over Button el i e Aes Hiei Leen Gi hee MS 57 Source Window Step OVET rnaner E E R E RER 57 Locals Window eere tree rere 58 Breakpoints Window Before Hardware Break Condition Setting 61 Condition A Page Break Dialog Box eene 62 Address Page Break Condition A1 Dialog Box eene 63 Bus State Page Break Condition A1 Dialog Box 64 Break Dialog Box After Hardware Break Condition Setting 65 Breakpoints Window B
7. eese nente nente enne e 31 HDI Window Re egmecincempdeibap eese nieappS 32 Configuration Dialog BOX 5 iie eee reet Pe Ucet tete e 34 Memory Mapping Window Before Setting 36 Edit Memory Mapping Dialog Box seen 37 Memory Mapping Dialog Box at Setting 38 Load Program Dialog BOX irt pt e EG meee UMS 39 HDI Dialog Box E E 40 Open Dialog Box a5 ooo nee epe tieni ae net 41 Source Window Displaying the Source Program eee 42 Program Window Setting a Software Breakpoint eee 43 ResetGo Button cec decere e re Ue DS RIS 44 Source Window Break State enne enne 44 System Status Window ccceeccessecsseeeeneeceseeesneeceseeeeneeceseeeenaeceeeseaeecerereneeeeee 45 Breakpoints tree Ser rep EL E uS PEUT Ue UE 46 Open Memory Window Dialog 47 Word Memory Window sees enne a 47 Instant Watch Dialog Box seen nennen enne enne 48 Watch Window Displaying the Array serene 48 Add Watch Dialog Box E E enne enne enne ennt a ie 49 Watch Window Displaying the Variable seen 50 Watch Window Displaying Array Elements eee 50 Source Window Step 2 52 Iridium
8. without Internal 50 Area 8 bit bus Clock Emulator Clock BMHz id Emulationmade Nom Read Write on the fly Emulator PCI Card Driver Change Figure 3 4 Configuration Dialog Box 34 RENESAS Set options as follows Table 3 2 Setting the Configuration Dialog Box Page General page Option CPU operating mode Mode Value Advanced Mode without Internal ROM CS0 Area 8 bit bus Emulation clock Clock Emulator Clock 5 MHz using the emulator clock Emulation mode Emulation mode Normal normal execution Memory access enabled disabled during execution Prohibit R W on the fly Enabled no check Execution Mode1 page Program counter display interval Execution status display interval About 200 ms default setting Timer resolution The minimum time to be measured by Go command execution 1 6 us default setting User wait control Enable user wait Valid default setting Multi break function Enable the multi break of External probe No 1 Invalid default setting BREQ signal control Enable the BREQ signal input Invalid default setting Execution Mode2 page Trigger output control 1 at break TRGU Option Upper default setting Trigger output control 2 at break TRGB Option Upper default setting Click the OK button to set any changes in the configuration RENESAS
9. Figure 3 2 Select Session Dialog Box The target platform can be selected by selecting New Session from the File menu When the emulator is correctly set up Link Up is displayed on the status bar and the HDI window will be displayed The main functions of the HDI window are given below 31 RENESAS Hitachi Debuaaing interface E8000 SHOX Emulator D Eie Edi Bun Setup Window Figure 3 3 HDI Window Numbers in figure 3 3 indicate the following 1 Menu bar Indicates the access to the HDI commands for the use of the HDI debugger 2 Toolbar Contains convenient buttons as shortcuts of menu commands most frequently used 3 Status bar Indicates the state of the emulator and progress information about downloading 4 Help button Activates the context sensitive help concerning features of the HDI user interface 32 RENESAS 3 3 Setting up the Emulator The following MCU conditions must be set up before downloading the program e Device type Operating mode e Operating clock e Execution operating mode e Memory map The following describes how to set up the emulator correctly for the tutorial programs RENESAS 3 3 1 Setting the Configuration Dialog Box Select Configure Platform from the Setup menu to set configuration The following dialog box is displayed Configuration x General Execution Model Execution Mode CPU SH7055 Mode Advanced
10. 1 3 Configuration of the CD R The CD R includes the E8000 emulator software and the user s manual for SH7055 E8000 emulator See table 1 3 Table 1 3 CD R Files Directory Name File Name Contents Note setup exe Installer System E8000 sys System program for the SH7055 E8000 emulator System shdct705 sys Control program for the SH7055 E8000 emulator System shenf705 sys Configuration file for the SH7055 E8000 emulator System diag sys Diagnostic and maintenance program System ipw exe Interface software System setup cc Script file for automatic installation IPW Drivers Pci95 pcihei inf Setup information PCI For Windows 95 Windows 98 Windows 98SE and Windows Me Drivers Pci 95 pcihei vxd Virtual driver PCI For Windows 95 Windows 98 Windows 98SE and Windows Me Drivers PciNNt pcihei sys System file PCI For Windows NT Drivers Pci 2000 pcihei sys System file PCI For Windows 2000 Drivers Pciv2000 pcihei2k inf Setup information PCI For Windows 2000 Drivers lsa Nt emulator sys System file ISA For Windows NT Drivers Pcmcia 95 ulepcc inf Setup information PCMCIA For Windows 95 Windows 98 Windows 98SE and RENESAS Windows Me Table 1 3 CD R Files cont Directory Name File Name Contents Notes Drivers Pcmcia 95 ulepcc vxd Virtual driver PCMCIA For Windows 95 Windows 98 Windows 98S
11. D D D D Figure 3 33 Locals Window e Double click the symbol to the left of array a in the Locals window to display the elements of array a Refer to the elements of array a before and after the execution of the sort function and confirm that random data is sorted in ascending or descending order 58 RENESAS 3 12 Setting the Hardware Break Conditions The emulator has powerful hardware break functions In the HDI these hardware break conditions can be set by using dialog boxes The dialog boxes for setting hardware break conditions and the corresponding break conditions are described below Table3 5 Dialog Boxes for Setting Hardware Break Conditions Function Bus External Address State Probe Interrupt Satis Bus Data Bus Condition Signal Signal faction DELAY Condition Condition Bus Condition Condition Count Condition Dialog Box Address Data State Probe Interrupt Count Delay 3 Break Condition X X O X UBC1 dialog box Break Condition X X X X UBC2 3 4 dialog box Break Condition A O X X dialog box 2 Break Condition B O dialog box 2 Break Condition C O X X X X X dialog box 2 Notes 1 O Can be set in the dialog box X Cannot be set in the dialog box 2 Eight break condition points can be set independently in each of the Break Condition A B C dialog boxes 3 Only Break Condition B7 can be set for the DELAY condition
12. If the Intel P amp P BIOS disk is supplied with the host computer register the memory area as follows e Start the host computer with the Intel P amp P BIOS disk e Check the upper memory areas that have already been used with View System Resources e Add Unlisted Card with Configure Add Card Other e Click No in the dialog box displayed because there is no CFG file e Move to the Memory hex list box in the Configure Unlisted Card dialog box e Click the Add Memory button to display the Specify Memory dialog box Enter a memory area range that is not used by any other device and that corresponds to one of the PC interface board switch settings e Save the file e Exit the current setup program Shut down Windows NT 4 0 and turn off the host computer power switch e Turn on the host computer RENESAS 2 3 Installing the System Program The E8000 system program must be transferred to flash memory in the E8000 emulator station The E8000 emulator cannot be used without the E8000 system program The system programs are stored in the SYSTEM directory under the HDI installation directory Table 2 1 is a list of system programs with descriptions Table 2 1 Contents of Emulator System Programs No File Name Contents of File 1 E8000 SYS System program for the emulator Controls the evaluation board and executes various commands such as emulation Loaded to the memory of the emulator at the start
13. Install the provided software Select PC Card Driver PCMCIA as the component e Install the PC interface card into the host computer e Hardware will be acknowledged and driver installation will start automatically e Select Search for the best driver for your device for driver installation and select Specify a location for the location e Specify Drive DRIVERSVPCIMCIA 95 for the location Drive is the drive name of the CD ROM drive e Check that E6000 PC Card has been detected and complete driver installation When Using the PC Interface Board e Refer to section 2 2 4 PC Interface Board Specifications ISA Bus Specifications and set the operating system environment and install the ISA bus interface board e Install the provided software Select ISA Driver as the component Note The PC interface board cannot be used under Windows Me RENESAS When Using the LAN Adapter e Install the provided software Select E8000 LAN Driver as the component e Connect the LAN adapter to the local network and turn the LAN adapter on e Select SH7055 E8000 Emulator Software Tools LAN Adapter Configuration from Start Programs to start the LAN Adapter Configuration e Set the LAN adapter by LAN Adapter Configuration e Turn the LAN adapter off and connect the LAN adapter to the target network and turn the LAN adapter on In this procedure LAN adapter must be turned off even when the network is not changed
14. Note When using a LAN adapter that has already been set it is unnecessary to set it again Use LAN Adapter Configuration to define only the host computer For details on the usage of the LAN Adapter Configuration refer to the online help of the LAN Adapter Configuration When Using the USB Adapter e Install the provided software Select E8000 USB Driver as the component e Install the USB adapter into the host computer e Hardware will be acknowledged and the USB adapter will be automatically acknowledged e Select Search for the best driver for your device for driver installation and select Specify a location for the location e Specify lt Drive gt DRIVERS USB for the location lt Drive gt is the drive name of the CD ROM drive e Check that E8000 E6000 USB Adapter has been detected and complete driver installation Note The USB adapter is not supported in Windows 95 and Windows 98 RENESAS 2 2 2 Setting Up with Windows NT 4 0 Operating System When Using the PCI Interface Board e Exit from the operating system shut down the host computer and turn off the power switch e Install the PCI bus interface board into the host computer e Turn on the host computer Log on as Administrator e Install the provided software Select PCI Card Driver as the component e Restart the host computer When Using the PC Interface Card e Exit from the operating system shut down the host computer and turn off the power
15. 35 36 3 3 2 Setting the Memory Map In the next step allocate the emulation memory for the developing application Select Memory Mapping Window from the View menu to display the current memory map The Memory Mapping window is displayed Memory Mapping x Erom To Mapping Target Device configuration System memory resources REMAINING EMULATION MEMORY Large Block 0 11 4096 KB 1Mbytes by 1 Block Unit RAM AREA FFFEE DO FFFFDFFF INTERNAL 120 FFFFEOOO FFFFFFFF type c Memory Festa Help Figure 3 5 Memory Mapping Window Before Setting RENESAS The emulator can allocate the optional memory area as one of the following five types Table 3 3 Memory Type Memory Type Description USER AREA Read Only Sets the user memory area to be write protected USER AREA Guarded Sets the user memory area to be access inhibited EMULATION AREA Sets the address range of the emulation memory area EMULATION Read Only Sets the emulation memory area to be write protected EMULATION Guarded Sets the emulation memory area to be access inhibited When the Add button is clicked the Edit Memory Mapping dialog box is displayed Add Memory Mapping ES Memory Mapping From H o0000000 To H 003FFFFF Setting EMULATION AREA Cancel Help Figure 3 6 Edit Memory Mapping Dialog Box For this tutorial allocate the memory area of addresses ranging from
16. Select the check box that corresponds to the file to be registered Place a cursor in the combo box and press the Browse button When the Browse button is clicked a dialog box for selecting the file is displayed Select the file to be registered When the selected file is not registered do not select the check box In this case the file is displayed in gray and is not registered Click the OK button The system program is registered to the emulator The file name that has been registered on the status bar is displayed Then take the same procedure as for auto installation When the Cancel button is clicked the Select Install dialog box will be returned For error messages that are displayed during ESI operation refer to the troubleshooting for the ESI help To see the ESI help select Programs SH7055 E8000 Emulator Software Tools System Install Tool Help from the Start menu 21 RENESAS 2 4 Checking the System The next step is to check that the E8000 emulator and the HDI are initiated correctly e Turn on the E8000 emulator after confirming that the S7 and S8 DIP switches of SW1 on the E8000 emulator are turned on e Select SH7055 E8000 Emulator Software from the Start menu a gt Tools Hitachi Debugging Interface Find Help Figure 2 6 Start Menu 22 RENESAS The Select Session dialog box will be displayed Select the target emulator name in the combo box then click t
17. is described below If you have already installed Acrobat Reader do not carry out this procedure 1 Install the CD R of this product in the CD ROM drive 2 Click Run from the Start menu 3 Specify Ar500eng exe in Pdf_read English directory in the Run dialog box e g D Pdf_Read English Ar500eng exe then click the OK button 4 Install according to the instructions displayed in the screen 2 1 2 Setting up the E8000 Emulator For details on setting up the E8000 emulator refer to section 3 Preparation before Use in Part I of the SH7055 E8000 Emulator User s Manual in the CD R Note that the full content of the emulator system disk which is referred to in the SH7055 E8000 Emulator User s Manual is in the system directory of the CD R 2 2 Setting Up with Windows Operating Systems The following describes the setup procedure for Windows operating systems Since hardware is set up during installation the installation procedure may differ according to the operating system and interface used ISA PCI USB PCMCIA or LAN Proceed with installation according to the procedures for the environment in use To connect the host computer to the emulator either PC interface board HS6000EII01H PCI interface board HS6000EICO1H and HS6000EICO2H USB interface board HS6000EIU01H PC interface card HS6000EIPO1H or a LAN adapter HS6000ELNO1H can be selected For details on the connection of the PC interface
18. while 1 0000306 _sort void sort long a Figure 3 24 Source Window Step Execution 52 RENESAS 3 10 1 Executing Step In Command The Step In steps into the called function and stops at the first statement of the called function e To step through the sort function select Step In from the Run menu or click the Step In button in the toolbar Figure 3 25 Step In Button M Mil BP La Source 00003036 e TOT 0000303e min 00003042 max 2197 00003046 min 0000304a max 0000304e 00003056 min a 9 1 0000305a max a 0 0000305e while 1 long t int i j k gap 00003070 00003074 gt 0 Df 00003078 0 k gap k 00003080 brem i k gap 1 lt 10 i 0000308c for jzi ga 00003098 ab isa 000030b0 000030ba Frid x 000030ce Figure 3 26 Source Window Step In e The highlighted line moves to the first statement of the sort function in the Source window 53 RENESAS 3 10 2 Executing Step Out Command The Step Out command steps out of the called function and stops at the next statement of the sort calling statement e To step out of the sort function select Step Out from the Run menu or click the Step Out button in the toolbar Figure 3 27 Step Out Button Hitachi Debugging interface tutorial E8000 SH7055 Emulator Eie Edit View Run Memory Setup Window Help mE EET 85 amp amp Et e E
19. 10 2 Executing Step Out 54 3 10 3 Executing Step Over Command sese 56 34 Displaying Local Variables sc ose sc het eerte p Re Se 58 3 12 Setting the Hardware Break Conditions esee 59 3 13 Setting the Sequential Break Conditions esee 67 3 4 Using the Trace Buffet net ERROR TI 3 14 1 Displaying the Trace Buffer eene en eene nenne TI 3 14 2 Set ng the Trace Filter aieo LE ee 78 3 15 Trace Acquisition Condition Setting sse eee eene 82 3 16 Saving the Session novo vue Eee ied 90 S17 What Next hte o e boe on eene bete ppt e edes 9 5 4 FUNC MON ee o irt reme tte see bu ten 93 4 1 Windows and Dialog Boxes eese nennen nenne 93 42 Command Descriptions et tee ce dyes eet iet ete ee iei ees 96 Section 5 Use of Diagnostic Program eese enne 101 5 1 Diagnostic Program Operation sse 101 5 1 1 Diagnostic Program Installation on the HDI see 101 51 2 TARGETL INI File 101 5 1 3 Diagnostic Program Start Up SEES 102 5 1 4 Diagnostic Program 104 Section Error Message sianie g n desiit 105
20. 6 L Error Messages eu UD ORBE Alege eee e em uos 105 iv RENESAS Figures Figure 2 1 Figure 2 2 Figure 2 3 Figure 2 4 Figure 2 5 Figure 2 6 Figure 2 7 Figure 2 8 Figure 2 9 Figure 2 10 Figure 2 11 Figure 2 12 Figure 3 1 Figure 3 2 Figure 3 3 Figure 3 4 Figure 3 5 Figure 3 6 Figure 3 7 Figure 3 8 Figure 3 9 Figure 3 10 Figure 3 11 Figure 3 12 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 Selecting System Install from the Start Menu eene 17 Browse for Folder Dialog Box sesssssssesssseessreeseessesssessseessesreesressressresseessesssesseesee 18 E8000 Load Files Dialog Box eene enne 19 System Install Completed Dialog Box eene 20 E8000 Load Files Dialog nennen 21 eie ode ee e ee ett idet petet 22 Select Session Dialog 23 Driver Details Dialog Box When Selecting ISA 23 Status Bar during the HDI Initiation eese enne 24 Status Bar at the HDI Initiation Completion seen 24 PC Interface Board Connection Error Message Box sse 25 Emulator Connection Error Message Box 25 Start Menu sete ete pe RI REMIT 30 Select Session Dialog Box
21. Break Condition Sequence is used as the sequential break function Set break conditions as follows Break condition 1 A break is executed when address H 3056 is accessed in a read cycle Break Condition UBCI Break condition 2 A break is executed when address H 3046 is accessed in a read cycle Break Condition UBC2 After Break Condition 2 is satisfied and Break Condition 1 is satisfied in succession a program being executed will stop Then set the sequential break conditions e Select Breakpoints from the View menu The Breakpoints window is displayed e When the right button of the mouse is clicked in the Breakpoints window a pop up menu appears Select Delete All and cancel all the breakpoints that have been set e Display a pop up menu again and select Add The Break dialog box is displayed Breakpoints of Xx Enable File Line Figure 3 41 Breakpoints Window Before Sequential Break Conditions Setting The Break dialog box appears To set sequential break conditions select Condition UBC and display the Condition UBC page 70 RENESAS Figure 3 42 Break Dialog Box Break Condition UBC Page 71 RENESAS Set Break Condition 2 of the sequential break conditions to Break Condition UBC2 and set Break Condition 1 to Break Condition UBC1 e Highlight the second line in the Condition list box e Click the Edit button The Break Condition UBC2 dialog box will appea
22. H 00000000 to H 003FFFFF as an emulation memory area 37 RENESAS 38 Set the From and To edit boxes to H 00000000 and H 003FFFFF respectively set the Setting combo box to EMULATION AREA and click the OK button The Memory Mapping window will now show the modified ranges Memory Mapping LX To Mapping Target Device configuration System memory resources Short Block 0 15 0000000 001FFFFF REMAINING EMULATION MEMORY 4 128Kbytes by 1 Block Unit Large Block 0 11 0000 KB Large Block 0 11 00200000 00FFFFFF Short Block 0 7 0000 KB 1Mbytes by 1 Block Unit Short Block 8 15 0000 KB RAM AREA FFFEEDDD FFFFDFFF INTERNAL 1 0 FFFFEOOO FFFFFFFF n Memory Y EB Add Reset Reset All Help Figure 3 7 Memory Mapping Dialog Box at Setting Click the close box X in the upper right corner of the Memory Mapping window to close the window RENESAS 3 4 Downloading the Tutorial Program 3 4 1 Downloading the Tutorial Program Download the ELF DWARF2 tutorial program e Select Load Program from the File menu The Load Program dialog box will be displayed e Select the Browse button The Open dialog box will be displayed e Select the file TUTORIAL ABS and click the Open button Click the Open button in the Load Program dialog box Load Program x Offset Open wo Verify Cancel File name C Hew H diSNE 8
23. accidentally use the area of memory required by the PC interface hardware 12 RENESAS CAUTION Be careful not to allocate the PC interface board to a memory area to which other boards have been allocated If you fail to take care of this point correct operation cannot be guaranteed When the PC interface board is shipped the switch settings are for allocation to the address range from H D0000 to H D3FFF For details on installing the PC interface board refer to the SH7055 E8000 Emulator User s Manual and the Description Notes on Using the PC Interface Board HS6000EIIO1H Setting Up the PC Interface Board on Windows 95 Windows 98 or Windows 98SE Description of setting up a PC interface board HS6000EII01H is given below taking settings under Windows 95 as an example e Start Windows 95 Click the My Computer icon with the right mouse button and select Properties from the pop up menu The System Properties dialog box will be displayed e Double click the Computer icon in the Device Manager panel to open the Computer Properties dialog box Click the Memory radio button in the View Resources panel to display the memory resources Select one of the address ranges that is not listed in the Computer Properties dialog box For example if you select the range H D8000 to H DBFFF the corresponding switch number will be 6 Define the memory area so that Windows 95 does not use
24. and click the Add Remove button Follow the directions on the screen 27 RENESAS 28 RENESAS Section 3 Tutorial 3 1 Introduction The following describes a sample program for sorting random data in order to introduce the main functions of the HDI The sample program performs the following actions e The main function generates 10 pieces of random data to be sorted e The sort function sorts the random data in ascending order e The change function changes the data in descending order Table 3 1 shows the configuration of the sample program Table 3 1 Configuration of Sample Program No Item Description 1 HEW workspace file HEW HDI5 E8000 7055 T UTORIAL TUTORIAL HWS 2 ELF DWARF2 load module HEW HDI5 E8000 7055 TUTORIAL TUTORIAL DEBUG TUTORIAL ABS 3 Source file main program HEW HDI5 E8000 7055 TUTORIAL TUTORIAL TUTORIAL C Note The sample program is created using the SuperH RISC engine C C compiler package V6 0 0r1 29 RENESAS 3 2 Running the HDI To execute the HDI select SH7055 E8000 Emulator Software Hitachi Debugging Interface from the Start menu Hitachi Debugging Interface Figure 3 1 Start Menu 30 RENESAS 3 2 1 Selecting the Target Program When the HDI is initiated the dialog box for selecting the current session platform is displayed Select E8000 SH7055 Emulator Select Session Ea suizo 80005 Emulator Exit Previous session file ee
25. e Install the provided software Select E8000 LAN Driver as the component e Connect the LAN adapter to the local network and turn on the LAN adapter 10 RENESAS Select SH7055 E8000 Emulator Software Tools LAN Adapter Configuration from Start Programs and start the LAN Adapter Configuration Set the LAN adapter by LAN Adapter Configuration Turn off the LAN adapter and connect the LAN adapter to the target network and turn on the LAN adapter Then LAN adapter must be turned off even when the network is not changed Note When using a LAN adapter that has already been set it is unnecessary to set it again Use LAN Adapter Configuration to define only the host computer For details on the usage of the LAN Adapter Configuration refer to the online help of the LAN Adapter Configuration Support of the USB Adapter The USB adapter is not supported in Windows NT 2 2 3 Setting Up with Windows 2000 Operating System Support of the PC Interface Board The PC interface board is not supported in Windows 2000 When Using the PCI Interface Board Log on as Administrator Install the provided software Select PCI Card Driver as the component Exit from the operating system shut down the host computer and turn off the power switch Install the PCI bus interface board into the host computer Turn on the host computer Hardware will be acknowledged and driver installation will start automatically Select Search for
26. e Pas ZEEE EEE Sf 0 8 2 MA Source Value void main void OxO003fffc8 long 10 void sort long H 00000722 UxOOSfffc8 void change long H 00000aad Ox003fffcc 00001 23 Ox003fffda0 pragma section TUTORIAL H 00002c7a Ox003fffd4 H 0000384d Ox003fffds 00003000 _ 1 void main void 000038 8 O xOO03fffdc 1 0000612 OxOO03fffe long a 10 min max 0000618 Ox003fffe4 long j 00006 OxOO03fffe8 int i H 000075a4 Ox003fffec H 986ca00a Ox003fffcO 00003002 for i 0 1 lt 10 i 7 00003004 j rand 00003012 if j lt 0 00003016 j j 0000301a a i 00003036 sort a 00003042 max a 9 00003046 0 0000304 0 0000304 change For Help press F1 Figure 3 28 Source Window Step Out e The data of variable a displayed in the Watch window is sorted in ascending order 54 RENESAS e To execute two steps use Step In twice Hitachi Debuguma interface tutorial E8000 SH7055 Emulator File Edit View Run Memory Setup Window Help Lx each HEA w E R TPS sje B8 2 Sat fine i Tutorial c Watch Window Line Address Source Value pragma section TUTORIAL OxO003fffc8 long 10 H 00000722 0 003 8 00003000 main void main void 00000 OxOOS3fffcc H 00001e23 OxO003fffd0 long a 10 min max H O00002c7a Ox003fffd4 long j
27. in the Break Condition B dialog box RENESAS 59 Table 3 6 Main Break Conditions Break Condition Address bus condition Address Description Breaks on a match of the MCU address bus value Data bus condition Data Breaks on a match of the MCU data bus value Byte word or longword can be specified as the access data size and bus position Bus state condition Bus State There are two bus state condition settings Read write condition Breaks when the MCU RD or RDRW signal level matches the specified condition Bus state condition Breaks when the operating state in the MCU memory access cycle DMA cycle or vector fetch cycle matches the specified condition External probe signal condition Probe Breaks when an external probe signal PRB1 to PRB4 level matches the specified condition Interrupt signal condition Interrupt Breaks when the NMI signal or an external interrupt signal IRQO to IRQ7 level matches the specified condition Satisfaction Count Count Breaks when all the above conditions have been satisfied the number of times specified in this condition A maximum count of 65 535 can be specified DELAY condition Delay 60 Breaks when all the above conditions have been satisfied and the bus cycles specified in this condition have been executed A maximum of 32 767 bus cycles can be specified RENESAS An example is given below in which the address bus co
28. long a 10 min max 00002 OxOO3fffd4 long j H 0000384d OxO03fffd8 long int i H 000038e8 Ox003fffdc long 0000612 OxO003fffe0 long long long long 00003002 for i 0 1 lt 10 i 0000618 Ox003fffe4 ilong 0000300a j rand 00006 xOO03fffe8 00003012 if j lt 0 H 000075a4 Ox003fffec 00003016 H 00000000 Ox003fffcO 0000301a a i j 00003036 sort a 0000303 0 00003042 9 00003046 0 0000304 0 long long long 00003056 0000305 0000305 Break STOP ADDRESS Figure 3 30 Source Window Before Step Over Execution 56 RENESAS To step through all statements in the change function at a single step select Step Over from the Run menu or click the Step Over button in the toolbar Figure 3 31 Step Over Button BS Mitachi Debugaing Interface tutorial E8000 SH7055 Emulator Eie Edit View Run Memory Setup Window Help ja Jr eu ea Gt 9 v EHS v EE ee oe fine i Tutorial c Line Address Source Value pragma section TUTORIAL Ox003fffc8 long 10 H 000075a4 OxO003fffc8 00003000 main void main void H 00006abd OxO003fffcc 0000618 OxO003fffd0 long a 10 min max H 0000612e Ox003fffd4 long j H 000038e8 0 003 48 int 1 H 0000384d Ox003fffde H 00002c7a OxO003fffe0 F
29. of the emulator system program 2 SHDCT705 SYS MCU control program Controls the MCU in the evaluation chip board Loaded to the memory of the E8000 emulator at the start of the emulator system program 3 SHCNF705 SYS Configuration file to store the MCU operation mode and MAP information Loaded with the emulator system program 4 DIAG SYS Diagnostic maintenance program Loaded to the memory in the E8000 emulator station for maintenance The system program is defined by using a dedicated E8000 system installation tool hereafter referred to as ESI There are two methods for registering the system program auto installation and custom installation First auto installation is described below e Select Programs SH7055 E8000 Emulator Software Tools System Install Tool from the Start menu RENESAS 1 LAN Adapter Configuration Figure 2 1 Selecting System Install from the Start Menu When the ESI has been initiated Select Driver dialog box will be displayed Select the driver that corresponds to the connection between the host computer and the E8000 emulator via Driver Table 2 2 shows the types of connections and drivers Table 2 2 Types of Connections and Drivers Connecting Form When connecting the E8000 emulator to PC interface board Contents of File Emulator ISA Driver When connecting the E8000 emulator to USB adapter E8000 USB Driver When connecting the E8000 emul
30. order of UBC2 and UBC1 Sequential break mode UBC 2 gt 1 e Program execution is halted when conditions are satisfied in the order of UBC3 UBC2 and UBC1 Sequential break mode UBC 3 gt 2 gt 1 e Program execution is halted when conditions are satisfied in the order of UBC4 UBC3 UBC2 and UBC1 Sequential break mode UBC 4 gt 3 gt 2 gt 1 One point of reset point address can be set to the respective combinations After passing the reset point addresses these functions make sequential break conditions already passed so far invalid and resume checking break conditions from the first one 68 RENESAS As an example of a sequential break function the case when sequential break mode UBC2 gt 1 is set is described below Before executing the program change the Configuration dialog box When not changing it the sequential break does not function e Select Configure Platform from the Setup menu and the Configuration dialog box will appear e Select Sequential break mode UBC2 gt 1 from the Emulation Mode combo box Configuration Ea General Execution Model Execution Made CPU SH7055 Mode Advanced Mode without Internal ROM CSO Area 8 bus v Clock Emulator Clock BMHz bd Emulation mode Sequential break mode 2 51 Read Write on the fly Figure 3 40 Configuration Dialog Box When Sequential Break is Set 69 RENESAS An example is given below in which
31. switch e Install the PC interface card into the host computer e Turn on the host computer Log on as Administrator e Install the provided software Select PC Card Driver PCMCIA as the component Check the values specified for use by the PC interface card before the information is requested during installation Select and start Programs Administrative Tools Common Windows NT Diagnostics from Start Programs to check the current status of IRQ I O ports and memory in the resource panels and set values that will not cause contention with other devices Required resources are as follows one channel for IRQ H F bytes for I O ports H 4000 bytes for use as memory Restart the host computer Note Default settings start all the drivers selected as Drivers components after the activation of the host computer When the host computer is activated without a given card or an inappropriate driver is installed it is not possible to start the given driver The service control manager informs the user of the error but it causes no other problem When Using the PC Interface Board e Refer to section 2 2 4 PC Interface Board Specifications ISA Bus Specifications and set the operating system environment and install the ISA bus interface board e Log on as Administrator e Install the provided software Select ISA Driver as the component e Restart the host computer When Using the LAN Adapter e Log on as Administrator
32. this area as follows e Click Memory in the Reserve Resources panel and click Add RENESAS The Edit Resource Setting dialog box will be displayed Enter the memory area addresses in Start value and End value and click OK Shut down the host computer do not restart it and turn off the power switch Power on the host computer Check that the area selected in the Computer Properties dialog box are displayed as System Reserved in the list The next step prevents the memory area for the PC interface board being accessed by another program Modify the CONFIG SYS file Use the SYSEDIT program to edit the file Select Run from the Start menu Type SYSEDIT and click OK The SYSEDIT will start When EMM386 EXE is used in the CONFIG SYS file the CONFIG SYS file must be modified If the CONFIG SYS file is not used or if EMM386 EXE is not used even when the CONFIG SYS file is used go to the next procedure for modifying the SYSTEM INI file Locate the line in the CONFIG SYS file that reads device C WINDOWS EMM386 EXE RAM Change the line so that it reads as shown below device C WINDOWS EMM386 EXE RAM X aaaa bbbb Here aaaa is the upper four digits of Start value and bbbb is the upper four digits of End value For example for the switch set to 6 with memory area H D8000 to H DBFFF selected you would set the line to read device C WINDOWS EMM386 EXE RAM X D800 DBFF Save the CONFIG SYS file
33. 0003012 ifj lt Of 00003016 j 7 0000301a 00003036 0000303e 00003042 00003046 0000304 a zs 0000304e change a 00003056 min a 9 0000305a max a 0 0000305e while 1 0000306c _sort void sort long a Figure 3 11 Source Window Displaying the Source Program 42 RENESAS 3 5 Setting the Software Breakpoint A breakpoint is one of the easy debugging functions The Source window provides a very simple way of setting a breakpoint at any point in a program For example to set a breakpoint at the sort function call e Double click the BP column on the line containing the sort function call The word Break will be displayed on the line containing the sort function to show that a software breakpoint is set at that address inti Tutorial c iof xi Address BP 00003000 Source void main void long a 10 min max long j int i for i20 1 10 o 00003002 0000300a 00003012 00003016 0000301a 00003036 0000303e 00003042 00003046 0000304a i M Break Note 0000304 e 00003056 0000305 0000305 0000306 sort change min 91 0 while 1 void sort long a Figure 3 12 Program Window Setting a Software Breakpoint RENESAS The software breakpoint cannot be set in the ROM area It can be set in the internal ROM area 43 3 6 Executing the Program e To execute the program select ResetG
34. 0005 Z x TUI TORIALNTUTORIAL Load only debugging information Load stack information file SNI file Figure 3 8 Load Program Dialog Box 39 RENESAS When the file has been loaded the following dialog box showing the loaded program address is displayed Figure 3 9 HDI Dialog Box e Click the Open button to continue 40 RENESAS 3 4 2 Displaying the Source Program The Source window allows the user to debug a program at the source level such as displaying the C C language source program setting the breakpoints executing the program and selecting variables in the Source window so that the user can see a list of the C C program alongside the machine code as the user debugs To do this the C C source file that corresponds to the object file needs to be read e Select Source from the View menu The Open dialog box will be displayed Look in a Tutorial c File name Tutorial c Files of type c Files c inl Cancel 2 Figure 3 10 Open Dialog Box 41 RENESAS e Select tutorial c and click the Open button The Source window is displayed e If necessary select the Font option from the Customize submenu on the Setup menu to select a font and size suitable for the host computer ine Tutorial c x A 00003000 main yore main void long a 10 min max long j nt 1 00003002 for 120 1 lt 10 i 0000300a j 0
35. Corporation puts the maximum effort into making semiconductor products better and more reliable but there is always the possibility that trouble may occur with them Trouble with semiconductors may lead to personal injury fire or property damage Remember to give due consideration to safety when making your circuit designs with appropriate measures such as 1 placement of substitutive auxiliary circuits ii use of nonflammable material or iii prevention against any malfunction or mishap Notes regarding these materials B These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corporation product best suited to the customer s application they do not convey any license under any intellectual property rights or any other rights belonging to Renesas Technology Corporation or a third party Renesas Technology Corporation assumes no responsibility for any damage or infringement of any third party s rights originating in the use of any product data diagrams charts programs algorithms or circuit application examples contained in these materials AII information contained in these materials including product data diagrams charts programs and algorithms represents information on products at the time of publication of these materials and are subject to change by Renesas Technology Corporation without notice due to product improvements or other reasons Itis therefore recom
36. E and Windows Me Drivers Pcmcia Nt ulepccnt sys System file PCMCIA For Windows NT Drivers Pcmcia 2000 ulepcc2k sys System file PCMCIA For Windows 2000 Drivers USB uleusb inf Setup information PCI For Windows Me Windows 98SE and Windows 2000 Drivers USB uleusb sys System file For Windows Me Windows 98SE and Windows 2000 Drivers Pcemcia 2000 ulepcc2k inf Setup information PCMCIA For Windows 2000 Manuals Mapanese HS6400DIIW5SJ Hitachi Debugging Interface PDF documents pdf user s manual in Japanese Manuals Japanese HS7055D81W18SJ SH7055 E8000 Hitachi PDF documents pdf Debugging Interface User s in Japanese Manual Manuals Japanese HS7055EDD81HJ SH7055 E8000 Emulator PDF documents 9 pdf P User s Manual in Japanese Manuals Japanese HS7055EDD81HJ Errata for SH7055 E8000 PDF documents ER paf Emulator User s Manual in Japanese Manuals Japanese HS7055TM81HJ Descriptive Notes on the PDF documents 3 P Diagnostic Program for the in Japanese SH7055 E8000 Emulator Manuals Japanese HS7055EBK81HJ SH7055 E8000 Evaluation PDF documents 3 P Chip Board HS7055EBK81H in Japanese User s Manual Manuals WEnglish HS6400DIIW4SE pdf x4 Hitachi Debugging Interface user s manual PDF documents in English Manuals WEnglish HS7055D8IW1SE pdf x4 SH7055 E8000 Hitachi Debugging Interface User s Manual RENESAS PDF documents i
37. H 0000384d 0 003 8 long int i 000038 8 xO 3fffdc long 0000612 OxOO03fffeO0 long oe oes long long long 00003002 for i 0 1 lt 10 i 0000618 Ox003fffe4 long 0000300a j rand H 00006abd 0x003fffe8 long 00003012 if j lt 0 H 000075a4 OxO03fffec long 00003016 j 3 H 000075a4 0 003 0 long 0000301 1 00003036 sort a 0000303 a 0 00003042 max fa 5a aN em e e B e E EH a 0000304a max 0 0000304e change 00003056 min 9 0000305 0 0000305 while 1 Break STOP ADDRESS Figure 3 29 Source Window Step Out gt Step In e The value of max displayed in the Watch window is changed to the maximum data value 55 RENESAS 3 10 3 Executing Step Over Command The Step Over executes a function call as a single step and stops at the next statement of the main program To demonstrate the Step Over command execute two steps to reach the change function statement tutorial E8000 SH7055 Emulator File Edit View Bun Memory Setup Window Help numm 5 Sas APPS 92 ELWIR New 8 2 SAt ec akon Window Source Value pragma section TUT RIAL x OS3fffc8 long 10 H 00000722 OxOOS3fffc8 00003000 _ void main void H 00000aad OxOOSfffcc H 00001e23 OxO003fffd0
38. Range Start H 305q End 0 Nonusermask User mask Figure 3 36 Address Page Break Condition A1 Dialog Box e Select Bus State to display the Bus State page e Select the Read radio button 63 RENESAS Figure 3 37 Bus State Page Break Condition A1 Dialog Box e Click the OK button e The Break dialog box is displayed and the first point display in the Condition list box changes from Empty to address H 3058 direction read 64 RENESAS 1 address H 3058 direction read Bancel ABN Figure 3 38 Break Dialog Box After Hardware Break Condition Setting e Click the Close button 65 RENESAS The newly set hardware breakpoint is displayed in the Breakpoints window With this setting Break Condition A1 Enable address H 3058 direction read is displayed in Type in the Breakpoints window This completes the setting of the Break Condition A1 hardware break conditions When the program is executed a break will occur when address H 3058 is accessed in a read cycle Enable File Line Address Type e tutorial c 37 00003036 Program 00003058 Break Condition l Enable address H 3058 direction read tutorial c 43 Figure 3 39 Breakpoints Window Break Condition A Setting 66 RENESAS 3 13 Setting the Sequential Break Conditions The emulator has powerful sequential break functions In the HDI these sequential break condi
39. The following is about modifying the SYSTEM INI file Add the following line to the 386Enh section in the SYSTEM INI file EMMExclude aaaa bbbb Here aaaa is the upper four digits of Start value and bbbb is the upper four digits of End value For example for the switch set to 6 with memory area H D8000 to H DBFFF selected you would set the line to read EMMExclude D800 DBFF RENESAS e Save the SYSTEM INI file and exit the SYSEDIT e Restart the host computer Setting Up the PC Interface Board on Windows NT 4 0 The description given below is about setting up the PC interface board HS6000EII01H on Windows NT 4 0 For the installation of the PC interface board to the ISA bus slot refer to the manual of your host computer This section describes the general procedure for installing the PC interface board in the host computer Log on to the host computer as Administrator Check which upper memory areas have already been used Start Windows NT 4 0 e Execute Start Programs Administrative Tools Common Windows NT Diagnostics Click the Memory button in the Resource tab and in the following form make a note of the upper memory areas that have already been used e Exit Windows NT 4 0 e Register the memory area for the PC interface board Select one of the memory areas that correspond to the following PC interface board switch settings and no other devices can access the selected memory area
40. To our customers Old Company Name in Catalogs and Other Documents On April 1 2010 NEC Electronics Corporation merged with Renesas Technology Corporation and Renesas Electronics Corporation took over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry 24 N S AS 10 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise
41. UBC BREAK CONDITION breakpoints that have been set UBC 39 UBC SET UBS Sets UBC breakpoints BREAK CONDITION RENESAS UBC 99 100 RENESAS Section 5 Use of Diagnostic Program 5 1 Diagnostic Program Operation An E8000 emulator diagnostic program can be used on the HDI The installation procedure and operating details of diagnostic program are given in the SH7055 E8000 Emulator Diagnostic Program Operation Manual This section describes how to run the diagnostic program on the HDI 5 1 1 Diagnostic Program Installation on the HDI To use the diagnostic program the Yes button must be clicked in the dialog box displayed when installing the HDI in order to install the diagnostic program Diagnostic Program Install x This installation create target ini file for Diagnostic Program Dialog switch parameter Do you want to use Diagnostic Program Dialog No Cancel Figure 5 1 HDI Installation Dialog Box 5 1 2 TARGET INI File Setting In HDI installation a file named TARGET INI is created This file contains resource information indicating whether or not the diagnostic program is to be started when the HDI is activated E8000 HDI TARGET Diagnostic Program Y Figure 5 2 Example of TARGET INI File Display If the diagnostic program is to be run when the HDI is activated set the Diagnostic Program resource information in the TARGET INI file as follows Diagnostic Program Y Diagnosti
42. a suitable driver for my device recommended for driver installation and select Specify a location for the location Specify lt Drive gt DRIVERS PCI 2000 for the location Drive is the drive name of the CD ROM drive Check that E6000 PCI Card has been detected and complete driver installation When Using the PC Interface Card Log on as Administrator Install the provided software Select PC Card Driver PCMCIA as the component Install the PC interface card into the host computer Hardware will be acknowledged and driver installation will start automatically Select Search for a suitable driver for my device recommended for driver installation and select Specify a location for the location 11 RENESAS e Specify lt Drive gt DRIVERS PCMCIA 2000 for the location lt Drive gt is the drive name of the CD ROM drive e Check that E6000 PC Card has been detected and complete driver installation When Using the LAN Adapter e Log on as Administrator e Install the provided software Select E8000 LAN Driver as the component e Connect the LAN adapter to the local network and turn on the LAN adapter e Select SH7055 E8000 Emulator Software Tools LAN Adapter Configuration from Start Programs and start the LAN Adapter Configuration e Set the LAN adapter by LAN Adapter Configuration e Turn off the LAN adapter and connect the LAN adapter to the target network and turn on the LAN adapter Then LAN ada
43. alog Box eese 86 Address Page Trace Condition A1 Dialog Box eee 87 Bus State Page Trace Condition A1 Dialog Box eese 88 Condition A Page Trace Acquisition Dialog Box 89 HDI Installation Dialog Box eee eene nennen 101 Example of TARGET INI File Display eene nene 101 Diagnostic Program Start Up Confirmation Dialog Box 102 Diagnostic Program Start Up Window seen 102 Diagnostic Program Termination eeseeeeeeeneeeeeeneee nee 104 RENESAS Tables Table 1 1 Table 1 2 Table 1 3 Table 2 1 Table 2 2 Table 3 1 Table 3 2 Table 3 3 Table 3 4 Table 3 5 Table 3 6 Table 3 7 Table 3 8 Table 3 9 Table 3 10 Table 3 11 Table 4 1 Table 4 2 Table 6 1 Operating Environments 3 oe RII dos t RI UR 2 Combination of the OS and Acceptable Interface sse 2 E 3 Contents of Emulator System Programs eene 16 Types of Connections DAVES misero a e 17 Configuration of Sample Program sse nennen eene 29 Setting the Configuration Dialog Box eese 35 Memory Type SERRE pum unes 37 Step OPHION ese it hort IU OA Uie te iP tee pen 51 Dialog Boxes for Setting Hardware Brea
44. apter HS6000EIUO01H for the E6000 E8000 Emulator e Description Notes on Using the LAN Adapter HS6000ELNO1H for the E6000 E8000 Emulator e 5 7055 E8000 Emulator Diagnostic Program Manual For details on the related software manuals e Hitachi Debugging Interface User s Manual e Hitachi Embedded Workshop User s Manual e SuperH RISC engine C C Compiler User s Manual e SuperH RISC engine Cross Assembler User s Manual e Series Linkage Editor Librarian Object Converter User s Manual e SuperH RISC Engine C C Compiler Assembler Optimizing Linkage Editor User s Manual RENESAS For details on the SH7055 series microprocessor e SH7055 Hardware Manual e SH7055 Programming Manual Refer to section 2 Installation for details on HDI installation In this user s manual the operating environment is assumed to be the English version Windows 95 on the IBM PC Notes 1 Windows Windows 95 Windows 98 Windows 98SE Windows 4 0 Windows Me and Windows 2000 are operating system names controlled by Microsoft Corporation in the United States 2 IBM PC is a registered trademark of International Business Machines Corporation 3 Pentium is a registered trademark of Intel Corporation 4 Adobe Adobe logo Adobe Acrobat and Adobe Acrobat logo are the trademarks of Adobe System Incorporated All product names and brand names used in this user s manual are trademarks or registere
45. ator to LAN adapter E8000 LAN Driver When connecting the E8000 emulator to PCI interface board Emulator PCI Card Driver When connecting the E8000 emulator to PC interface card Emulator PC Card Driver Link up appears on the status bar when the ESI has been successfully initiated Select the Auto Install radio button in the Select Install dialog box When the Browse for Folder dialog box is displayed select the director that the system program has been saved The default directory name is SYSTEM under the HDI installation directory RENESAS Browse for Folder a Hdi_ae4 5 28 Hew 2 28 Hd5 cg E8000 i a System i Tutorial ma My Documents H E Program Files y Recycled Figure 2 2 Browse for Folder Dialog Box When the OK button is clicked the E8000 Load Files dialog box is displayed Check the name of the file to be installed 18 RENESAS E8000 Load Files Eg Directory C HewHdi5 E 80005 Zeeu SYSTEMA SYSTEM FILE CONFIGURATION FILE sys roo Shatin sys m DIAGNOSTIC FILE pu ue eal Cancel pias sys Quit Figure 2 3 E8000 Load Files Dialog Box Click the OK button The system program is registered to the emulator The file name that has been registered on the status bar is displayed When the Cancel button is clicked the Select Install dialo
46. ble operating environments Table1 1 Operating Environments Item Host computer Operating Environment Built in Pentium or higher performance CPU 300 MHz or higher is recommended IBM PC or compatible OS Windows 95 Windows 98 Windows 98SE Windows ME Windows NT 4 0 or Windows 2000 Minimum memory capacity 32 Mbytes or more twice the load module size or more is recommended Display 800 x 600 SVGA or better resolution Hard disk capacity Installation disk capacity 40 Mbytes or more Prepare enough area by taking the swap area into account four times or more the memory capacity is recommended Corresponding interface ISA or PCI bus slot PC card PCMCIA USB adapter LAN adapter conforms to IEEE802 3 10BASE T 100BASE TX A pointing device such as a mouse A pointing device such as a mouse that can be connected to the host computer and can be used for each OS CD ROM drive To install the E8000 emulator software or to refer to the user s manual Table 1 2 Combination of the OS and Acceptable Interface PC Card PC LAN USB PCI Interface Interface Interface Adapter Adapter Board PCI PCMCIA Board ISA LAN USB Windows 95 X Windows NT 4 0 X Windows 98 X Windows 98SE Windows X Windows 2000 X Note be used X Cannot be used RENESAS
47. board ISA bus specifications refer to section 2 2 4 PC Interface Board Specifications ISA Bus Specifications and the user s manual For details on other connections refer to the related user s manual To install the provided software insert the CD R in the CD ROM drive If there are any applications running exit from them before installing the software RENESAS Click Run from the Start menu The Run dialog box will be displayed Enter lt Drive gt setup exe and click the OK button lt Drive gt is the drive name of the CD ROM drive Proceed with installation by following instructions provided by the install wizard 221 Setting Up with Windows 95 Windows 98 Windows 98SE or Windows Me Operating System When Using the PCI Interface Board e Install the provided software Select PCI Card Driver as the component e Exit the operating system shut down the host computer and turn off the power switch e Install the PCI interface board into the host computer e Turn on the host computer Hardware will be acknowledged and driver installation will start automatically e Select Search for the best driver for your device for driver installation and select Specify a location for the location e Specify Drive DRIVERSVPCT5 for the location Drive is the drive name of the CD ROM drive e Check that PCIHEI Rev 1 has been detected and complete driver installation When Using the PC Interface Card
48. c ProgramzY is set in the default TARGET INI file 101 RENESAS If the diagnostic program is not to be run change the setting as follows Diagnostic Program N 5 1 3 Diagnostic Program Start Up When the HDI is activated the following dialog box is displayed HDI Ea N This is immediatelly initiates the diagnostic program Do you want to initiate the diagnostic program Figure 5 3 Diagnostic Program Start Up Confirmation Dialog Box When the Yes button is clicked the diagnostic program is started and the following window is displayed DIAGNOSTIC PROGRAM Eg E8000 TEST amp MAINTENANCE PROGRAM DIAG SYS Version No x xx xx foc 1 9xx Copyright Hitachi LTD 19xx Please key in TEST PARAMETER OPERATION TEST EXECUTE YN COMMAND Figure 5 4 Diagnostic Program Start Up Window 102 RENESAS Display area Displays the diagnostic program test results COMMAND edit box For input of a diagnostic program operation command STOP button Stops the diagnostic program test and switches to the diagnostic program operation command input mode END button Terminates the diagnostic program and activates the HDI 103 RENESAS 5 1 4 Diagnostic Program Termination To terminate the diagnostic program either click the END button or else click the STOP button to stop the test and then enter Q in the COMMAND edit box DIAGNOSTIC PROGRAM
49. ct standards or specifications before final design purchase or use Hitachi makes every attempt to ensure that its products are of high quality and reliability However contact Hitachi s sales office before using the product in an application that demands especially high quality and reliability or where its failure or malfunction may directly threaten human life or cause risk of bodily injury such as aerospace aeronautics nuclear power combustion control transportation traffic safety equipment or medical equipment for life support Design your application so that the product is used within the ranges guaranteed by Hitachi particularly for maximum rating operating supply voltage range heat radiation characteristics installation conditions and other characteristics Hitachi bears no responsibility for failure or damage when used beyond the guaranteed ranges Even within the guaranteed ranges consider normally foreseeable failure rates or failure modes in semiconductor devices and employ systemic measures such as fail safes so that the equipment incorporating Hitachi product does not cause bodily injury fire or other consequential damage due to operation of the Hitachi product This product is not designed to be radiation resistant No one is permitted to reproduce or duplicate in any form the whole or part of this document without written approval from Hitachi Contact Hitachi s sales office for any questions regarding this docume
50. cted between the PC interface board and the emulator 26 RENESAS 2 6 Uninstallation 2 6 1 Uninstalling Software This section describes the procedure for uninstalling software Be sure to terminate all executing applications before uninstalling software 1 Click Settings Control Panel from the Start menu 2 Double click the Add Remove Programs icon 3 Click SH7055 E8000 Emulator Software from the Install Uninstalls tab and double click the Add Remove button 4 Select SH7055 E8000 Emulator Software from the list box and click the Add Remove button The setup program is executed again to allow the modification correction or removal of the installed applications Select removal to uninstall applications Note Shared files may be detected during uninstallation Do not remove shared files if they might be used by other HDIs When Windows NT 4 0 is used you might be asked whether you want to remove information registered in the driver s registry Do not remove information registered in the registry if it might be used by other HDIs If other HDIs will no longer start up because of uninstallation reinstall the other HDIs 2 6 2 Uninstalling the Acrobat Reader Only uninstall the Acrobat Reader if it is necessary Click Settings Control Panel from the Start menu Double click the Add Remove Programs icon Click Adobe Acrobat Reader x x from the list box on the Install Uninstall tab page
51. d trademarks of each company RENESAS Contents Sections I OVEMVISW iaa et RUE ia tei eot v QUIE tiat ed nu 1 1 1 JOVerview sooo A RE deben 1 Il D wemene DUREE epu Shave eee a 1 1 2 Operating Environment trennen 2 1 3 Configuration of the CD R eet there tei riri EEEE E rei EEES 3 5 2 vabsaisete reto pre CUIR OE SE QNM Otra aou 7 2 Installation Procedur s seinni oen a ettet eres e eps coegit tes 7 2 1 Installing the Acrobat Reader titer test 7 2 1 2 Setting up the E8000 Emulator seen 7 22 Setting Up with Windows Operating Systems c ccscsscssessessssessescesessescesessesceseaneseeneass 7 2 2 1 Setting Up with Windows 95 Windows 98 Windows 98SE or Windows Me Operating System tne eter hee P Ee ie iere eripe 8 2 22 Setting Up with Windows 4 0 Operating System 10 2 23 Setting Up with Windows 2000 Operating System 11 2 2 4 Interface Board Specifications ISA Bus Specifications 12 2 3 Installing the System Programie eresie risie tentent trennen nennen rennen ener 16 24 Checking eet E E qt OO UE pU OE RUE ed 22 2 5 Troubleshootng esee ree p tuba retirer prets 25 2 5 1 Connection Error of the PC Interface Board
52. e contents that match the search condition in the Trace window Table3 9 Main Trace Search Conditions Break Condition Description Address bus condition Address Searches for an item that matches the MCU address bus value Data bus condition Data Searches for an item that matches the MCU data bus value Access data size byte word or longword and data bus location can be specified Bus state condition Bus amp Area There are three bus state condition settings Read write condition Searches for an item for which the MCU RD or RDRW signal level matches the specified condition Bus state condition Searches for an item for which the conditions of MCU memory access cycle DMA cycle or vector fetch cycle match the specified condition Area condition Searches for an item for which the memory space accessed in an MCU bus cycle matches the specified condition External probe signal condition Searches for an item for which an external probe signal Probe PRB1 to PRB4 level matches the specified condition Interrupt signal condition Interrupt Searches for an item for which the levels of the NMI signal external interrupt signals IRQO to IRQ7 and the RESET signal matches the specified condition Time condition Time Searches for an item for which the time stamp value or range matches the specified condition Click the right mouse button on the Trace window and select Filter from the pop up men
53. er setting break conditions 1 and 2 click the Close button Break Condition UBC1 and Break Condition UBC2 are displayed in Type in the Breakpoints window Breakpoints Enable File Line tutorial c 43 00003056 Break Condition UBC1 Enable address H 3056 direction read tutorial c 40 00003046 Break Condition UBC2 Enable address H 3046 direction read Figure 3 46 Breakpoints Window After Sequential Break Condition Setting e Click the ResetGo button The program is executed up to the conditions of Break Condition UBCI and comes to a halt 75 RENESAS int T utorial c x Line Address Label Source 24 00003000 nain void main void 25 26 long a 10 min max 27 long 1 28 int i 29 30 00003002 fori i 0 1 lt 10 itt 31 0000300 j 32 00003012 if j lt 0 33 00003016 j 3 35 0000301a ali 3 36 37 00003036 sort a 38 0000303e min 0 39 00003042 9 40 00003046 0 41 0000304 0 42 0000304 change 0000305 0 0000305 while 1 0000306c Sort void sort long a Figure 3 47 Program Window at Execution Halt Sequential Break The contents of the System Status window are as follows System Status Item Status Eonnected E8000 SH7055 Emulator CPU SH7055 Mode Advanced Mode without Internal ROM CS0 Area 8 bit bu Clock source Emulator Clock 5MHz Run status Break Ca
54. escription Related E8000 commands Memory Mapping window It can display and edit the information about the emulation memory allocation Edit Memory Mapping It can set and modify the MAP dialog box information about the emulation memory allocation 95 RENESAS 4 2 Command Descriptions The SH7055 E8000 HDI specific commands are shown in table 4 2 For more information see the online help To see the online help select Index in the Help menu or execute the HELP command from the Command Line window Example To open the online help related to the BREAKPOINT command help BREAKPOINT RET 96 RENESAS Table 4 2 SH7055 E8000 HDI Commands Related E8000 No Command Abb Function Commands 1 BKGRND_INT Sets and displays the user BACKGROUND _ interrupt receive function during INTERRUPT a command wait state 2 BREAKCONDITION BCC Clears hardware breakpoints BREAK CONDITION CLEAR break conditions that have A B C been set 3 BREAKCONDITION__ BCD Displays hardware breakpoints BREAK_CONDITION_ DISPLAY break conditions that have A B C been set 4 BREAKCONDITION _ Enables or disables hardware BREAK CONDITION _ ENABLE breakpoins break conditions A B C that have been set 5 BREAKCONDITION SET BCS Sets hardware breakpoints BREAK CONDITION break conditions that have A B C been set 6 BREAKSEQUENCE BSC Clears software sequential BREAK_SEQUENCE CLEAR breakp
55. g box will be returned When registration has been completed the System Install Completed dialog box is displayed RENESAS System Install Completed Ea E8000 System File Install was completed Press OK button to exit the application SYSTEM FILE ___ _____ E HewSHdiS E 80005 7 5 5 TEMNE 8000 sys p ooo 0 7 5 FIRMWARE FILE C Hew HaiS EB000 7x SYSTEM NShdctar sys DIAGNOSTIC FILE HewHdi5 E 80005 7xxx SYSTEMSDiag sys Figure 2 4 System Install Completed Dialog Box Click the OK button Registration of the system program to the emulator is completed and ESI ends Turn the emulator off Next custom installation is described below When the Select Install dialog box is displayed select the Custom Install radio button The E8000 Load Files dialog box is displayed to select the file to be added or changed 20 RENESAS E8000 Load Files Ed Only Checked kind of files are installed gt SYSTEM FILE Iv C 80004 xxx SYSTEMSES CONFIGURATION FILE J FIRMWARE FILE SOON xS YSTEMNSh DIAGNOSTIC FILE aa Cancel Figure 2 5 E8000 Load Files Dialog Box Each check box corresponds to the combo box that is located at the right side
56. he OK button Select Session x SH7xxx E80005 Emulator Exi xi C Previous session file Figure 2 7 Select Session Dialog Box When the HDI is started up for the first time the Driver Details dialog box will be displayed Use Driver to select the right driver for the connected interface PC interface board PCI interface board PC interface card USB adapter or LAN adapter to click the Close button Refer to table 2 2 Types of Connections and Drivers The example below is when the E8000 emulator is to be connected to the PC interface via the ISA bus Driver Emulator ISA Driver v roo 1s 4 Interface ISA X Channel 4000 4 Configure Figure 2 8 Driver Details Dialog Box When Selecting ISA Driver 23 RENESAS During the HDI initiation the following messages are shown on the status bar of the HDI window Driver Link up Check Start NUM J Hardware Register Read Write amp System ID Check Start NUM Figure 2 9 Status Bar during the HDI Initiation A message box will be displayed as shown in figure 5 3 to ask whether to initiate the diagnostic program when Diagnostic Test Program has been selected in the component selection dialog box during installation Click the Yes button to initiate the diagnostic program For details refer to section 5 Use of Diagnostic Program Link u
57. he HDI If the illegal communication is not corrected inform a Hitachi sales representative or agency of the situation Emulator firmware not ready EMULATOR FIRMWARE NOT READY is output from the emulator Terminate the HDI and check whether the emulator is functioning normally Emulator timeout A timeout message has been detected from the emulator Terminate the HDI and check whether the emulator is functioning normally Failed to find matching trace record The HDI has failed in searching for trace information This message is also output when there is no trace information 105 RENESAS Table 6 1 Error Messages cont Message Hardware register read write check error Cause and Countermeasure An error was detected when the emulator hardware registers were tested Check whether the emulator is functioning normally Invalid version number in target configuration The current e8705532 dll version is different from the version when the session file was created Invalid the low version number of session file System ID error An emulator different form the SH7055 E8000 emulator is connected Check the SH7055 E8000 emulator connection to the host computer Target internal error Commands cannot be issued to the emulator Wait for processing to finish User system not ready 106 No clock has been detected The HDI is terminated RENESAS
58. is granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this docu
59. ition Setting The emulator has powerful realtime trace functions Trace information for up to 131 070 bus cycles can be acquired In the HDI trace acquisition conditions can be set by using dialog boxes The dialog boxes for setting trace acquisition conditions and the corresponding trace acquisition conditions are described below Table 3 10 Dialog Boxes for Setting Trace Acquisition Conditions Function Subroutine Subroutine Dialog Box Trace Range Trace Trace Stop Range Trace Trace Condition A dialog box X X Trace Condition B dialog box O O O Trace Condition dialog box O O X Note O Can be set in the dialog box X Cannot be set in the dialog box 82 RENESAS Table 3 11 Main Trace Acquisition Conditions Trace Acquisition Condition Free trace Description Acquires trace information continuously from the start of execution of the user program until the program breaks If Trace Conditions A B C is not set this mode is entered Subroutine trace Performs trace acquisition of instructions or operand accesses between the start address and end address of the specific subroutine with Trace Condition B C Range trace Performs trace acquisition only for places where the condition specified by Trace Condition A B C is satisfied Specifiable conditions are Address bus condition Data bus condition Read write condition Bus state condition DMA cycle execution cycle and vector fetch cyc
60. k Conditions sss 59 Main Break Conditions uie ee eed ice eee ee tie penes 60 Dialog Boxes for Setting Sequential Break Conditions sss 67 Main Sequential Break Functions eese nennen nennen 68 Main Trace Search Conditions esee nennen rennes 78 Dialog Boxes for Setting Trace Acquisition Conditions esses 82 Main Trace Acquisition Conditions essen 83 List of Windows and Dialog boxes in the SH7055 E8000 HDI 93 SH7055 E8000 HDI Commands eee 97 Error Messages E 105 vii RENESAS 1 1 Section 1 Overview Overview The SH7055 E8000 Hitachi Debugging Interface referred to as the HDI promotes efficient debugging of programs written in C C or assembly language in the environment using the emulator for the SH7055 microprocessor 1 1 1 Features The HDI has the following features High speed downloading of load module files A comprehensive set of break functions trace conditions and functions to set or edit memory maps are enabled by the HDI windows Large capacity trace information can be displayed a maximum of 64 k bus cycles are displayed on the window Command line functions command system for the RENESAS 12 Operating Environment The HDI is provided on CD R The following shows the accepta
61. le System control signal BREQ External probe condition Trace stop Stops trace acquisition when the condition specified by Trace Condition A B C is satisfied Specifiable conditions are Address bus condition Data bus condition Read write condition Bus state condition DMA cycle execution cycle vector fetch cycle System control signal BREQ External probe condition DELAY condition Subroutine range trace Performs trace acquisition only for places where a subroutine instruction and an operand that have been specified by Trace Condition B are accessed and that the condition is satisfied An example is given below in which trace stop mode in which address bus condition and read cycles for bus state condition are set is selected for Trace Condition A as the trace acquisition condition e Click the right mouse button on the Trace window The pop up menu is displayed 83 RENESAS e Select Acquisition from the pop up menu to display the Trace Acquisition dialog box Trace Acquisition x Trace Mode Condition A Condition B Condition Mode Time Stamp DMA cycle trace Clock 20ns m Program stop in trace overflow Figure 3 54 Trace Acquisition Dialog Box For trace acquisition conditions the Trace Acquisition dialog box pages required for the setting must be selected 84 RENESAS e Select Condition A to display the Condition A page Trace Acquisition
62. mended that customers contact Renesas Technology Corporation or an authorized Renesas Technology Corporation product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Renesas Technology Corporation assumes no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corporation by various means including the Renesas Technology Corporation Semiconductor home page http www renesas com When using any or all of the information contained in these materials including product data diagrams charts programs and algorithms please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products Renesas Technology Corporation assumes no responsibility for any damage liability or other loss resulting from the information contained herein Renesas Technology Corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake Please contact Renesas Technology Corporation or an authorized Renesas Technology Corporation product distributor when considering the use of a product contained herein for any specific purposes such as apparatus or syste
63. ment but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Compu
64. ms for transportation vehicular medical aerospace nuclear or undersea repeater use The prior written approval of Renesas Technology Corporation is necessary to reprint or reproduce in whole or in part these materials If these products or technologies are subject to the Japanese export control restrictions they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination Any diversion or reexport contrary to the export control laws and regulations of Japan and or the country of destination is prohibited Please contact Renesas Technology Corporation for further details on these materials or the products contained therein 434 NE SAS C 7 D m lt D c D SH7055 E8000 Renesas Debugging Interface HS7055D8IW1SE User s Manual Renesas Electronics Rev 2 0 2002 07 www renesas com Cautions Hitachi neither warrants nor grants licenses of any rights of Hitachi s or any third party s patent copyright trademark or other intellectual property rights for information contained in this document Hitachi bears no responsibility for problems that may arise with third party s rights including intellectual property rights in connection with use of the information contained in this document Products and product specifications may be subject to change without notice Confirm that you have received the latest produ
65. n English Table 1 3 CD R Files cont Directory Name File Name Contents Notes Manuals English HS7055EDD81HE SH7055 E8000 Emulator PDF documents 9 pdf F User s Manual in English Manuals WEnglish HS7055EDD81HE Errata for SH7055 E8000 PDF documents ER pdf Emulator User s Manual in English Manuals WEnglish HS7055TM81HE Descriptive Notes on the PDF documents 3 pdf Diagnostic Program for the in English SH7055 E8000 Emulator Manuals WEnglish HS7055EBK81HE SH7055 E8000 Evaluation PDF documents pdf P Chip Board HS7055EBH81H in English User s Manual Pdf_read Japanese Ar500jpn exe Acrobat Reader 5 0 Japanese installer version Pdf_read English Ar500eng exe Acrobat Reader 5 0 installer Notes 1 Installed on your host computer by the installer indicates a manual revision gi de o RENESAS English version This is the Japanese version of the manual It cannot be installed by the installer This is the English version of the manual It cannot be installed by the installer Use the Acrobat Reader to see PDF documents RENESAS Section 2 Installation 2 1 Installation Procedures Sections below describe the installation procedures when the HDI is used 2 1 1 Installing the Acrobat Reader Acrobat Reader 5 0 is required to view the online manual Acrobat Reader is provided on the CD R of this product The installation of Acrobat Reader
66. ndition and read cycles for state condition are set in Break Condition A as hardware break conditions e Select Breakpoints from the View menu The Breakpoints window is displayed e When the right button of the mouse is clicked in the Breakpoints window a pop up menu appears e Click the Add button Breakpoints OF x EXE yp tutorial c 37 00003036 Program n Figure 3 34 Breakpoints Window Before Hardware Break Condition Setting The Break dialog box is displayed For hardware break conditions the Break dialog box pages required for the setting must be selected e Select Condition A to display the Condition A page 61 RENESAS ConditionB ConditionC Cond onuBC Point Sequence Condition Condition Figure 3 35 Condition A Page Break Dialog Box Up to eight breakpoints can be set independently for the Break Condition A B C hardware break conditions In the example one point is set for the Break Condition A hardware break conditions e Highlight the first point in the Condition list box e Click the Edit button The Break Condition A1 dialog box is displayed e Make the Don t Care check box in the Address page invalid e Select the Address radio button and input address H 3058 as the value in the Start edit box 62 RENESAS Break Condition Al Ea Address Data Bus State Probe Interrupt PPR Eie uaes Don t Care Address C
67. nesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics To all our customers Regarding the change of names mentioned in the document such as Hitachi Electric and Hitachi XX to Renesas Technology Corp The semiconductor operations of Mitsubishi Electric and Hitachi were transferred to Renesas Technology Corporation on April 1st 2003 These operations include microcomputer logic analog and discrete devices and memory chips other than DRAMs flash memory SRAMs etc Accordingly although Hitachi Hitachi Ltd Hitachi Semiconductors and other Hitachi brand names are mentioned in the document these names have in fact all been changed to Renesas Technology Corp Thank you for your understanding Except for our corporate trademark logo and corporate statement no changes whatsoever have been made to the contents of the document and these changes do not constitute any alteration to the contents of the document itself Renesas Technology Home Page http www renesas com Renesas Technology Corp Customer Support Dept April 1 2003 RENESAS Renesas Technology Corp Cautions Keep safety first in your circuit designs 1 Renesas Technology
68. nt or Hitachi semiconductor products IMPORTANT INFORMATION READ FIRST READ this user s manual before using this emulator product KEEP the user s manual handy for future reference Do not attempt to use the emulator product until you fully understand its mechanism DEFINITION OF SIGNAL WORDS CAUTION CAUTION used without the safety alert symbol indicates a potentially hazardous situation which if not avoided may result in property damage NOTE emphasizes essential information RENESAS Preface The SH7055 E8000 Hitachi Debugging Interface referred to as the HDI is a software tool that supports program development by using an emulator for the Hitachi microprocessor SH7055 referred to as the emulator This manual is the Debugging Platform User s Manual which is a separate volume to the Hitachi Debugging Interface User s Manual and describes the HDI functions and its usage Read this manual and the following manuals before using the HDI For details on the emulator e 5 7055 E8000 Emulator User s Manual e Description Notes on Using the PC Interface Board HS6000EII01H e Description Notes on Using the PC Card Interface HS6000EIPO1H for the E6000 E8000 Emulator e Description Notes on Using the PCI Interface Board HS6000EICO1H for the E6000 E8000 Emulator e Description Notes on Using the PCI Interface Board HS6000EICO2H for the E6000 E8000 Emulator e Description Notes on Using the USB Ad
69. o from the Run menu or click the ResetGo button on the toolbar Figure 3 13 ResetGo Button The program will be executed up to the breakpoint that has been inserted and a statement will be highlighted in the Source window to show the position that the program has halted inti Tutorial c ioj x Line Address BP Label Source 00003000 _ void main void long a 10 min max long 1 int i 00003002 fori i 0 1 lt 10 i 0000300a j rand 00003012 ifij lt 0 00003016 j j 0000301a ali j 0000303e nin 0 00003042 9 00003046 0 0000304a max 0000304 change a 00003056 9 0000305 0 0000305 while 1 0000306 _sort void sort long a t Figure 3 14 Source Window Break State 44 RENESAS The user can see the cause of the last break in the System Status window e Select Status Window from the View menu The System Status window is displayed e Select the Platform sheet of the System Status window Item Status Eonnected To E8000 SH7055 Emulator CPU SH7055 Mode Advanced Mode without Internal ROM CS0 Area 8 bit bus Clock source Emulator Clock 5MHz Run status Break Cause of last break BREAKPOINT N Session j Platform Memory Events J Figure 3 15 System Status Window The Cause of last break line shows that the cause of the break is the breakpoint 45 RENESAS 3 7 Revie
70. oints that have been set 7 BREAKSEQUENCE BSD Displays software sequential BREAK_SEQUENCE DISPLAY breakpoints that have been set 8 BREAKSEQUENCE _ BSE Enables or disables software BREAK_SEQUENCE ENABLE sequential breakpoints that have been set 9 BREAKSEQUENCE SET BSS Sets software sequential BREAK SEQUENCE breakpoints 10 BREAKPOINT BP Sets software breakpoints BREAK 11 BREAKPOINT CLEAR BC Clears software breakpoints that BREAK have been set 12 BREAKPOINT DISPLAY BD Displays software breakpoints BREAK that have been set 13 BREAKPOINT ENABLE Enables or disables software BREAK breakpoints that have been set RENESAS 97 Table 4 2 SH7055 E8000 HDI Commands cont Related E8000 No Command Abb Function Commands 14 CLOCK CK Selects a CLOCK signal used by CLOCK the SH7055 15 COVERAGE_CLEAR CVC Initialize the coverage trace SET_COVERAGE 16 COVERAGE_DISPLAY CVD Display the result of coverage DISPLAY_COVERAGE trace 17 COVERAGE_SET CVS Display the range of coverage COVERAGE trace 18 DEVICE_TYPE DE Displays the MCU type currently None selected 19 END END Returns to a user program END execution state when the emulator enters the parallel mode due to trace condition satisfaction 20 EXECUTION_MODE EM Sets debugging conditions EXECUTE_MODE during user program execution 21 GO_OPTION GP Sets the emulation mode during GO user program execution 22 ID ID Displays an emulator
71. ondition A Each can set up to eight BREAK_CONDITION_A dialog box hardware break conditions BREAK CONDITION B Break Condition B BREAK_CONDITION_C dialog box Break Condition C dialog box Break Condition UBC It can set up to four UBC BREAK_CONDITION_UBC dialog box hardware break conditions Break Condition UBC It can set a reset point ofa BREAK CONDITION Reset dialog box sequential break with UBC Trace Trace window It displays the contents of TRACE TRACE SEARCH condition the Trace buffer TRACE CONDITION A TRACE CONDITION B TRACE CONDITION C TRACE MODE Trace Acquisition It sets trace acquiaition TRACE CONDITION A dialog box conditions and displays the TRACE CONDITION B setting state TRACE CONDITION C Trace Condition A Each can set up to eight TRACE CONDITION A dialog box acquisition condition of the TRACE CONDITION B Trace Condition B trace information TRACE CONDITION C dialog box Trace Condition C dialog box Trace Filter dialog box It only displays the trace TRACE SEARCH result which matches the condition having been set up among the results displayed in the Trace window Trace Find dialog box It can search the trace TRACE SEARCH result which matches the condition having been set up among the trace results displayed in the Trace window 94 RENESAS Table 4 1 Category Memory map List of Windows and Dialog boxes in the SH7055 E8000 HDI cont Name of Window and Dialog box D
72. ons under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Re
73. p appears on the status bar when the HDI has successfully started up qi kp 1 T T 2 Figure 2 10 Status Bar at the HDI Initiation Completion RENESAS 2 5 Troubleshooting 2 5 1 Connection Error of the PC Interface Board The HDI displays the following message box when the PC interface board for connecting to the emulator cannot be detected E8000 Platform x N Driver Error Cannot locate ISA interface card Unable to restore previous configuration for Emulator ISA Driver Will attempt to set default values instead Figure 2 11 PC Interface Board Connection Error Message Box The following causes can be considered e The memory area reserved in the CONFIG SYS file differs from the setting of the rear panel switch of the PC interface board e The selected memory area has already been used for another application 2 5 2 Connection Error of the Emulator The HDI displays the following message box when the emulator cannot be detected E8000 Platform AN Driver Error Emulator is switched off or not connected Unable to set default configuration for Emulator ISA Driver Figure 2 12 Emulator Connection Error Message Box 25 RENESAS The following causes can be considered e An AC adapter power supply is not connected to the emulator or the emulator is not switched on Check the power LED of the emulator e The PC interface cable is not correctly conne
74. pter must be turned off even when the network is not changed Note When using a LAN adapter that has already been set it is unnecessary to set it again Use LAN Adapter Configuration to define only the host computer For details on the usage of the LAN Adapter Configuration refer to the online help of the LAN Adapter Configuration When Using the USB Adapter e Log on as Administrator e Install the provided software Select E8000 USB Driver as the component e Install the USB adapter into the host computer e Hardware will be acknowledged and the USB adapter will be automatically acknowledged e Select Search for the best driver for your device for driver installation and select Specify a location for the location e Specify lt Drive gt DRIVERS USB for the location lt Drive gt is the drive name of the CD ROM drive e Check that E8000 E6000 USB Adapter has been detected and complete driver installation 2 2 4 PC Interface Board Specifications ISA Bus Specifications A PC interface board HS6000EII01H ISA bus specifications is available for use as the interface for communications between the emulator and the HDI Firstly the PC interface board must be inserted to the empty expansion slot The PC interface board is a memory mapped board the memory area to be used by the PC interface board must be defined in the emulation memory before the PC interface board is placed in an unused expansion slot Otherwise programs may
75. r e Make the Don t Care check box in the Address page invalid e Select the Address radio button and enter the address H 3046 as the value in the Start edit box Break Condition UBC2 Ed Address Data Bus State Don t Care Address Prefetch address break before executing Prefetch address break after executing C Range Start 2048 Monusermask User mask Figure 3 43 Break Condition UBC2 Dialog Box Condition 2 Address Page 72 RENESAS e Select Bus State to display the Bus State page e Select Read radio button Break Condition UBC2 x Address Data Bus State Bus State All Data C DMAC Read write Read write Read Write Figure 3 44 Break Condition UBC2 Dialog Box Condition 2 Bus State Page 73 RENESAS Click the OK button e The Break dialog box is displayed and the second point display in the Condition list box changes from Empty to address H 3046 direction read ss H 3046 direction read bance App Figure 3 45 Break Dialog Box After Break Condition UBC2 Condition Setting 74 RENESAS This completes the setting of break condition 2 Next set break condition 1 as follows e Highlight the first point in the Condition list box e Click the Edit button The Break Condition UBC1 dialog box is displayed The setting can then be made in the same way as for break condition 1 e Aft
76. reak Condition A Setting 66 Configuration Dialog Box When Sequential Break is 69 Breakpoints Window Before Sequential Break Conditions Setting 70 Break Dialog Box Break Condition UBC Page eee 71 Break Condition UBC2 Dialog Box Condition 2 Address Page 72 Break Condition UBC2 Dialog Box Condition 2 Bus State 73 Break Dialog Box After Break Condition UBC2 Condition Setting 74 Breakpoints Window After Sequential Break Condition Setting 75 Program Window at Execution Halt Sequential 76 Contents of System Status Window Sequential 76 Trace Window Free Trace Results enne 77 General Page Trace Filter Dialog Box eene 79 Address Page Trace Filter Dialog Box eene 80 Bus amp Area Page Trace Filter Dialog 81 Trace Window Trace Filter Results sessseeeneenn e 81 Trace Acquisition Dialog Box eese eren 84 Condition A Page Trace Acquisition Dialog Box eene 85 General Page Trace Condition A1 Di
77. rmation see the online help To see the online help select Index in the Help menu or click Help button Also the related commands in The E8000 emulator user s manual are described in it Table4 1 List of Windows and Dialog boxes in the SH7055 E8000 HDI Name of Window and Category Dialog box Description Related E8000 commands Emulation System Status window It displays the set up CLOCK EXECUTE_MODE condition condition and the program GO MODE execution time of the emulation associated functions in the emulator Configuration dialog box It sets the emulation CLOCK EXECUTE MODE condition in the emulator GO MODE Break Breakpoint window It lists the all break BREAK condition conditions having been set BREAK SEQUENCE up BREAK CONDITION A BREAK CONDITION B BREAK CONDITION C BREAK CONDITION UBC Break dialog box It displays the set up state of each break condition BREAK BREAK SEQUENCE BREAK CONDITION A BREAK CONDITION B BREAK CONDITION C BREAK CONDITION UBC Breakpoint dialog box It can set up to 256 software BREAK breakpoints RENESAS 93 Table 4 1 List of Windows and Dialog boxes in the SH7055 E8000 HDI cont Name of Window and Category Dialog box Description Related E8000 commands Break Break Sequence dialog It can set the software BREAK_SEQUENCE condition box sequential break with up to seven passing points and one reset point Break C
78. rom a pop up menu The following dialog box will be displayed Instant Watch x Add watch Figure 3 19 Instant Watch Dialog Box e Click the Add Watch button to add a variable to the Watch window Ww atc h Ww i n d OW Value O x Sfffc8 long 10 Figure 3 20 Watch Window Displaying the Array 48 RENESAS The user can also add a variable to the Watch window by specifying its name e Click the Watch window with the right mouse button and select Add Watch from the pop up menu The following dialog box will be displayed Add Watch Ed Varable or evpression Cancel Figure 3 21 Add Watch Dialog Box e Input variable max and click the OK button 49 RENESAS The Watch window will now also show the long type variable max Watch Window Value 003 8 long 10 H 986ca00a OxO03ff fcO long Figure 3 22 Watch Window Displaying the Variable Double click the symbol to the left of any variable in the Watch window to expand the variable and watch all the elements in the array W atch window Value OxO003fffc8 long 10 50 Figure 3 23 0000618 H 000038e8 H 000075a4 H 0006abd H 00000722 00001 23 H 0000384d H 0000aad H 00002c7a 0000612 H 986ca00a Watch Window Displaying Array Elements 0 00 8 OxO003fffcc xOO0Sfffd Ox003fffd4 Ox003f ff d8 0 003
79. t box changes from Empty to type stop address H 3046 direction read 88 RENESAS Trace Acquisition 1 type stop address H 3046 direction read Sange Figure 3 59 Condition A Page Trace Acquisition Dialog Box This completes the setting of the Trace Condition A1 trace acquisition condition When the program is executed trace acquisition will stop when address H 3046 is accessed in a read cycle 89 RENESAS 3 16 Saving the Session Saving the present debugging session before quitting will allow debugging to be resumed from the same state in the next session Select Exit from the File menu to exit the HDI At this time a window for specifying the file name is displayed Input the session file name in the window and click the OK button 90 RENESAS 3 17 What Next This tutorial has described the major features of the emulator and the use of the HDI Sophisticated debugging can be carried out by using the emulator in combination with the emulation tools it offers This provides for effective investigation of hardware and software problems by accurately isolating the conditions under which such problems arise Further details on the use of the HDI can be found in the Hitachi Debugging Interface User s Manual on the CD R RENESAS 91 92 RENESAS 4 1 Section 4 Function Windows and Dialog Boxes Table 4 1 shows the SH7055 E8000 HDI specific windows and dialog boxes For more info
80. ters office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfuncti
81. tions can be set by using dialog boxes The dialog boxes for setting sequential break conditions and the corresponding sequential break functions are described below Table 3 7 Dialog Boxes for Setting Sequential Break Conditions Function Address External Satis Bus Data Bus Status Probe Interrupt faction DELAY Condition Condition Condition Condition Condition Count Condition Dialog Box Address Data Status Probe Interrupt Count Delay Break Condition X X X UBC1 dialog box Break Condition X X X X UBC2 dialog box Break Condition X X X X UBC3 dialog box Break Condition X X X X UBC4 dialog box Break Sequence O X X X X X X dialog box Note O indicates that relevant functions can be set in relevant dialog boxes and X indicates that they cannot be set RENESAS 67 Table 3 8 Main Sequential Break Functions Sequential Break Function Description Break Sequence A sequential break function using software breaks Up to seven address points and one reset point address can be set When all the set points are passed in sequence the program is stopped Break Condition UBC1 2 3 4 Sequential break functions by combining satisfaction conditions of hardware break conditions i e Break Condition UBC1 2 3 and 4 Combinations of the following satisfaction conditions can be selected e Program execution is halted when conditions are satisfied in the
82. type anda ID version number 23 MAP_SET MS Sets emulator memory map MAP 24 MODE MO Selects emulator mode MODE 25 MOVE TO RAM MR Stores a user program on ROM MOVE TO RAM into RAM 26 PERFORMANCE _ PA Displays program execution PERFORMANCE _ ANALYSIS state ANALYSIS1 to 8 27 PERFORMANCE CLEAR PC Clears performance conditions PERFORMANCE that have been set ANALYSIS1 to 8 28 PERFORMANCE SET PS Sets performance conditions PERFORMANCE _ ANALYSIS1 to 8 29 STATUS STS Displays emulator state None information 98 RENESAS Table 4 2 SH7055 E8000 HDI Commands cont Related E8000 No Command Abb Function Commands 30 TRACEACQUISITION Clears trace conditions that have TRACE_CONDITION_ CLEAR been set A B C TRACE_SEQUENCE 31 TRACEACQUISITION TAD Displays trace conditions that TRACE_CONDITION_ DISPLAY have been set A B C TRACE_SEQUENCE 32 TRACEACQUISITION TAS Sets trace conditions that TRACE CONDITION _ SET acquire trace information A B C TRACE_SEQUENCE 33 TRACE_DISPLAY TD Display the acquisition of trace TRACE information 34 TRACE_MODE TM Sets the trace information TRACE_MODE acquisition mode 35 TRACE_SEARCH TS Searches for information TRACE_SEARCH corresponding to acquired trace information 36 UBC_CLEAR UBC Clears UBC breakpoints that BREAK_CONDITION__ have been set UBC 37 UBC_DISPLAY UBD Displays UBC breakpoints that BREAK CONDITION have been set UBC 38 UBC_ENABLE UBE Enables or disables
83. u The Trace Filter dialog box then appears 78 RENESAS The filter conditions that limit the cycles to be displayed in the trace buffer can then be set e Select the Pattern radio button in Type Trace Filter Figure 3 50 General Page Trace Filter Dialog Box e Select Address to display the Address page 79 RENESAS e Clear the Don t Care check box in the Address page e Select Address and input address H 3042 as the value in the Start edit box Trace Filter Ed General Address Data Bus amp Area Probe Interrupt Time r Address BontCare td Address C Range Start 3042 End JHO Nonusermask Liser mask Figure 3 51 Address Page Trace Filter Dialog Box e Select Bus amp Area to display the Bus amp Area page 80 RENESAS e Select the Read radio button Trace Filter Ea General Address Data Bus amp Area Probe Interrupt Time Bus State Area All All C Data C ntemal Space C DMAC C 1 0 Space Vector Fetch External Space m Read Write C Read wiite Read Write Figure 3 52 Bus amp Area Page Trace Filter Dialog Box e Click the OK button to save the trace filter Trace 1 record filter Cycle PC Code B DB 000025 00003042 MOV L H 34 4 R15 R2 00003042 xaexexxx52 EXT Figure 3 53 Trace Window Trace Filter Results 81 RENESAS 3 15 Trace Acquisition Cond
84. use of last break BREAK CONDITION SB Figure 3 48 Contents of System Status Window Sequential Break 76 RENESAS 3 14 Using the Trace Buffer 3 14 1 Displaying the Trace Buffer Using the trace buffer it is possible to verify execution results upstream of the MCU cycles e Select Trace from the View menu to open the Trace window e If necessary adjust the column width by dragging the column divider beside the label immediately below the title bar Cycle AB DB 000032 0000312b xxxxxxd0 000031 0000303c 3cexeesexe 000030 000030398 sesessesex09 000029 0000303e G H 10 4 R15 R3 0000303e sesexssx53 000028 0000303 aee f 4 000027 00003040 R3 0 H 0C 4 R15 00003040 xoexsexexl f 000026 00003041 33333333 000025 00003042 H 34 4 R15 R2 00003042 exe 5 2 000024 00003043 000023 D03fffc8 xxx 000022 O03fffc9 000021 DO03fffca xxxxxx65 000020 003ff fcb HH HHT 000019 00003044 R2 0 H 08 4 R15 00003044 xax f 000018 00003045 2 2 000017 00003046 DATA W H 0000 00003046 D 0 000016 00003047 xxxxxx 0 DAA AA AAA Figure 3 49 Trace Window Free Trace Results 77 RENESAS 3 14 2 Setting the Trace Filter In a free trace the Trace window displays all the MCU cycles By setting the specific search condition it is possible to display only the trac
85. wing Breakpoints The user can see all the breakpoints set in the program in the Breakpoints window e Select Breakpoints from the View menu ae zi OF x T Figure 3 16 Breakpoints Window The Breakpoints window also allows the user to set breakpoints define new breakpoints and delete breakpoints Close the Breakpoints window 46 RENESAS 3 8 Viewing Memory The user can view the contents of a memory block in the Memory window For example to view the memory corresponding to the main function in word size e Select Memory from the View menu The Open Memory Window dialog box is displayed e Enter main in the Address edit box and set the Format combo box as Word Open Memory Window Ed Address main Cancel Format word m Figure 3 17 Open Memory Window Dialog Box Click the OK button The Memory window showing the specified area of memory is displayed Word Memory _ main Figure 3 18 Word Memory Window 47 RENESAS 3 9 Watching Variables As the user steps through a program it is possible to watch the values of variables used in the program For example set a watch on the long type array a declared at the beginning of the program by using the following procedure e Click the left of displayed array a in the Source window to position the cursor Click the Source window with the right mouse button and select Instant Watch f
Download Pdf Manuals
Related Search
Related Contents
SID GUI SOFTWARE MANUAL Operating Instructions Da-Lite IDEA Thin QX Hawk Industrial Imager User`s Manual Copyright © All rights reserved.
Failed to retrieve file