Table of Contents
1. Overview .......................................................................................................................... 6
1.1 Overview of E2 Emulator and E2 Emulator Lite ...................................................................................... 6
1.2 Configuration of E2/E2 Lite Manuals ....................................................................................................... 6
1.3 Supported Devices ................................................................................................................................... 7
1.4 Debugging Functions ............................................................................................................................... 7
2. Designing the User System ............................................................................................. 8
2.1 Connecting the E2/E2 Lite with the User System .................................................................................... 8
2.2 Installing the Connector on the User System .......................................................................................... 8
2.2.1 Connecting the User System Interface Cable to the 20-Pin Connector ........................................ 9
2.3 Pin Assignments of the Connector on the User System ........................................................................ 10
2.3.1 20-Pin and 10-Pin Connector Specifications ............................................................................... 10
2.4 Recommended Circuit between the Connector and the MCU............................................................... 12
2.4.1 SWD Interface Connection between the 20-Pin and 10-Pin Connectors and the MCU .............. 12
2.5 Notes on Connection ............................................................................................................................. 13
2.5.1 RES# Pin ...................................................................................................................................... 13
2.5.2 MD Pin .......................................................................................................................................... 14
2.5.3 EHMD Pin..................................................................................................................................... 14
2.5.4 GND ............................................................................................................................................. 15
2.5.5 VCC .............................................................................................................................................. 15
2.5.6 TxD9 and RxD9 Pins (Flash Programming via an SCI) ............................................................... 15
2.6 Internal 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 Connecting the Emulator Debugger ............................................................................. 20
3.3.2 Notes on a Debugging Operation that Involves Reprogramming of Flash Memory .................... 22
3.3.3 Note on Using Software Breaks in the On-Chip SRAM ............................................................... 24
3.3.4 Notes on Using Software Breaks (Common to the On-Chip SRAM and Flash Memory) ............ 24
3.3.5 Note on Peripheral I/O Registers Occupied by the Debugger ..................................................... 25
3.3.6 Note on Using the Trace Function ............................................................................................... 25
3.3.7 Notes on Low-Power Modes ........................................................................................................ 25
3.3.8 Notes on Power Supply Modes .................................................................................................... 26
3.3.9 Notes on Power Control Modes ................................................................................................... 26
3.3.10 Note on the Memory Protection Units (MPUs) ............................................................................. 26
3.4 MCUs that are Used in Debugging ........................................................................................................ 27
3.5 Final Evaluation of the User Program .................................................................................................... 27