background image

 

© 2019 Renesas Electronics Corporation. All rights reserved

 

 

Notice 

1.  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 or any other use of the circuits, software, and information in the 
design of your product or system. Renesas Electronics disclaims any and all liability for any losses and damages incurred by you or third parties 
arising from the use of these circuits, software, or information. 

2.  Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other claims involving 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, including but not limited to, the product data, drawings, charts, programs, algorithms, and application examples.   

3.  No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics 

or others. 

4.  You shall not alter, modify, copy, or reverse engineer any Renesas Electronics product, whether in whole or in part. Renesas Electronics disclaims 

any and all liability for any losses or damages incurred by you or third parties arising from such alteration, modification, copying or reverse 
engineering. 

5.  Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High Quality”. The intended 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; industrial robots; etc. 

 

"High Quality":  Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale communication equipment; key 

financial terminal systems; safety control equipment; etc. 

Unless expressly designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas 
Electronics document, Renesas Electronics products are not intended or 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 damage (space 
system; undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). Renesas 
Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas 
Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document. 

6.  When using Renesas Electronics products, refer to the latest product information (data sheets, user’s manuals, application notes, “General Notes for 

Handling and Using Semiconductor Devices” in the reliability handbook, etc.), and ensure that usage conditions are within the ranges specified by 
Renesas Electronics with respect to maximum ratings, operating power supply voltage range, heat dissipation characteristics, installation, etc. 
Renesas Electronics disclaims any and all liability for any malfunctions, failure or accident arising out of the use of Renesas Electronics products 
outside of such specified ranges. 

7.  Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products, semiconductor products have specific 

characteristics, such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Unless designated as a high 
reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas 
Electronics products are not subject to radiation resistance design. You are responsible for implementing safety measures to guard against the 
possibility of bodily injury, injury or damage caused by fire, and/or danger to the public in the event of a failure or malfunction of Renesas Electronics 
products, 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 and impractical, you are responsible for evaluating the safety of the final products or systems manufactured by you. 

8.  Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas 

Electronics product. You are responsible for carefully and sufficiently investigating applicable laws and regulations that regulate the inclusion or use 
of controlled substances, including without limitation, the EU RoHS Directive, and using Renesas Electronics products in compliance with all these 
applicable laws and regulations. Renesas Electronics disclaims any and all liability for damages or losses occurring as a result of your noncompliance 
with applicable laws and regulations. 

9.  Renesas Electronics products and technologies shall not be used for or incorporated into any products or systems whose manufacture, use, or sale is 

prohibited under any applicable domestic or foreign laws or regulations. You shall comply with any applicable export control laws and regulations 
promulgated and administered by the governments of any countries asserting jurisdiction over the parties or transactions. 

10.  It is the responsibility of the buyer or distributor of Renesas Electronics products, or any other party who distributes, disposes of, or otherwise sells or 

transfers the product to a third party, to notify such third party in advance of the contents and conditions set forth in this document. 

11.  This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics. 
12.  Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas 

Electronics products. 

(Note1)  “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its directly or indirectly controlled 

subsidiaries. 

(Note2)  “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics. 

 

(Rev.4.0-1    November 2017) 

 

Corporate Headquarters 

 

Contact information 

TOYOSU FORESIA, 3-2-24 Toyosu, 

Koto-ku, Tokyo 135-0061, Japan 

www.renesas.com

 

 

For further information on a product, technology, the most up-to-date 

version of a document, or your nearest sales office, please visit: 

www.renesas.com/contact/

Trademarks 

 

 

Renesas and the Renesas logo are trademarks of Renesas 

Electronics Corporation. All trademarks and registered trademarks 

are the property of their respective owners. 

 

 

 

 

 

Summary of Contents for E2 Emulator

Page 1: ...ained 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 Corp without notice Please review the latest information published by Renesas Electronics Corp through various means including the Renesas Electronics Corp website http www renesas com ...

Page 2: ...ons failure or accident arising out of the use of Renesas Electronics products outside of such specified ranges 7 Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Unless designated as a hi...

Page 3: ...put 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 manual The input pins of CMOS products are generally in the high impedance state In operation with an unused pin in the open circuit state extra electromagnetic noise is induced in the vicinity of the ...

Page 4: ... Circuits of the Emulator 16 2 6 1 Internal Circuits of the E2 16 2 6 2 Internal Circuits of the E2 Lite 17 3 Notes on Usage 18 3 1 Turning the Power On Off 18 3 1 1 When a Separate Power Supply is Used for the User System 18 3 1 2 When Power is Supplied to the User System from the Emulator 19 3 2 Power Supply Function of the E2 E2 Lite 19 3 3 Notes on Using the Emulator Debugger 20 3 3 1 Notes on...

Page 5: ...ans 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 the Renesas Flash Programmer that can be used with the E2 or E2 Lite at the end of a pin name signal name at the end of a pin name signal name indicates that the pin signal is active low e g RES ...

Page 6: ...s manual before using the E2 or E2 Lite 1 E2 emulator user s manual The E2 emulator user s manual has the following contents Components of the E2 E2 hardware specification Connection to the E2 and the host machine and user system 2 E2 Emulator Lite user s manual The E2 Emulator Lite user s manual has the following contents Components of the E2 Lite E2 Lite hardware specification Connection to the ...

Page 7: ...ess four points data access two points Forced break Trace Information acquired Branch source PC values branch destination PC values occurrence of interrupts and return from interrupts Start event Start of user program execution End events Stopping the user program and trace memory becoming full Performance measurement Measurement item Between start and stop of user program execution Hot plug in Ex...

Page 8: ...pe 10 pin 1 27 mm pin pitch connector FTSH 105 01 L DV without a marking for matching the position of the connector keying shroud Samtec 10 pin SMT straight type Note When using a connector without a guide marking keying shroud type take care with regard to the direction for insertion of the cable Table 2 2 User System Interface Cables Cable Type E2 E2 Lite 20 pin to 20 pin cable for the 20 pin 1 ...

Page 9: ...ce cable with the 20 pin 1 27 mm pin pitch connector Figure 2 1 Connecting the User System Interface Cable to the 20 Pin Connector of the E2 E2 Lite 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 cable itself will damage the wiring Also be...

Page 10: ...ifications Figure 2 2 shows the specifications of the 20 pin and 10 pin connectors Table 2 3 shows the pin assignments of the 20 pin and 10 pin connectors for SWD interface connection Pin 2 Pin 1 FTSH 110 01 L DV K Pin 2 Pin 1 FTSH 105 01 L DV K Pin 2 Pin 1 FTSH 105 01 L DV Unit mm 5 56 5 56 3 43 3 43 12 70 6 35 6 35 5 56 3 43 Figure 2 2 20 Pin and 10 Pin Connector Specifications ...

Page 11: ...ata for flash programming 5 GND 3 6 NC 7 NC 8 NC 9 GND 3 10 RES I O User system reset 11 NC 4 12 NC 4 13 NC 4 14 NC 4 15 GND 3 4 16 NC 4 17 GND 3 4 18 NC 4 19 GND 3 4 20 NC 4 Notes 1 These are the names of the MCU pins at the time the E2 E2 Lite is connected i e during debugging 2 Input to or output from the user system 3 Securely connect pins 3 5 9 15 17 and 19 of the connector to GND on the user...

Page 12: ...h connector VCC SWCLK RxD SWDIO TxD RES GND Pull up at 4 7 kΩ to 10 kΩ 3 5 9 15 17 19 1 10 4 1 RES VCC Not connected 6 7 8 11 12 13 14 16 18 20 1 MCU VCC VCC 2 Figure 2 3 Example of Connection between the 20 Pin and 10 Pin Connectors and the MCU in SWD Interface Connection Notes 1 If a 10 pin 1 27 mm pin pitch connector is mounted on the user system pins 11 to 20 are not used 2 The output of the r...

Page 13: ...f the user system includes a user logic reset circuit the output signal from the reset circuit must be connected to the RES pin of the connector via an open collector buffer as shown below If there is no reset circuit the RES pin from the connector must be directly connected to the RES pin of the MCU When a reset circuit is included When a reset circuit is not included VCC 4 7 kΩ to 10 kΩ RES Conn...

Page 14: ...the contents of flash memory are being rewritten by the programming software the MD pin must be handled so that it is switched to the low level The circuit for the MD pin of the MCU includes a pull up resistor MCU MD 4 7 kΩ to 10 kΩ Figure 2 5 Connection of the MD Pin 2 5 3 EHMD Pin In debugging with the E2 E2 Lite the MCU cannot enter the energy harvesting mode The EHMD pin must be handled so tha...

Page 15: ...upply 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 E2 E2 Lite Use a stable separate power supply for the user system As the software when writing a program in a mass production process use the Renesas Flash Programmer For details on the programming software refer to the following Renesas Fla...

Page 16: ...erface 74LVC1T45 74LVC1T45 74LVC8T245 3 3 V Emulator control circuit 47 Ω NFL21SP Noise filter 47 Ω Noise filter 1 MΩ x 2 47 Ω VCC SWCLK RxD 1 Power supply circuit only for use in the mode to supply power to the user system User side connector 4 2 SWDIO TxD 9 10 3 5 15 17 19 GND 100 kΩ GND RES Self recovering fuse 100 kΩ 3 3 V 74LVC1T45 74LVC1T45 0 1 uF NFL21SP Figure 2 7 Internal Circuits of the ...

Page 17: ...a the SWD interface 74LVC125 74LVC8T245 74LVC125 3 3 V Emulator control circuit 74LVC8T245 3 3 V VCC 1 2 4 9 10 3 5 15 17 19 GND 100 kΩ SWCLK GND RES SWDIO 74LVC125 47 Ω 100 kΩ x 3 Power supply circuit only for use in the mode to supply power to the user system User side connector 47 Ω 47 Ω 47 Ω Self recovering fuse Figure 2 8 Internal Circuits of the E2 Lite with the MCU Connected via the SWD Int...

Page 18: ...ystem Turn on the user system 6 Connect the emulator debugger or programming software to the emulator Connections may vary depending on software When finished using the emulator 1 Disconnect the emulator from the emulator debugger or programming software Disconnections may vary depending on software 2 Turn off the user system Turn off the user system 3 Close the emulator debugger or programming so...

Page 19: ...ow Figure 3 1 Setting for Supplying Power 4 Connect the emulator debugger or programming software to the emulator Connections may vary depending on software When finished using the emulator 1 Disconnect the emulator from the emulator debugger or programming software Disconnections may vary depending on software 2 Close the emulator debugger or programming software Close the emulator debugger or pr...

Page 20: ...s Window 3 3 1 Notes on Connecting the Emulator Debugger 1 Reset state Under Connection on the Connection Settings tabbed page be sure to select Yes for Hold reset during connect the operation is explained for the case when the e2 studio is in use When Yes is selected during connection to the emulator debugger the emulator maintains the low level output on the RES pin of the MCU and places the MCU...

Page 21: ... the operation is explained for the case when the e2 studio is in use For example when the following values have been secured enter 00112233445566778899aabbccddeeff const unsigned long __OSISreg 4 0x00112233 0x44556677 0x8899aabb 0xccddeeff Figure 3 5 Setting of ID Code Bytes 4 Entering the ALeRASE command for ID code If an ALeRASE command is entered in ID Code Bytes under Connection on the Connec...

Page 22: ...t Work RAM Start Address under Flash on the Debug Tool Settings tabbed page for the emulator debugger the operation is explained for the case when the e2 studio is in use Note The DMAC or DTC will continue to operate even during a break Take care that a transfer source or destination for the DMAC or DTC is not within the address range of the working RAM where the program is to be allocated Figure ...

Page 23: ...ea which has been specified for the security MPU for Flash in the Debug Tool Settings tabbed page of the emulator debugger select Yes for Erase on chip program flash before download the operation is explained for the case when the e2 studio is in use Figure 3 8 Setting of Erase on chip program flash before download 6 Access window function When the access window function of the MCU is to be used o...

Page 24: ...iting of software breakpoints by user programs If a software breakpoint is overwritten by a user program the program will not stop even if it runs through the address In such a case set the software breakpoint after the target on chip SRAM has been rewritten by the program 3 3 4 Notes on Using Software Breaks Common to the On Chip SRAM and Flash Memory 1 Setting software breakpoints in a secure ar...

Page 25: ...rea For details on the address where the on chip SRAM starts refer to the hardware manual for the given MCU If the size of the trace recording area for the emulator debugger is changed the startup routine must also be changed 3 3 7 Notes on Low Power Modes 1 Debugging in SSTBY or SNOOZE mode In SSTBY or SNOOZE mode the emulator debugger does not have access to the system bus of the MCU While the u...

Page 26: ...PWON or EXFPWON mode the state of flash memory to which power has been shut down cannot be confirmed even if contents of code flash memory are being displayed on the emulator debugger Program data that have been downloaded continue to be displayed by the emulator debugger To confirm the transition to MINPWON or EXFPWON mode refer to the status register 3 Current drawn during debugging Since the de...

Page 27: ...e Used in Debugging After debugging with the E2 E2 Lite if the MCU is disconnected from the emulator and run on its own correct operation cannot be guaranteed To operate the MCU on its own use the programming software to re program the MCU MCUs that are connected to the E2 E2 Lite and used in debugging are placed under stress by repeated programming of flash memory during emulation Do not use MCUs...

Page 28: ...Revision History E2 Emulator E2 Emulator Lite Additional Document for User s Manual Notes on Connection of RE Devices Rev Date Description Page Summary 1 00 Jul 16 19 ...

Page 29: ...E2 Emulator E2 Emulator Lite Additional Document for User s Manual Notes on Connection of RE Devices Publication Date Rev 1 00 Jul 16 19 Published by Renesas Electronics Corporation ...

Page 30: ...R20UT4582EJ0100 E2 Emulator E2 Emulator Lite Additional Document for User s Manual Notes on Connection of RE Devices ...

Reviews: