background image

User’s Manual

Preliminary

) 

IECUBE2 main (QB-V850E2) 

ZUD-CD-10-0092 10/19

 

(1)  Hardware break function 

The hardware break function is used to observe the CPU bus cycles and set a break for a specific fetch or 

access operation.    For example, a break can be set by detecting a state where an address has been 

executed or a variable has been accessed.    For states that can be set, see

 “Event function”

 

Caution  The address for which a break has been set is at a position ahead of the address where an 

actual access has occurred, because the break set for the access (write, read) is detected 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 at least 2 ms have 

elapsed between starting and ending the function.  This function and the trace function can be used 

together to find the source that has taken time. 

 

(4)  Forced break function 

This function is used to forcibly stop a program when it is desired to be stopped. 

 

(5)  Trace full break function 

This function is used to stop a program when the trace memory is full. 

 

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: