Renesas HS1653ECN61H Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Redes Renesas HS1653ECN61H. Renesas HS1653ECN61H User`s manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 322
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - H8SX E6000H Emulator

H8SX E6000H Emulator User’s Manual Renesas Microcomputer Development Environment System H8SX Family / H8SX/1650 Group H8SX/1520 Group H8SX/1544 Grou

Página 2

VI Warnings on Emulator Usage Warnings described below apply as long as you use this emulator. Be sure to read and understand the warnings below befo

Página 3

25 3.4 Support of the Target MCU 3.4.1 Memory Space The architecture of the MCU allows for a 16-Mbyte memory space. (1) On-Chip I/O Area If an att

Página 4

26 3.4.4 Control Input Signals (/RES and /NMI) The MCU control input signals are /RES and /NMI. The /RES and /NMI signals are only valid when emulat

Página 5 - IMPORTANT INFORMATION

27 3.4.7 Emulator State and Internal Modules Operation of some internal modules depends on the emulator’s state. Tables 3.3 and 3.4 show the relati

Página 6 - DISCLAIMER

28 3.4.8 Differences in Values of Registers Note that certain general and control registers of both emulators are initialized whenever the system is

Página 7

29 3.5 Notes Specific to the H8SX/1527 E6000H and H8SX/1527R E6000H Emulators 3.5.1 Custom Device Function The maximum value selectable for the on-

Página 9

31 Section 4 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000H diagnostic program. 4.1 System Set-Up

Página 10 - Warnings on Emulator Usage

32 Figure 4.1 [Misc] Page 5. Turn on the E6000H emulator switch. Note: To execute the diagnostic program, firstly turn on the power of the emula

Página 11 - CAUTION

33 4.2 Test Item of the Diagnostic Program (HS1527KEPH60H) Table 4.1 shows the test items of this diagnostic program. Table 4.1 Test Items of the

Página 12

34 4.3 Diagnostic Test Procedure Using the Diagnostic Program Insert the CD-R (HS1650EPH60SR supplied with the emulator) into the CD-ROM drive of th

Página 13

VII CAUTION Place the emulator station and evaluation chip board so that the trace cables are not bent or twisted. A bent or twisted cable

Página 14 - About This Manual

35 The following messages are displayed during the test. There are 15 steps in this test. Message Description H8SX/1527 E6000H Emulator Tests V*.* T

Página 15 - Contents

36 11) EMU 35.7Mhz MPU 35.7Mhz Sampling 20ns ...OK 12) EMU 35.9Mhz MPU 35.9Mhz Sampling 20ns ...OK 13) E

Página 16

37 4.4 Test Item of the Diagnostic Program (HS1527REPH60H) Table 4.2 shows the test items of this diagnostic program. Table 4.2 Test Items of the

Página 17

38 4.5 Diagnostic Test Procedure Using the Diagnostic Program Insert the CD-R (HS1650EPH60SR supplied with the emulator) into the CD-ROM drive of th

Página 18

39 The following messages are displayed during the test. There are 15 steps in this test. Message Description H8SX/1527R E6000H Emulator Tests V*.*

Página 19

40 11) EMU 35.7Mhz MPU 35.7Mhz Sampling 20ns ...OK 12) EMU 35.9Mhz MPU 35.9Mhz Sampling 20ns ...OK 13) E

Página 20

H8SX/1544 Hardware Part

Página 22 - H8SX/1650 Hardware Part

1 Section 1 Overview 1.1 Notes on Usage CAUTION READ the following warnings before using the emulator product. Incorrect operation will damag

Página 23

2 1.2 Emulator Hardware Components The emulator consists of an E6000H station and the E6000H’s front-end unit. By installing a user system interface

Página 24

VIII CAUTION 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

Página 25

3 1.2.1 E6000H Station Components (A Part of Photos may be Different from Real Appearances) The names of the components on the front/rear panel of t

Página 26

4 Rear Panel: Figure 1.3 E6000H Station: Rear Panel (a) Power switch: Turning this switch to I (input) supplies power to the emulator (E600

Página 27

5 1.2.2 Front-end Unit Configuration The names of the components on the front-end unit are listed below. 1812. 55. 543. 612430. 6162. 8PCN2UCN1XTAL(

Página 28

6 1.3 System Configuration The emulator must be connected to a host computer via the selected PC interface board (PCI bus or PC card bus), LAN adapte

Página 29

7 (3) USB Adapter Figure 1.7 shows the configuration of a system in which the USB adapter is used. A USB adapter can be used to connect the emulator

Página 31

9 Section 2 Preparation before Use 2.1 Description on Emulator Usage This section describes the preparation before emulator usage. Figure 2.1 is a

Página 32

10 2.2 Emulator Connection The following description covers connection of the emulator. 2.2.1 Connecting the Emulator to the User System WARNING

Página 33

11 2.2.3 Precautions on Connecting the User System When connecting the emulator to the user system, note the following: 1. Secure the E6000H statio

Página 34

12 2.2.4 Connecting the External Probe CAUTION Check the external probe direction and connect the external probe to the emulator station correc

Página 35 - Connector: WD-200P-VF85-N

i Preface Thank you for purchasing the E6000H emulator. CAUTION Read this manual before using the emulator product. Incorrect operation or con

Página 36 - WD-200P-VF85-N

13 2.2.5 Selecting the Clock This emulator supports three types of clock for the MCU: a crystal oscillator attached on the emulator’s front-end unit

Página 37

14 XTALUCN1Crystal oscillator terminalsCrystaloscillatorEnlarged viewX1 X2PCN2 Figure 2.3 Installing the Crystal Oscillator External Clock: Fo

Página 38

15 2.2.6 Connecting the System Ground CAUTION Separate the frame ground from the signal ground at the user system. When the frame ground is co

Página 39

16 The user system must be connected to an appropriate ground so as to minimize noise and the adverse effects of ground loops. When connecting the em

Página 40

17 Section 3 Hardware Specifications 3.1 Environmental Conditions CAUTION Observe the conditions listed in table 3.1 when using the emulator.

Página 41

18 3.2 Emulator External Dimensions and Mass Figures 3.1 shows the external dimensions and mass of the E6000H emulator. Figure 3.1 External Dimen

Página 42

19 3.3 User System Interface Circuit 3.3.1 User System Interface Circuit The circuits that interface the MCU in the emulator to the user system inc

Página 43

20 MCUMD controlcircuitMonitorcircuitVHC14MD0MD1MD2MD0MD1MD2Vcc4.7 kΩVHC244 EPM7256VHC244_RES_NMI_STBY_RES_NMI_STBYVcc4.7 kΩUser systeminterface cabl

Página 44

21 MCUVccUser systeminterface cableVssEXTALXTALVccVssEXTALXTALVCLEMLENCNCNCNCVHC244 EPM7256Voltage-followercircuitVcc4.7 kΩLPT24423 kΩVHC2443.3 V Fig

Página 45

22 Avcc Avss AVref VHCT125 VHC125 Sub-MCU P56, P57 P11 to P13 P30 to P33 P61, P62PA3 to PA7 PD0 to PD7 PE0 to

Página 46

ii About This Manual This manual is comprised of two parts: Hardware Part and Debugger Part. Hardware Part: Preparation before use, hardware specif

Página 47

23 MCU VHCT125 VHC125 CB3Q3306 P24 to P27 P10 P60 MCU VHCT125 VHC125 CB3Q3306 P10 P60 MCU VHCT125 VHC125 PCA9306 P14 to P17

Página 48 - Enlarged

24 P20, P21, P23P34 to P37P63 to P67PA0 to PA2PI0 to PI3PJ0 to PJ7PK0 to PK7 MCU VHCT125 VHC125 PF0 to PF4, PF6, PF7 MCU

Página 49

25 PF5 MCU VHCT125 VHC125 PF5 Sub-MCU PF5 CB3Q3306 LVC07 VCC 1 kΩ3 VUser systeminterface cable47 kΩCB3Q3306 Figure 3.2 User Syste

Página 50

26 3.4 Support of the Target MCU 3.4.1 Memory Space The architecture of the MCU allows for a 16-Mbyte memory space. (1) On-Chip I/O Area If an att

Página 51

27 3.4.4 Control Input Signals (/RES, /NMI, and /STBY) The MCU control input signals are /RES, /NMI, and /STBY. The /RES, /NMI, and /STBY signals ar

Página 52

28 3.4.7 Emulator State and Internal Modules Operation of some internal modules depends on the emulator’s state. Table 3.3 shows the relation betwe

Página 53

29 3.4.8 Differences in Values of Registers Note that certain general and control registers of both emulators are initialized whenever the system is

Página 54

30 3.5.5 Port Registers (PORTx) ⎯Restriction (1) When the module pins are used as inputs In the emulator, undefined values are read from PORTx corre

Página 55

31 Section 4 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000H diagnostic program. 4.1 System Set-Up

Página 56

32 Figure 4.1 [Misc] Page 5. Turn on the E6000H emulator switch. Note: To execute the diagnostic program, firstly turn on the power of the emula

Página 57

iii Contents H8SX/1650 Hardware Part Section 1 Overview...

Página 58

33 4.2 Test Item of the Diagnostic Program Table 4.1 shows the test items of this diagnostic program. Table 4.1 Test Items of the Diagnostic Progr

Página 59

34 4.3 Diagnostic Test Procedure Using the Diagnostic Program Insert the CD-R (HS1650EPH60SR supplied with the emulator) into the CD-ROM drive of th

Página 60 - Power-supply

35 The following messages are displayed during the test. There are 15 steps in this test. Message Description H8SX/1544 E6000H Emulator Tests V*.* T

Página 61

36 10) EMU 4MHz MPU 32MHz Sampling 20ns ...OK 11) EMU 35.7MHz MPU 35.7MHz Sampling 20ns ...

Página 62

Debugger Part

Página 64

1 Section 1 Overview The Debugger Part includes the following information. Table 1.1 Debugger Part Contents Section Title Content 2 Preparation

Página 66

3 Section 2 Preparation before Use 2.1 Method for Activating High-performance Embedded Workshop To activate the High-performance Embedded Workshop

Página 67

4 2.1.1 Creating a New Workspace (Toolchain Not Used) 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop

Página 68

iv H8SX/1527 and H8SX/1527R Hardware Part Section 1 Overview ...

Página 69

5 2. Creation of a new workspace is started. The following dialog box is displayed. Figure 2.3 [New Project Workspace] Dialog Box [Workspace Nam

Página 70

6 3. Select the target platform of the session file. The following dialog box is displayed. Figure 2.4 [New Project – Step 7] Dialog Box The ta

Página 71

7 4. Set the configuration file name. The configuration file saves the state of High-performance Embedded Workshop except for the emulator. Figur

Página 72

8 2.1.2 Creating a New Workspace (Toolchain Used) 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop is

Página 73

9 2. Creation of a new workspace is started. The following dialog box is displayed. Figure 2.7 [New Project Workspace] Dialog Box [Workspace Nam

Página 74

10 3. Make the required setting for the toolchain. When the setting has been completed, the following dialog box is displayed. Figure 2.8 [New

Página 75

11 4. Set the configuration file name. The configuration file saves the state of High-performance Embedded Workshop except for the emulator. Figu

Página 76

12 2.1.3 Selecting an Existing Workspace 1. In the [Welcome!] dialog box that is displayed when the High-performance Embedded Workshop is activate

Página 77

13 2.2 Connecting the Emulator Select either of the following two ways to connect the emulator: (a) Connecting the emulator after the setting at emu

Página 78

14 2.3 Re-connecting the Emulator When the emulator is disconnected, re-connection is possible by using the following methods. Select [Debug -> C

Página 79

v H8SX/1544 Hardware Part Section 1 Overview... 1 1.1 Not

Página 80 - 12430. 6

15 Section 3 Debugging This section describes the debugging operations and their related windows and dialog boxes. 3.1 Setting the Environment for

Página 81

16 [General] page [Device] Selects the target MCU to be emulated. See the hardware manual for details. [Custom Device enable] Customizes the target

Página 82

17 3.1.2 Customizing the Settings for the Target MCU Selecting [Custom Device enable] in the [Configuration Properties] dialog box adds the [Custom

Página 83

18 3.1.3 Selecting the Interface to be Connected Checking [Change driver in start up] on the [Configuration Properties] dialog box allows a selectio

Página 84

19 3.1.4 Opening the [Memory Mapping] Dialog Box Selecting [Setup -> Emulator -> Memory Resource…] or clicking the [Emulator Memory Resource]

Página 85

20 3.1.5 Changing the Memory Map Setting Clicking the [Add…] button on the [Memory Mapping] dialog box or clicking the [Modify…] button after select

Página 86

21 3.2 Downloading a Program This section describes how to download a program and view it as source code or assembly-language mnemonics. Note: After

Página 87

22 In this window, the following items are shown on the left as information on lines. • 1st column (Line Number column): A line number for the sourc

Página 88

23 To switch off a column in all source files 1. Click the right-hand mouse button on the [Editor] window or select the [Edit] menu. 2. Click th

Página 89

24 3.2.3 Viewing the Assembly-Language Code If you have a source file open, right-click to open the pop-up menu and select the [View Disassembly] op

Página 90

vi 4.3 Diagnostic Test Procedure Using the Diagnostic Program ... 34 Debugger Part Section 1 Overview

Página 91

25 3.2.4 Modifying the Assembly-Language Code You can modify the assembly-language code by double-clicking on the instruction that you want to chang

Página 92

26 3.3 Viewing the Current Status Choose [View -> CPU -> Status] or click the [View Status] toolbar button ( ) to open the [Status] window and

Página 93

27 3.4 Reading and Displaying the Emulator Information Regularly Use the [Extended Monitor] window to know the changing information on the emulator

Página 94

28 3.4.2 Selecting Items to be Displayed Selecting [Properties…] from the popup menu displays the [Extended Monitor Configuration] dialog box. Figu

Página 95

29 3.5 Displaying Memory Contents in Realtime Use the [Monitor] window to monitor the memory contents during user program execution. In the Monitor

Página 96

30 [Name]: Decides the name of the monitor window. [Options]: Sets monitor conditions. [Address]: Sets the start address for monitoring. [Siz

Página 97

31 Figure 3.15 [Monitor] Window During user program execution, the display is updated according to the setting value of the auto-update interval.

Página 98

32 3.5.6 Hiding the [Monitor] Window When using the Monitor function to monitor the value of a variable from the [Watch] window, hide the [Monitor]

Página 99

33 3.5.7 Managing the [Monitor] Window Selecting [Display -> CPU -> Monitor -> Windows Select…] displays the [Windows Select] dialog box. I

Página 100

34 3.6 Looking at Variables This section describes how you can look at variables in the source program. 3.6.1 [Watch] Window You can view any value

Página 101

vii 3.7.10 Viewing the Source Line for an Event Point...46 3.7.11 Setting a Data Condition fo

Página 102

35 Notes: 1. This function can be set per variable or per element or body for structures of data. 2. The color of an [R] in the [Name] column cha

Página 103

36 3.7 Using the Event Points The emulator has the event point function to support breakpoints of the following three types. Software breakpoints: E

Página 104

37 3.7.1 Setting a Software Breakpoint Use the [Software] sheet on the [Event] window to display, change, or add settings for software breakpoints.

Página 105

38 To add a new software breakpoint, select an empty line from the list box on the [Software Break] page and click the [Edit…] button. To change exis

Página 106

39 3.7.2 Setting an On-Chip Breakpoint Use the [On Chip] sheet on the [Event] window to display, change, or add settings for on-chip breakpoints. Se

Página 107

40 List box: Displays the current settings for each of the channels. If no setting has been made for a channel, only the channel number is displayed

Página 108

41 [Address]: Sets address bus conditions. [Don’t Care]: Selects no address bus condition. [Address]: Sets an address bus value. [Use mask]:

Página 109

42 3.7.3 Settings an On-Emulator Breakpoint Use the [On Emulator] sheet on the [Event] window to display, change, or add settings for on-emulator br

Página 110 - Message Description

43 The user can set more complex break conditions in the [On Emulator Break Channel n] dialog box by a combination of conditions provided on pages [A

Página 111

44 [Address]: Sets address conditions. [Don’t Care]: Selects no address bus condition. [Address]: Select this button to set the address bus va

Página 113

viii 4.12 Displaying Local Variables... 101 4.13 Steppi

Página 114

45 [External 32bit]: Selects an external area with the 32-bit width where no emulation memory is allocated as the condition. [External 16bit]: Sele

Página 115

46 3.7.8 Deleting an Event Point Select an event point and choose [Delete] from the popup menu to remove the selected event point. To retain the eve

Página 116 - H8SX/1544 Hardware Part

47 3.8 Viewing the Trace Information The emulator acquires the results of each instruction execution into the trace buffer as trace information and

Página 117

48 [R/W]: Whether access was read (RD) or write (WR) [SZ]: Selects the size of an access as B (byte), W (word), or L (longword). [Status]:

Página 118

49 3.8.3 Specifying Trace Acquisition Conditions The capacity of the trace buffer is limited. When the buffer becomes full, the oldest trace informa

Página 119 - USB adapter

50 (1) [Condition] page Figure 3.27 [Trace Acquisition Properties] Dialog Box ([Condition] Page) [Sequential Trace Stop]: Use this option to set

Página 120

51 [Back]: Puts the setting back to the previous state at the time the dialog box has been displayed. List box: Displays the current settings for e

Página 121

52 (2) [Other] page Figure 3.28 [Trace Acquisition] Dialog Box ([Other] Page) [When trace-buffer full]: Selects an action to take when the trace

Página 122 - HS1544EPH60H

53 [Clock/8]: Time stamping is in terms of the number of bus-clock cycles, i.e., is synchronized with 1/8 cycle of the system clock signal (φ). [Sel

Página 123 - 1.3 System Configuration

54 (3) [Trace Acquisition Condition Channel n] dialog box Use this dialog box to set pass points and a reset point for a sequential trace stop, and c

Página 124 - (3) USB Adapter

ix Section 6 Error Messages... 153 6.1 Error Messages of the Emula

Página 125

55 [None]: Select this option if you do not want to take any of the actions listed above. This is useful for a trigger output or execution time meas

Página 126

56 3.8.4 Searching for a Trace Record Use the [Trace Find] dialog box to search for a trace record. To open this dialog box, choose [Find...] from t

Página 127

57 [R/W]: Select the type of access cycles. [Don't care]: Detects no read/write condition when this box is checked. [Setting]: Detects

Página 128

58 Clicking the [OK] button after setting conditions in those pages stores the settings and starts searching. Clicking the [Cancel] button closes th

Página 129

59 3.8.11 Extracting Records from the Acquired Information Use the filtering function to extract the records you need from the acquired trace inform

Página 130

60 [InstructionAddress]: Set an instruction address condition. [Don't care]: Detects no address when this box is checked. [Value]: Detec

Página 131 - X1 X2

61 [Area]: Select the area being accessed. [Don't care]: Detects no area condition when this box is checked. [Setting]: Detects the specif

Página 132

62 Set filtering conditions and then press the [OK] button. This starts filtering according to the conditions. Clicking the [Cancel] button closes t

Página 133

63 3.8.13 Analyzing Statistical Information Choose [Statistic] from the popup menu to open the [Statistic] dialog box and analyze statistical inform

Página 134

64 This dialog box allows the user to analyze statistical information concerning the trace information. Set the target of analysis in [Item] and the

Página 135

H8SX/1650 Hardware Part

Página 136

65 3.9 Analyzing Performance Use the performance analysis function to measure the rate of execution time. The performance analysis function does not

Página 137

66 Table 3.2 Mode Settings for Measurement Point Measurement Mode 1 2 3 4 5 6 7 8 Time Of Specified Range Measurement Ο Ο Ο Ο Ο Ο Ο Ο Start

Página 138

67 3.9.1 Opening the [Performance Analysis] Window Choose [View -> Performance -> Performance Analysis] or click the [PA] toolbar button () to

Página 139

68 3.9.2 Setting Conditions for Measurement Conditions for measurement can be displayed and changed in the [Performance Analysis] window. Select a p

Página 140

69 (1) Time Of Specified Range Measurement Figure 3.38 Time Of Specified Range Settings [Range Name]: The name of the range to be measured [Range

Página 141

70 (2) Start Point To End Point Measurement Figure 3.39 Start Point To End Point Measurement Settings [Range Name]: The name of the range to be m

Página 142

71 Measures the execution time and the execution count in the range between start address and end address. Starts measurement with a detected program

Página 143

72 (4) Access Count Of Specified Range Measurement Figure 3.41 Access Count Of Specified Range Measurement Settings [Range Name]: The name of the

Página 144

73 (5) Called Count Of Specified Range Measurement Figure 3.42 Called Count Of Specified Range Measurement Settings [Range Name]: The name of the

Página 145

74 3.9.3 Starting Performance Data Acquisition Executing the user program clears the result of previous measurement and automatically starts measuri

Página 147

75 3.10 Profiling Function 3.10.1 Enabling the Profile Choose [View->Performance->Profile] to open the [Profile] window. Choose [Enable Profil

Página 148

76 3.10.4 [List] Sheet Figure 3.43 [Profile] Window ([List] Sheet) This window displays the address and size of a function or a global variable, t

Página 149

77 3.10.5 [Tree] Sheet Figure 3.44 [Profile] Window ([Tree] Sheet) This window displays the relation of function calls in a tree structure. Displa

Página 150

78 • Not trace the function call Stops tracing function calls while profile data is acquired. This menu is used when acquiring profile data of the p

Página 151

79 3.11 [Profile-Chart] Window Figure 3.45 [Profile-Chart] Window This window displays the relation of calls for a specific function. This window

Página 152

80 • Multiple View If the [Profile-Chart] window is going to be opened when it has already been opened, selects whether another window is to be open

Página 153

81 3.12 RTOS Extension Function The RTOS extension function supports the debugging of RTOS tasks. The function is implemented by setting the IDs of

Página 154 - Debugger Part

82 [RTOS Support Function]: Sets up the RTOS extension function. [Don’t Care]: Disables the RTOS extension function. [TASK ID writing area]: Speci

Página 155

83 3.12.3 Functions Made Available by [TASK Selection] (1) Display of the [TASK Selection] Settings Figure 3.47 [Status] Window [Platform] sheet:

Página 156 - Section 1 Overview

84 3.12.4 Performance Measurement (Conditions for Measurement) The following conditions are included among those selectable under the [Measurement M

Página 157

1 Section 1 Overview 1.1 Notes on Usage CAUTION READ the following warnings before using the emulator product. Incorrect operation will damag

Página 158

85 Section 4 Tutorial 4.1 Introduction This section describes the main functions of the emulator by using a tutorial program. The tutorial program i

Página 159

86 4.2 Running the High-performance Embedded Workshop Open a workspace by following the procedure listed in section 2.1.3, Selecting an Existing Wor

Página 160

87 4.3 Connecting the Emulator 4.3.1 Selecting a Session The selectable session depends on the emulator. Select the session suitable for the emulato

Página 161

88 4.4 Downloading the Tutorial Program 4.4.1 Downloading the Tutorial Program Download the object program to be debugged. • Select [Download modu

Página 162

89 4.4.2 Displaying the Source Program The High-performance Embedded Workshop allows the user to debug a user program at the source level. • Double-

Página 163

90 4.5 Setting a Software Breakpoint A software breakpoint is a simple debugging function. The [Editor] window provides a very simple way of settin

Página 164

91 4.6 Setting Registers Set a value in the program counter before executing the program. • Select [Registers] from the [CPU] submenu of the [View

Página 165

92 4.7 Executing the Program Execute the program as described in the following: • To execute the program, select [Go] from the [Debug] menu, or cl

Página 166

93 Figure 4.10 [Editor] Window (Break Status)

Página 167

94 The user can see the cause of the break that occurred last time in the [Status] window. • Select [Status] from the [CPU] submenu of the [View] me

Página 168 - 2.2 Connecting the Emulator

2 1.2 Emulator Hardware Components The emulator consists of an E6000H station and an evaluation chip board. By installing a user system interface bo

Página 169 - 2.4 Ending the Emulator

95 4.8 Reviewing Breakpoints The user can see all the breakpoints set in the program in the [Event] window. • Select [Eventpoints] from the [Code]

Página 170 - Section 3 Debugging

96 4.9 Referring to Symbols The [Label] window can be used to display the information on symbols in modules. Select [Label] from the [Symbol] subme

Página 171 - [General] page

97 4.10 Viewing Memory When the label name is specified, the user can view the memory contents that the label has been registered in the [Memory] w

Página 172

98 4.11 Watching Variables As the user steps through a program, it is possible to watch that the values of variables used in the user program are c

Página 173

99 The user can also add a variable to the [Watch] window by specifying its name. • Click the [Watch] window with the right-hand mouse button and se

Página 174

100 The user can click mark ‘+’ at the left side of array a in the [Watch] window to watch all the elements. Figure 4.20 [Watch] Window (Displayin

Página 175

101 4.12 Displaying Local Variables The user can display local variables in a function by using the [Locals] window. For example, we will examine

Página 176 - 3.2 Downloading a Program

102 4.13 Stepping Through a Program The High-performance Embedded Workshop provides a range of step menu commands that allow efficient program debu

Página 177

103 Figure 4.23 [Editor] Window (Step In) • The highlighted line moves to the first statement of the sort function in the [Editor] window.

Página 178

104 4.13.2 Executing the [Step Out] Command The [Step Out] command steps out of the called function and stops at the next statement of the calling

Página 179

3 1.2.1 E6000H Station Components (A Part of Photos may be Different from Real Appearances) The names of the components on the front/rear panel of t

Página 180

105 4.13.3 Executing the [Step Over] Command The [Step Over] executes a function call in a single step and stops at the next statement of the main

Página 181

106 4.14 Forced Breaking of Program Executions The High-performance Embedded Workshop can force a break during the execution of a program. • Cance

Página 182

107 4.16 Break Function The emulator provides break functions by software breaks, on-chip breaks, and on-emulator breaks. Software breakpoints, on

Página 183

108 Figure 4.33 [Breakpoint Properties] Dialog Box

Página 184

109 • Click the [Edit…] button to display the [Software Break] dialog box. Figure 4.34 [Software Break] Dialog Box • Use the [Editor] window to

Página 185

110 The software breakpoint that has been set is displayed in the [Event] window. Figure 4.35 [Event] Window (Software Breakpoint Setting) Note:

Página 186

111 The program runs until it stops at the breakpoint that has been set. Figure 4.36 [Editor] Window at Execution Stop (Software Break)

Página 187

112 The [Status] window displays the following contents: Figure 4.37 Displayed Contents of the [Status] Window (Software Break) Note: The items t

Página 188

113 4.16.2 On-Chip Break Function Setting of an on-chip breakpoint on channel 4 such that a break is triggered when the break condition has been sa

Página 189 - 3.6 Looking at Variables

114 • Make the following settings in the group boxes on the [Address] page: Uncheck the [Don’t Care] checkbox. Then use the [Editor] window to refe

Página 190

4 Rear Panel: Figure 1.3 E6000H Station: Rear Panel (a) Power switch: Turning this switch to I (input) supplies power to the emulator (E600

Página 191 - 3.7 Using the Event Points

115 4.17 Trace Functions The trace functions of the emulator use the realtime trace buffer, which can store the information of up to 128-k bus cycl

Página 192

116 4.17.1 Displaying Trace Information by the Free Trace Function The free trace function allows continuous acquisition of trace information from

Página 193

117 (2) Set a software breakpoint at the address on the line that has ‘p_sam->s0=a[0];’ within the tutorial function (refer to section 4.16.1, Sof

Página 194

118 4.17.2 Displaying Trace Information by the Trace Stop Function While the trace stop function is in use, acquisition of trace information stops

Página 195

119 (3) An address must be set as the condition. Uncheck [Don’t Care] on the [Address] page of the [Trace Acquisition Condition Channel 1] dialog bo

Página 196

120 (4) Items that have been set are displayed in the list box on the [Condition] page of the [Trace Acquisition Properties] dialog box. Click the [

Página 197

121 4.17.3 Displaying Trace Information by the Conditional Trace Function The conditional trace function only acquires trace information at the addr

Página 198

122 4.17.4 Statistics The number of times the on-chip RAM has been written to can be included in the acquired trace information. (1) Delete all the

Página 199

123 (5) Select [R/W] in the [Item] combo box and enter WR in the [Start] edit box. Then, click the [New] button. “R/W=WR” will be displayed in the [

Página 200

124 (6) Then, select [Area] from the [Item] combo box and enter INRAM in the [Start] edit box. Then, click the [Add] button; the new condition is no

Página 201

5 1.2.2 Evaluation Chip Board Configuration The names of the components on the evaluation chip board of the emulator are listed below. Figure 1.4

Página 202

125 (7) To start statistical analysis of the specified condition, press the [Result] button. The number of write operations that satisfies the condi

Página 203

126 4.17.5 Function Calls This mechanism is only used to collect trace information on the function calls. (1) Make the setting so that a break occur

Página 204

127 4.18 Stack Trace Function The emulator uses the information on the stack to display the function call history. Notes: 1. This function can be

Página 205

128 • Select [Reset Go] from the [Debug] menu. • After the break in program execution, select [Stack Trace] from the [Code] submenu of the [View] m

Página 206

129 4.19 Performance Analysis Function Performance analysis by the emulator is available in the following modes: • Time Of Specified Range Measure

Página 207

130 (3) Select the line in the [Performance Analysis] window that has 1 in its [No] column and click the right-hand mouse button to display a popup

Página 208

131 Note: The addresses figured out in the [Input Function Range] dialog box are just for reference. In some cases, the end address of a function ma

Página 209

132 4.20 Profiling Function The profiling function allows the user measure the performance for each of the functions. (1) Select [Profile] from the

Página 210

133 (2) To enable the profiling function, click the right-hand mouse button on the [Profile] window to show the popup menu and select [Enable Profile

Página 211

134 (3) Set an on-chip breakpoint by an address condition at the line which includes “delete p_sam;” in the tutorial function (see section 4.16.2, On

Página 212

6 1.3 System Configuration The emulator must be connected to a host computer via the selected PC interface board (PCI bus or PC card bus), LAN adapte

Página 213

135 (5) The [Profile] window is shown below. Figure 4.65 [Profile] Window ([List] Sheet) (6) Click the [Tree] tab on the [Profile] window to disp

Página 214

136 (7) Click the right-hand mouse button on the [Profile] window and select [View Profile-Chart] to open the [Profile-Chart] window. Figure 4.67

Página 215

137 4.21 Monitor Function The emulator allows monitoring of the contents of specified addresses in memory during execution of the user program. In

Página 216

138 (2) Set the items in the [Monitor Setting] dialog box as follows: • Enter monitor1 in the [Name] edit box. • Set the parameters in the [Options

Página 217

139 (3) Click the [OK] button to open the [Monitor] window. Figure 4.70 [Monitor] Window (4) Select [Reset Go] from the [Debug] menu. When the

Página 219

141 Section 5 Software Specifications and Notes Specific to This Product This section describes the software specifications and notes specific to t

Página 220 - 3.9 Analyzing Performance

142 5.3 Memory Map • Some emulators may not support the memory mapping function. • Attributes of a memory map can be defined in units of blocks as

Página 221

143 5.4 Displaying and Modifying the Contents of Memory 5.4.1 Displaying and Modifying the Contents of Memory during Execution The emulator accesse

Página 222

144 5.4.3 Parallel Access Function The parallel access function is implemented by the DTC channels specialized for the debugger, which are not user

Página 223

1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the cus

Página 224

7 (3) USB Adapter Figure 1.7 shows the configuration of a system in which the USB adapter is used. A USB adapter can be used to connect the emulator

Página 225

145 5.6 Event Functions 5.6.1 Software Breakpoints • A software breakpoint is accomplished by replacing the instruction at the specified address wit

Página 226

146 5.6.3 On-Emulator Break • A break will occur several cycles after a condition is satisfied. • The states of IRQ15 to IRQ0 are ORed and this res

Página 227

147 Table 5.4 User Bus and Break Setting for an Output of Data (Big Endian) Access sizeByteAddressBreak area bus32 bit 16 bit8 bit 32 bitD31D0DDDDDD

Página 228

148 Table 5.5 User Bus and Break Setting for an Output of Data (Little Endian) Access sizeByteAddressBreak area bus32 bit 16 bit8 bit 32 bitD31D0DDD

Página 229

149 5.7 Trace Functions 5.7.1 Displaying the Trace Information • The states of IRQ15 to IRQ0 are ORed and this result is applied as the IRQ conditi

Página 230 - 3.10 Profiling Function

150 5.9 Performance Analysis Function 5.9.1 Errors An error will be included in the measured performance as follows: • ±one-resolution error (±20-n

Página 231

151 5.11 RTOS Extension Function 5.11.1 Input Values for the [TASK ID writing area] Input Edit Box Specify the address to which the task IDs are wr

Página 232

152 5.12 Input Format 5.12.1 Entering Masks Address bus conditions and data bus conditions can be input with masks. Addresses can be masked in 1-, 3-

Página 233

153 Section 6 Error Messages 6.1 Error Messages of the Emulator 6.1.1 Error Messages at Emulator Initiation The emulator displays error messages

Página 234 - 3.11 [Profile-Chart] Window

154 Table 6.1 Error Messages at Initiation Error Message Description and Solution There is no configuration file. The configuration file that is

Página 236

155 Table 6.1 Error Messages at Initiation (cont) Error Message Description and Solution Can’t find firmware file Firmware open Error Firmware Dow

Página 238

157 Appendix A Menus Table A.1 shows GUI menus. Table A.1 GUI Menus Menu Option Shortcut Toolbar Button Remarks View Command Line Ctrl + L

Página 239

158 Table A.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks View (cont) Gra-phic Image… Shift + Ctrl + G Opens the [Image] wind

Página 240 - Section 4 Tutorial

159 Table A.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks Debug (cont) Step In F11 Executes a block of user program before b

Página 241

160 Table A.1 GUI Menus (cont) Menu Option Shortcut Toolbar Button Remarks Setup Customize… Customize the High-performance Embedded Workshop

Página 242 - 4.3 Connecting the Emulator

161 Appendix B Command Lines Table B.1 lists the High-performance Embedded Workshop commands. Table B.1 High-performance Embedded Workshop Command

Página 243

162 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 30 DISASSEMBLE DA Disassembles memory c

Página 244

163 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 69 REFRESH RF Updates windows related t

Página 245

164 Table B.1 High-performance Embedded Workshop Commands (cont) No. Command Name Abbreviation Function 104 WATCH_ADD WA Adds a watch item 105

Página 246 - 4.6 Setting Registers

9 Section 2 Preparation before Use 2.1 Description on Emulator Usage This section describes the preparation before emulator usage. Figure 2.1 is a

Página 247 - 4.7 Executing the Program

Renesas Microcomputer Development Environment System User's Manual H8SX E6000H EmulatorPublication

Página 248

Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japanhttp://www.renesas.comRefer to

Página 249

2-6-2, Ote-machi, Chiyoda-ku, Tokyo,100-0004, JapanH8SX E6000H Emulator User’s Manual

Página 250 - 4.8 Reviewing Breakpoints

10 2.2 Emulator Connection The following description covers connection of the emulator. 2.2.1 Connecting the Emulator to the User System WARNING

Página 251 - 4.9 Referring to Symbols

11 2.2.3 Connection by the User System Interface Connectors WARNING Always switch OFF the emulator and user system before connecting or disco

Página 252 - 4.10 Viewing Memory

12 Evaluation chip boardConnector: WD-200P-VF85-N(manufactured by Japan Aviation Electronics Industry, Ltd.) Figure 2.2 Connection Using the Ded

Página 253 - 4.11 Watching Variables

13 95.0Hole for a connector (NTH) × 4UCN1UCN22001992001992121Unit: mmTolerance: ±0.1 mmWD-200P-VF85-N Figure 2.4 Location for Mounting the Connecto

Página 254

14 2.2.4 Pin Arrangement on the User System Interface Connector Table 2.1 lists the pin arrangement on the user system interface connector of HS1650

Página 255

15 Table 2.1 Pin Arrangement on HS1650EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 49 P56 75 VSS_19 50 P57 76

Página 256

16 Table 2.1 Pin Arrangement on HS1650EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 101 PE4 127 VSS_35 102 PE5

Página 258

17 Table 2.1 Pin Arrangement on HS1650EPH60H (cont) User I/F 1 Pin No. Signal Name User I/F 1 Pin No. Signal Name 153 VSS_38 177 VSS_46 154 V

Página 259

18 Table 2.1 Pin Arrangement on HS1650EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 1 ⎯ 31 ⎯ 2 ⎯ 32 ⎯ 3 ⎯ 33

Página 260

19 Table 2.1 Pin Arrangement on HS1650EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 61 ⎯ 90 ⎯ 62 ⎯ 91 ⎯ 63 ⎯

Página 261

20 Table 2.1 Pin Arrangement on HS1650EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 119 ⎯ 146 ⎯ 120 ⎯ 147 VSS_

Página 262 - 4.16 Break Function

21 Table 2.1 Pin Arrangement on HS1650EPH60H (cont) User I/F 2 Pin No. Signal Name User I/F 2 Pin No. Signal Name 173 ⎯ 187 MD0 174 ⎯ 188 MD

Página 263

22 2.2.5 Precautions on Connecting the User System When connecting the evaluation chip board to the user system, note the following: 1. Secure the

Página 264

23 2.2.6 Connecting the External Probe (Not Supported in this Emulator) CAUTION Check the external probe direction and connect the external probe

Página 265

24 2.2.7 Selecting the Clock This emulator supports three types of clock for the MCUs listed in table 2.2: a crystal oscillator attached on the eval

Página 266

25 Evaluation chip boardCrystal oscillator terminalsCrystaloscillatorEnlarged viewX1 X2 Figure 2.6 Installing the Crystal Oscillator External

Página 267

26 2.2.8 Connecting the System Ground CAUTION Separate the frame ground from the signal ground at the user system. When the frame ground is co

Página 268

I IMPORTANT INFORMATION READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future

Página 269

27 The user system must be connected to an appropriate ground so as to minimize noise and the adverse effects of ground loops. When connecting the ev

Página 271

29 Section 3 Hardware Specifications 3.1 Environmental Conditions CAUTION Observe the conditions listed in table 3.1 when using the emulator.

Página 272

30 3.2 Emulator External Dimensions and Mass Figures 3.1 shows the external dimensions and mass of the E6000H emulator. Figure 3.1 External D

Página 273

31 3.3 User System Interface Circuit 3.3.1 User System Interface Circuit The circuits that interface the evaluation chip in the emulator to the use

Página 274

32 T1BA23 to A0RD/RD/RD/D15 to D0T2 T3When writtentADtAS1tAH1tRSD1tRDS1tRDH1tRSD2tRDS2tRDH2tASDtASDtRSD1tRSD1tAC6tAC4tAA5tAS2tWDDtWSW2tWDH1tWDS1tWRD1

Página 275

33 MCUMD controlcircuitMonitorcircuitLPT16244MD0MD1MD2MD0MD1MD2Vcc47 kΩVHC244 EPM7256 VHC14_RES_STBY_NMI_RES_STBY_NMIVcc47 kΩUser system Figure 3.3

Página 276

34 MCUVccUser systemVssEXTALXTALVccVssEXTALXTALVCLEMLENCNCNC NCVHC244 EPM7256Voltage-followercircuitVcc47 kΩLPT2442.3 kΩ Figure 3.3 User System Int

Página 277

35 User systemP10 to P17P20 to P27P30 to P37P50 to P57AVccAVssAVrefP10 to P17P20 to P27P30 to P37P50 to P57AVccAVssNC0.022 μF0.022 μFAVrefMCUP40 to P

Página 278

36 User systemP60 to P65PA0PA2PA1PD0 to PD7PE0 to PE7PF0 to PF7PH0 to PH7PI0 to PI7PB0 to PB3MCUPA3 to PA7LPT16244P60 to P65PA0PA2PA1PD0 to PD7PE0 to

Página 279

II LIMITED WARRANTY Renesas warrants its emulator products to be manufactured in accordance with published specifications and free from d

Página 280

37 Sub-MCUMD controlcircuitMonitoringcircuitLPT16244MD_CLKVcc47 kΩPM0-PM4User systemVBUSMD_CLKDrVssDrVssPM0-PM4VBUSDrVcc DrVccUSD-USD-USD+USD+Power-s

Página 281

38 MCUUser system Sub-MCUP14P14SN74CB3Q3306ATXD SN74CB3Q3306AP23P27P23P27SN74CB3Q3306ASN74CB3Q3306AMCUUser systemMCUVHC244UHC14_RESVccUser systemEPM7

Página 282 - 4.18 Stack Trace Function

39 Note: The power-supply circuits shown in figures 3.4 and 3.5 are turned on/off by the setting of the SW1 jumper pin on the user system interface

Página 283

40 3.4.4 Control Input Signals (/RES, /NMI, /BREQ, /WAIT, and /STBY) The H8SX/1600-series MCU control input signals are /RES, /NMI, /BREQ, /WAIT, an

Página 284

41 3.4.7 Emulator State and Internal Modules Operation of some internal modules depends on the emulator’s state. Table 3.4 shows the relation betwe

Página 285

42 3.4.8 Differences in Values of Registers Note that certain general and control registers of both emulators are initialized whenever the system is

Página 286

43 3.5 Notes Specific to the H8SX/1650 E6000H Emulator 3.5.1 Custom Device Function The maximum value selectable for the on-chip ROM with the custom

Página 288

45 Section 4 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000H diagnostic program. 4.1 System Set-Up

Página 289

46 Figure 4.1 [Misc] Page 5. Turn on the E6000H emulator switch. Note: To execute the diagnostic program, firstly turn on the power of the emula

Página 290

III State Law: Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages,

Página 291

47 4.2 Test Item of the Diagnostic Program Table 4.1 shows the test items of this diagnostic program. Table 4.1 Test Items of the Diagnostic Progr

Página 292 - 4.21 Monitor Function

48 4.3 Diagnostic Test Procedure Using the Diagnostic Program Insert the CD-R (HS1650EPH60SR supplied with the emulator) into the CD-ROM drive of th

Página 293

49 The following messages are displayed during the test. There are 13 steps in this test. Message Description E6000H H8SX/1650 Emulator Tests V*.* T

Página 294 - 4.22 What Next?

50 02) EMU 12Mhz MPU 12Mhz Sampling 20ns ...OK 03) EMU 12Mhz MPU 12Mhz Sampling 1.6us ...OK 04) E

Página 295

H8SX/1527 and H8SX/1527R Hardware Part

Página 297 - 5.3 Memory Map

1 Section 1 Overview 1.1 Notes on Usage CAUTION READ the following warnings before using the emulator product. Incorrect operation will damag

Página 298

2 1.2 Emulator Hardware Components The emulator consists of an E6000H station and the E6000H’s front-end unit. By installing a user system interface

Página 299 - 5.5 Executing Your Program

3 1.2.1 E6000H Station Components (A Part of Photos may be Different from Real Appearances) The names of the components on the front/rear panel of t

Página 300 - 5.6 Event Functions

4 Rear Panel: Figure 1.3 E6000H Station: Rear Panel (a) Power switch: Turning this switch to I (input) supplies power to the emulator (E600

Página 301

IV SAFETY PAGE READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future reference

Página 302

5 1.2.2 Front-end Unit Configuration The names of the components on the front-end unit are listed below. 1812. 55. 543. 612430. 6162. 8PCN2UCN1XTAL(

Página 303

6 1.3 System Configuration The emulator must be connected to a host computer via the selected PC interface board (PCI bus or PC card bus), LAN adapte

Página 304 - 5.8 Monitor Function

7 (3) USB Adapter Figure 1.7 shows the configuration of a system in which the USB adapter is used. A USB adapter can be used to connect the emulator

Página 306

9 Section 2 Preparation before Use 2.1 Description on Emulator Usage This section describes the preparation before emulator usage. Figure 2.1 is a

Página 307 - 5.12 Input Format

10 2.2 Emulator Connection The following description covers connection of the emulator. 2.2.1 Connecting the Emulator to the User System WARNING

Página 308 - Section 6 Error Messages

11 2.2.3 Precautions on Connecting the User System When connecting the emulator to the user system, note the following: 1. Secure the E6000H statio

Página 309

12 2.2.4 Connecting the External Probe CAUTION Check the external probe direction and connect the external probe to the emulator station correc

Página 310

13 2.2.5 Selecting the Clock This emulator supports three types of clock for the MCU: a crystal oscillator attached on the emulator’s front-end unit

Página 311

14 XTALUCN1PCN2Crystal oscillator terminalsCrystaloscillatorEnlarged viewX1 X2Note: The model name of the H8SX/1527R E6000H emulator is HS1527RE

Página 312 - Appendix A Menus

V WARNING Observe the precautions listed below. Failure to do so will result in a FIRE HAZARD and will damage the user system and the emula

Página 313

15 2.2.6 Connecting the System Ground CAUTION Separate the frame ground from the signal ground at the user system. When the frame ground is co

Página 314 - Table A.1 GUI Menus (cont)

16 The user system must be connected to an appropriate ground so as to minimize noise and the adverse effects of ground loops. When connecting the em

Página 315

17 Section 3 Hardware Specifications 3.1 Environmental Conditions CAUTION Observe the conditions listed in table 3.1 when using the emulator.

Página 316 - Appendix B Command Lines

18 3.2 Emulator External Dimensions and Mass Figure 3.1 shows the external dimensions and mass of the E6000H emulator. Figure 3.1 External Dimens

Página 317

19 3.3 User System Interface Circuit 3.3.1 User System Interface Circuit The circuits that interface the MCU in the emulator to the user system inc

Página 318

20 MCUMD controlcircuitMonitorcircuitLPT16244MD0MD1MD0MD1Vcc47 kΩVHC244 EPM7256VHC244_RES_NMIRESNMIVcc47 kΩUser systeminterface cableVHC244 Figure 3.

Página 319

21 MCUVccUser systeminterface cableVssEXTALXTALVccVssEXTALXTALVCLEMLENCNCNCNCVHC244 EPM7256Voltage-followercircuitVcc47 kΩLPT24423 kΩVHC244Vcc47 kΩ F

Página 320 - User's Manual

22 User system interface cableP10 to P17P30 to P37AVccAVssAVrefP40 to P47AVccAVssAVrefMCUP60 to P67PA0, PA4 to PA7PB0 to PB2PH0 to PH7PJ0 to PJ7PI0 t

Página 321 - RENESAS SALES OFFICES

23 User systeminterface cableP20, P22 to P27MCUVHCT125VHC125Vcc47 kΩCB3Q3306P20, P22 to P27User systeminterface cableP21MCUVHCT125VHC125Vcc47 kΩCB3Q3

Página 322 - User’s Manual

24 User systeminterface cablePA1 to PA3MCUVHCT125VHC125Vcc47 kΩCBTS3306SUB MCUPD0 to PD7PA1 to PA3PD0 to PD7PA1 to PA3PD0 to PD7 Figure 3.2 User Sy

Comentários a estes Manuais

Sem comentários