Page 2
Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics.
Page 3
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 • Use at overvoltage, use outside guaranteed temperature range, storing outside guaranteed temperature range •...
Page 4
This manual describes the basic setup procedures and how to set switches. To understand the overall functions and usages of the QB-RL78G1F → Read this manual in the order of the CONTENTS. To know the manipulations, command functions, and other software-related settings of the QB-RL78G1F →...
Page 5
The related documents listed above are subject to change without notice. Be sure to use the latest version of each document for designing, etc. IECUBE is a registered trademark of Renesas Electronics Corporation in Japan and Germany. Windows is either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
2.7 Connecting USB Interface Cable and AC Adapter ................31 2.8 Switching Power On and Off ....................... 31 CHAPTER 3 SETTINGS AT PRODUCT SHIPMENT ..................32 CHAPTER 4 CAUTIONS ..........................33 4.1 Cautions Regarding Differences Between Target Device and QB-RL78G1F ........33 4.2 Note of Debugging ..........................37...
CHAPTER 1 GENERAL CHAPTER 1 GENERAL The QB-RL78G1F is an in-circuit emulator for emulating RL78/G1F. Hardware and software can be debugged efficiently in the development of systems in which RL78/G1F used. This manual descries basic setup procedures, hardware specifications, system specifications, and how to set switches.
Top View Bottom View TCN1 TCN3 TCN4 OSC1 POWER TARGET (Red LED) (Green LED) Side View Power supply connector Power switch Cooling fan USB connector Figure 1-2. Names of Parts of QB-RL78G1F R20UT3352EJ0100 Rev.1.00 Page 9 of 41 Jan 30, 2015...
Page 10
These are connectors for the shipment inspection. User does not need to use these connectors. (4) POWER (Red LED) This is an LED that shows whether the power supply of the QB-RL78G1F is switched on. Table 1-2. QB-RL78G1F POWER LED...
QB-RL78G1F In-Circuit Emulator CHAPTER 1 GENERAL 1.4 System Configuration This section shows the system configuration when using the QB-RL78G1F connected to a PC (Windows PC/AT compatible). Connection is possible even without optional products. < 1 > < 2 > < 4 >...
Page 13
QB-RL78G1F In-Circuit Emulator CHAPTER 1 GENERAL Remarks 1. Refer to 1.6 Package Contents for the purchase forms of the above products. 2. As for handling of connectors, refer to 2.3 Mounting and Connecting Connectors (When Using S Type) or 2.4 Mounting and Connecting Connectors (When Using T Type).
CHAPTER 1 GENERAL 1.5 System Configuration for Each Target Device The following table lists the system configuration for each target device of the QB-RL78G1F. The adapter and connector for each device, and common probe and adapter are sold separately. Remark For the package drawings of the connector, adapter and probe, refer to the following URL.
QB-RL78G1F In-Circuit Emulator CHAPTER 1 GENERAL 1.6 Package Contents The included products are described for each order product name. Products supplied with QB-RL78G1F-ZZZ QB-RL78G1F USB interface cable (2 meters) Online user registration card (warranty card and software contract in one)
QB-COMMON-PW-TW Notes 1. Products are shipped only on order from each region. 2. Contact a distributor or a Renesas Electronics for information on regions other than the above. 3. Only the AC adapter usable in each region can be ordered.
CHAPTER 2 SETUP PROCEDURE CHAPTER 2 SETUP PROCEDURE This chapter explains the QB-RL78G1F setup procedure. Setup can be completed by performing installation setup in the order in which it appears in this chapter. Perform setup along the lines of the following procedure.
Check the user's manual for the debugger that will be used. 2.2 Clock Settings The QB-RL78G1F clock must be set to the clock used by the target device. For details about how to set the clock, check the user's manual for the debugger that will be used.
Page 19
The clock generated from the oscillator mounted on the emulator is used. The selectable frequencies are same as those of the target device. To modify the clock setting, the acrylic board on the bottom of the QB-RL78G1F must be removed. The acrylic board can be removed by lifting it up.
Page 20
QB-RL78G1F In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE Figure 2-1. Acrylic Board Removal Method Note As an oscillator to be mounted in the OSC1 socket in the emulator, use the one that satisfies the following specifications. - Supply voltage: 5.0 V - Output level: CMOS Note An oscillation circuit that uses a resonator cannot be used.
Page 21
QB-RL78G1F In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE (2) Internal high-speed oscillation clock This method uses the clock inside the emulator by configuring the use of the high-speed oscillation clock in the user program. (3) Internal low-speed oscillation clock This method uses the clock inside the emulator by configuring the use of the low-speed oscillation clock in the user program.
CHAPTER 2 SETUP PROCEDURE 2.3 Mounting and Connecting Connectors (When Using S Type) This section describes the methods of connecting the QB-RL78G1F and target system. Make connections with both the QB-RL78G1F and target system powered OFF. The following abbreviations are used in this section:...
QB-RL78G1F In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.3.2 Mating theTC to EA Mate the TC and EA by following the procedure below. (1) Check the orientation of pin 1, align the TC guide pin to the guide hole at the tip of the EA flexible printed circuit (FPC), and then insert it.
QB-RL78G1F In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.3.3 General Precautions when Using the EA, TC (1) Causes of connector conductivity problems (a) When flux gets inside the connector when mounting the TC Since flux easily rises into the connector, if it gets into the connector, completely wash it out using a solvent such as alcohol.
CHAPTER 2 SETUP PROCEDURE 2.4 Mounting and Connecting Connectors (When Using T Type) This section describes the methods of connecting the QB-RL78G1F and target system. Make connections with both the QB-RL78G1F and target system powered OFF. The following abbreviations are used in this section:...
QB-RL78G1F In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.4.2 Mounting YQ to NQ (1) After confirming that there are no broken or bent YQ contact pins, fit the YQ in the NQ and fasten it using the supplied YQGUIDE (for the fastening method, see the next step, (2)). If repeatedly inserting and removing, be sure to inspect the YQ pins before fitting.
QB-RL78G1F In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.4.4 Precautions for handling NQ, YQ, SA and CA (1) When taking the NQ from the box, press down on the body and take out the sponge first. (2) Since the pins of the YQ are thin and easily bent, be careful. When inserting it in the NQ, confirm that there are no bent pins.
QB-RL78G1F In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.4.5 Precautions for mounting IC using NQ 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.
There are three GND wires in the emulation probe. Connect them to the QB-RL78G1F and target system. <1> Fasten the GND wire on the QB-RL78G1F side of the emulation probe to the nut on the bottom of the QB-RL78G1F using a #0 or #1 Phillips precision screwdriver (connection of B to A in Figure 2-8).
Page 30
<2> Be sure to connect the GND wire of the emulation probe to the QB-RL78G1F and the target system. If it cannot be connected, the impedance of the cable is unstable and could bring about lowering of signal transmission characteristics or distortion of the output waveform for an input waveform.
Plug the USB interface cable supplied with the QB-RL78G1F into the USB connector of the host machine, and plug the other side into the USB connector on the rear of the QB-RL78G1F. Plug the AC adapter into the power supply connector on the rear of the QB-RL78G1F and plug the other side into a receptacle.
QB-RL78G1F In-Circuit Emulator CHAPTER 3 SETTINGS AT PRODUCT SHIPMENT CHAPTER 3 SETTINGS AT PRODUCT SHIPMENT Table 3-1. Settings at Shipment Item Setting Remarks Note Not mounted Oscillator can be mounted OSC1 Power switch Set to OFF at shipment. Note The oscillation circuit using an oscillation cannot be used.
When debugging is performed by connecting the QB-RL78G1F to the target system, the QB-RL78G1F emulates the target device as if it operates in the target system. However, the target device and the QB-RL78G1F operate differently in the following ways. Consequently, the target device should be used for final evaluation before launching mass production, and the customer is to be responsible for judging the appropriateness of applying the QB-RL78G1F.
Page 34
QB-RL78G1F In-Circuit Emulator CHAPTER 4 CAUTIONS - Port 122, Port 51 and Port 30 pins input characteristics The input characteristics of the Port 122, Port 51 and Port 30 pins differ between the target device and emulator. Table 4-2. Input Characteristics of Port 122, Port 51 and Port 30 pin...
Page 35
QB-RL78G1F In-Circuit Emulator CHAPTER 4 CAUTIONS - TTL input buffer characteristics If the port input mode register (PIM) is used to set the input of a pin that can be set for the TTL buffer to the TTL level, the high-level input voltage characteristics differ between the target device and emulator. See Table 4-4 for details.
Page 36
QB-RL78G1F In-Circuit Emulator CHAPTER 4 CAUTIONS - I/O port output signal level detection function I/O port output signal level detection function emulation is not supported. Even if you set as “Output data is read (PMS0=1)” at port mode select register (PMS), the value of the port register (Pnm) is read.
After power application, a program will be executed for the target device mounted in the target system when reset is released. However, with the QB-RL78G1F, the program does not start until an operation to start execution is performed after the program is downloaded using the debugger.
Page 38
REVISION HISTORY QB-RL78G1F In-Circuit Emulator User’s Manual Rev. Date Description Page Summary 1.00 Jan 30, 2015 First Edition issued...
Page 39
QB-RL78G1F In-Circuit Emulator User’s Manual Publication Date: January 30, 2015 Rev.1.00 Published by: Renesas Electronics Corporation...
Page 40
SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 9251 Yonge Street, Suite 8309 Richmond Hill, Ontario Canada L4C 9T3...