Home
E1/E20 Emulator Additional Document for User`s Manual (Note on
Contents
1. Pin 1 Figure 2 1 Connecting the User System Interface Cable to the 14 Pin Connector of the E1 Emulator R20UT1994EJ0300 Rev 3 00 13 NE SAS Page 9 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 38 pin user system interface cable 9 4mm 26 2 mm 38 pin to 14 pin conversion adapter 9 4mm 14 pin connector 7614 6002 errs zu 38 pin to 14 pin conversion adapter top view ROE000200CKA00 include in the E20 package d User system Figure 2 2 Connecting the User System Interface Cable to the 14 Pin Connector of the E20 Emulator CAUTION Limit to the height on connector periphery For a case where the ROE000200CKAO0 is used for connecting the E20 emulator to a 14 pin connector do not mount other components with a height of 10 mm or more within 5 mm of the connector on the user system Type number 7614 6002 manufactured by Sumitomo 3M Ltd 2514 6002 manufactured by 3M Ltd The emulator is connected from this direction 5 mm 5mm Area with limit on mounted components heights must be no greater than 10 mm Page 10 of 36 R20UT1994EJ0300 Rev 3 00 7tENESAS Aug 25 2014 E1 E20 Emulator Designing the User System CAUTION Notes on connector insertion and removal When connecting or disconnecting the user system interface cable and the emulator or user system grasp the connector cover at the end of the cable Pulling the cabl
2. 1 If the value of the on chip debug option byte set in the device disables on chip debugging OCDENSET 0 the debugger cannot be started when No is selected in the Permit flash programming property of the debugger If a setting to enable flash programming is made though the debugger can be started the flash memory will be in an erased state when the debugger is started R20UT1994EJ0300 Rev 3 00 7tENESAS Page 27 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 4 Setting of Security ID This setting is required to prevent the memory from being read by an unauthorized person Embed a security ID at addresses OxC4 to OxCD in the internal flash memory The debugger starts only when the security ID that is set during debugger startup and the security ID set at addresses 0xC4 to OxCD match If the ID codes do not match the debugger manipulates the target device in accordance with the value set to the on chip debug option byte area refer to the hardware manual for each MCU If the user has forgotten the security ID to enable debugging erase the flash memory and set the security ID again A setting method of the security ID is following When both a and b methods are done at a time method b has a priority a Embed the security ID at addresses 0xC4 to OxCD in the user program For example if the security ID is embedded as follows the security ID set by the debugger is 0123456789ABCDEF 1234 not case sensitive
3. Step execution at the set software breakpoint position Step over execution Return Out execution Come Here Setting changing or canceling of hardware breaks e Masking unmasking of internal reset Switching of peripheral breaks The operating frequency range and operating voltage range are set with the flash operation mode Correct operation may not be carried out when the operating frequency range or operating voltage range is exceeded 3 7 GDIDIS The global digital input disable register GDIDIS which is used to prevent through current flowing from the input buffers when the EVDD power supply is turned off EVDD 0 V cannot be used in the E1 or E20 emulator This is because the TOOLO pin of the EVDD power supply cannot accept input when GDIDIS 1 Input to input buffers prohibited and so communication with the E1 or E20 emulator is broken 3 8 RESET PORT Multiplexed pin In the 20 pin and 24 pin versions of the RL78 G12 the RESET pin has multiplexed pin functions Therefore if the following conditions are all satisfied control by the E1 or E20 emulator is no longer possible e The reset port multiplexed pin is used as a port PORTSELB 0 due to the option byte setting C1h e m Mt byte setting C1h has been rewritten during a break Yes is selected in the Mask INTERNAL RESET signal property of the debugger R20UT1994EJ0300 Rev 3 00 RENESAS Page 30 of 36 Aug 25 2014 E1 E20 Emulator Notes on
4. e Note b Setting of the security ID by build tool common options For details on the setting method refer to the user s manual for the build tool Table 3 1 Security ID Address Value 0x000C4 0x01 0x000C5 0x23 0x000C6 0x45 0x000C7 0x67 0x000C8 0x89 0x000C9 OxAB 0x000CA OxCD 0x000CB OxEF 0x000CC 0x12 0x000CD 0x34 Note 1 When connecting a debugger to a device for which the security ID has been set the security ID needs to be entered in the debugger For details on the authentication method refer to the user s manual for the debugger in use 2 OxFFFFFFFFFFFFFFFFFFFF which is a setting of only OxFF cannot be set R20UT1994EJ0300 Rev 3 00 RENESAS Page 28 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 5 Reset 3 5 1 Operation after a reset After an external pin reset or internal reset the monitor program performs debug initialization processing Consequently the time from reset occurrence until user program execution differs from that in the actual device operation If No is selected in Permit flash programming in property of the debug tool the time until the user program is executed compared with the time when Yes is selected is delayed several 100 ms 3 5 2 SP value after a Reset While debugging with the E1 or E20 emulator the SP value after a reset becomes as follows When the internal RAM space of the device is 768 bytes or more FCOOh When th
5. 555 LanGao Rd Putuo District Shanghai China Tel 86 21 2226 0888 Fax 86 21 2226 0999 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 80 Bendemeer Road Unit 206 02 Hyflux Innovation Centre Singapore 339949 Tet 65 6213 0200 Fax 65 6213 0300 Renesas Electronics Malaysia Sdn Bhd Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 JIn Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics Korea Co Ltd 12F 234 Teheran ro Gangnam Gu Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2013 2014 Renesas Electronics Corporation and Renesas Solutions Corp Colophon 2 0 E1 E20 Emulator Additional Document for User s Manual Note on Connection for RL78 21 NE SAS Renesas Electronics Corporation R20UT1994EJ0300
6. Usage 3 9 MCUs that are used in debugging MCUs that are connected to the emulator and used in debugging are placed under stress by repeated programming of flash memory during emulation Do not use MCUs that were used in debugging in mass production for end users Also as the E1 E20 emulator program is written to the MCU while debugging do not save the contents of the MCU Flash memory which were used for debugging nor use them as the ROM data for products 3 9 1 Standalone operation After downloading a load module file to the device to for on chip debugging do not check the operation of this device without E1 E20 A device after debugging contains the specific program for on chip debugging so it is different from actual operation 3 10 Final Evaluation of the User Program Before entering the mass production phase be sure to perform a final evaluation of the program which is written to a flash ROM the Renesas Flash Programmer or PG FP5 etc Be sure to perform the evaluation singly without the E1 or E20 emulator connected R20UT1994EJ0300 Rev 3 00 7tENESAS Page 31 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 11 Debug functions 3 11 1 Step execution 1 Cautions on using step in step execution The value of some SFRs special function registers might remain unchanged while stepping into code If the value of the SFRs does not change while stepping into code operate the microcontroller by continuously executing
7. a entes eats entente nnne nenas 13 2 4 2 Connection between the 14 Pin Connector and the RL78 Family MCUs Only the 20 Pin and 24 Pin Version of Burda NA ICA 14 2 5 Notes on Connection irte edge bx esegue cl ledaues ka ee sass pedea a ga Eo Pea a 15 2 5 1 RESET PiN e 15 2 52 TOOL ONIM S eiecti urn cacti eevee eee UL 17 AS OMCpM E 18 254 a dD D ate epee re ree ees eg rer eee tere ree 18 2 6 Internal Circuits of the Emulator ssssssssssssseeseeeee entente nnne nennen nsns 19 2 6 1 Internal Circuits of the E1 Emulator RL78 Family nnns 19 2 6 2 Internal Circuits of the E20 Emulator RL78 Family nennen 20 2 7 Notes on Designing the User System ssssssssssssssssseseeee eene nennen nnne ens 21 2 7 1 Isolators for the E1 and E20 Emulators eene nennen nenne 21 2 7 2 Small Connector Conversion Adapter for the E1 Emulator 21 3 Notes on Sage ior eit ein ree eraat edi usce dede esit ean espe aset xen n eee ir eect 23 3 1 Turning the Power Om OIT tit ert tdt te de pete ta etra Pee x a eruta Enecza en ect te adt anes 23 3 1 1 When a Separate Power Supply is Used for the User System 23 3 1 2 When Power is Supplied to the User System from the Emulator E1 Only sseseeessss 24 3 2 Power Supply Function of
8. it is controlled by masking and then output to the target device Connection examples of the RESET pin section are shown in Table 2 3 and Figure 2 6 to Figure 2 10 When flash programming by the programming software is to be performed the RESET pin should be designed so that the reset signal on the user system does not conflict with the reset signal from the E1 or E20 emulator When you use hot plug in install a ceramic capacitor approx 0 1 uF between the RESET pin and GND in order to suppress a noise to the RESET pin that would occur when the emulator is connected Hot plug ins are not available if there is no reset circuit Table 2 3 Connection Examples According to the Reset Circuit on the User System Target Device Case Reference 20 pin and 24 pin There is a reset circuit on the user system Figure 2 6 versions of the There is no reset circuit on the user system Figure 2 7 RL78 G12 when using the P125 KR1 SI01 function which is multiplexed with RESET Other than above There is a reset circuit on the user system Figure 2 8 Resistors are used to switch between usage and non usage of the There is a reset circuit on the user system Figure 2 9 A jumper is used to switch between usage and non usage of the emulator The power on reset circuit is the only reset circuit on the user Figure 2 10 system R20UT1994EJ0300 Rev 3 00 7tENESAS Page 15 of 36 Aug 25 2014 E1 E20 Emulator Designing the U
9. pin 2 54mm pitch 2 54mm pitch connector connector RESET_IN Reset circuit RESET_IN 1k 10kQ RESET_OUT RESET RESET RESET_OUT When E1 E20 is connected B C shorted When E1 E20 is not connected A B shorted Figure 2 9 Connection of RESET Figure 2 10 Connection of RESET Except the 20 Pin and 24 Pin Versions of the RL78 G12 Except the 20 Pin and 24 Pin Versions of the RL78 G12 Do not install capacitors series resistors or filters on signal lines if attempted correct communication may not be established The circuits and resistance values listed are recommended but not guaranteed Determine the circuit design and resistance values by taking into account the specifications of the target device and noise Securely connect pins 2 12 and 14 to GND of the user system These pins are used for electrical grounding as well as for monitoring of connection with the user system by the E1 E20 Securely connect both pin 10 and pin 13 R20UT1994EJ0300 Rev 3 00 13 NESAS Page 16 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 5 2 TOOLO Pin The emulator uses the TOOLO pins Any functions that are multiplexed on these pins are not available Pull up the signals of TOOLO pin at 1kO and do not arrange these signal lines in parallel with or across other high speed signal lines Operation voltage 14 pin for 2 54mm pitch connector Figure 2 11 Connection of the TOOLO Pin Do not use adjacent resis
10. product s means any product developed or manufactured by or for Renesas Electronics 2012 4 E1 E20 Emulator Contents Contents Page TE OVGIVIGW sc 6 1 1 Overview of E1 and E20 Emulators cccecccecceeceeececeeeeeceeeeecaeeeeeaeseceeeeeaeeesaaesseaaeseeeeeseaeeesiaeeseaeeeeaes 6 1 2 Note on Using E20 Emulator essssesseseeeseneneen enne enne nennen entren EEEREN 6 1 3 Configuration of E1 E20 Emulator Manuals sse nnn nnns 7 1 4 Supported DEVICES eroe et rr Decet Destin eene eda des ti erue exe E enu den 8 2 Designing the User System tiit Leere seco Domen a iE aeree RE ed Ee Ree BR e RE ERA Rene a 9 2 1 Connecting the E1 E20 Emulator with the User System 9 2 2 Installing the Connector on the User System sssssssssssssseees eene 9 2 2 1 Connecting the User System Interface Cable to the 14 Pin Connector se 9 2 3 Pin Assignments of the Connector on the User System sssssssssssseeeeeeeen 11 2 3 1 T4 Pin Connector Specifications 5 2 orte teet bec Si nite Ninian diese eves 11 2 4 Recommended Circuit between the Connector and the MCU sssssseseeeeeeee 13 2 4 1 Connection between the 14 Pin Connector and the RL78 family MCUs Except 20 Pin and 24 Pin Versions of the RL78 GT2 ssnin nannan aaraa aa nnne nenne nnn entente tns ei nene e tns aA
11. the instructions instead of executing them in steps Stepping into code Instructions in the user created program are executed one by one Continuous execution The user created program is executed from the current PC value 2 Step in step execution of Division operation target device with multiplier and divider multiply accumulator When the instruction which sets 1 the bit O DIVST of Multiplication Division control register MDUC is stepped the division operation is not finished The step execution of the division operation of C source file is not relevant 3 Illegal memory access detection When the function to detect illegal memory accesses is enabled IAWCTL 7 1 an internal reset will not occur even when step execution is performed for an instruction that will generate an illegal memory access 3 11 2 Go to Here If Go to Here is selected the software breakpoints and event breakpoints that have been set so far will be temporarily invalidated 3 11 3 Standby Function The break is interrupt function of CPU The standby mode is released by the break for using the following debug function 1 Stop execution of the user program 2 Step execution of the standby instruction Stops user program after execution instruction 3 Pseudo real time RAM monitor function Break When Readout 4 Pseudo Dynamic Memory Modification Break When Write 5 Set breakpoint while executing the user program 3 11
12. under any applicable domestic or foreign laws or regulations You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction When exporting the Renesas Electronics products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations It is the responsibility of the buyer or distributor of Renesas Electronics products who distributes disposes of or otherwise places the product with a third party to notify such third party in advance of the contents and conditions set forth in this document Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics
13. 010CKZ11 that is separately available from Renesas be aware that the connector pin assignments differ from those of the E1 emulator s standard interface connector The 14 pin connector pin assignments when the Small Connector Conversion Adapter for the E1 Emulator is used are shown in Table 2 4 User system interface cable for the E1 ROE000010KCEO00 D A Small Connector Conversion Adapter for the E1 Emulator ROEQ00010CKZ11 CN2 14 pin connector on the user Orientation key system TFM 107 02 L D SMT or TFM 107 01 L D DIP manufactured by Samtec Inc I Pin 1 Pin 13 User system Figure 2 14 Usage of the Small Connector Conversion Adapter for the E1 Emulator R20UT1994EJ0300 Rev 3 00 13 NE SAS Page 21 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System Table 2 4 Connector Pin Assignments when Small Connector Conversion Adapter for the E1 Emulator is Used Pin Other than the 20 pin and 24 pin 20 pin and 24 pin versions of No versions of RL78 G12 RL78 G12 Note Signal 1 2 Direction 3 Signal 1 2 Direction 3 1 GND 4 GND 4 2 R F U 6 R F U 6 3 VDD VDD 4 R F U 6 R F U 6 T 5 RESET_OUT 5 Input RESET_OUT 5 Input This pin is used to output reset signal to the target device 6 GND 4 GND 4 7 RESET OUT 5 Input RESET OUT 5 Input This pin is used to output reset signal to the target de
14. 2 NEC S AS C 7 i m o lt RY C e E1 E20 Emulator Additional Document for User s Manual Note on Connection for RL78 Supported Devices RL78 Family RL78 D1A RL78 F12 RL78 F13 RL78 F14 RL78 F1A RL78 G12 RL78 G13 RL78 G14 RL78 G1A RL78 G1C RL78 G1E RL78 11A RL78 11B RL78 I1D RL78 L12 RL78 L13 RL78 L1C All information contained in these materials including products and product specifications represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice Please review the latest information published by Renesas Electronics Corporation through various means including the Renesas Electronics Corporation website http www renesas com Renesas Electronics Rev 3 00 Aug 2014 WWW renesas com 10 11 12 Notice Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information Renesas Electronics has used reasonable care in preparing the information included in this document but Renesas Electronics does n
15. 3 11 8 Trace Function When selecting not to permit flash memory rewriting with the debugger s property the debug monitor area will not be located within 256 bytes below the end address of internal ROM However trace data cannot be acquired for this area R20UT1994EJ0300 Rev 3 00 RENESAS Page 33 of 36 Aug 25 2014 E1 E20 Emulator Additional Document for User s Manual Note on Connection for RL78 Publication Date Aug 25 2014 Rev 3 00 Published by Renesas Electronics Corporation 24 NESAS SALES OFFICES Renesas Electronics Corporation http Awww renesas com Refer to http Avww renesas com for the latest and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tek 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario L3Y 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 651 700 Fax 44 1628 651 804 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tek 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 301 Tower A Central Towers
16. 4 Pseudo real time RAM monitor function or the pseudo Dynamic Memory Modification Note the following points when using the pseudo real time RAM monitor function or the pseudo Dynamic Memory Modification DMM Standby mode HALT or STOP may be cancelled during monitoring The pseudo real time RAM monitor function or the pseudo Dynamic Memory Modification DMM does not operate while the CPU operating clock is stopped When the number of monitoring point are numerous the response of the debugger becomes slow Influence to the debugger response becomes small by using a watch panel instead of a memory panel When operating on the sub clock neither the pseudo RRM function nor the pseudo DMM function will operate Even when the RAM guard function is enabled memory contents can be rewritten by the pseudo DMM function R20UT1994EJ0300 Rev 3 00 RENESAS Page 32 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 11 5 Emulation of flash memory CRC accumulator function 1 High speed CRC code flash all area The operation result of CRC is different from actual result Because monitor program is arranged and reset vector is rewritten by on chip debugging Please check the operation of high speed CRC by using IECUBE or using device without E1 E20 2 General purpose CRC code flash specification area The operation result of CRC at following areas is different from actual result Because monitor program is arranged and reset v
17. 6 R F U 6 8 VDD E VDD 9 EMVDD 7 EMVDD 7 10 RESET_OUT 5 Input RESET_OUT 5 Input This pin is used to output reset signal to the target device 11 R F U 6 R F U 6 12 GND 4 GND 4 13 RESET_OUT 5 Input RESET_OUT 5 Input This pin is used to output reset signal to the target device 14 GND 4 GND 4 7 1 For details on the programming software refer to http www renesas com products tools flash prom programming 2 These are the names of the MCU pins at the time the E1 or E20 is connected i e during debugging 8 Input to or output from the user system 4 Securely connect pins 2 12 and 14 of the connector to GND of the user system These pins are used for electrical grounding as well as for monitoring of connection with the user system by the E1 E20 5 Securely connect both pin 10 and pin 13 6 This pin is reserved For the connection of the reserved pins see each circuit related to the pins 7 Connect the drive power of the TOOLO pin Please connect VDD when the MCU doesn t have power supplies other than VDD such as EVDD R20UT1994EJ0300 Rev 3 00 Aug 25 2014 7tENESAS Page 12 of 36 E1 E20 Emulator Designing the User System 2 4 Recommended Circuit between the Connector and the MCU This section shows recommended circuits for connection between the connector and the MCU when the E1 or E20 emulator is in use For processing of signals refer to section 2 5 Notes on Connection 2 4 1 Co
18. 994EJ0300 Rev 3 00 RENESAS Page 23 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 1 2 When Power is Supplied to the User System from the Emulator E1 Only lt When using the emulator gt 1 Connect the user system Connect the emulator and the user system with a user system interface cable 2 Connect the host machine and turn on the emulator Connect the emulator and the host machine with a USB interface cable then turn on the emulator 3 Launch the emulator debugger Launch the emulator debugger and select the setting of power supply to the user system lt When finished using the emulator gt 1 Close the emulator debugger Close the emulator debugger 2 Turn off the emulator and disconnect the emulator Disconnect the USB interface cable from the emulator then turn off the emulator 3 Disconnecting the user system Disconnect the user system interface cable from the user system 3 2 Power Supply Function of the E1 Emulator When using the power supply function of the E1 emulator check the voltage supplied to the user system Particularly when the 5 0V supply option is selected the voltage may drop 0 5V or more since it depends on the USB VBUS power supply voltage When debugging a system with two power supplies VDD EVDD etc to the MCU power cannot be supplied from the E1 emulator R20UT1994EJ0300 Rev 3 00 RENESAS Page 24 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 3 MCU Resources to be O
19. ESAS Page 25 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 3 1 Securing of debug monitor area This is the area to which the debug monitor program is to be allocated The monitor program performs initialization processing for debug communication interface and RUN or break processing for the CPU This user programs or data must not be placed in an area of 23 bytes near the on chip debug option byte and an area of 512 bytes before the internal ROM end address In addition reset vector is rewritten to address allocated to a monitor program How to secure areas It is not necessarily required to secure this area if the user program does not use this area However To avoid problems that may occur during the debugger startup it is recommended to secure this area in advance using the compiler Note 1 Becomes 256 bytes when the pseudo RRM function and pseudo DMM function are not used Example device with 256 Kbytes of on chip ROM Pseudo RRM DMM function is not used Monitor program is located at addresses 0x3FF00 to Ox3FFFF 256 bytes Pseudo RRM DMM function is used Monitor program is located at addresses 0x3FE00 to OxSFFFF 512 bytes R20UT1994EJ0300 Rev 3 00 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 3 2 Securing of stack area for debugging This area requires 4 bytes as the stack area for debugging Note Since this area is allocated immediately before the stack area the address of this area vari
20. VC8T245 74LVC125 an gt Figure 2 12 Internal Circuit of the E1 Emulator RL78 Family a R20UT1994EJ0300 Rev 3 00 7tENESAS Page 19 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 6 2 Internal Circuits of the E20 Emulator RL78 Family Figure 2 13 show the internal circuits of the E20 emulator User side connector 100kQ x2 TALVC T TALVC TALVC2 T 74LVC8 N a ia T IN Emulator E RESET OUT 10 Control circuit 14LVC8 J 74LVC8T245 74LNC125 gt Figure 2 13 Internal Circuits of the E20 Emulator RL78 Family a R20UT1994EJ0300 Rev 3 00 7tENESAS Page 20 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 7 Notes on Designing the User System 2 7 1 Isolators for the E1 and E20 Emulators For a debugging environment where there is a GND gap between the user system and host PC use the isolator for the E1 emulator ROE000010ACB20 that is separately available from Renesas 2 7 2 Small Connector Conversion Adapter for the E1 Emulator The small connector conversion adapter for the E1 emulator ROE000010CKZ11 is separately available from Renesas for a user system board which is too small to mount the 14 pin connector that is the standard connector for the E1 emulator By using the adapter you can reduce the area taken up by the connector mounted on your system When you use the Small Connector Conversion Adapter for the E1 Emulator ROE000
21. ccupied Figure 3 1 shows the areas which are occupied by the E1 or E20 emulator for debugging These areas shaded sections are used for debugging These areas should not be changed to save the user program or data If a change is made control by the E1 or E20 emulator is no longer possible However when No is selected in the Permit flash programming property of the debugger the internal ROM space shown in Figure 3 1 is not used only the internal RAM space is used When selecting not to permit flash memory rewriting with the debugger s property also refer to section 3 3 3 Setting of On chip debugging option byte and section 3 6 2 Operation for Voltages and Flash Operation Modes Not Permitting Flash Memory Rewriting intera Internal ROM Internal Internal RAM ROM end address Space RAM end address Space Debug monitor area 256byte tack area for debugging 4Byte or 12Byte Debug monitor area 256byte 000D8h Debug monitor area 000CEh byte Security ID area 10byte 000C4h d On chip debug option byte area 000C3h Ibyte 00004h Debug monitor area 00002h ays Reset vector area 00000h cote Figure 3 1 MCU Resources to be Occupied 1 The reset vector area is used by the program for the E1 or E20 emulator when performing debugging with the E1 or E20 emulator If the contents of the reset vector area are changed control by the E1 or E20 emulator is no longer possible R20UT1994EJ0300 Rev 3 00 7tEN
22. cts semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or systems manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited
23. e E1 E20 emulator user s manual has the following contents Components of the emulators Emulator hardware specification Connection to the emulator and the host machine and user system 2 E1 E20 Additional Documents for User s Manual Note on connectiong fo RL78 The E1 E20 Additional Documents for User s Manual Note on connectiong fo RL78 describes information necessary for hardware design such as connection examples interface circuits and notes on using the emulator 3 User s manual and help for the emulator debugger The user s manual and help for the emulator debugger describe the functions of the E1 E20 emulator debugger and the operating instructions CubeSuite Integrated Development Environment User s Manual RL78 Debug Help for e2 studio RL78 Family CubeSuite Debugging Using Hot Plug in Function When using C SPY made by IAR Systems also refer to IAR C SPY Hardware Debugger System User Guide issued by IAR Systems published by IAR Systems R20UT1994EJ0300 Rev 3 00 13 NE SAS Page 7 of 36 Aug 25 2014 E1 E20 Emulator Overview 1 4 Supported Devices Table 1 1 Supported Device List Item Description Target MCUs RL78 Family RL78 S2 Core 1 RL78 Dix RL78 D1A RL78 Fix RL78 Fi2 RL78 G1x RL78 G12 RL78 G13 RL78 G1A RL78 G1C RL78 G1E RL78 lix RL78 lA RL78 Lix RL78 L12 RL78 L13 RL78 Family RL78 S3 Core 1 RL78 Fix RL78 F13 RL78 F14 RL78 F1A RL78 G1
24. e internal RAM space of the device is less than 768 bytes Start address of internal RAM 0x20 Example When the start address of internal RAM is OxFEFOO OxEF20 3 6 Flash Memory 3 6 1 Flash Memory Programming by Self Programming 1 Areas which cannot be rewritten by self programming If a space where the debug monitor program is allocated is rewritten by flash self programming the debugger can no longer operate normally This caution also applies to boot swapping for such an area 2 Break occurring during self programming Though breaks other than a forced break can be generated while self programming is in progress step execution cannot be performed from where the break occurred If a forced break occurs during self programming control by the E1 or E20 emulator may not be possible R20UT1994EJ0300 Rev 3 00 RENESAS Page 29 of 36 Aug 25 2014 E1 E20 Emulator Notes on Usage 3 6 2 Operation for Voltages and Flash Operation Modes Not Permitting Flash Memory Rewriting When a voltage with which rewriting or erasure of flash memory cannot be performed has been selected or flash programming has been disabled with the debugger s property the following debugger operations that accompany flash memory rewriting will cause an error in the debugger and the operations will be invalidated Writing to internal flash memory Setting or canceling of software breakpoint Starting execution at the set software breakpoint position
25. e itself will damage the wiring Also be aware that the user system interface cable has the direction in which it must be inserted If the cable is connected in the wrong direction it may be damaged Correct example Incorrect example 2 3 Pin Assignments of the Connector on the User System 2 3 1 14 Pin Connector Specifications Figure 2 3 shows the specifications of the 14 pin connector Table 2 2 on the following pages shows the pin assignments Pin 1 mark Connector aii 8 25 0 23 0 6x 2 54 15 24 2 54 Connector top view d Pin 2 Pin 1 Pin 1 mark Unit mm Figure 2 3 Emulator Connector Specifications 14 Pin R20UT1994EJ0300 Rev 3 00 13 NE SAS Page 11 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System Table 2 2 14 Pin Connector Pin Assignments Other than the 20 pin and 24 pin 20 pin and 24 pin versions of Pin versions of RL78 G12 RL78 G12 No Signal 1 2 Direction Signal 1 2 Direction Note 3 3 1 R F U 6 R F U 6 Z 2 GND 4 GND 4 3 R F U 6 R F U 6 4 R F U 6 E RSTPU Input This pin is used to pull up the reset line Only when selecting the 20 pin or 24 pin version of the RL78 G12 5 TOOLO VO TOOLO O This pin is used to transmit command data to the target device 6 RESET IN Output RESET IN Output This pin is used to input reset signal from the user system 7 R F U
26. ector is rewritten by on chip debugging reset vector area debugging monitor area on chip debugging option byte area software break setting area 3 11 6 Break Function When System is selected in the Monitor clock property of the debugger if a break occurs while operating on the sub clock the E1 or E20 emulator switches the system clock to the main clock Note the following in such a case lf the external clock EXCLK is set as the main clock when a break occurs with the external clock stopped an error will occur because the clock cannot be switched Even if an SFR related to the clock is changed during a break this change will be set in the device just before the user program is executed Accordingly the status flag does not change the moment the SFR is changed When an SFR is rewritten to change the system clock to the sub clock during a break though the E1 or E20 emulator switches to the sub clock just before the user program is executed this sometimes results in an error after user program execution due to the oscillation stabilization wait time In this case set User for Monitor clock before debugging 3 11 7 Events can be set and deleted during user program execution Events can be set and deleted during user program execution However if a pin reset occurs after an event has been set or deleted the contents of the event that was set or deleted during user program execution will be cleared
27. es depending on the stack increase and decrease That is 4 extra bytes are consumed for the stack area used Make sure the stack area for debugging does not exceed the range of the internal RAM space indi Figure 3 2 shows an example in which the stack area has increased with the start address of the internal RAM space being OxFCFOO OxFFEDF OxFFEDF OxFFEDF Stack area Stack area Stack area for debugging Stack area Abytes or 12bytes Stack area for debugging Available Space Abytes or 12bytes In internal RAM Stack area for Available Space debugging OxFCFOO OxFCFOO In internal RAM OxFCFOO Abytes or 12bytes Figure 3 2 Variation of Address of Stack Area for Debugging Note 1 When the self programming is executed it will be 12 bytes Refer to the self programming manual for how to secure the stack area for self programming 3 3 3 Setting of On chip debugging option byte This is the area for the security setting to prevent the flash memory from being read by an unauthorized person For settable values refer to the user s manual for each MCU How to secure areas 1 Asetting method of On chip debug option byte is following a Embed the On chip debug option byte at addresses 0xC3 in the user program Embed the On chip debug option byte at addresses OxC3 in the user program b Set the On chip debug option byte by build tool link options For details on the setting method refer to the user s manual for the build tool
28. indicates that the pin signal is active low e g RESET R20UT1994EJ0300 Rev 3 00 RENESAS ae Aug 25 2014 E1 E20 Emulator Overview 1 Overview 1 1 Overview of E1 and E20 Emulators The E1 and E20 are on chip debugging emulators for Renesas s mainstream MCUs The E1 emulator is a highly affordable development tool providing basic debugging functions The E20 emulator is a development tool allowing sophisticated debugging through enhanced functions such as tracing and RAM monitoring as well as the basic debugging functions of the E1 The E1 and E20 emulators can also serve as a Flash Programmer 1 2 Note on Using E20 Emulator To use the large trace function and the realtime RAM monitoring function which are the primary features of the E20 emulator the target MCU must be equipped with a pin for outputting trace information The available functions are equivalent to those of the E1 emulator only the internal trace function in the MCU and memory reference and modification during execution The power supply function from the E20 is not supported R20UT1994EJ0300 Rev 3 00 7tENESAS Page 6 of 36 Aug 25 2014 E1 E20 Emulator Overview 1 3 Configuration of E1 E20 Emulator Manuals The E1 E20 manual consists of multiple parts the E1 E20 Emulator User s Manual and the additional documents for the user s manual for each MCU Be sure to read each part before using the E1 E20 emulator 1 E1 E20 emulator user s manual Th
29. n an RL78 G14 MCU whose ROM size is 64 Kbytes or less 3 Only RL78 F13 and RL78 F14 RL78 F1A R20UT1994EJ0300 Rev 3 00 13 NE SAS Page 8 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 Designing the User System 2 1 Connecting the E1 E20 Emulator with the User System To connect the E1 or E20 emulator hereinafter referred to as the emulator a connector for the user system interface cable must be mounted on the user system When designing the user system read this section of this manual and the hardware manual for the MCUs 2 2 Installing the Connector on the User System Table 2 1 shows the recommended connectors for the E1 and E20 emulators Table 2 1 Recommended Connectors Connector Specifications 14 pin connector 7614 6002 Sumitomo 3M Limited 14 pin straight type Japan 2514 6002 3M Limited 14 pin straight type other countries 1 38 pin of the E20 is not supported To use the E20 use the 38 pin 14 pin conversion adapter ROE000200CKA00 that comes with the E20 for connection 2 2 1 Connecting the User System Interface Cable to the 14 Pin Connector Figure 2 1 show an example of the connection between a user system interface cable of the 14 pin type and an E1 Figure 2 2 show an example of connection of the cable with the 14 pin connector to the E20 via the 38 pin to 14 pin conversion adapter 14 pin user system interface cable 14 pin connector 7614 6002 or 2514 6002 P d User system
30. nea aiaa i anadi 31 3 10 Final Evaluation of the User Program sese nnne nnne nnne 31 R20UT1994EJ0300 Rev 3 00 13 NE SAS Page 3 of 36 Aug 25 2014 E1 E20 Emulator Contents Bille Debug TUMCHONS ETE 32 SH ESO cU MR 32 3 11 2 Go To Here i ide ten teo eid ete n E a ats c e EC ER i ode us 32 3 11 3 Stamby FUNCTION 32 3 11 4 Pseudo real time RAM monitor function or the pseudo Dynamic Memory Modification 32 3 11 5 Emulation of flash memory CRC accumulator function essen 33 muestre E 33 3 11 7 Events can be set and deleted during user program execution ee 33 3 11 87 TRACE FUNCIONS eiaei aaae 33 R20UT1994EJ0300 Rev 3 00 7tENESAS Page 4 of 36 Aug 25 2014 E1 E20 Emulator Terminology Terminology Some specific words used in this user s manual are defined below Host machine This means a personal computer used to control the emulator User system This means a user s application system in which the MCU to be debugged is used User program This means the program to be debugged Programming Software In this document this indicates Renesas Flash Programmer that can be used with the E1 or E20 at the end of a pin name signal name at the end of a pin name signal name
31. nnection between the 14 Pin Connector and the RL78 family MCUs Except 20 Pin and 24 Pin Versions of the RL78 G12 Figure 2 4 shows a recommended circuit for connection between the 14 pin connector and the RL78 family MCUs except the 20 pin and 24 pin version of the RL78 G12 Note that though the format of the figure has been changed from the old edition R20UT1994EJ0200 of this manual the contents of the recommended circuit have not been changed 14 pin 2 54 mm pitch connector RESET IN Note3 RESET OUT Note3 Note7 Note8 Operation voltage i B for TOOLO TOOLO MCU Figure 2 4 Example of Connecting Between the 14 Pin Connector and the RL78 Family MCUs Except the 20 Pin and 24 Pin Version of RL78 G12 Notes 1 The circuits and resistance values listed are recommended but not guaranteed Determine the circuit design and resistance values by taking into account the specifications of the target device and noise For flash programming for mass production perform sufficient evaluation about whether the specifications of the target device are satisfied 2 For processing of pins not used by the E1 E20 refer to the user s manual of the device 3 For details on how to handle the RESET pin refer to section 2 5 Notes on Connection 4 The RESET IN pin is used only in debugging It is not necessary in flash programming by the programming software 5 The drive power supply of TOOLO is different depending on devices Defer to
32. ot warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas 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 Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration modification copy or otherwise misappropriation of Renesas Electronics product Renesas Electronics products are classified according to the following two quality grades Standard and High Quality The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots etc High Quality Transpo
33. r Supply is Used for the User System lt When using the emulator gt 1 Check the power is off Check that the user system is turned off When using the E20 emulator check its power switch is off 2 Connect the user system Connect the emulator and the user system with a user system interface cable 3 Connect the host machine and turn on the emulator Connect the emulator and the host machine with a USB interface cable The E1 emulator is turned on by connecting the USB interface cable When using the E20 emulator turn on its power switch 4 Turn on the user system Turn on the user system 5 Launch the emulator debugger Launch the emulator debugger lt When finished using the emulator gt 1 Close the emulator debugger Close the emulator debugger 2 Turn off the user system Turn off the user system 3 Turn off the emulator and disconnect the emulator When using the E20 emulator turn off its power switch Disconnect the USB interface cable from the E1 or E20 emulator The E1 emulator is turned off by disconnecting from the USB interface cable 4 Disconnecting the user system Disconnect the user system interface cable from the user system NCAUTION Notes on the User System Power Supply While the power of the user system is on do not turn off the host machine unplug the USB interface cable or turn off the power switch of the E20 emulator The user system may be damaged due to leakages current R20UT1
34. rtation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems and safety equipment etc Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury artificial life support devices or systems surgical implantations etc or may cause serious property damages nuclear reactor control systems military equipment etc You must check the quality grade of each Renesas 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 You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its produ
35. ser System lt Only the 20 Pin and 24 Pin Version of the RL78 G12 gt Recommended Circuit 14 pin 2 54mm pitch connector lt Only the 20 Pin and 24 Pin Version of the RL78 G12 gt when using the P125 KR1 SI01 function which is multiplexed with RESET 14 pin 2 54mm pitch connector REsET IN E Reset circuit i RESET_IN RSTPU MCU 470 510kQ RESET_OUT RESET MCU External circuit RESET_OUT RESET Note1 It is not necessary in flash programming by the programming software Note2 Connection is unnecessary when there is no reset circuit on the user system Figure 2 6 Connection of RESET Figure 2 7 Connection of RESET Only the 20 Pin and 24 Pin Version of the RL78 G12 Only the 20 Pin and 24 Pin Version of the RL78 G12 Except the 20 Pin and 24 Pin Versions of the RL78 G12 gt Recommended Circuit VDD 14 pin 2 54mm pitch connector RESET_IN Reset circuit RESET_OUT RESET Note1 It is not necessary in flash programming by the programming software Note2 Make the resistance of at least R1 ten times that of R2 R1 being 10 kQ or more Figure 2 8 Connection of RESET Except the 20 Pin and 24 Pin Versions of the RL78 G12 lt Only the 20 Pin and 24 Pin Version of the RL78 G12 gt lt Only the 20 Pin and 24 Pin Version of the RL78 G12 gt A jumper is used to switch between usage and non usage of the emulator The power on reset circuit is the only reset circuit on the user system 14 pin 14
36. termine the circuit design and resistance values by taking into account the specifications of the target device and noise For flash programming for mass production perform sufficient evaluation about whether the specifications of the target device are satisfied 2 Forprocessing of pins not used by the E1 E20 refer to the user s manual of the device 3 For details on how to handle the RESET pin refer to section 2 5 Notes on Connection 4 The RESET IN pin is used only in debugging It is not necessary in flash programming by the programming software 5 X Securely connect pins 2 12 and 14 of the connection to GND of the user system These pins are used for electrical grounding as well as for monitoring of connection with the user system by the E1 E20 6 Securely connect both pin 10 and pin 13 R20UT1994EJ0300 Rev 3 00 RENESAS Page 14 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 5 Notes on Connection Wiring patterns between the connector and the MCU must be as short as possible within 50 mm is recommended Do not connect the signal lines between the connector and MCU to other signal lines For the handling of pins while the E1 or E20 emulator is not in use refer to the hardware manual for the MCU 2 5 1 RESET Pin The RESET pin is used by the E1 or E20 emulator to monitor the pin state and issue a reset to the device Therefore a reset signal on the user system is once input to the E1 or E20 emulator where
37. the E1 Emulator ssssssessssseeeeeeeerenneen enne 24 3 3 MCU Resources to be Occupied sssssssssssssssssseseeee entente tentent nri nnne 25 3 3 1 Securing of debug monitor area sssssssssssseeseeeenne enne nnne nnne nnne tenen renes 26 3 3 2 Securing of stack area for debugging sse nnne nennen nennen 27 3 3 3 Setting of On chip debugging option byte nennen nennen enne 27 3 4 Setting of Security D ierit entertain rentre eater tread ea Le E eee EXE aidai 28 tM M 29 3 5 1 Operation after a reset ettet Hber ie ERR aepo repe RE ARR pa ee RE Batu pnr taa EE R SA AREE eR ES 29 35 2 SP value after a Reset oiu UE UU gri EHE ERE IER LED IR ans ee 29 3 5 Flash Memory eset oit estne e ite de on eoe os rte n gine etu edu ecttnteectent 29 3 6 1 Flash Memory Programming by Self Programming eesssseseeeeeeneeeeeenneeneen nennen nennen 29 3 6 2 Operation for Voltages and Flash Operation Modes Not Permitting Flash Memory Rewriting 30 3 7 GDIDI c 30 3 8 RESET PORT Multiplexed pin sse eee en nennen snnt in terrens nnn nennen inns 30 3 9 MCUs that are used in debugging sssssssssssssseseseeeneeennnee enne rnnt nnns 31 3 9 1 Standalone operation riti ecciesie es tec aaa aare ec a Leu Va slit cigare ncn e
38. tors for pull up of the TCK pin because they may affect or may be affected from other ins Do not install capacitors series resistors or filters on signal lines if attempted correct communication may not be established R20UT1994EJ0300 Rev 3 00 7tENESAS Page 17 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 5 3 GND The pins of the connector marked GND must be at the same ground level as the VSS pin of the MCU 2 5 4 VDD Connect the VDD of the connector to the VDD power supply of the user system Use the emulator within the power supply voltage of 1 8V to 5 5V and within the operating voltage range of the MCU When power is supplied to the user system from other than the emulator E1 E20 emulator consumes the power supply for the last output and first input buffers of the emulator E1 emulator 3 3V approximately 20mA 5 0V approximately 40mA E20 emulator 3 3V approximately 40mA 5 0V approximately 100mA The E1 emulator can supply power to a simple evaluation system Up to 200 mA current can be supplied When using the power supply function of the E1 emulator check the voltage supplied to the user system Particularly when the 5 0V supply option is selected the voltage may drop 0 5V or more since it depends on the USB VBUS power supply voltage On chip debugging circuit in the device operates during on chip debugging Therefore current consumption of the device increases When evaluating current cons
39. umption of device please do not connect a debugger Power supply from the E1 emulator depends on the quality of the USB power supply of the host machine and as such precision is not guaranteed When writing a program that requires reliability do not use the power supply function of the E1 emulator Use a stable separate power supply for the user system When writing a program for mass production processes use the Renesas Flash Programmer For details on the programming software refer to http www renesas com products tools flash prom programming WARNING Warning for Turning the Power On Off When supplying power ensure that there are no shorts between VDD and GND Only connect the E1 or E20 after confirming that there are no mismatches of alignment on the user system port connector Incorrect connection will result in the host machine the emulator and the user system emitting smoke or catching fire R20UT1994EJ0300 Rev 3 00 13 NE SAS Page 18 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 6 Internal Circuits of the Emulator 2 6 1 Internal Circuits of the E1 Emulator RL78 Family Figure 2 12 show the internal circuits of the E1 emulator differing with RL78 Family User side Power supply connector H VDD circuit only for use in the mode to supply power to thel user system 00k Q x 2 TALVC i 74LVC2 N A TT 74LVC8 Emulator Control circuit J E 74L
40. user s manual of device Please connect VDD when the MCU doesn t have power supplies other than VDD such as EVDD 6 Securely connect pins 2 12 and 14 of the connection to GND of the user system These pins are used for electrical grounding as well as for monitoring of connection with the user system by the E1 E20 7 Securely connect both pin 10 and pin 13 8 When you use hot plug in install a ceramic capacitor approx 0 1 uF between the RESET pin and GND in order to suppress a noise to the RESET pin that would occur when the emulator is connected R20UT1994EJ0300 Rev 3 00 RENESAS Page 13 of 36 Aug 25 2014 E1 E20 Emulator Designing the User System 2 4 2 Connection between the 14 Pin Connector and the RL78 Family MCUs Only the 20 Pin and 24 Pin Version of the RL78 G12 Figure 2 5 shows a recommended circuit for connection between the 14 pin connector and the RL78 family MCUs only the 20 pin and 24 pin version of the RL78 G12 Note that though the format of the figure has been changed from the old edition R20UT1994EJ0200 of this manual the contents of the recommended circuit have not been changed 14 pin 2 54mm pitch connector RESET IN Note3 RESET OUT Note3 Note6 4107 510 Figure 2 5 Example of Connection between the 14 Pin Connector and the RL78 family MCUs Only the 20 Pin and 24 Pin Version of the RL78 G12 Notes 1 The circuits and resistance values listed are recommended but not guaranteed De
41. vice 8 R F U 6 m R F U 6 x 9 R F U 6 E R F U 6 10 TOOLO VO TOOLO VO This pin is used to transmit command data to the target device 11 R F U 6 zm RSTPU Input This pin is used to pull up the reset line Only when selecting the 20 pin and 24 pin version of the RL78 G12 12 RESET IN Output RESET IN Output This pin is used to input reset signal from the user system 13 EMVDD 7 EMVDD 7 14 GND 4 GND 4 1 For details on the programming software refer to http www renesas com products tools flash prom programming 2 These are the names of the MCU pins at the time the E1 or E20 is connected i e during debugging 8 Input to or output from the user system 4 Securely connect pins 1 6 and 14 of the connector to GND of the user system These pins are used for electrical grounding as well as for monitoring of connection with the user system by the E1 E20 5 Securely connect both pin 5 and pin 7 6 This pin is reserved For the connection of the reserved pins see each circuit related to the pins T Connect the drive power of the TOOLO pin R20UT1994EJ0300 Rev 3 00 Please connect VDD when the MCU doesn t have power supplies other than VDD such as EVDD Aug 25 2014 7tENESAS Page 22 of 36 E1 E20 Emulator Notes on Usage 3 Notes on Usage 3 1 Turning the Power On Off Turn the power of the E1 or E20 emulator and the user system following the procedure below 3 1 1 When a Separate Powe
42. x RL78 G14 RL78 lix RL78 H B RL78 ID RL78 L1x RL78 L1C 1 For details on the RL78 S2 core or RL78 S3 core refer to RL78 Family User s Manual Software Table 1 2 Debugging Function List Type of the RL78 Core Description RL78 S2 RL78 S3 Memory reference or change during program execution Pseudo real time RAM monitor RRM Supported Supported CPU is used when monitoring Dynamic Memory ModificationDMM Supported Supported CPU is used when changing Event 1 points 2 points Can be used for hardware break Software break Supported Supported 2000 points Hardware break Supported Supported Commonly used by execution and access Forced break Supported Supported Acquired information Not Supported Branch source PC information supported 2 Start event Not Supported User program execution start and event start supported 2 End event Not Supported User program stop event completion and full trace supported 2 memory Performance Measurement item Supported Supported Between start and stop of user program execution measurement Performance Supported Supported Resolution 100 us max function measurement time 119 hours 18 min Hot plug in Not Supported supported 3 Coverage measurement function Not Not supported supported Notes 1 Only devices in which the trace function was implemented 2 The trace function is not supported i
Download Pdf Manuals
Related Search
Related Contents
Expedient User Manual – Getting Started Based on file VP103BOOK.DOC. as template (Normal.dot) NA250A PCIe Expansion Enclosure User Manual コンテンツ保護技術SAFIA対応 カセットハードディスク「iV Manual de instrucciones Eglo RICCIO 2 Empire Comfort Systems VFSUR30-2 User's Manual Emerson EM82811 User's Manual MICRO REGULATEUR SERIE PXR Monte Carlo Fan Company 5GL52 User's Manual Copyright © All rights reserved.
Failed to retrieve file