background image

User’s Manual

Preliminary

) 

IECUBE2 main (QB-V850E2) 

ZUD-CD-10-0092 9/19

 

 

1.3 Functional 

Overview 

IECUBE2 is provided with a wealth of debug functions to enable efficient program debugging, in addition to being 

used to emulate the operation of a target device.    An overview of the functions is provided in this section. 

Some functions are not supported, depending on the debugger to be used.  See also the manual of the 

debugger to be used to confirm. 

 

1.3.1 

Program execution function (real-time execution function)

 

The program execution function enables program execution equivalent to that of the target device.    The 

executed program can be stopped under various conditions by using the break functions. The operation of only a 

function can be checked by executing a program, because a program can be executed from any address. 

 

1.3.2 

Step execution function (non-real-time execution function) 

The step execution function can be used to execute instructions one by one, in assemble instruction units.    Only 

instructions to be executed purely in steps 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 manual of the debugger. 

 

1.3.3 

Break functions (program execution stop) 

The break functions are used to stop program execution.  With IECUBE2, program execution can be stopped 

under the following various conditions.    See (1) to (5) for an overview of each break function. 

 

•  An address has been executed 

 

 Hardware break function, software break function 

•  A variable has been accessed   

   

 Hardware break function 

•  A specific time has elapsed 

 

   

 Timer overflow break function 

 

 

Variable values can be checked during a break and a program can be executed again by changing register 

values, because the CPU operates even during a break (while the program is stopped).    Interrupts generated 

during the break are suspended, because basically peripheral functions also operate during the break.    Use the 

peripheral break function to stop peripheral functions during the break. 

 

Содержание IECUBE2

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Отзывы: