HS3048BTCM01H Renesas Electronics America, HS3048BTCM01H Datasheet

no-image

HS3048BTCM01H

Manufacturer Part Number
HS3048BTCM01H
Description
ON CHIP DEBUG EMULATOR
Manufacturer
Renesas Electronics America
Type
In Circuit Debuggerr
Datasheet

Specifications of HS3048BTCM01H

Contents
E10T-USB, Cable and CD-ROM
For Use With/related Products
H8/3048B
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
To our customers,
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.
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Renesas Electronics website:
Old Company Name in Catalogs and Other Documents
http://www.renesas.com
April 1
Renesas Electronics Corporation
st
, 2010

Related parts for HS3048BTCM01H

HS3048BTCM01H Summary of contents

Page 1

To our customers, Old Company Name in Catalogs and Other Documents st 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 ...

Page 2

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 ...

Page 3

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 ...

Page 4

Cautions Keep safety first in your circuit designs! 1. Renesas Technology 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 ...

Page 5

H8/3048F-ONE E10T Emulator User’s Manual Rev.1.0 2002.05 ...

Page 6

...

Page 7

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 ...

Page 8

...

Page 9

IMPORTANT INFORMATION • 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. Emulator Product: Throughout this document, ...

Page 10

LIMITED WARRANTY Hitachi warrants its emulator products to be manufactured in accordance with published specifications and free from defects in material and/or workmanship. Hitachi, at its option, will replace any emulator products returned intact to the factory, transportation charges prepaid, ...

Page 11

State Law: Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you. This warranty gives you specific legal rights, and ...

Page 12

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 This is the ...

Page 13

Observe the precautions listed below. Failure will result in a FIRE HAZARD and will damage the user system and the emulator product or will result in PERSONAL INJURY. The USER PROGRAM will be LOST not ...

Page 14

Warnings on Emulator Usage Be sure to read and understand the warnings below before using this emulator. Note that these are the main warnings, not the complete list. Always switch OFF the host computer and user system before connecting or ...

Page 15

This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment ...

Page 16

VIII ...

Page 17

Thank you for purchasing the E10T emulator. READ section 2, Preparation before Use, of this User’s Manual before using the emulator product. Incorrect operation will damage the user system and the emulator product. This emulator is an efficient development tool ...

Page 18

Related Manuals: Supplementary Informations Hitachi Debugging Interface User's Manual (HS6400DIIW5SE) H8S, H8/300 Series Cross Assembler User's Manual H Series Linkage Editor, Librarian, and Object Converter User's Manual H8S, H8/300 Series C/C++ Compiler User's Manual Hardware Manual for each MCU Programming ...

Page 19

Section 1 Overview............................................................................................1 1.1 Environmental Conditions ................................................................................................ 3 1.2 Components ...................................................................................................................... 5 Section 2 Preparation before Use ........................................................................7 2.1 Emulator Preparation ........................................................................................................ 7 2.2 HDI Installation ................................................................................................................ 8 2.2.1 Installing under Windows 2.2.2 Installing under Windows NT 2.2.3 Installing under ...

Page 20

Displaying Local Variables............................................................................................... 50 3.15 Break Function.................................................................................................................. 51 3.15.1 Software Break Function ..................................................................................... 51 3.16 Hardware Break Function ................................................................................................. 58 3.17 Trace Function .................................................................................................................. 65 3.18 What Next? ....................................................................................................................... 66 Section 4 Descriptions of Windows....................................................................67 4.1 HDI Windows ................................................................................................................... ...

Page 21

Section 6 H8/3048F-ONE E10T Emulator Specifications..................................117 6.1 Components of the Emulator ............................................................................................ 117 6.2 Pin Arrangement of the Connector ................................................................................... 118 6.3 Differences between the H8/3048F-ONE and the Emulator............................................. 123 6.4 The H8/3048F-ONE E10T Emulator Functions ............................................................... 124 6.4.1 Emulator ...

Page 22

Figures Figure 1.1 System Configuration with the Emulator (PCMCIA Card Emulator Used)............. 1 Figure 1.2 System Configuration with the Emulator (PCI Card Emulator Used)...................... 2 Figure 2.1 Emulator Preparation Flow Chart............................................................................. 7 Figure 2.2 Inserting the PCMCIA Card Emulator into ...

Page 23

Figure 3.18 [Memory] Window................................................................................................. 40 Figure 3.19 [Instant Watch] Dialog Box ................................................................................... 41 Figure 3.20 [Watch] Window (Displaying the Array)............................................................... 42 Figure 3.21 [Add Watch] Dialog Box ....................................................................................... 42 Figure 3.22 [Watch] Window (Displaying the Variable) .......................................................... 43 Figure 3.23 ...

Page 24

Figure 6.1 Pin Arrangement of the Connector........................................................................... 118 Figure 6.2 Connection of the Emulator (Mode 7) ..................................................................... 119 Figure 6.3 Connection of Emulator and P91, P93, and P95 Pin................................................ 119 Figure 6.4 Direct Connection of Emulator and FWE Pin .......................................................... ...

Page 25

Tables Table 1.1 Environmental Conditions ......................................................................................... 3 Table 1.2 Operating Environments............................................................................................ 4 Table 2.1 Recommended Connector.......................................................................................... 12 Table 2.2 [E10T Driver Details] Dialog Box Option ................................................................ 16 Table 3.1 Tutorial Program: Configuration and Parts ............................................................... 25 Table 3.2 Setting the ...

Page 26

... Table 5.16 TRACE_DISPLAY Command Parameter............................................................... 116 Table 6.1 Components of the Emulator (HS3048BTCM01H or HS3048BTCI01H) ................ 117 Table 6.2 Register Initial Values at Emulator Power-On .......................................................... 123 Table 6.3 Type Name and Driver .............................................................................................. 124 Table 6.4 Hardware Break Condition Specification Items ........................................................ 125 Table 6.5 Conditions Set in [Break condition 1] and [Break condition 2] Dialog Boxes.......... 125 Table 6 ...

Page 27

The E10T emulator (hereafter referred to as the emulator software and hardware development support tool for application systems using the microprocessor developed by Hitachi, Ltd. The PCMCIA card emulator or PCI card emulator (hereafter referred to as the ...

Page 28

Host computer (PC with PCI slot) Figure 1.2 System Configuration with the Emulator (PCI Card Emulator Used) The emulator has three activation modes mode in which the emulator program is linked up after it has been downloaded to ...

Page 29

Various debugging functions Various break and trace functions enable efficient debugging. Breakpoints and break conditions can be set by the specific window, trace information can be displayed on a window, and command-line functions can be used. Memory access during emulation ...

Page 30

Table 1.2 Operating Environments Item Description Host computer Built-in Pentium or higher-performance CPU (166 MHz or higher recommended); IBM PC or compatible machine with the PCMCIA TYPE II slot or the PCI slot. OS Windows Minimum memory 32 Mbytes or ...

Page 31

Components Check all the components unpacking. For details on the E10T emulator components, refer to section 6.1, Components of the Emulator. If the components are not complete, contact a Hitachi sales agency. 5 ...

Page 32

6 ...

Page 33

Section 2 Preparation before Use 2.1 Emulator Preparation READ the reference sections shaded in figure 2.1 before using the emulator product. Incorrect operation will damage the user system and the emulator product. The USER PROGRAM will be LOST. Unpack the ...

Page 34

HDI Installation When the CD-R is inserted in the host computer’s CD-ROM drive, the HDI installation wizard is automatically activated (holding the Shift key down while the CD-R is inserted cancels this automatic activation). To run the installation wizard ...

Page 35

Installing under Windows NT (1) When the emulator is a PCI card: 1. Shut the operating system down and turn off the power to the host computer. 2. Insert the PCI-card emulator in a slot on the host computer. ...

Page 36

Installing under Windows (1) When the emulator is a PCI card: 1. Log-on with an administrator-level user name. 2. Install the HDI. (When a component is selected, be sure to select [PCI Card Driver].) 3. Shut the operating system ...

Page 37

Connecting the Host Computer with the Card Emulator Insert the card emulator into the PCMCIA TYPE II slot or the PCI slot of the host computer (figures 2.2 and 2.3). Note: Be sure to install the HDI before the ...

Page 38

Connecting the Card Emulator with the User System (1) The connector must be installed to the user system. Table 2.1 shows the recommended connector for the emulator. Table 2.1 Recommended Connector Type Number Manufacturer 2514-6002 3M Limited Note: When ...

Page 39

Notes connect the signals output from the connector, refer to the MCU pin alignment remove the user system interface cable from the user system, pull the tab on the connector upward. 3. The range of frequencies ...

Page 40

System Check When the HDI program is executed, check that the emulator operates correctly according to the following procedure: 1. Check that the card emulator is inserted into the host computer. 2. Connect the user system interface cable to ...

Page 41

The [Select Session] dialog box is displayed. One of the three can be selected for the session. Select the activation mode for the emulator. Figure 2.6 [Select Session] Dialog Box 15 ...

Page 42

The [E10T Driver Details] dialog box is displayed. With the [Driver] combo box, select the driver to connect the HDI with the emulator. [Interface] displays the interface name of the PC interface board to be connected, and [Channel] displays ...

Page 43

Select [E10T PC Card Driver 2] when using the PCMCIA card emulator, and [E10T PCI Card Driver 2] when using the PCI card emulator. 7. The HDI window is displayed, and the dialog box is displayed as shown in figure ...

Page 44

Set a hexadecimal eight-digit numerical ID code as a security code for the flash memory. Uncheck the [New registration] check box and input this ID code when [H8/xxxx E10T Emulator] is selected and the HDI is activated in the ...

Page 45

When the [Load Program] window appears, specify a user program to be downloaded. Click the [Open] button to start downloading. Figure 2.13 [Load Program] Dialog Box 3. When the program has been downloaded, the [Continue] window appears. When the ...

Page 46

If the emulator is not properly initialized, one of the dialog boxes shown in figures 2.16 through 2.19 will appear. (a) The following dialog box is displayed when the flash memory cannot be erased. Exchange the MCU since the ...

Page 47

The following dialog box is displayed when the MCU cannot communicate with the emulator. Check the MCU settings. Figure 2.19 [Boot Failed!] Dialog Box incorrect driver has been selected, the following dialog box will appear. Figure ...

Page 48

Ending the HDI Exit the HDI by using the following procedure: 1. Select [Exit] from the [File] menu to end the HDI. When the [Exit HDI] dialog box is displayed, click the [Yes] button. 2. Then, the [Save session] ...

Page 49

Uninstalling the HDI Follow this procedure to remove the installed HDI from the user’s host computer. 1. Open [Add/Remove Programs Properties] from the control panel. Select the HDI program from the list and click the [Add/Remove…] button. 2. The ...

Page 50

CD-R 2.8.1 Configuration of the CD-R The root directory of the CD-R contains a setup program for HDI installation. The folders contain the files and programs listed below. Table 2.3 Contents of the CD-R Directories Directory Name Contents Dlls ...

Page 51

Introduction The following describes the main functions of the emulator by using a tutorial program. The tutorial program is based on the C program that sorts ten random data items in ascending or descending order. The tutorial program performs ...

Page 52

Running the HDI To run the HDI, select [HDI for E10T H8xxxx] -> [Hitachi Debugging Interface] from the [Start] menu. For the procedure of running the HDI, refer to section 2.5, System Check. 26 Figure 3.1 [Start] Menu ...

Page 53

Window The key functions of the HDI are described in section 4, Descriptions of Windows. Numbers in figure 3.2 indicate the following: 1. Menu bar: Gives the user access to the HDI commands for using the HDI debugger. ...

Page 54

Setting up the Emulator The following MCU conditions must be set up on the emulator before downloading the program: Device type Execution mode The following describes how to set up the emulator for the tutorial programs. 3.5 Setting the ...

Page 55

Set options as follows: Table 3.2 Setting the [Configuration] Dialog Box Option Mode Emulation mode Step option (Disables interrupt during single step execution) User interface clock Operating mode Break condition mode Flash memory synchronization Click the [OK] button to set ...

Page 56

Downloading the Tutorial Program 3.6.1 Downloading the Tutorial Program Download the object program to be debugged. Select [Load Program...] from the [File] menu. The [Load Program] dialog box is displayed. Enter the [Offset] edit box and [File name] list ...

Page 57

Displaying the Source Program The HDI allows the user to debug a program at the source level. Select [Source...] from the [View] menu. The [Open] dialog box is displayed. Select the C source file that corresponds to the object ...

Page 58

Select [Sort.c] and click the [Open] button. The [Program] window is displayed. Figure 3.7 [Program] Window (Displaying the Source Program) If necessary, select the [Font] option from the [Customize] submenu on the [Setup] menu to select a clear font and ...

Page 59

Setting the Software Breakpoint A breakpoint is one of the easy debugging functions. The [Program] window provides a very simple way of setting a software breakpoint at any point in a program. For example, to set a breakpoint at ...

Page 60

Setting Registers Set values of the program counter and the stack pointer before executing the program. Select [Registers] from the [View] menu. The [Registers] window is displayed. Note: The items that can be set in this window differ according ...

Page 61

To change the value of the program counter (PC), double-click the value area in the [Registers] window with the mouse. The following dialog box is then displayed, and the value can be changed. Figure 3.10 [Register] Dialog Box (PC) Set ...

Page 62

Executing the Program Execute the program as described in the following: To execute the program, select [Go] from the [Run] menu, or click the [Go] button on the toolbar. Or, select [Reset Go] from the [Run] menu or click ...

Page 63

The user can see the cause of the break that occurred last time in the [System Status] window. Select [Status] from the [View] menu. After the [System Status] window is displayed, open the [Platform] page, and check the status of ...

Page 64

Table 3.3 Contents of the [System Status] Window Page Item [Session] Target System Session Name Program Name [Platform] Connected To: CPU Run status Cause of last break Run time count Emulator mode [Memory] Loaded Memory Areas [Events] Resources 38 Description ...

Page 65

Reviewing Breakpoints The user can see all the breakpoints set in the program in the [Breakpoints] window. Select [Breakpoints] from the [View] menu. The pop-up menu, opened by clicking the [Breakpoints] window with the right mouse button, also allows ...

Page 66

Viewing Memory The user can view the contents of a memory block in the [Memory] window. For example, to view the memory contents corresponding to the main in word size: Select [Memory …] from the [View] menu, enter main ...

Page 67

Watching Variables As the user steps through a program possible to watch that the values of variables used in the user program are changed. For example, set a watch on the long-type array a declared at the ...

Page 68

Click [Add Watch] button to add a variable to the [Watch] window. Figure 3.20 [Watch] Window (Displaying the Array) The user can also add a variable to the [Watch] window by specifying its name. Click the [Watch] window with the ...

Page 69

The [Watch] window will now also show the int-type variable max. Figure 3.22 [Watch] Window (Displaying the Variable) The user can double-click the + symbol to the left of any variable in the [Watch] window to watch the all elements ...

Page 70

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, including statements within functions. Step Over Executes a function ...

Page 71

Executing [Step In] Command The [Step In] steps into the called function and stops at the first statement of the called function. To step through the sort function, select [Step In] from the [Run] menu, or click the [Step ...

Page 72

Executing [Step Out] Command The [Step Out] steps out of the called function and stops at the next statement of the calling statement in the main function. To step out of the sort function, select [Step Out] from the ...

Page 73

To execute two steps, use [Step In] twice. Figure 3.28 [Program] Window (Step In The value of max displayed in the [Watch] window is changed to the maximum data value. Step In) 47 ...

Page 74

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. Using [Step Over], execute two steps to reach the change function statement. Figure 3.29 ...

Page 75

Figure 3.31 [Program] 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. 49 ...

Page 76

Displaying Local Variables The user can display local variables in a function using the [Locals] window. For example, we will examine the local variables in the main function, which declares five local variables min, and max. ...

Page 77

Break Function The emulator has software and hardware break functions. With the HDI, a software breakpoint can be set using the [Breakpoints] window, and a hardware break condition can be set using the [Break condition 1] dialog box. An ...

Page 78

The [Break] dialog box is displayed. The [Point] page is displayed as a default. Figure 3.34 [Point] Page ([Break] Dialog Box) Click the [Add...] button to display the [Breakpoint] dialog box. Enter H'109a to the [Value] edit box. 52 ...

Page 79

Figure 3.35 [Breakpoint] Dialog Box Click the [OK] button. 53 ...

Page 80

The [Break] dialog box is displayed. The address set in the value field of [Breakpoint] is displayed. Figure 3.36 [Point] Page ([Break] Dialog Box) (After Software Breakpoint Setting) Click the [Close] button. 54 ...

Page 81

The software breakpoint that has been set is displayed in the [Breakpoints] window. Figure 3.37 [Breakpoints] Window (Software Breakpoint Setting) To stop the tutorial program at the breakpoint, the following procedure must be executed: Close the [Breakpoints] window. Click the ...

Page 82

Figure 3.38 [Program] Window at Execution Stop (Software Break) 56 ...

Page 83

The [System Status] window displays the following contents. Figure 3.39 Displayed Contents of the [System Status] Window (Software Break) Note: The items that can be displayed in this window differ according to the product. For the items that can be ...

Page 84

Hardware Break Function A method is given below in which the address bus condition and the read cycles for the state condition are set under Break condition 1 as hardware break conditions. Select [Breakpoint Window] from the [View] menu. ...

Page 85

The [Break] dialog box is displayed. To set hardware break conditions, select [Condition] in the [Break] dialog box to display the [Condition] page. Figure 3.41 [Condition] Page ([Break] Dialog Box two breakpoints can be set independently for the ...

Page 86

Highlight the first point in the [Break condition] list box. Click the [Edit...] button. The [Break condition 1] dialog box is displayed. Clear the [Don't care] check box in the [Address] page. Select the [Only program fetched address after] radio ...

Page 87

Figure 3.43 [Break] Dialog Box (After Hardware Break Condition Setting) Note: Note that the number of hardware break conditions differs according to the product. For the number that can be specified for each product, refer to the on-line help. Click ...

Page 88

The newly set hardware breakpoint is displayed in the [Breakpoints] window. With this setting, Break condition 1 is displayed in [Type] in the [Breakpoints] window. This completes the setting of the Break condition 1 hardware break condition. When the program ...

Page 89

The program runs then stops at the condition specified under Break condition 1. Figure 3.45 [Program] Window at Execution Stop (Break condition 1) 63 ...

Page 90

The [System Status] window displays the following contents. Figure 3.46 Displayed Contents of the [System Status] Window (Break condition 1) Note: The items that can be displayed in this window differ according to the product. For the items that can ...

Page 91

Trace Function The trace function of the E10T emulator is described. The branch source addresses, mnemonics, operands, and source lines are displayed. Since this function uses the trace buffer built into the MCU, a realtime trace can be acquired. ...

Page 92

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 emulation functions that the emulator offers. This provides for effective investigation of ...

Page 93

Section 4 Descriptions of Windows 4.1 HDI Windows HDI window menu bars and the corresponding pull-down menus are listed in table 4.1. Where a description of a menu is included in the Hitachi Debugging Interface User's Manual or in this ...

Page 94

Table 4.1 HDI Window Menus and Related Manual Entries (cont) Menu Bar Pull-Down Menu View Menu Breakpoints Command Line Disassembly... I/O Registers Labels Locals Memory... Performance Analysis Profile-List Profile-tree Registers Source… Status Trace Watch Localized Dump Window Run Menu Reset ...

Page 95

Table 4.1 HDI Window Menus and Related Manual Entries (cont) Menu Bar Pull-Down Menu Memory Menu Refresh Load Save Verify Test Fill Copy Compare Setup Menu Status bar Options Radix Customise Configure Platform… Window Menu Cascade Tile Arrange Icons Close ...

Page 96

Descriptions of Each Window This section describes each window. Figures in this section are used as examples. Each E10T emulator type has explanatory notes. Read section 6, H8/xxxx E10T Emulator Specifications. 4.2.1 [Configuration] Dialog Box Function: This dialog box ...

Page 97

Description: The [Configuration] dialog box consists of the [General] page listed in table 4.2. Table 4.2 [Configuration] Dialog Box Page Page Name [General] Clicking the [OK] button sets the emulation conditions. If the [Cancel] button is clicked, this dialog box ...

Page 98

Page ([Configuration] Dialog Box) Function: This page sets the operational conditions for the emulator. The MCU name is displayed, the user interface clock is displayed, the emulation mode and interrupts during step execution are set, and the driver ...

Page 99

Description: Table 4.3 [General] Page Options Option [Mode] combo box [Emulation mode] combo box [Step option] combo box [User interface clock] combo box Displays the transfer clock of the user interface. [Operating mode] combo box Description Displays the MCU name. ...

Page 100

Table 4.3 [General] Page Options (cont) Option [Flash memory synchronization] combo box [Driver] group box When a driver changed with the [Change…] button, the following message is displayed. When the [Yes] button is clicked, the [E10T Driver ...

Page 101

Related Items: [Configuration] dialog box GO_OPTION command STEP_INTERRUPT command 75 ...

Page 102

Driver Details] Dialog Box When the [OK] button is clicked, the [E10T Driver Details] dialog box will appear to select the driver software used by the interface to the emulator. Since the emulator is reinitialized after this dialog ...

Page 103

Note: When the HDI is not linked up even if the above procedure has been executed, the driver may not be set correctly. Install drivers provided with the /SETUP directory in the CD-R according to the screen instructions. Related Items: ...

Page 104

Window Function: This window lists all break conditions that have been set. Window: Description: The [Breakpoints] window displays breakpoint setting information. The items listed in the following tables are displayed. Table 4.5 [Breakpoints] Window Display Items Item Description ...

Page 105

The pop-up menu, which is opened by clicking the right mouse button, can be used to set, change, and clear breakpoints, and to enable or disable break conditions. The pop-up menu functions are described in the following table. Table 4.6 ...

Page 106

Dialog Box Function: This dialog box displays the break condition settings. Window: Description: The [Break] dialog box consists of the pages listed in table 4.7. Table 4.7 [Break] Dialog Box Pages Page Name [Point] [Condition] The dialog boxes ...

Page 107

Page ([Break] Dialog Box) Function: This page displays software breakpoint settings. In this page, software breakpoints can be set, changed, and cleared. Window: Figure 4.7 [Point] Page ([Break] Dialog Box) 81 ...

Page 108

Description: Table 4.8 [Point] Page Options Option Description [Breakpoint] list box Lists the software breakpoints currently being set. The display contents are as follows: <breakpoint address> [Add...] button Sets software breakpoints. Clicking this button displays the [Breakpoint] dialog box. [Edit...] ...

Page 109

Page ([Break] Dialog Box) Function: This page displays the Break Condition settings. These conditions can also be set or cleared in this page. Window: Figure 4.8 [Condition] Page ([Break] Dialog Box) Note: Note that the number of hardware ...

Page 110

Description: Table 4.9 [Condition] Page Options Option Description [Break condition] list box Displays the Break condition settings. The display at system initiation is as follows: When conditions are set, Enable is displayed. When no conditions are set, Empty is displayed. ...

Page 111

Dialog Box Function: This dialog box sets software breakpoints. Window: Note: The items that can be set in this window differ according to the product. For the settings for each product, refer to the on-line help. Figure 4.9 ...

Page 112

Description: The [Address] page options are as follows: Table 4.10 [Address] Page Options Option [Value] edit box Clicking the [OK] button enables breakpoints to be set. If the [Cancel] button is clicked, this dialog box is closed without setting breakpoints. ...

Page 113

Dialog Box Function: This dialog box sets hardware break conditions. Window: Figure 4.10 [Break condition 1] Dialog Box Note: The items that can be set in this window differ according to the product. For the settings for ...

Page 114

Description: The [Break condition] dialog box consists of the [condition] page. Sets the conditions for halting the program. Contents to be set by this page are described in section 4.2.7, [Break condition] Dialog Box Pages. Clicking the [OK] button sets ...

Page 115

Dialog Box Pages Function: The [Break condition] dialog box page allows a number of hardware break conditions to be set. Some functions may not be supported by some types of emulators. The setting conditions may differ from ...

Page 116

Page Function: This page sets the address bus, data bus, and read/write cycle conditions. Window: Note: The items that can be set in this window differ according to the product. For the settings for each product, refer to ...

Page 117

Description: The [Address] group box sets the address bus conditions. Table 4.13 [Address] Group Box Options Option Description [Don’t care] check box Does not set address conditions. [Address] radio button Sets use of the normal address bus as break conditions. ...

Page 118

The [Read/Write] group box sets the read/write cycle conditions. Table 4.16 [Read/Write] Group Box Options Option [Read/Write] radio button [Read] radio button [Write] radio button Related Items: [Condition] page BREAKCONDITION_CLEAR command BREAKCONDITION_DISPLAY command BREAKCONDITION_ENABLE command BREAKCONDITION_SET command 92 Description Sets ...

Page 119

Window Function: This window displays the trace buffer contents. The contents are displayed in both C and assembly languages to simplify debugging. Window: Note: The number of branch instructions that can be acquired by a trace differs according ...

Page 120

Description: This window displays the trace buffer contents. The items listed in table 4.17 are displayed. Table 4.17 [Trace] Window Display Items Item Description [IP] Displays the instruction pointer (signed decimal). [TYPE] Displays the branch source. BRANCH: Branch source [ADDR] ...

Page 121

Status] Window Function: This window lists information, such as conditions that have been set to the emulator and execution results. Window: Note: The items that can be displayed in this window differ according to the product. For the ...

Page 122

Description: The items listed in the following table are displayed in the [System Status] window. Table 4.18 [System Status] Window Display Items Page Item [Session] Target System Session Name Program Name [Platform] Connected To CPU Run status Cause of last ...

Page 123

Section 5 Command-line Functions 5.1 Table and Symbol Description This section describes the format used in section 5.2, Command Descriptions. The descriptions of some commands are given over two or more pages. 5.1.1 Format The input format for each command ...

Page 124

Examples These are actual input examples. For commands whose execution results in a specific display output, an example of the display is given. 5.1.4 Related Items Related E10T HDI commands (abbreviations) and dialog boxes are shown. (Refer to section ...

Page 125

Command Descriptions The command list of the E10T emulator is shown below. Table 5.1 E10T HDI Commands No Command 1 BREAKCONDITION_ CLEAR 2 BREAKCONDITION_ DISPLAY 3 BREAKCONDITION_ ENABLE 4 BREAKCONDITION_ SET 5 BREAKPOINT 6 BREAKPOINT_CLEAR 7 BREAKPOINT_DISPLAY 8 BREAKPOINT_ENABLE ...

Page 126

BREAKCONDITION_CLEAR: BCC Description: Clears hardware breakpoints that have been set. Format: bcc [<channel>] <channel> = channel <channel_number> Table 5.2 BREAKCONDITION_CLEAR Command Parameter Parameter Type <channel number> Numerical value Note: When <channel> is omitted, all hardware breakpoints that have been ...

Page 127

BREAKCONDITION_DISPLAY: BCD Description: Displays hardware breakpoints that have been set. The display contents include a hardware breakpoint channel number, enable or disable of the setting, and setting conditions. Format: bcd [<channel>] <channel> = channel <channel_number> Table 5.3 BREAKCONDITION_DISPLAY Command ...

Page 128

BREAKCONDITION_ENABLE: BCE Description: Enables or disables hardware breakpoints that have been set. Format: bce [<channel>] <mode> <channel> = channel <channel_number> Table 5.4 BREAKCONDITION_ENABLE Command Parameters Parameter Type <channel_number> Numerical value <mode> Keyword Note: When <channel> is omitted, all hardware ...

Page 129

BREAKCONDITION_SET: BCS Description: Sets hardware breakpoints. Note: The function will be different according to the MCUs used. For functions of each emulator product, refer to section 6.4.2, Hardware Break Functions. Format: bcs <channel> <option> [<option> ... ] <option> = ...

Page 130

Table 5.5 BREAKCONDITION_SET Command Parameters Parameter Type <address> Numerical value, character string <addrcycle> Keyword <addr_mask> Keyword <data> Numerical value <size> Keyword <r/w> Keyword <channel_number> Numerical value Note: The parameters for this command vary with the product. For the specifications of ...

Page 131

Examples: To set the following conditions as a hardware breakpoint: Address condition: An address bus value of H'1000, Data condition: A data bus value of H'55 and lower 8-bit byte access, Read/write cycle condition: Read cycle. > bcs channel 1 ...

Page 132

BREAKPOINT: BP Description: Sets software breakpoints. Note: The function will be different according to the MCUs used. Format: bp <address> Table 5.6 BREAKPOINT Command Parameters Parameter Type <address> Numerical value, character string Note: The parameters for this command vary ...

Page 133

BREAKPOINT_CLEAR: BC Description: Clears software breakpoints that have been set. Format: bc [<address>] Table 5.7 BREAKPOINT_CLEAR Command Parameters Parameter Type <address> Numerical value, character string Note: When no parameters are set, all software breakpoints are cleared. Note: The parameters ...

Page 134

BREAKPOINT_DISPLAY: BD Description: Displays software breakpoints that have been set. Format: bd Table 5.8 BREAKPOINT_DISPLAY Command Parameter Parameter Type None Example: To display the software breakpoints that have been set: > bd (RET) The display format is as follows: ...

Page 135

BREAKPOINT_ENABLE: BE Description: Enables or disables software breakpoints that have been set. Format: be <address> <mode> Table 5.9 BREAKPOINT_ENABLE Command Parameters Parameter Type <address> Numerical value, character string <mode> Keyword Examples: To enable software breakpoints that have been set: ...

Page 136

DEVICE_TYPE: DE Description: Displays MCU type currently selected. Format: de Table 5.10 DEVICE_TYPE Command Parameter Parameter Type None Example: To display the currently selected MCU: > de (RET) The display format is as follows: >de Current device = H8/xxxx ...

Page 137

GO_OPTION: GP Description: Sets or displays the emulation mode during user program execution. Format: gp Displays emulation mode for user program execution. gp <eml_opt> <eml_opt> = eml_mode <eml_mode> Sets emulation mode for user program execution. Table 5.11 GO_OPTION Command ...

Page 138

REFRESH: RF Description: Updates the HDI memory information to the latest contents. Format: rf Table 5.12 REFRESH Command Parameter Parameter Type None Example: To update the HDI memory information: > rf (RET) 112 Description ...

Page 139

RESET: RE Description: Resets the H8/xxxx. The breakpoint settings are retained. After the reset, the registers will be in the same state as when power is supplied. Format: re Table 5.13 RESET Command Parameter Parameter Type None Example: To ...

Page 140

STATUS: STS Description: Displays emulator status information. Format: sts Table 5.14 STATUS Command Parameter Parameter Type None Example: To display status information of the emulator: > sts (RET) The display format is as follows: >sts Emulator Status Connected to: ...

Page 141

STEP_INTERRUPT: SI Description: Sets or displays the enable or disable status of interrupts during step execution. When interrupts occur when they are disabled, execution stops at the top address of the interrupt routine. Format: si Displays the enable or ...

Page 142

TRACE_DISPLAY: TD Description: Displays acquired trace information. Format: td Table 5.16 TRACE_DISPLAY Command Parameter Parameter Type None Example: To display acquired trace information: > td (RET) The display format is as follows: >td IP TYPE -D’xxxx BRANCH -D’xxxx BRANCH ...

Page 143

... Section 6 H8/3048F-ONE E10T Emulator Specifications 6.1 Components of the Emulator The H8/3048F-ONE E10T emulator supports the H8/3048F-ONE (F-ZTAT only). Table 6.1 lists the components of the emulator. Table 6.1 Components of the Emulator (HS3048BTCM01H or HS3048BTCI01H) Classi- fication Component Hard- Card emulator ware HS3048BTCM02H (Model: HS0005TCM01H), ...

Page 144

Pin Arrangement of the Connector Figure 6.1 shows the pin arrangement of the connector. Pin 1 mark 2 pin 1 pin Top view Pin 1 mark Notes: 1. The symbol (#) means that the signal is active-low. 2. Vss ...

Page 145

Figure 6.2 shows connection of the emulator. 14-pin connector with a 2.54-mm pitch 3M Limited 2,4,6,8,10, 12,14,16 E10T pin No. Figure 6.2 Connection of the Emulator (Mode 7) Notes: 1. P91, ...

Page 146

The FWE signal is used for forced break control by the emulator. Connect the emulator and MCU pins directly. Example of connecion circuit: User system connector Pin 3 Figure 6.4 Direct Connection of Emulator and FWE Pin 3. The ...

Page 147

MD0 to MD2 pins are used by the emulator at power-on reset. Connect MD0 to MD2 pins as shown in figure 6.6. When MD2 and MD0 to MD1 pins are 1: User system connector Pins 5,7,and 9 When MD0 ...

Page 148

Figure 6.7 shows the interface circuit in the emulator. Use this figure as a reference when determining the pull-up resistance value. Emulator control circuit HD74LVH244A Figure 6.7 Interface Circuit in the Emulator (Reference) 122 HD74LV125A 10k 2 HD74LV125A 10k ...

Page 149

Differences between the H8/3048F-ONE and the Emulator 1. Operating Mode The emulator supports the following operating modes: • Mode 5 • Mode 6 • Mode 7 2. When the emulator system is initiated, it initializes the general registers and ...

Page 150

... MCU for a new one. 6.4.1 Emulator Driver Selection Table 6.3 shows drivers which can be selected in the [E10T Driver Details] dialog box. Table 6.3 Type Name and Driver Type Name HS3048BTCM01H HS3048BTCI01H 124 Driver E10T PC Card Driver 2 E10T PCI Card Driver 2 ...

Page 151

Hardware Break Functions Hardware Break Conditions: In the H8/3048F-ONE E10T emulator, two break conditions can be set (Break Condition 1,2). Table 6.4 lists the items that can be specified. Table 6.4 Hardware Break Condition Specification Items Items Address bus ...

Page 152

Notes on Setting the Break Condition: 1. When [Go to cursor], [Step In], [Step Over], or [Step Out] is selected, the settings of Break Condition 1 are disabled. 2. Setting of Break Condition 1 is disabled when an instruction to ...

Page 153

Notes on HDI 1. Note on Moving Source File Position after Creating Load Module When the source file is moved after creating the load module, the [Open] dialog box may be displayed to specify the source file during the ...

Page 154

Example: Array display When array elements exceed 1000, elements from after 1000 will not be displayed. 6. Memory Load Function When [Load...] is selected from the [Memory] menu, the Memory Load function can be used although it takes time to ...

Page 155

Example: 9. Note on Initiating HDI When the emulator is initiated by using another card emulator after it has been initiated by using the PCI card emulator, delete the [TARGET] line from the C:\windows\HDI.INI file. 10. Usage with Another HDI ...

Page 156

Registers] window Display and modification Do not change values in the [I/O Registers] window because the emulator uses the address break controller. Note that the E10T emulator does not support the display of the invalid module or bit ...

Page 157

Number of Software Breakpoint and [Stop At] Settings in the [Run...] Menu The maximum number of software breakpoints and [Stop At] settings allowed in the [Run...] menu is 255. Therefore, when 255 software breakpoints are set, specification by [Stop ...

Page 158

132 ...

Related keywords