Renesas QB-RL78G1C User Manual
Renesas QB-RL78G1C User Manual

Renesas QB-RL78G1C User Manual

In-circuit emulator

Advertisement

Quick Links

i8
QB-RL78G1C
In-Circuit Emulator
Target Devices
RL78/G1C
User's Manual
Rev.1.00
2013.07

Advertisement

Table of Contents
loading

Summary of Contents for Renesas QB-RL78G1C

  • Page 1 QB-RL78G1C In-Circuit Emulator User’s Manual Target Devices RL78/G1C Rev.1.00 2013.07...
  • 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 PDF file and specifying it in the “Find what:” field. To know the manipulations, command functions, and other software-related settings of the QB-RL78G1C → See the user’s manual of the debugger (supplied with the QB-RL78G1C) to be used. Footnote for item marked with Note in the text Conventions...
  • 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.
  • Page 6: Table Of Contents

    2.4.4 Precautions for handling NQ, YQ, SA, and CA ................ 31 2.4.5 Precautions for mounting IC using NQ and MA ............... 32 2.5 Connecting QB-RL78G1C to Target System ..................33 2.6 Notes on Power Supply and GND Pin Connection ................35 2.7 Connecting USB Interface Cable and AC Adapter ................
  • Page 7: Chapter 1 General

    CHAPTER 1 GENERAL CHAPTER 1 GENERAL The QB-RL78G1C is an in-circuit emulator for emulating the RL78/G1C. Hardware and software can be debugged efficiently in the development of systems in which the RL78/G1C is used. This manual descries basic setup procedures, hardware specifications, system specifications, and how to set switches.
  • Page 8: Hardware Specifications

    QB-RL78G1C In-Circuit Emulator CHAPTER 1 GENERAL 1.1 Hardware Specifications Table 1-1. QB-RL78G1C Hardware Specifications Parameter Specification Target device RL78/G1C Operating voltage 2.4V to 5.5V Operating 2.7 V  VDD  5.5 V: 1 to 20 MHz Main system clock High-speed Note1 2.4 V ...
  • Page 9 QB-RL78G1C In-Circuit Emulator CHAPTER 1 GENERAL Note1 Errors are within ±0.05%. However, this does not apply to errors of the oscillator or clock system on the target board. Note2 Errors are within ±0.005%. However, this does not apply to errors of the oscillator or clock system on the target board.
  • Page 10: Names And Functions Of Hardware

    1.2 Names and Functions of Hardware Top View Bottom View TCN1 TCN2 TCN3 OSC1 POWER TARGET (Red LED) (Green LED) Side View Power switch Power supply connector USB connector Cooling fan Figure 1-1. Names of Parts of QB-RL78G1C R20UT2079EJ0100 Rev.1.00 Page 10 of 45 2013.07.12...
  • Page 11 This is a connector for the shipment inspection. It is not something that the user will need. (4) POWER (Red LED) This is an LED that shows whether the power supply of the QB-RL78G1C is switched on. LED State QB-RL78G1C State...
  • Page 12: System Specifications

    QB-RL78G1C In-Circuit Emulator CHAPTER 1 GENERAL 1.3 System Specifications This section shows the QB-RL78G1C system specifications. Table 1-2. QB-RL78G1C System Specifications Parameter Specification Emulation memory capacity Internal ROM 512 KB (MAX.) Internal RAM 61.75 KB (MAX.) Program execution Go, Start from Here, Come Here, Restart, Return Out,...
  • Page 13: System Configuration

    QB-RL78G1C In-Circuit Emulator CHAPTER 1 GENERAL 1.4 System Configuration This section shows the system configuration when using the QB-RL78G1C connected to a PC (Windows PC/AT compatible). Connection is possible even without optional products. Figure 1-2. System Configuration < 1 >...
  • Page 14 QB-RL78G1C 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).
  • Page 15: System Configuration For Each Target Device

    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-RL78G1C. The adapter and connector for each device, and common probe and adapter are sold separately. An exchange adapter, a YQ connector, a target connector, and an emulation probe are included, depending on the order product name.
  • Page 16: Package Contents

    QB-RL78G1C In-Circuit Emulator CHAPTER 1 GENERAL 1.6 Package Contents The included products are described for each order product name. Products supplied with QB-RL78G1C-ZZZ QB-RL78G1C USB interface cable (2 meters) Online user registration card (warranty card and software contract in one) Probe holder (For QB-144-EP-02S.
  • Page 17: Ac Adapter For Iecube

    QB-COMMON-PW-TW Notes 1. Products are shipped only on order from each region. 2. Contact a distributor or a Renesas Electronics sales representative for information on regions other than the above. 3. Only the AC adapter usable in each region can be ordered.
  • Page 18: Chapter 2 Setup Procedure

    CHAPTER 2 SETUP PROCEDURE CHAPTER 2 SETUP PROCEDURE This chapter explains the QB-RL78G1C 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.
  • Page 19: Software Settings

    Check the user's manual for the debugger that will be used. 2.2 Clock Settings The QB-RL78G1C 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 20 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-RL78G1C must be removed. The acrylic board can be removed by lifting it up.
  • Page 21 QB-RL78G1C 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 22 DSCM bit used as PLL multiplication setting. If a setting other than the below table is set on debugger, QB-RL78G1C generates 1MHz clock as PLL oscillation frequency (f Table 2-3. Settings for High-Speed System Clock when using PLL...
  • Page 23 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-RL78G1C must be removed. The acrylic board can be removed by lifting it up.
  • Page 24 QB-RL78G1C In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE Figure 2-4. 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 25 QB-RL78G1C In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE (3) 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. (4) 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.
  • Page 26: Mounting And Connecting Connectors (When Using S Type)

    CHAPTER 2 SETUP PROCEDURE 2.3 Mounting and Connecting Connectors (When Using S Type) This section describes the methods of connecting the QB-RL78G1C and target system. Make connections with both the QB-RL78G1C and target system powered OFF. The following abbreviations are used in this section:...
  • Page 27: Mating Thetc To Ea

    QB-RL78G1C 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.
  • Page 28: General Precautions When Using The Ea, Tc

    QB-RL78G1C 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.
  • Page 29: Mounting And Connecting Connectors (When Using T Type)

    CHAPTER 2 SETUP PROCEDURE 2.4 Mounting and Connecting Connectors (When Using T Type) This section describes the methods of connecting the QB-RL78G1C and target system. Make connections with both the QB-RL78G1C and target system powered OFF. The following abbreviations are used in this section:...
  • Page 30: Mounting Yq To Nq

    QB-RL78G1C 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.
  • Page 31: Precautions For Handling Nq, Yq, Sa, And Ca

    QB-RL78G1C 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.
  • Page 32: Precautions For Mounting Ic Using Nq And Ma

    QB-RL78G1C 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.
  • Page 33: Connecting Qb-Rl78G1C To Target System

    There are three GND wires in the emulation probe. Connect them to the QB-RL78G1C and target system. <1> Fasten the GND wire on the QB-RL78G1C side of the emulation probe to the nut on the bottom of the QB-RL78G1C using a #0 or #1 Phillips precision screwdriver (connection of B to A in Figure 2-8).
  • Page 34 <2> Be sure to connect the GND wire of the emulation probe to the QB-RL78G1C 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.
  • Page 35: Notes On Power Supply And Gnd Pin Connection

    2.7 Connecting USB Interface Cable and AC Adapter Plug the USB interface cable supplied with the QB-RL78G1C into the USB connector of the host machine, and plug the other side into the USB connector on the rear of the QB-RL78G1C.
  • Page 36: Chapter 3 Settings At Product Shipment

    QB-RL78G1C 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.
  • Page 37: Chapter 4 Cautions

    QB-RL78G1C is connected. - Pin characteristics The pin characteristics of the QB-RL78G1C slightly differ when the target device is mounted to the target system, because a connector, adapter, emulation probe, and circuit board exist between the QB-RL78G1C and the target system.
  • Page 38 When change the positive reference voltage, after setting ADREFP1 and ADREFP0, of emulator is different from that of the target device. Table 4-1 Target devices and stabilization wait time of QB-RL78G1C ADM2 register ( value after change ) stabilization wait time...
  • Page 39 QB-RL78G1C 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-3 for details.
  • Page 40 - UVDD pin voltage levels when supplying power from the internal power supply for the USB to USB function module UVDD pin voltage level on QB-RL78G1C differs from the target device when supplying power from the internal power supply for USB to the USB function module.
  • Page 41: Debugging Note

    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-RL78G1C, the program does not start until an operation to start execution is performed after the program is downloaded using the debugger.
  • Page 42 REVISION HISTORY QB-RL78G1C In-Circuit Emulator User’s Manual Rev. Date Description Page Summary  1.00 July 12, 2013 First Edition issued...
  • Page 43 QB-RL78G1C In-Circuit Emulator User’s Manual July 12, 2013 Rev.1.00 Publication Date: Published by: Renesas Electronics Corporation...
  • Page 44 SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada...
  • Page 45 QB-RL78G1C In-Circuit Emulator User’s Manual R20UT2079EJ0100...
  • Page 46 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Renesas Electronics QB-32FP-EA-03T QB-32NA-EA-04S QB-RL78G1C-ZZZ...

Table of Contents