User’s ManualE8a Emulator User's Manual R0E00008AKCE00E Renesas Microcomputer Development Environment System All information contained in these m
DEFINITION OF SIGNAL WORDS Be sure to read and understand the warnings below before using this emulator. Note that these are the main warnings, not t
E8a Emulator User's Manual 5. Debugging This window displays and sets the breakpoints. Items that can be displayed in the sheet are listed below
E8a Emulator User's Manual 5. Debugging 5.4.11 Go to Source Only enabled when one breakpoint is selected. Opens the [Source] window at the addre
E8a Emulator User's Manual 5. Debugging Notes on Setting the [Set Break] Dialog Box 1. When an odd address is set for the H8/Tiny and H8/Super
E8a Emulator User's Manual 5. Debugging Notes on Setting the Break Condition: 1. When [Go to cursor], [Step In], [Step Over], or [Step Out] is
E8a Emulator User's Manual 5. Debugging 5.4.16 Disable Disables the selected break channel(s). When a break channel is disabled, a break will no
E8a Emulator User's Manual 5. Debugging 5.4.25 Deleting Break Conditions Select a break condition and choose [Delete] from the popup menu to re
E8a Emulator User's Manual 5. Debugging The [Address] group box sets address bus conditions. Option Description [Don’t care] check box Does not
E8a Emulator User's Manual 5. Debugging 5.5 Viewing the Trace Information For the description on the trace function, refer to section 2.2, Trac
E8a Emulator User's Manual 5. Debugging 5.5.3 Clearing the Trace Information When [Clear] is selected from the popup menu, the trace buffer tha
E8a Emulator User's Manual 5. Debugging 5.6 Using the Start/Stop Function The emulator executes the specified routine of the user program immed
WARNING 1. Do not repair or remodel the emulator product by yourself for electric shock prevention and quality assurance. 2. Always swit
E8a Emulator User's Manual 5. Debugging If no specified routine is executed immediately before starting user program execution, do not select th
E8a Emulator User's Manual 5. Debugging 5.6.3 Restrictions on the Start/Stop Function The start/stop function has the following restrictions. •
E8a Emulator User's Manual 5. Debugging REJ10J1655-0400 Rev.4.00 Page 96 of 158 Apr 30, 2010
E8a Emulator User's Manual 6. Tutorial Section 6 Tutorial 6.1 Introduction This section describes the main functions of the emulator by usin
E8a Emulator User's Manual 6. Tutorial 6.2 Running the High-performance Embedded Workshop To run the High-performance Embedded Workshop, refer
E8a Emulator User's Manual 6. Tutorial 6.4 Setting the [Configuration] Dialog Box • Select [Emulator] then [Systems…] from the [Setup] menu f
E8a Emulator User's Manual 6. Tutorial Set options as follows: Table 6.1 [General] Page Options Option Value Device Select a device you use E
E8a Emulator User's Manual 6. Tutorial 6.5 Checking the Operation of RAM Check that RAM is operating correctly. Display and edit the contents
E8a Emulator User's Manual 6. Tutorial Figure 6.3 [Memory] Window • Placing the mouse cursor on a point in the display of data in the [Memo
E8a Emulator User's Manual 6. Tutorial 6.6 Downloading the Tutorial Program 6.6.1 Downloading the Tutorial Program Download the object progr
E8a Emulator User's Manual 6. Tutorial 6.6.2 Displaying the Source Program The High-performance Embedded Workshop allows the user to debug a u
E8a Emulator User's Manual 6. Tutorial 6.7 Setting a PC Breakpoint A PC breakpoint is a simple debugging function. The [Source] window provide
E8a Emulator User's Manual 6. Tutorial 6.8 Setting Registers Set values of the program counter and the stack pointer before executing the prog
E8a Emulator User's Manual 6. Tutorial • To change the value of the program counter (PC), double-click the value area in the [Register] window
E8a Emulator User's Manual 6. Tutorial 6.9 Executing the Program Execute the program as described in the following: • To execute the program,
E8a Emulator User's Manual 6. Tutorial Figure 6.10 [Source] Window (Break State) REJ10J1655-0400 Rev.4.00 Page 109 of 158 Apr 30, 2010
E8a Emulator User's Manual 6. Tutorial The user can see the cause of the break that occurred last time in the [Status] window. • Select [Status
E8a Emulator User's Manual 6. Tutorial 6.10 Reviewing Breakpoints The user can see all the breakpoints set in the program in the [Event] windo
E8a Emulator User's Manual 6. Tutorial 6.11 Viewing Memory When the label name is specified, the user can view the memory contents that the la
E8a Emulator User's Manual 6. Tutorial 6.12 Watching Variables As the user steps through a program, it is possible to watch that the values of
Contents Section 1 Overview...1 1.1 Warnings...
E8a Emulator User's Manual 6. Tutorial The user can also add a variable to the [Watch] window by specifying its name. • Click the [Watch] windo
E8a Emulator User's Manual 6. Tutorial The user can click mark ‘+’ at the left side of array a in the [Watch] window to watch all the elements.
E8a Emulator User's Manual 6. Tutorial 6.13 Stepping Through a Program The High-performance Embedded Workshop provides a range of step menu co
E8a Emulator User's Manual 6. Tutorial 6.13.2 Executing [Step Out] Command The [Step Out] command steps out of the called function and stops a
E8a Emulator User's Manual 6. Tutorial 6.13.3 Executing [Step Over] Command The [Step Over] command executes a function call as a single step
E8a Emulator User's Manual 6. Tutorial 6.14 Forced Breaking of Program Executions The High-performance Embedded Workshop can force a break in
E8a Emulator User's Manual 6. Tutorial 6.15 Displaying Local Variables The user can display local variables in a function using the [Locals] w
E8a Emulator User's Manual 6. Tutorial 6.16 Break Function The emulator has PC and hardware break functions. With the High-performance Embedde
E8a Emulator User's Manual 6. Tutorial • Click the [Event] window with the right-hand mouse button and select [Add…] from the popup menu. • En
E8a Emulator User's Manual 6. Tutorial The PC breakpoint that has been set is displayed in the [Event] window. Figure 6.31 [Event] Window (PC
5.4 Using the Event Points... 83 5.4.1 PC Brea
E8a Emulator User's Manual 6. Tutorial The [Status] window displays the following contents. Figure 6.33 Displayed Contents of the [Status] Wi
E8a Emulator User's Manual 6. Tutorial 6.17 Hardware Break Function A method is given below in which the address bus condition is set under Br
E8a Emulator User's Manual 6. Tutorial • The [Break condition 1] dialog box is displayed. • Clear the [Don't care] check box in the [Addr
E8a Emulator User's Manual 6. Tutorial The program runs and then stops at the condition specified under Break Condition 1. Figure 6.36 [Sourc
E8a Emulator User's Manual 6. Tutorial 6.18 Trace Functions The emulator has a branch-instruction trace function. The branch source addresses,
E8a Emulator User's Manual 6. Tutorial 6.19 Stack Trace Function The emulator uses the information on the stack to display the names of functi
E8a Emulator User's Manual 6. Tutorial • After the break in program execution, select [Stack Trace] from the [Code] submenu of the [View] menu
E8a Emulator User's Manual 6. Tutorial 6.20 What Next? This tutorial has described the major features of the emulator and the use of the High-
E8a Emulator User's Manual 6. Tutorial REJ10J1655-0400 Rev.4.00 Page 132 of 158 Apr 30, 2010
E8a Emulator User's Manual Appendix A Components of the E8a Emulator Appendix A Components of the E8a Emulator Table A.1 lists the components
6.6.1 Downloading the Tutorial Program... 103 6.6.2 Displaying the Source Pr
E8a Emulator User's Manual Appendix A Components of the E8a Emulator REJ10J1655-0400 Rev.4.00 Page 134 of 158 Apr 30, 2010 Note: To our cu
E8a Emulator User's Manual Appendix B Window Functions Appendix B Window Functions This section describes the window functions that can be us
E8a Emulator User's Manual Appendix B Window Functions Table B.1 Window Functions (cont) Menu Option ShortcutToolbar ButtonRemarks Setup Radi
E8a Emulator User's Manual Appendix B Window Functions Table B.1 Window Functions (cont) Menu Option ShortcutToolbar Button Remarks Debug (co
E8a Emulator User's Manual Appendix B Window Functions Table B.1 Window Functions (cont) Menu Option ShortcutToolbar Button Remarks Debug (co
E8a Emulator User's Manual Appendix C Command-Line Functions Appendix C Command-Line Functions The emulator supports the commands that can be
E8a Emulator User's Manual Appendix C Command-Line Functions REJ10J1655-0400 Rev.4.00 Page 140 of 158 Apr 30, 2010
E8a Emulator User's Manual Appendix D Notes on High-performance Embedded Workshop Appendix D Notes on High-performance Embedded Workshop 1.
E8a Emulator User's Manual Appendix D Notes on High-performance Embedded Workshop ⎯ Variable updating For updating of the content of the varia
E8a Emulator User's Manual Appendix D Notes on High-performance Embedded Workshop 10. Note on [Register] Window Operation During Program Execut
E8a Emulator User's Manual Appendix D Notes on High-performance Embedded Workshop ⎯ MEMORY_FILL command The [Format] specification in the [Cop
E8a Emulator User's Manual Appendix D Notes on High-performance Embedded Workshop 24 Usage with Other Products To install the SuperH™ RISC engi
E8a Emulator User's Manual Appendix D Notes on High-performance Embedded Workshop REJ10J1655-0400 Rev.4.00 Page 146 of 158 Apr 30, 2010
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) Appendix E E8aSCP (E8a Self-Check Program) This appendix describes the
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) E.2. System Setup to Execute the E8aSCP (1) The following equipment is r
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) Insert the user system interface cable into the self-check connector wi
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) E.3. Executing the Self-Check Program (1) Execute [Program]-[Renesas]-[H
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) (2) Click the ‘START’ button. The following message will be displayed: ‘
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) (3) The message ‘TEST1 is running.’ or ‘TEST2 is running.’ will appear in
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) (4) When ‘TEST3 is waiting.’ starts, the following message will be displa
E8a Emulator User's Manual 1. Overview Section 1 Overview The High-performance Embedded Workshop is a Graphical User Interface intended to eas
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) (5) The message ‘TEST3 is running.’ will appear in the window. This start
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) (6) The message ‘PASS’ or ‘FAIL’ will be displayed. ‘PASS’ indicates that
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) If ‘FAIL’ is displayed during execution of the self-check program, the co
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) Table E.1 Error Messages Error Message Description The E8a has failed.
E8a Emulator User's Manual Appendix E E8aSCP (E8a Self-Check Program) REJ10J1655-0400 Rev.4.00 Page 158 of 158 Apr 30, 2010
E8a Emulator (R0E00008AKCE00) User's Manual Publication Date: Apr 30, 2010 Rev.4.00 Published by: Renesas Electronics Corporation Edited by:
http://www.renesas.comRefer to "http://www.renesas.com/" for the latest and detailed information.Renesas Electronics America Inc.2880 Scot
E8a Emulator (R0E00008AKCE00)Additional Document for User's Manual REJ10J1655-0400
E8a Emulator User's Manual 1. Overview The emulator has three activation modes: (1) Erase Flash and Connect This mode is used to erase data of t
E8a Emulator User's Manual 1. Overview (8) Compact debugging environment A laptop computer can be used as a host computer, creating a debuggin
Notice 1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to cha
E8a Emulator User's Manual 1. Overview 1.1 Warnings CAUTION READ the following warnings before using the emulator product. Incorrect operation w
E8a Emulator User's Manual 1. Overview 1.2 Environmental Conditions CAUTION Observe the conditions listed in tables 1.1 and 1.2 when using the e
E8a Emulator User's Manual 1. Overview 1.3 Components Check that all of the components are present when unpacking the product. For details on th
E8a Emulator User's Manual 2. E8a Emulator Functions Section 2 E8a Emulator Functions This section describes the emulator functions. They diff
E8a Emulator User's Manual 2. E8a Emulator Functions Table 2.1 Emulator Functions (cont) No. Item Function 5 Memory access function • Downlo
E8a Emulator User's Manual 2. E8a Emulator Functions 2.2 Trace Functions The branch source addresses, mnemonics, operands, and source lines ar
E8a Emulator User's Manual 2. E8a Emulator Functions 2.3 Break Functions The E8a emulator has the following four break functions. (1) Hardware
E8a Emulator User's Manual 2. E8a Emulator Functions 2.4 Memory Access Functions The emulator has the following memory access functions. (1) M
E8a Emulator User's Manual 2. E8a Emulator Functions (6) Other memory operation functions Other functions are as follows: • Memory fill • Me
E8a Emulator User's Manual 2. E8a Emulator Functions 2.7 Online Help An online help explains the usage of each function or the command syntax
Regulatory Compliance Notices European Union regulatory notices This product complies with the following EU Directives. (These directives are only v
E8a Emulator User's Manual 2. E8a Emulator Functions REJ10J1655-0400 Rev.4.00 Page 14 of 158 Apr 30, 2010
E8a Emulator User's Manual 3. Preparation before Use Section 3 Preparation before Use 3.1 Emulator Preparation Unpack the emulator and prepa
E8a Emulator User's Manual 3. Preparation before Use 3.2 Emulator Hardware Configuration As shown in Figure 3.2, the emulator consists of an e
E8a Emulator User's Manual 3. Preparation before Use The names of each section of the emulator are explained next. Emulator Upper-side Panel: F
E8a Emulator User's Manual 3. Preparation before Use Emulator Host-Computer-Side Panel: Figure 3.4 Emulator Host-Computer-Side Panel (a) Hos
E8a Emulator User's Manual 3. Preparation before Use Emulator User-System-Side Panel: Figure 3.5 Emulator User-System-Side Panel (a) User-sys
E8a Emulator User's Manual 3. Preparation before Use Emulator Bottom Panel: Figure 3.6 Emulator Bottom Panel (a) Seal for product management
E8a Emulator User's Manual 3. Preparation before Use Emulator Left-Side Panel: Figure 3.7 Emulator Left-Side Panel (a) Self-check connector:
E8a Emulator User's Manual 3. Preparation before Use 3.3 Emulator Software Configuration The following item is included with the emulator debu
E8a Emulator User's Manual 3. Preparation before Use 3.4 Installing Emulator’s Debugger When the CD is inserted in the host computer’s CD driv
E8a Emulator User's Manual 3. Preparation before Use 3.5 Connecting the Emulator to the Host Computer This section describes how to connect th
E8a Emulator User's Manual 3. Preparation before Use The emulator is connected to the host computer via the USB 1.1, and also to the USB port co
E8a Emulator User's Manual 3. Preparation before Use 3.6 Connecting the Emulator to the User System Use the procedure below to connect the emu
E8a Emulator User's Manual 3. Preparation before Use (2) The pin assignments of the connector are shown in the section of ‘Pin Assignments of th
E8a Emulator User's Manual 3. Preparation before Use 3.7 Connecting System Ground WARNING Separate the frame ground from the signal ground at
E8a Emulator User's Manual 3. Preparation before Use 3.8 System Check When the software is executed, use the procedure below to check that the
E8a Emulator User's Manual 3. Preparation before Use When the [Open workspace] dialog box is opened, specify the following directory: <OS ins
E8a Emulator User's Manual 3. Preparation before Use z H8/Super Low Power Drive where the OS has been installed: \WorkSpace\Tutorial\E8a\H8\
E8a Emulator User's Manual 3. Preparation before Use Note: The emulator occupies the user’s flash memory area according to the target MCUs. For
E8a Emulator User's Manual 3. Preparation before Use CAUTION Before carrying out the power supply, check the power specification of the user sys
Introduction This manual describes the followings - E8a Emulator functions - Preparation before use - Debugger functions - Tutorial - Appendix: (Com
E8a Emulator User's Manual 3. Preparation before Use 8. When the version of the E8a firmware downloaded into the emulator is old, the message b
E8a Emulator User's Manual 3. Preparation before Use When no power is supplied from the emulator, click the [OK] button without selecting the [P
E8a Emulator User's Manual 3. Preparation before Use 11. When "Connected" is displayed in the [Output] window of the High-performance
E8a Emulator User's Manual 3. Preparation before Use Notes: 1. If the user system interface cable is disconnected from the connector on the us
E8a Emulator User's Manual 3. Preparation before Use Figure 3.21 [Error sending Flash memory write program] Dialog Box (c) The following dia
E8a Emulator User's Manual 3. Preparation before Use 3. If an incorrect driver has been selected, the following dialog box will appear. Fig
E8a Emulator User's Manual 3. Preparation before Use 3.9 Uninstalling the Emulator’s Debugger Follow this procedure to remove the installed em
E8a Emulator User's Manual 3. Preparation before Use Click the [+] mark at the left of [Debugger Components] in the [Registered components] list
E8a Emulator User's Manual 3. Preparation before Use Figure 3.29 [Uninstall HEW Tool] Dialog Box Click the [Start] button to list the instal
E8a Emulator User's Manual 3. Preparation before Use Highlight the product name to be uninstalled and click the [Uninstall] button. This is the
Document Conventions This manual uses the following typographic conventions: Table 1 Typographic Conventions Convention Meaning [Menu->Menu Optio
E8a Emulator User's Manual 3. Preparation before Use REJ10J1655-0400 Rev.4.00 Page 44 of 158 Apr 30, 2010
E8a Emulator User's Manual 4. Preparations for Debugging Section 4 Preparations for Debugging 4.1 Method for Activating High-performance Embe
E8a Emulator User's Manual 4. Preparations for Debugging 4.1.1 Creating the New Workspace (Toolchain Not Used) 1. In the [Welcome!] dialog box
E8a Emulator User's Manual 4. Preparations for Debugging Figure 4.3 [New Project Workspace] Dialog Box [Workspace Name] edit box: Enter the
E8a Emulator User's Manual 4. Preparations for Debugging 3. The following dialog box is displayed. Figure 4.4 [Setting the Target System for
E8a Emulator User's Manual 4. Preparations for Debugging Figure 4.5 [Setting the Debugger Options] Dialog Box This is the end of the emulator
E8a Emulator User's Manual 4. Preparations for Debugging 4.1.2 Creating the New Workspace (Toolchain Used) 1. In the [Welcome!] dialog box tha
E8a Emulator User's Manual 4. Preparations for Debugging [Workspace Name] edit box: Enter the new workspace name. Here, enter ‘test’. [Project
E8a Emulator User's Manual 4. Preparations for Debugging 3. Make the required setting for the toolchain. Figure 4.8 [New Project-1/6-Select
E8a Emulator User's Manual 4. Preparations for Debugging 4. Make the required settings for the RTOS. Figure 4.9 [New Project-2/6-Select RTO
IMPORTANT READ FIRST Before using this product, be sure to read the user’s manual (this user's manual) carefully. Keep this user’s manual, and r
E8a Emulator User's Manual 4. Preparations for Debugging 5. Make the required settings for the heap area etc. Figure 4.10 [New Project-3/6
E8a Emulator User's Manual 4. Preparations for Debugging 6. Make the required setting for the stack area. Figure 4.11 [New Project-4/6-Sett
E8a Emulator User's Manual 4. Preparations for Debugging 7. When the tool chain settings have been completed, the following dialog box is displ
E8a Emulator User's Manual 4. Preparations for Debugging 8. Set a configuration file name. The configuration file saves the settings of the Hig
E8a Emulator User's Manual 4. Preparations for Debugging 9. Finally, confirm the file name you create. Figure 4.14 [New Project-7/7-Changin
E8a Emulator User's Manual 4. Preparations for Debugging 10. After the High-performance Embedded Workshop has been activated, connect the emulat
E8a Emulator User's Manual 4. Preparations for Debugging (b) Connecting the emulator without the setting at emulator activation The emulator can
E8a Emulator User's Manual 4. Preparations for Debugging 4.1.3 Selecting an Existing Workspace 1. In the [Welcome!] dialog box that is display
E8a Emulator User's Manual 4. Preparations for Debugging 2. The [Open Workspace] dialog box is displayed. Select a directory in which you have
E8a Emulator User's Manual 4. Preparations for Debugging 4.2 Setting at E8a Emulator Activation 4.2.1 Setting at Emulator Activation When the
Usage restrictions: This emulator has been developed as a means of supporting system development by users. Therefore, do not use it as a device used f
E8a Emulator User's Manual 4. Preparations for Debugging Figure 4.19 [Debug Settings] Dialog Box ([Options] Page) The command chain that is a
E8a Emulator User's Manual 4. Preparations for Debugging 4.2.2 Downloading a Program A download module is added under [Download modules] in the
E8a Emulator User's Manual 4. Preparations for Debugging 4.2.3 Setting the [Program Flash] Mode The following describes the procedures when the
E8a Emulator User's Manual 4. Preparations for Debugging (b) Select the target MCU and click the [Next] button. Figure 4.22 [Setting the Tar
E8a Emulator User's Manual 4. Preparations for Debugging (c) Set a configuration file name and click the [Finish] button. Figure 4.23 [Setti
E8a Emulator User's Manual 4. Preparations for Debugging (d) The [Emulator Setting] dialog box is displayed. Figure 4.24 [Emulator Setting]
E8a Emulator User's Manual 4. Preparations for Debugging (e) When [Power Target from Emulator. (MAX 300mA)] is not checked, the dialog box shown
E8a Emulator User's Manual 4. Preparations for Debugging (g) Select [Debug Settings…] from the [Debug] menu. Figure 4.27 High-performance Em
E8a Emulator User's Manual 4. Preparations for Debugging (h) Select the target MCU and then the download module with the [Add…] button. Figure
E8a Emulator User's Manual 4. Preparations for Debugging (j) Select and download the file with the right-hand mouse button. Figure 4.30 Dow
Precautions for Safety READ FIRST Before using this product, be sure to read the user’s manual (this user's manual) carefully. Keep this user’s m
E8a Emulator User's Manual 4. Preparations for Debugging (l) When the following dialog box is displayed, close and restart or exit the workspac
E8a Emulator User's Manual 5. Debugging Section 5 Debugging This section describes the debugging operations and their related windows and dial
E8a Emulator User's Manual 5. Debugging 5.1.2 [General] Page Sets the emulator operation conditions. Figure 5.1 [Configuration] Dialog Box ([
E8a Emulator User's Manual 5. Debugging [Flash memory synchronization] combo box Selects whether or not the contents of the flash memory are acq
E8a Emulator User's Manual 5. Debugging 5.2 Downloading a Program This section describes how to download a program and view it as source code o
E8a Emulator User's Manual 5. Debugging 5.2.2 Viewing the Source Code Select a source file name in the [Workspace] window and click [Open] in t
E8a Emulator User's Manual 5. Debugging In this window, the following items are shown on the left as line information. The first column (Line
E8a Emulator User's Manual 5. Debugging To switch off a column in all source files 1. Click the right-hand mouse button on the [Source] wind
E8a Emulator User's Manual 5. Debugging 5.3 Stopping Your Program This section describes how you can halt execution of your application's
E8a Emulator User's Manual 5. Debugging 5.4 Using the Event Points The emulator has the event point function that performs breaking by specifyi
Commentaires sur ces manuels