Summary of the content on the page No. 1
M3062PT-EPB
Emulation Probe for M16C/62 Group M16C/62P
User's Manual
Rev. 1.00
July 1, 2003
REJ10J0074-0100Z
Summary of the content on the page No. 2
* IC61-1004-051 is a trademark of Yamaichi Electronics Co., Ltd. * NQPACK, YQPACK, YQSOCKET, YQ-GUIDE, HQPACK, TQPACK and TQSOCKET are trademarks of Tokyo Eletech Corporation. Keep safety first in your circuit designs! • Renesas Technology Corporation and Renesas Solutions Corporation put the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fir
Summary of the content on the page No. 3
Preface The M3062PT-EPB is an emulation probe for the M16C/62 Group M16C/62P MCUs. The M3062PT-EPB is used by connecting to the PC7501 emulator main unit. This user's manual mainly describes specifications of the M3062PT-EPB emulation probe and how to setup it. For details on the following products, which are used with the M3062PT-EPB, refer to each product's user's manual. • Emulator: PC7501 User's Manual • Emulator debugger: M3T-PD30F User's Manual All the components of this product are shown
Summary of the content on the page No. 4
Contents Chapter 1. Precautions for Safety ...........................................................................................7 1.1 Safety Symbols and Meanings ..............................................................................8 WARNING .................................................................................................................9 Warning for Installation ...................................................................................9 Warning for Use Env
Summary of the content on the page No. 5
Chapter 3. Setup ...................................................................................................................25 3.1 Selecting Clock Supply .......................................................................................26 3.1.1 Clocks ...................................................................................................26 3.1.2 Using an Internal Oscillator Circuit Board ...........................................26 3.1.3 Using the Oscillator Circuit on
Summary of the content on the page No. 6
Terminology Some specific words used in this user's manual are defined as follows: PC7501 system This means an emulator system built around the PC7501 emulator. The PC7501 emulator system is configured with an emulator main unit PC7501, emulation probe M3062PT-EPB, emulator debugger M3T-PD30F and host machine. Emulator main unit PC7501 This means an emulator for the M16C Family MCUs. You can configure your emulator system by changing emulation probes according to your target MCU. Emulation probe
Summary of the content on the page No. 7
Chapter 1. Precautions for Safety This chapter describes precautions for using this product safely and properly. For precautions for the emulator main unit and the emulator debugger, refer to each user's manual included with your product. 1.1 Safety Symbols and Meanings ..................................................................................................... 8 WARNING Warning for Installation ............................................................................................
Summary of the content on the page No. 8
1.1 Safety Symbols and Meanings In both the User's Manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties. This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read this chapter before using this product. If the requirements shown in the "WARNING" sentences are ignored, the equipment may WARNING cause
Summary of the content on the page No. 9
WARNING Warning for Installation: • Do not set this product in water or areas of high humidity. Make sure that the main unit does not get wet. Spilling water or some other liquid into the main unit can cause an unrepairable damage. Warning for Use Environment: • This equipment is to be used in an environment with a maximum ambient temperature of 35°C. Care should be taken that this temperature is not exceeded. ( 9 / 80 )
Summary of the content on the page No. 10
CAUTION Caution to Be Taken for Modifying This Product: • Do not modify this product. Modifying or disassembling this product will void your warranty. Cautions to Be Taken for Turning On the Power: • Turn on the power of the emulator and target system as simultaneously as possible. • Turn off the power of the emulator and target system as simultaneously as possible. • Do not leave either the emulator or target system powered on, because of leakage current the internal circuits may be damaged. •
Summary of the content on the page No. 11
IMPORTANT Notes on Downloading Firmware: • Before using this product for the first time, it is necessary to download the dedicated firmware. Please note that, to do this, it is necessary to start up the emulator main unit in maintenance mode. For downloading firmware, see "4.2 Downloading Firmware" (page 48). Once the firmware has been downloaded, the product can be used by simply turning on the power. • Do not shut off the power while downloading the firmware. If this happens, the product will
Summary of the content on the page No. 12
IMPORTANT Note on NMI* Input: •A low input to pin NMI* from the target system is accepted only when a user program is being executed (when the RUN status LED on the PC7501's front panel is lit). Note on RDY* Input: • Be sure to input a low to pin RDY* of the target system during the user program execution (only while the RUN status LED on the PC7501's upper panel is lit). Inputting a low signal to pin RDY* when the user program is stopped may cause a malfunction of the emulator. Note on HOLD* In
Summary of the content on the page No. 13
IMPORTANT Note on Access Prohibited Area: • You cannot use internally reserved areas. Write signals to the areas will be ignored, and values read will be undefined. Notes on Stack Area: • With this product, a maximum 8 bytes of the user stack is consumed as a work area. Even if the user stack does not have an enough area, do not use areas which cannot be used as a stack (SFR area, RAM area which stores data, or ROM area) as a work area. Using areas like this is a cause of user program crashes an
Summary of the content on the page No. 14
IMPORTANT Note on Display of MCU Status: •"MCU status" you can refer to in the MCU tab of the MCU Setting dialog box of the emulator debugger shows pin levels of the target system. Make sure that proper pin levels are specified according to the mode you use. (1) When single-chip mode is used: CNVss: Low (2) When memory expansion mode 16-bit data bus width is used: CNVss: Low, BYTE: Low, HOLD*: High, RDY*: High (3) When memory expansion mode 8-bit data bus width is used: CNVss: Low, BYTE: High, H
Summary of the content on the page No. 15
IMPORTANT Notes on Address-Match Interrupts: •When you use the address-match interrupt function in a user program, uncheck "Enable the Address Match Interrupt Break Function" in the MCU tab of the Init dialog box of the emulator debugger. Thus, normal software breaks are used for the internal RAM and ROM areas of an MCU. • Do not set a software break at an address where an address-match interrupt occurs. Otherwise, a user program may be run out of control. Set a software or hardware break in the
Summary of the content on the page No. 16
IMPORTANT Note on Differences between the Actual MCU and Emulator: •Operations of the emulator system differ from those of actual MCUs as listed below. (1) Reset condition Set the time for starting up (0.2 Vcc to 0.8 Vcc) 1 µs or less. (2) Initial values of internal resource data of an MCU at power-on (3) Interrupt stack pointer (ISP) after a reset is released (4) Capacities of the internal memories (ROM and RAM) The evaluation MCU of this product has RAM of 31 KB (00400h--07FFFh) and flash ROM
Summary of the content on the page No. 17
IMPORTANT Note on Protect Register: • The protect is not canceled when bit 2 of protect register PRCR (PRC2), which enables writing into the port P9 direction register and the SI/Oi control register, is changed with the below procedure. (1) Step execution of an instruction setting PRC2 to "1" (2) Setting a break point between an instruction setting PRC2 to "1" and a point where the port P9 direction register or the SI/Oi control register is set (3) Setting PRC2 to "1" by the memory window or scr
Summary of the content on the page No. 18
IMPORTANT Notes on Debugging in CPU Rewrite Mode: • When you debug an M16C/62P MCU of the M16C/62 group in CPU rewrite mode, do not change the block 0 area (FF000h--FFFFFh) of the flash memory. Otherwise, the emulator will be uncontrollable. • If you check "Debug the program using CPU Rewrite Mode" in the MCU tab of the Init dialog box of the emulator debugger, you cannot use the following functions. (1) Setting software breakpoints in an internal ROM area (2) Executing COME in an internal ROM a
Summary of the content on the page No. 19
Chapter 2. Preparation This chapter describes the package components, the system configuration and the preparation for using this product for the first time. 2.1 Package Components................................................................................................................... 20 2.2 Other Tool Products Required for Development......................................................................... 20 2.3 Name of Each Part ......................................................
Summary of the content on the page No. 20
2.1 Package Components The M3062PT-EPB package consists of the following items. When unpacking it, check to see if your M3062PT-EPB contains all of these items. Table 2.1 Package components Item Quantity M3062PT-EPB emulation probe 1 M30800T-PTC converter board for 100-pin 0.65-mm-pitch LCC 1 IC61-1004-051 LCC socket (100-pin 0.65-mm-pitch) made by Yamaichi Electronics Co., Ltd. 1 OSC-3 (16 MHz) oscillator circuit board 1 OSC-2 oscillator circuit bare board 1 Resistor arrays (51 k Ω) for ports P