Page 1
M306K9T2-CPE Compact Emulator with Real-time Trace Functions for M306K9 User's Manual Rev. 1.00 May 1, 2003 REJ10J0042-0100Z...
Page 2
Notes regarding these materials • These materials are intended as a reference to assist our customers in the selection of the Renesas Technology product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corporation, Renesas Solutions Corporation or a third party.
Page 3
The M306K9T2-CPE is a compact emulator with the real-time trace functions for the M16C/6K Group M306K9 of 16-bit microcomputers. This user's manual mainly describes specifications of the M306K9T2-CPE and how to set up and operate it. For details on emulator debugger M3T-PD30M, C compiler M3T-NC30WA (entry version) and integrated development environment TM, refer to each product's user's manual.
Page 4
• Emulator This means the M306K9T2-CPE (this product). • Emulator system This means an emulator system built around the M306K9T2-CPE emulator. The M306K9T2-CPE emulator system is configured with an emulator, host machine and emulator debugger. • Host machine This means a personal computer used to control the emulator.
Contents Chapter 1. Precautions for Safety ................... 7 1.1 Safety Symbols and Meanings ................8 Chapter 2. Usage ........................15 2.1 Name of Each Part ....................16 (1) System Configuration ................16 (2) Name of Each Part of the Emulator ............17 2.2 Starting Up the Emulator ..................
Page 6
Chapter 5. Troubleshooting ....................43 5.1 Troubleshooting Until the Emulator Starts Up ........... 44 (1) Troubleshooting When the Emulator Starts Up ........45 (2) Troubleshooting When Emulator Debugger PD30M Starts Up ....46 5.2 Troubleshooting When Using Emulator Debugger PD30M ....... 47 5.3 If Emulator Operation is Abnormal ..............
Chapter 1. Precautions for Safety This chapter describes precautions for using this product safely and properly. For precautions for the emulator debugger, refer to user's manual included with your product. 1.1 Safety Symbols and Meanings ..................... 8 Warning for Handling This Product ................9 WARNING Warning for Installation ....................
Chapter 1. Precautions for Safety 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.
WARNING Warning for Handling This Product: • Do not disassemble or modify this product. Disassembling or modifying this product can cause damage. Warning for Installation: • Do not set this product in water or areas of high humidity. Spilling water or some other liquid into the main unit can cause an unrepairable damage.
IMPORTANT Notes on Differences between the Actual MCU and Emulator: • Operations of the emulator differs from those of flash version MCUs as listed below. (1) Reset condition Set the time for starting up (0.2 to 0.8 Vcc) 1 µs or less. (2) Data values of ROM areas at power-on When power is turned on, the ROM areas of the emulator are defaulted to 04h.
IMPORTANT Note on MCU Functions That Cannot Be Used with This Emulator: • The following MCU features cannot be used with this emulator. (1) Debugging cannot be done with this emulator in neither memory expansion nor microproces- sor mode. M306K9 MCUs are specifically designed for use in single-chip mode. •...
IMPORTANT Note on Restrictions in Using the Emulator (1/2): • The following restrictions apply to this emulator. (1) Debug command execution when the BCLK is stopped When the BCLK is stopped, debug commands (break, dump, single-step, forced stop, etc.) cannot be executed. The BCLK can stop in the following cases. •...
IMPORTANT Note on Restrictions in Using the Emulator (2/2): • The following restrictions apply to this emulator. (11) DMA transfer With this product, the program is stopped with a loop program to a specific address. Therefore, if a DMA request is generated while the program is stopped, DMA transfer is executed. However, make note that DMA transfer while the program is stopped may not be performed correctly.
Chapter 2. Usage This chapter describes how to operate this product. 2.1 Name of Each Part ........................16 2.2 Starting Up the Emulator ......................19 2.3 Emulator Initial Settings ......................20 2.4 Connecting the Emulator System ....................22 2.5 Connecting the Target System (As Occasion Demands) ............23 2.6 Turning On the Power ........................
Host machine USB interface cable (not included) Figure 2.1 System configuration (1) Emulator M306K9T2-CPE (included) This is a compact emulator for the M16C/6K Group M306K9 of 16-bit microcomputers with the real-time trace functions (hereafter, emulator). (2) USB interface cable (included) This is an interface cable for the host machine and the emulator.
LED6: Program execution (RUN) COMPACT EMULATOR MADE Figure 2.2 Name of each part of the emulator (upper side of the M306K9T2-CPE) (1) System status LEDs The system status LEDs indicate the emulator main unit's power supply. Table 2.1 lists the definition of system status LED.
Page 18
(3) System reset switch By pressing the system reset switch, you can initialize the emulator system. Table 2.3 shows the functions of the system reset switch depending on the state of the emulator. Table 2.3 Functions of the system reset switch State of Emulator Function Initializes the emulator and waits for a command from the...
2.2 Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2.3. For details, refer to each section hereafter. And, when the emulator does not start up normally, refer to "Chapter 5. Troubleshooting" (page 43). Set the switch according to the connection to the Set the MCU power supply source target system.
2.3 Emulator Initial Settings Set the MCU power supply selection jumpers and the function selection switch of the emulator according to conditions of use. LED1 POWER SAFE LED2 JP1: MCU power supply source selection jumper (Factory-setting: INT) LED3 POWER CLOCK RESET LED6 COMPACT EMULATOR...
(2) Function Selection Switches According to the usage, set these switches as described in Table 2.5 below. Table 2.5 Setting function selection switches Signal Switch Setting Description Connects pin P87/X of the MCU to the target system (uses pin P87/XCIN as P87). XCIN Factory-setting P87/XCIN...
2.4 Connecting the Emulator System How to connect the emulator system is described hereafter. To emulator power supply To host machine Connect the power cable to connector J1. Connect the USB interface cable to connector J2. LED1 POWER SAFE LED2 LED3 POWER CLOCK...
2.5 Connecting the Target System (As Occasion Demands) To connect the target system you need a pitch converter board (not included) shown in Figure 2.8. Be sure to align the position of No. 1 pin to connect it. M306K9T2-CPE connector (bottom) 144-pin 0.4-mm-pitch...
(2) Attach the YQPACK144SE included with the M3T-FLX-144NSE to the NQPACK144SE. (3) Insert the YQ-GUIDE's included with this product to the YQPACK144SE. (4) Attach the M306K9T2-CPE to the M3T-FLX-144NSE. (5) Attach the M3T-FLX-144NSE to the YQPACK144SE. Figure 2.9 Connecting to a 144-pin 0.4-mm-pitch foot pattern...
2.6 Turning On the Power (1) Checking the Connection of the Emulator System Before turning the power ON, check the connection of the host machine and the emulator main unit. (2) Turning On the Power Power ON the target system and the emulator main unit as simultaneously as possible. CAUTION Notes on Power Supply: •...
(3) LED Display When the Emulator Starts Up Normally After the emulator starts up, check the status of the LEDs to see whether the emulator operation is enabled or not. LED1 POWER System status LED SAFE LED2 LED3 POWER CLOCK Target status LED RESET LED6...
To start up the emulator debugger, follow the steps below. Click the Start button of Windows. And select Program (P) -> [RENESAS-TOOLS] -> [PD30M V.2.00 Release 1] -> [PD30M]. 2.8 Setting the Operating Environment of Emulator Debugger PD30M After starting up PD30M, as the Init dialog box will open, set as shown in Figure 2.13. For details on the Init dialog box, refer to the user's manual of PD30M.
Chapter 3. Changing the Settings This chapter describes how to change the setting of this product. 3.1 Using the Emulator without the Target System ................. 30 3.2 Using the Emulator with the Target System................30 3.3 Selecting a Clock Supplied to an MCU ..................31 3.4 Mounting A-D Conversion Bypass Capacitors ................
Chapter 3. Changing the Settings 3.1 Using the Emulator without the Target System How to use the emulator without the target system is shown below. (1) Set the "MCU power supply source selection jumper" to INT side (see page 20). The target MCU operates with 3.3 V of power supply voltage supplied from the emulator.
3.3 Selecting a Clock Supplied to an MCU There are two ways to supply a clock to the MCU, using the oscillator circuit of the emulator or using the oscillator circuit on the target system. Table 3.1 lists the factory-settings of each clock supply. Table 3.1 Clock supply to the MCU Clock Description...
(2) Using the Oscillator Circuit on the Target System To operate the compact emulator with the oscillator circuit on the target system, construct the oscillator circuit as shown in Figure 3.1 in the target system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into pin X .
(3) Changing the Internal Oscillator Circuit of the Emulator An oscillator circuit board for 16 MHz (OSC-3) is mounted on this product. To use this product at a frequency other than 16 MHz, build the desired oscillator circuit on the included OSC-2 oscillator circuit board (bare board) and replace the board installed in this product when shipped from the factory.
(4) Replacing Oscillator Circuit Boards Figure 3.5 shows how to replace the oscillator circuit boards. L E D 1 POWER S A F E L E D 2 Oscillator circuit board L E D 3 POWER CLOCK RESET L E D 6 COMPACT EMULATOR MADE (1) Unscrew the screw securing the oscillator cir-...
3.4 Mounting A-D Conversion Bypass Capacitors There is a foot pattern on the M306K9T-EPBM board for mounting bypass capacitors for the A-D conversion circuit near the MCU. Mount suitable bypass capacitors as occasion demands. Figure 3.6 shows where they are installed and the configuration of this product. M306K9T-EPBM REV.A XCIN...
4.2 Memory Map Figure 4.1 shows memory maps when using the emulator. For the memory map of the actual MCU, refer to the user's manual of your MCU. Make note of the fact that the memory map of the actual MCU differ from that of the emulator. Do not access to the area noted "Do Not Access"...
4.3 Connection Diagram Figure 4.2 shows the connection diagram of M306K9T2-CPE. This connection diagram mainly shows the interface section, and the circuits which are not connected to the target system such as the emulator's control system are omitted. 3.3V M306K9...
Chapter 5. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 5.1 Troubleshooting Until the Emulator Starts Up ................44 5.2 Troubleshooting When Using Emulator Debugger PD30M ............47 5.3 If Emulator Operation is Abnormal .................... 48 5.4 How to Request for Support .......................
Chapter 5. Troubleshooting 5.1 Troubleshooting Until the Emulator Starts Up Figure 5.1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up. Self-check sequence when the emulator starts up Troubleshooting until the emulator starts up The self-check starts automatically after powering on the emulator...
(1) Troubleshooting When the Emulator Starts Up Tables 5.1 and 5.2 list how to remedy the troubles when the target status LEDs of the emulator shows abnormal after powering on the emulator. When an error is detected, shut off the emulator and the target system and follow the steps in Tables 5.1 and 5.2.
Table 5.2 Error display and how to remedy it when starting up the emulator (2/2) LED display Connection to Problem & remedy : Blinking : OFF the target system POWER CLOCK RESET The emulator system does not work properly. - The emulator may be damaged. Contact your local distributor.
5.2 Troubleshooting When Using Emulator Debugger PD30M When PD30M has started up normally, however, errors occurred while using it, remedy the troubles referring Table 5.4. Table 5.4 Error message and how to remedy it when using PD30M Connection to Error message Remedy the target system - If the external clock supply is selected, check...
5.3 If Emulator Operation is Abnormal The self-check is a function to check the memory etc. mounted in the emulator. The self-check is executed when the emulator starts up, and detailed check is executed by following the procedure below. Set the switches as shown in Table 5.5 below to execute the self-check. Be sure to disconnect the target system.
(2) If an Error is Detected in the Self-check Table 5.6 lists how to remedy the troubles if the target status LED display is abnormal in the self- check. When an error is detected, shut off the emulator and the target system and follow the steps in the Table 5.6.
5.4 How to Request for Support After checking the items in "Chapter 5 Troubleshooting", fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor. \SUPPORT\product name\SUPPORT.TXT For prompt response, please specify the following information: (1) Operating environment •...
Chapter 6. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 6.1 Maintenance ..........................52 6.2 Guarantee ............................ 52 6.3 Repair Provisions........................52 6.4 How to Request for Repair ......................53 ( 51 / 56 )
Chapter 6. Maintenance and Warranty 6.1 Maintenance If dust or dirt collects on any equipment of your emulation system, wipe it off with a dry soft cloth. Do not use thinner or other solvents because these chemicals can cause the equipment's surface coating to separate.
Distributor After checking the contents of fault, the distributor should please send the faulty product along with the Repair Request Sheet to Renesas Solutions Corp. Renesas Solutions When the faulty product is repaired, it will be returned to the customer at the earliest convenience.
Need help?
Do you have a question about the M306K9T2-CPE and is the answer not in the manual?
Questions and answers