background image

User’s Manual

Preliminary

) 

IECUBE2 main (QB-V850E2) 

ZUD-CD-10-0092 12/19

 

1.3.5 

Time measurement function 

This function is used to measure the execution time of a specific section.  The measurement start and end 

points can be set by using the event function. 

In addition, the maximum, minimum, and average execution time and the number by which the measurement 

section has been passed can be measured. 

 

1.3.6 

Event function (specific CPU operation detection) 

The event function is used to detect specific fetch and access operations by observing the CPU bus cycle.    CPU 

operations, such as of an address being executed and a variable being accessed can be detected.  Such specific 

CPU operations are called events.    Use the event function together with the following functions. 

- Hardware break function 

- Trace function 

- Time measurement function 

 

The events that can be registered by using the event function are as follows. 

 

(1) Pre-execution 

event 

A pre-execution event is detected when execution of an address is attempted.    It can be used only with the 

hardware break function.    Four pre-execution event points can be specified. 

[Detection conditions that can be specified] 

- Execution address 

 

(2) Post-execution 

event 

A post-execution event is detected when an address has been executed.    The address of a post-execution 

event can be specified as a range.  Up to eight post-execution event points can be specified, but if the 

execution address has been specified as a range, two points will be consumed.  When the execution 

address has been specified as a range for all events, four event points can be specified. 

[Detection conditions that can be specified] 

- Execution address (can be specified as a range) 

 

(3) Access 

event 

An access event is detected when an address has been accessed (read or written).  The following 

detection conditions can be specified for an access event. 

Up to six access event points can be specified, but if the access address has been specified as a range, two 

points will be consumed.  When the access address has been specified as a range for all events, three 

event points can be specified. 

[Detection conditions that can be specified] 

- Access address (can be specified as a range) 

- Access data 

- Access size 

- Access status (read, write, both read and write) 

Summary of Contents for IECUBE2

Page 1: ...ari Ando Team Manager Development Tool Solution Group Multipurpose Microcomputer Systems Division Microcomputer Operations Unit NEC Electronics Corporation User s Manual Preliminary IECUBE2 main QB V850E2 In Circuit Emulator Target Devices V850E2M microcontroller ...

Page 2: ...stop 9 1 3 4 Trace function program execution history 11 1 3 5 Time measurement function 12 1 3 6 Event function specific CPU operation detection 12 1 3 7 Event link function event combinations 13 1 3 8 Peripheral break function 13 1 3 9 Mask function 13 1 4 Block Overview 13 1 5 Package Contents 13 1 6 AC adaptor 14 CHAPTER 2 Names and Functions of Hardware 15 2 1 IECUBE2 main 15 2 2 Stick for un...

Page 3: ...Probe Integrate ISIM PathAnalyzer Quick Start ResourceAnalyzer Safety Critical Products Slingshot SuperTrace Probe TimeMachine and TotalDeveloper are trademarks of Green Hills Software Inc Windows and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries PC AT is a trademark of International Business Machines Corporation A...

Page 4: ... this product is connected to the target system when there is a potential difference between the GND of this product and GND of the target system If the connectors or cables are plugged unplugged while this product is in the power on state If excessive load is applied to the connectors or sockets If a metal part of the power switch cooling fan or another such part comes in contact with an electros...

Page 5: ...nual It is assumed that the readers of this manual have general knowledge in the fields of electrical engineering logic circuits and microcontrollers This manual describes the basic setup procedures and how to set switches To understand the overall functions and usages of the IECUBE2 Read this manual in the order of the CONTENTS To know the manipulations command functions and other software relate...

Page 6: ...Term Meaning Target device This is the device to be emulated Target system This is the system to be debugged system provided by the user This includes the target program and the hardware provided by the user IECUBE 2 Generic name for NEC Electronics high performance compact in circuit emulator POD This is IECUBE2 peripheral to interface with the target system ...

Page 7: ...e and software can be debugged efficiently in the development of systems in which the target device is used This manual describes general information of IECUBE2 main unit Please refer to user s manual of each POD for detail usage Figure 1 1 Description of external dimension 43mm 104mm IECUBE2 main POD Sold separately 43mm 104mm IECUBE2 main POD Sold separately ...

Page 8: ... temperature range 15 to 60 C No condensation AC adapter power consumption 15 V 4 A Weight Approx 500 g Host interface USB interface 1 1 2 0 9M Byte Approx 512K frame Trace memory 2 25G Byte Approx 128M frame When using long term trace option 1 2 System Overview The system configuration is described as below IECUBE2 can not be used alone POD AC adapter and sockets are needed to use These are sold ...

Page 9: ... can be executed because interrupts are not acknowledged during step execution Caution Step execution to be performed at the C language level is performed by a debugger using the break function In this case interrupts are acknowledged in step execution Consequently if processing at the interrupt destination cannot be completed step execution may not be completed For handling such a case see the ma...

Page 10: ...d at an MEM stage or a WB stage on the CPU pipeline 2 Software break function The software break function is used to set a break when a specific address has been executed fetched 3 Timer overflow break function This function is used to set a break when a time set by using the time measurement function has elapsed For example if the execution time of a function must be 2 ms a break can be set when ...

Page 11: ...be added to each trace information The timer performance for time stamps is the same as that of the time measurement function 4 DMA access address data status channel number transfer count When the DMA function of the target microcontroller is being used the DMA access can be recorded in the history Access address Access data Access status R W DMA channel number Transfer count 5 History of specifi...

Page 12: ... used only with the hardware break function Four pre execution event points can be specified Detection conditions that can be specified Execution address 2 Post execution event A post execution event is detected when an address has been executed The address of a post execution event can be specified as a range Up to eight post execution event points can be specified but if the execution address ha...

Page 13: ...rnal reset For example watch dog timer 1 4 Block Overview An internal block overview of the functions is described as below Figure 1 3 System Configuration IECUBE2 main POD Debug chip Signals of target device via sockets Oscillator Control signals for debug chip include trace information via cable of IECUBE2 FPGA USB Block Trace Memory Firmware Target System IECUBE2 main POD Debug chip Signals of ...

Page 14: ...gion AC adapter is included and need not to be purchased separately Table 1 2 Part Numbers of AC Adapter for IECUBE2 Classified by Region Product Destination Region Notes 1 2 Part NumberNote 3 Japan QB V850E2 PW JP AC adapter sold separately USA QB V850E2 PW EA Europe AC adapter is included in IECUBE2 Notes 1 Products are shipped only on order from each region 2 Contact a distributor or an NEC Ele...

Page 15: ...ED 2 POD 4 POD cable 1 IECUBE2 main 3 Status LED 2 POD 4 POD cable 5 Power connector 6 Power switch 7 USB connector 8 Cooling fan 5 Power connector 6 Power switch 7 USB connector 8 Cooling fan 1 IECUBE2 main IECUBE2 main is unit that controls debugging 2 POD POD is sold separately POD is IECUBE2 peripheral to interface with the target system This unit is equipped with the major features for emulat...

Page 16: ...D This LED turns on when communication with the emulation POD is established TARGET This LED turns on when the target system is turned on 4 POD cable This coaxial cable is used to connect the IECUBE2 main unit and emulation POD The cable length is shown below Be careful not to excessively bend this cable because doing so might break the cable 37cm 37cm 5 Power connector This connector is for the p...

Page 17: ... The stick as following figure is used to unplug Exchange Adapter EA from POD Figure 2 2 Stick for unplugging EA from POD To unplug EA from POD insert the stick in a corner of POD and slightly push up POD Stick POD EA Exchange Adapter Stick POD EA Exchange Adapter Do the same thing in other corners as below ...

Page 18: ...ction does not indicate the instruction execution time cycle count A time stamp indicates a time IECUBE2 main received the trace data from a debug chip in POD The output timing of the trace data is a little different from the instruction execution time cycle And in case of including more than one trace data per execution such as access address and access data some errors may be observed by FIFO qu...

Page 19: ...ove the cover from the connector on the top side of the QB V850E2 SP module It might be necessary to loose the screw a little bit 2 Make sure that the IECUBE2 is switched off and the USB cable and power supply adapter is not connected to the IECUBE2 main module Then Remove the cover on the bottom side of the IECUBE2 main module 3 Mount the IECUBE2 main module on the QB V850E2 SP as shown in the pi...

Reviews: