Page 1
CUSTOMER NOTIFICATION ZUD-CD-05-0149 1/57 November 11, 2005 Koji Nishibayashi, Group Manager Development Tool Group Multipurpose Microcomputer Systems Division 4th Systems Operations Unit NEC Electronics Corporation CP(K),O Preliminary User’s Manual QB-V850ESFJ3 In-Circuit Emulator Target Devices V850ES/FE3 V850ES/FF3 V850ES/FG3 V850ES/FJ3...
Page 3
NEC Electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of NEC Electronics products listed in this document or any other liability arising from the use of such products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others.
Page 4
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 4/57 General Precautions for Handling This Product 1. Circumstances not covered by product guarantee • If the product was disassembled, altered, or repaired by the customer • If it was dropped, broken, or given another strong shock •...
Page 5
To understand the overall functions and usages of the QB-V850ESFJ3 → Read this manual according to the CONTENTS. To know the manipulations, command functions, and other software-related settings of the QB-V850ESFJ3 → See the user’s manual of the debugger (supplied with the QB-V850ESFJ3) to be used. Conventions Note:...
Page 6
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. ® Generic name for NEC Electronics’ high-performance, compact in-circuit IECUBE emulator. Related Documents Please use the following documents in combination with this manual.
2.6.4 Precautions for handling TC, YQ, SA, and CA..................29 2.6.5 Precautions for mounting IC using TC and MA..................30 2.7 Connecting QB-V850ESFJ3 to Target System .................31 2.7.1 When not using extension probe (QB-144-EP-01S) ................31 2.7.2 When using extension probe (QB-144-EP-01S) ..................32 2.8 Connecting USB Interface Cable and AC Adapter ..............36...
Page 8
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 8/57 4.9 Cautions on On-Chip Debug Function ..................42 4.10 Cautions on Standby Mode ......................42 4.11 Operation During Break ......................42 4.12 Cautions on RAM Hold Voltage Flag ..................42 4.13 Cautions on Current Consumption..................42 4.14 Cautions on ROM Correction Function ...................42 4.15 Cautions on Starting Debugger ....................43...
ZUD-CD-05-0149 9/57 CHAPTER 1 GENERAL The QB-V850ESFJ3 is an in-circuit emulator for emulating the V850ES/FE3, V850ES/FF3, V850ES/FG3, or V850ES/FJ3. Hardware and software can be debugged efficiently in the development of systems in which the V850ES/FE3, V850ES/FF3, V850ES/FG3, or V850ES/FJ3 is used. This manual descries basic setup procedures, hardware...
12/57 1.3 System Configuration There are two configuration types: S Type and T Type. This section shows each system configuration when using the QB-V850ESFJ3 connected to a PC (PC-9821 series or PC/AT compatible). Connection is possible even without optional products.
Page 13
<13> Target connector: Connector to be soldered to target system <14> Target system Notes 1. Download the device file from the NEC Electronics website. URL: http://www.necel.com/micro/index_e.html 2. For the use of this product, refer to [Related Information] on the following webpage.
Page 14
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 14/57 Table 1-3. List of Probe/Connector for Each Target Device (S Type) Target Device to Be Emulated Name V850ES/FE3 V850ES/FF3 V850ES/FG3 V850ES/FJ3 (64-Pin GB) (80-Pin GK) (100-Pin GC) (144-Pin GJ) <6> Check pin adapter QB-144-CA-01 (sold separately) <7>...
Page 15
ZUD-CD-05-0149 15/57 Note These accessories are supplied according to the part number ordered. • If QB-V850ESFJ3-ZZZ is ordered The exchange adapter and target connector are not supplied. • If QB-V850ESFJ3-S64GB is ordered The QB-64GB-EA-01S and QB-64GB-TC-01S are supplied. • If QB-V850ESFJ3-T64GB is ordered The QB-64GB-EA-02T, QB-64GB-YQ-01T, and QB-64GB-NQ-01T are supplied.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 16/57 1.4 Package Contents The following items have been placed in the QB-V850ESFJ3 packing box. Please check the contents. Products supplied with QB-V850ESFJ3-ZZZ <1>: QB-V850ESFJ3 <2>: AC adapter <3>: USB interface cable <4>: ID850QB Disk (CD-ROM) <5>:...
Page 17
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 17/57 Products supplied with QB-V850ESFJ3-S100GC (Order with which S-type connectors for the V850ES/FG3 are included) <1> to <10> <11>: Exchange adapter QB-100GC-EA-01S <12>: Target connector QB-100GC-TC-01S Products supplied with QB-V850ESFJ3-T100GC (Order with which T-type connectors for the V850ES/FG3 are included) <1>...
If the clock must be changed, see 2.2 Removal of Acrylic Board and 2.3 Clock Settings. Sub clock settings At shipment, the QB-V850ESFJ3’s 32.768 kHz resonator is selected. If modification is necessary, see 2.3.4 Overview of subclock settings. Software settings See 2.4 Software Settings.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 19/57 2.1 Names and Functions of Hardware Figure 2-1. Names of Parts of QB-V850ESFJ3 Top View Bottom View Power switch Pin 1 OSC1 POWER TARGET CN3 CN2 CN1 Connector for parts board (1) CN1, CN2, CN3 These connectors are used to connect the exchange adapter or extension probe.
This is the power switch of the QB-V850ESFJ3. It is OFF at shipment. 2.2 Removal of Acrylic Board To change the jumper or clock setting, the acrylic board on the bottom of the QB-V850ESFJ3 must be removed. The acrylic board can be removed by lifting it up.
For details, see 2.3.2 Main clock settings. (1) Using a clock generated from a 6 MHz resonator mounted in the QB-V850ESFJ3 as an internal clock. (2) Using a clock generated from a resonator other than the 6 MHz resonator mounted in the QB-V850ESFJ3 as an internal clock.
8 9 10 11 12 13 14 Parts board settings Peripheral circuit (3) Insert the parts board into the QB-V850ESFJ3. Pay attention to the pin position. (See Figure 2-1.) 2.3.4 Overview of subclock settings The following types of subclock settings are available.
The following shows the hardware settings when setting the subclock. Table 2-2. Hardware Settings for Each Subclock Setting Type of Clock Used The clock generated from a 32.768 MHz resonator mounted in the QB-V850ESFJ3 is used. 1-2 shorted, 3-4 shorted...
ZUD-CD-05-0149 24/57 2.5 Mounting and Connecting Connectors (When Using S Type) This section describes the methods for connecting the QB-V850ESFJ3 to the target system when using the S Type. Make connections with both the QB-V850ESFJ3 and target system powered off.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 25/57 2.5.3 Precautions for handling TC, EA, MA, CA, and SA (1) Cause of faulty contact of connector (a) If flux gets inside the connector when the TC is soldered It is easy for flux to get inside of the connector. Clean the connector several times with a solvent such as alcohol if flux gets inside.
Page 26
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 26/57 (3) Cautions for CA (QB-80-CA-01S) for V850ES/FF3 The silk print for the check pin is based on the pin layout of the 80-pin GC package. When using the CA for the V850ES/FF3 (80-pin GK package), read the silk print as shown in Table 2-3.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 27/57 (4) Check pin adapter QB-xxx-CA-01S When using the check pin adapter QB-xxx-CA-01S, the separately available extension probe QB-144-EP- 01S must be connected. (5) Check pin adapter QB-144-CA-01 The check pin adapter QB-144-CA-01 is an optional product for IECUBE, and can be used to measure the waveform between IECUBE and the target system.
ZUD-CD-05-0149 28/57 2.6 Mounting and Connecting Connectors (When Using T Type) This section describes the methods for connecting the QB-V850ESFJ3 to the target system when using the T Type. Make connections with both the QB-V850ESFJ3 and target system powered off.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 29/57 2.6.3 Inserting EA into YQ Match the pin 1 position of the YQ or SA (corner cuts match in both) to the pin 1 position of the EA and insert it. • When inserting or removing, press on the TC, YQ, and SA with a finger so that there is no force on the TC.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 30/57 2.6.5 Precautions for mounting IC using TC and MA (1) Confirm that there is no weld flash in the resin (sealant part) of the IC. If there is weld flash, remove it using a knife or the like.
The QB-V850ESFJ3 can be connected to the target system without using an extension probe. Adjust the height by using the spacer at the rear part of the QB-V850ESFJ3, so that no stress is applied to the exchange adapter, the target connector, and other connectors.
There are three GND wires in the extension probe. Connect them to the QB-V850ESFJ3 and target system. <1> Fasten the GND wire on the QB-V850ESFJ3 side of the extension probe to the nut on the bottom of the QB-V850ESFJ3 using a #0 or #1 Phillips precision screwdriver (connection of B to A in Figure 2-8).
Page 33
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 33/57 Figure 2-8. GND Wire QB-V850ESFJ3 Target system Remark The connector shown in the above figure is the connector used with the S Type. When used with the T Type, read this connector as that of the T Type.
Page 34
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 34/57 <6> Since the length of the GND wire below the head (insulated part) is approximately 60 mm, there must be at least a GND to which it can be connected to within the range of the three approximately 60 mm radius sections of the target system for connecting the extension probe, as shown in Figure 2-9.
Page 35
<2> Be sure to connect the GND wire of the extension probe to the QB-V850ESFJ3 and the target system. If not, the impedance of the cable becomes unstable, resulting in the lowering of signal transmission characteristics or distortion of the output waveform for an input waveform.
By replacing the AC plug, the AC adapter can support the voltage from 100 to 240 V. The AC plug for 100 V is attached when shipped. Replace it with the AC plug for 220 or 240 V (supplied with the QB-V850ESFJ3) when the AC adapter is used at 220 or 240 V.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 37/57 CHAPTER 3 SETTINGS AT PRODUCT SHIPMENT Table 3-1. Settings at Shipment Item Setting Remarks All pins are left open. Do not change this setting. 1 and 2, and 3 and 4 are shorted. For details, refer to 2.3 Clock Settings.
38/57 CHAPTER 4 CAUTIONS This chapter explains the points to be noted when the QB-V850ESFJ3 is used. 4.1 Cautions on Flash Self Programming Function The flash self programming function cannot be emulated. To use this function, make an evaluation by using an on-chip debug emulator or the target device.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 39/57 4.5 Cautions on DBPC, DBPSW, and ECR Registers The DBPC, DBPSW, and ECR registers cannot be accessed during a break. If a value is written to any of these registers during a break, the written value is ignored.
Page 40
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 40/57 [Combination of instructions for the occurrence of the simultaneous execution of two instructions] • Condition where “mov + operation instruction” are executed as one instruction If dst of mov and dst of the operation instruction are the same register, except r0, in combination of “mov src, dst”...
Page 41
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 41/57 • Cases in which two instructions are not simultaneously executed In the following cases, two instructions are not simultaneously executed. (a) If the first instruction is the first instruction after execution branches to an address that is not word aligned.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 42/57 4.9 Cautions on On-Chip Debug Function The on-chip debug function cannot be emulated. Use the on-chip debug function with an on-chip debug emulator and a target device with the flash memory. 4.10 Cautions on Standby Mode The timings of setting and releasing standby mode in IECUBE differ from those in the target device.
If a warning or error occurs, check the status of the target system or the setting of the debugger. It is recommended that the conversion adapter be connected to the QB-V850ESFJ3 even when the target system is not connected. If the conversion adapter is not connected, the value of the input port may not be correctly read.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 44/57 CHAPTER 5 NOTES ON TARGET SYSTEM DESIGN For details on the notes on the target system design (areas on the target system in which components must not be mounted and where the height of the mounted components are restricted) and information on external dimensions of connectors and adapters, refer to [Related Information] on the following webpage.
CHAPTER 6 OPTIONAL FUNCTIONS The following functions can be added to QB-V850ESFJ3 control code C or later (cannot be added to products with control code A or B). This chapter explains the functional outline and specifications of the optional functions, and how to obtain them.
6.1.1 Functional outline Using the memory emulation function, the QB-V850ESFJ3 can be substituted for the external memory on the target system, so that programs and data can be allocated to the QB-V850ESFJ3.
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 47/57 6.2 Coverage Measurement Function This section explains the functional outline of the coverage measurement function and differences in specifications that occur after the addition of this function. 6.2.1 Functional outline The coverage measurement function is used to measure the percentage of the executed code in a load module, section, or other such area.
6.4 Changes to Top Side of Product Consequent to Addition of Optional Functions After the addition of the optional functions, the following stickers will be attached to the top of the QB-V850ESFJ3. The addition of the optional functions can be confirmed through the presence of these stickers.
For more information on ordering, price and schedule, consult an NEC Electronics sales representative or distributor. • New purchase By adding one of the following suffixes at the end of the ordering code, you can purchase the QB-V850ESFJ3 with the corresponding option board mounted. Emulation memory board mounted...
The target interface (signals connecting the in-circuit emulator and target system) operate, in terms of function, as if an actual device were connected. The characteristics, however, may be different from those of the actual device. The target interface of the QB-V850ESFJ3 is one of the equivalent circuits shown below. Figure A-1. Equivalent Circuit A...
Page 51
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 51/57 Figure A-4. Equivalent Circuit D Target system side QB-V850ESFJ3 side Power supply detector 10 kΩ Power switch circuit Figure A-5. Equivalent Circuit E QB-V850ESFJ3 side Target system side Power supply detector Figure A-6. Equivalent Circuit F...
Page 52
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 52/57 Figure A-8. Equivalent Circuit H Target system side Open Figure A-9. Equivalent Circuit I Target system side...
QB-V850ESFJ3 Preliminary User’s Manual ZUD-CD-05-0149 57/57 APPENDIX B REVISION HISTORY Document Number Issued on Description ZUD-CD-05-0149 November 11, 2005 Newly created.