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-RL78D1A2 → Read this manual in the order of the CONTENTS. To know the manipulations, command functions, and other software-related settings of the QB-RL78D1A2 →...
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 Switching Power On and Off ....................... 29 CHAPTER 3 SETTINGS AT PRODUCT SHIPMENT ..................30 CHAPTER 4 CAUTIONS ..........................31 4.1 Cautions Regarding Differences Between Target Device and QB-RL78D1A2 ........31 4.2 Note of Debugging ..........................34 APPENDIX A CHARCTERISTICS OF TARGET INTERFACE ..............35...
QB-RL78D1A2 In-Circuit Emulator CHAPTER 1 GENERAL CHAPTER 1 GENERAL The QB-RL78D1A2 is an in-circuit emulator for emulating “R5F10DSL, R5F10DSK, R5F10DSJ, R5F10DPL, R5F10DPK”. Hardware and software can be debugged efficiently in the development of systems in which “R5F10DSL, R5F10DSK, R5F10DSJ, R5F10DPL, R5F10DPK”used.
QB-RL78D1A2 In-Circuit Emulator CHAPTER 1 GENERAL 1.2 Names and Functions of Hardware Figure 1-1. Names of Parts of QB-RL78D1A2 Top View Bottom View TCN1 TCN2 TCN3 TCN4 OSC1 POWER TARGET (Red LED) (Green LED) Side View Power supply connector Power switch...
Page 10
(3) CN6, TCN4 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-RL78D1A2 is switched on. LED State QB-RL78D1A2 State...
QB-RL78D1A2 In-Circuit Emulator CHAPTER 1 GENERAL 1.4 System Configuration This section shows the system configuration when using the QB-RL78D1A2 connected to a PC (Windows PC/AT compatible). Connection is possible even without optional products. Figure 1-2. System Configuration < 1 >...
Page 13
QB-RL78D1A2 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. 3. The part number of <3> differs depending on the region of use. See Table 1-5 Part Numbers of AC Adapter for IECUBE Classified by Region for the part numbers.
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-RL78D1A2. 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-RL78D1A2 In-Circuit Emulator CHAPTER 1 GENERAL 1.6 Package Contents The included products are described for each order product name. Products supplied with QB-RL78D1A2-ZZZ QB-RL78D1A2 USB interface cable (2 meters) Online user registration card (warranty card and software contract in one)
QB-COMMON-PW-SG Taiwan 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. R20UT3110EJ0101 Rev.1.01 Page 16 of 41 Nov 28, 2014...
CHAPTER 2 SETUP PROCEDURE CHAPTER 2 SETUP PROCEDURE This chapter explains the QB-RL78D1A2 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-RL78D1A2 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-RL78D1A2 must be removed. The acrylic board can be removed by lifting it up.
Page 20
QB-RL78D1A2 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-RL78D1A2 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 This section describes the methods of connecting the QB-RL78D1A2 and target system. Make connections with both the QB-RL78D1A2 and target system powered OFF. The following abbreviations are used in this section:...
QB-RL78D1A2 In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.3.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-RL78D1A2 In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.3.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-RL78D1A2 In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE 2.3.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-RL78D1A2 and target system. <1> Fasten the GND wire on the QB-RL78D1A2 side of the emulation probe to the nut on the bottom of the QB-RL78D1A2 using a #0 or #1 Phillips precision screwdriver (connection of B to A in Figure 2-6).
Page 27
QB-RL78D1A2 In-Circuit Emulator CHAPTER 2 SETUP PROCEDURE Figure 2-6. GND Wire QB-RL78D1A2 Target system <3> Connect the YQ connector and the exchange adapter to the target connector (D in Figure 2-6). <4> Connect the emulation probe to the exchange adapter (connection of E to F in Figure 2-6).
Page 28
<2> Be sure to connect the GND wire of the emulation probe to the QB-RL78D1A2 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-RL78D1A2 into the USB connector of the host machine, and plug the other side into the USB connector on the rear of the QB-RL78D1A2. Plug the AC adapter into the power supply connector on the rear of the QB-RL78D1A2 and plug the other side into a receptacle.
QB-RL78D1A2 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.
QB-RL78D1A2 is connected. - Pin characteristics The pin characteristics of the QB-RL78D1A2 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-RL78D1A2 and the target system.
Page 32
When change the positive reference voltage, after setting ADREFP1 and ADREFP0, emulator is different from that of the target device. Table 4-1 Target devices and stabilization wait time of QB-RL78D1A2 ADM2 register ( value after change ) stabilization wait time...
Page 33
When executing STOP instruction or an instruction which stops the main system clock (fMAIN) with setting the main system clock (fMAIN) to an operation clock of LCD controller/driver, LCD controller/driver stops execution on target device. On the other hand, it continues execution on QB-RL78D1A2. - LCD There is a time lag (max 1ms) to change LCD waveform after the LCD function register setting.
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-RL78D1A2, the program does not start until an operation to start execution is performed after the program is downloaded using the debugger.
The characteristics, however, may be different from those of the actual device. QB-RL78D1A2 emulates the target interface by FPGA and some additional devices. The characteristics of target interface depend on their device characteristics. For the devices using in each target interface, please refer to the following.
Page 36
- Port Port function is emulated by FPGA and additional Level Shifter. Following devices are used. Level Shifter: UPD7886, SN74LVC1T45 QB-RL78D1A2 does not support the function of changing pin input mode by PIMx register. Table A-1. Characteristics of PORT INPUT OUTPUT Etc.
Page 37
QB-RL78D1A2 In-Circuit Emulator APPENDIX A - POR/LVD POR/LVD function is emulated by FPGA and additional ICE Control chip. The ICE Control chip sense the target VDD with its AD converter. Following device is used: ICE Control chip: V850ES/SG3 Figure A-3. POR/LVD Block diagram - LCD Controller/Driver LCD function is emulated by FPGA and additional LCD driver.
Page 38
QB-RL78D1A2 In-Circuit Emulator APPENDIX A - ZPD ZPD function is emulated by FPGA and additional CMP and DAC device. Following devices are used: Selector: PI5A4684 CMP: TC75W57FK DAC: AD7305BRUZ Figure A-5. ZPD Block diagram - Stepper Motor Controller/Driver Stepper-Motor function is emulated by FPGA and additional Level Shifter and MOSFET.
Page 39
REVISION HISTORY QB-RL78D1A2 In-Circuit Emulator User’s Manual Rev. Date Description Page Summary 1.00 Oct 31, 2014 New. Nov 28, 2014 The order including attachments of an adapter and a probe was deleted. 1.01...