background image

E1/E20/E2/E2 Lite Additional Document 

 

1.   Overview 

R20UT1994EJ0900  Rev.9.00 

 

Page 7 of 58 

Jan.20.22 

 

1.   Overview 

This document explains notes on usage when the E1, E20, and E2 emulators and the E2 emulator Lite are 
connected to RL78 devices. 

1.1 

Overview of E1/E20/E2 Emulator and E2 emulator Lite 

In this document, we describe 

‘E2 Emulator’ as ‘E2’, ‘E1 Emulator’ as ‘E1’, ‘E20 Emulator’ as ‘E20’ and ‘E2 

e

mulator Lite’ as ‘E2 Lite’. 

The E1, E20, E2, and E2 Lite are on-chip debugging emulators for Renesas' mainstream MCUs.  

The E1 and E2 Lite are highly affordable development tools providing basic debugging functions. The E20 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 and E2 Lite. The E2 is a development tool 
providing a solution for the tuning of current consumption and an external trigger function as extended 
functions beyond the basic debugging functions of the E1 and E2 Lite. The E1/E20/E2/E2 Lite can also serve 
as a Flash Programmer. 

1.2 

Note on Using E20 

The large trace function and the real-time RAM monitoring function, which are the primary features of the 
E20, cannot be used with RL78 devices. 

The available functions are equivalent to those of the E1/E2 Lite (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. 

Содержание L78/G1A

Страница 1: ...nics Corporation without notice Please review the latest information published by Renesas Electronics Corporation through various means including the Renesas Electronics Corporation website http www r...

Страница 2: ...ALL WARRANTIES EXPRESS OR IMPLIED WITH RESPECT TO THIS DOCUMENT AND ANY RELATED OR ACCOMPANYING SOFTWARE OR HARDWARE INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS...

Страница 3: ...ut signal during power off state as described in your product documentation 4 Handling of unused pins Handle unused pins in accordance with the directions given under handling of unused pins in the ma...

Страница 4: ...Only the RL78 I1C 22 2 5 Notes on Connection 25 2 5 1 RESET Pin 25 2 5 2 TOOL0 Pin 28 2 5 3 GND 29 2 5 4 VDD 29 2 6 Internal Circuits of the Emulator 31 2 6 1 Internal Circuits of the E1 when the RL78...

Страница 5: ...10 3 Debugging in Standby Mode 49 3 10 4 Pseudo Real Time RAM Monitor Function or Pseudo Dynamic Memory Modification Function 50 3 10 5 Start Stop Functions 50 3 10 6 Emulation of Flash Memory CRC Acc...

Страница 6: ...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 E20 E2 or E2 Lite at the...

Страница 7: ...t tool allowing sophisticated debugging through enhanced functions such as tracing and RAM monitoring as well as the basic debugging functions of the E1 and E2 Lite The E2 is a development tool provid...

Страница 8: ...E2 Lite Hardware specifications of the E2 Lite Connection to the E2 Lite and the host machine and user system 4 E1 E20 E2 Emulator E2 Emulator Lite Additional Document for User s Manual Notes on Conn...

Страница 9: ...ore 1 RL78 F1x RL78 F13 RL78 F14 RL78 F15 RL78 F1A RL78 G1x RL78 G11 RL78 G14 RL78 G1H RL78 G1F RL78 G1G RL78 I1x RL78 I1B RL78 I1C RL78 I1D RL78 I1E RL78 L1x RL78 L1A RL78 L1C RL78 FGIC 3 RL78 G2x RL...

Страница 10: ...event Not supported Supported 2 User program stop event completion and full trace memory Performance measurement function Measurement item Supported Supported Between start and stop of user program e...

Страница 11: ...tput This section describes the specifications of the external trigger input and output which is one of extended functions of the E2 1 5 1 Assignments of the External Trigger Input and Output Pins The...

Страница 12: ...r voltage to be supplied any voltage from 1 8 V to 5 0 V as specified in the debugger When the power is not supplied from the emulator VDD voltage Conditions for detecting an external trigger input De...

Страница 13: ...ight type other countries Note Connection to the 38 pin connector of the E20 is not supported To use the E20 use the 38 pin to 14 pin conversion adapter that comes with the E20 for connection to the 1...

Страница 14: ...n 1 27 mm pin spacing to 14 pin 2 54 mm pin spacing connector conversion adapter 10 5 mm 20 pin 1 27 mm pin spacing to 14 pin 2 54 mm pin spacing connector conversion adapter top view 29 0 mm 1 3 Set...

Страница 15: ...00 Page 15 of 58 Jan 20 22 CAUTION Limit to the height on connector periphery For a case where the R0E000200CKA00 is used for connecting the E20 to a 14 pin connector do not mount other components wit...

Страница 16: ...6002 manufactured by 3M Ltd Japan 2514 6002 manufactured by 3M Ltd other countries The emulator is connected from this direction 2 mm 2 mm 2 mm 2 mm Area with limit on mounted components heights must...

Страница 17: ...r System 2 3 1 14 Pin Connector Specifications Figure 2 4 shows the specifications of the 14 pin connector Table 2 2 on the following pages shows the pin assignments of the 14 pin connector Figure 2 4...

Страница 18: ...4 Input RESET_OUT 4 Input This pin is used to output a reset signal to the target device 14 GND 3 GND 3 1 For details on the programming software refer to the following https www renesas com RFP 2 In...

Страница 19: ...nnection between the 14 Pin Connector and the RL78 Family MCUs in General Figure 2 5 shows a recommended circuit for connection between the 14 pin connector and the RL78 family MCUs in general MCU 8 V...

Страница 20: ...5 Notes on Connection 4 The RESET_IN pin is used only in debugging The emulator operates for flash programming by the programming software whether this pin is connected or not 5 The driving power supp...

Страница 21: ...nd 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 pro...

Страница 22: ...8 I1C Figure 2 7 shows the case when the battery backup function is in use Figure 2 8 shows the case when the battery backup function is not in use 8 VSS VDD 9 2 12 14 1 3 7 11 5 TOOL0 TOOL0 EMVDD VDD...

Страница 23: ...ed only in debugging The emulator operates for flash programming by the programming software whether this pin is connected or not 5 Securely connect pins 2 12 and 14 of the connection to GND of the us...

Страница 24: ...t whether the specifications of the target device are satisfied 2 For processing of pins not used by the E1 E20 E2 E2 Lite refer to the hardware manual for the device 3 The recommended circuit for the...

Страница 25: ...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 No Targe...

Страница 26: ...ple of RESET for RL78 Family MCUs in General The power on reset circuit is the only reset circuit on the user system 1 k to 10 kW Figure 2 10 Connection Example 2 of RESET RL78 Family MCUs in General...

Страница 27: ...T when the Target MCU is an RL78 I1C with the Battery Backup Function in Use The following describes points for caution regarding Figure 2 9 to Figure 2 14 Do not install capacitors series resistors o...

Страница 28: ...1 k and do not arrange these signal lines in parallel with or across other high speed signal lines TOOL0 14 pin 2 54 mm pitch connector MCU TOOL0 1 kW Driving power supply for TOOL0 Figure 2 15 Conne...

Страница 29: ...y 40 mA The E1 E2 E2 Lite can supply power to a simple evaluation system E1 Can supply power of 3 3 V or 5 0 V up to 200 mA E2 Can supply power of 1 8 V to 5 0 V up to 200 mA E2 Lite Can supply power...

Страница 30: ...he Power On Off When supplying power ensure that there are no shorts between VDD and GND Only connect the E1 E20 E2 E2 Lite after confirming that there are no mismatches of alignment on the user syste...

Страница 31: ...or control circuit User side connector 100 kW RSTPU VDD 4 8 22 W 74LVC125 74LVC8T245 3 3 V EMVDD TOOL0 5 74LVC125 EMVDD 74LVC125 74LVC8T245 6 RESET_IN 74LVC125 74LVC8T245 22 W 10 RESET_OUT 3 3 V 74LVC...

Страница 32: ...the RL78 family connected Emulator control circuit 100 kW RSTPU VDD 4 8 22 W 74LVC125 74LVC8T245 3 3 V EMVDD TOOL0 5 74LVC125 EMVDD 74LVC125 74LVC8T245 6 RESET_IN 74LVC125 74LVC8T245 22 W 10 RESET_OU...

Страница 33: ...duct revision 3 MW RSTPU VDD 4 8 3 3 V EMVDD TOOL0 5 EMVDD 6 RESET_IN 10 RESET_OUT 3 3 V 100 kW GND 14 13 RESET_OUT 2 12 GND EMVDD EMVDD 9 1 MW 74LVC1T45 74LVC1T45 74LVC1T45 74LVC1T45 74LVC1T45 0 1 F...

Страница 34: ...Power supply circuit only for use in the mode to supply power to the user system EMVDD EMVDD 9 47 W 1 MW 74LVC1T45 74LVC1T45 74LVC1T45 74LVC1T45 74LVC1T45 0 1 F 74LVC8T245 74LVC1T45 74LVC8T245 74LVC8T...

Страница 35: ...circuit RSTPU VDD 4 8 47 W 74LVC125 74LVC8T245 3 3 V TOOL0 5 74LVC125 74LVC125 74LVC8T245 6 RESET_IN 74LVC125 74LVC8T245 47 W 10 RESET_OUT 3 3 V 47 W 100 kW GND 14 74LVC8T245 13 RESET_OUT 47 W 2 12 G...

Страница 36: ...he adapter you can reduce the area taken up by the connector mounted on your system However when you use the small connector conversion adapter for the E1 be aware that the pin assignments of the conn...

Страница 37: ...78 I1C and 20 and 24 pin versions of the RL78 G12 are in use 12 RESET_IN Output RESET_IN Output This pin is used to input a reset signal from the user system 13 EMVDD 6 EMVDD 6 14 GND 3 GND 3 1 For de...

Страница 38: ...5 Turn on the user system Turn on the user system 6 Launch the emulator debugger or connect the programming software to the emulator Connections may vary depending on software When finished using the...

Страница 39: ...onnect the emulator Disconnect the USB interface cable from the emulator then turn off the emulator 4 Disconnect the user system Disconnect the user system interface cable from the user system When th...

Страница 40: ...on for Voltages and Flash Operation Modes Not Permitting Flash Memory Rewriting Figure 3 1 MCU Resources to be Occupied E1 E20 Figure 3 2 MCU Resources to be Occupied E2 E2 Lite 00000h Security ID are...

Страница 41: ...the area Specifically securing the area for the monitor program is not necessarily required if the user program does not use the area However to avoid problems that may occur while the debugger is sta...

Страница 42: ...0xFCF00 0xFFEDF Stack area for debugging 4 bytes or 12 bytes Stack area Available space in internal RAM 0xFCF00 0xFFEDF Stack area for debugging 4 bytes or 12 bytes Stack area 0xFFEDF 0xFCF00 Figure...

Страница 43: ...he on chip debugging option byte in either of the following ways a Embed the on chip debugging option byte at address 0xC3 in the user program b Set the on chip debugging option byte by the build tool...

Страница 44: ...same time method b has priority a Embed the security ID at addresses 0xC4 to 0xCD in the user program For example if the security ID shown in Table 3 1 is embedded as follows the security ID set by t...

Страница 45: ...ramming security ID by user program You can embed serial programming security ID to address 0xD6 to 0xE5 on user program For example if the serial programming security ID shown in is embedded as follo...

Страница 46: ...rogramming 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 E1 E20 E2 E2 Lit...

Страница 47: ...s Setting or canceling a monitoring point extended function of the E2 The operating frequency range and operating voltage range are set with the flash operation mode Correct operation may not be carri...

Страница 48: ...ave the contents of the MCU flash memory which were used for debugging nor use them as the ROM data for products 3 8 2 Standalone Operation After downloading a load module file to the device to for on...

Страница 49: ...The stepped execution is performed for an instruction that will generate an illegal memory access The software breakpoint is set at an instruction that will generate an illegal memory access and then...

Страница 50: ...ecution of the start stop functions is not possible However every time stepping over of CALL instructions and so on are internally run the start stop function is enabled Breaks cannot be used in start...

Страница 51: ...ed 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...

Страница 52: ...his delay is up to 350 ms when the operating frequency is 15 kHz 3 10 13 Points for Caution on Using the RL78 G23 3 10 13 1 Flash Read Protection Area for the RL78 G23 A flash read protection area whi...

Страница 53: ...fy Yes for Use wide voltage mode for CS and Use Wide Voltage Mode for the e2 studio in the Connect Settings tabbed page of the debugger If you specify No the emulator will not be activated The items U...

Страница 54: ...h the debugger 3 10 14 3 Caution about debugging program that causes internal reset In debugging with internal reset enabled on RL78 F24 in the case of a user program that causes internal reset immedi...

Страница 55: ...f on chip ROM Pseudo RRM pseudo DMM function start stop function and monitoring point are not in use Monitor program is located at addresses 0x3FF00 to 0x3FFFF 256 bytes Pseudo RRM pseudo DMM function...

Страница 56: ...ged 6 01 Mar 01 17 36 Note 4 was added to section 3 10 1 7 00 Jul 01 17 All Information on the E2 emulator was added 7 01 Apr 16 19 All Information on the RL78 FGIC was added 48 Section 3 10 11 RAM EC...

Страница 57: ...E1 E20 E2 Emulator E2 Emulator Lite Additional Document for User s Manual Notes on Connection of RL78 Publication Date Rev 9 00 Jan 20 22 Published by Renesas Electronics Corporation...

Страница 58: ...E1 E20 E2 Emulator E2 Emulator Lite Additional Document for User s Manual Notes on Connection of RL78 R20UT1994EJ0900...

Отзывы: