REJ10J0868-0200(T) M3062PT2-EPB User’s Manual Emulation Probe for M16C/62P and M16C/30P Groups Rev.2.00 Jan.
Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts 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, fire or property damage.
M3062PT2-EPB User’s Manual Preface Preface The M3062PT2-EPB is an emulation probe for M16C/60 Series M16C62P and M16C/30 Series M16C30P Groups MCUs. The M3062PT2-EPB is used by connecting to the PC7501 emulator main unit. This user's manual mainly describes specifications of the M3062PT2-EPB emulation probe and how to setup it. For details on the emulator main unit and emulator debugger which are used with the M3062PT2-EPB, refer to each product's user's manual.
M3062PT2-EPB User’s manual Important Important Before using this product, be sure to read this user’s manual carefully. Keep this user’s manual, and refer to this when you have questions about this product. Emulator: The emulator in this document refers to the following products that are manufactured by Renesas Technology Corp.
M3062PT2-EPB User’s manual Important Usage restrictions: This emulator has been developed as a means of supporting system development by users. Therefore, do not use it as a device used for equipment-embedded applications.
M3062PT2-EPB User’s Manual Precautions for safety Precautions for Safety Definitions of Signal Words 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.
M3062PT2-EPB User’s Manual Precautions for safety WARNING Warnings for AC Power Supply: If the attached AC power cable does not fit the receptacle, do not alter the AC power cable and do not plug it forcibly. Failure to comply may cause electric shock and/or fire. Use an AC power cable which complies with the safety standard of the country. Do not touch the plug of the AC power cable when your hands are wet. This may cause electric shock. This product is connected signal ground with frame ground.
M3062PT2-EPB User’s Manual Precautions for safety CAUTION Cautions to Be Taken for Turning On the Power: Turn ON/OFF the power of the emulator and user system as simultaneously as possible. Do not leave either the emulator or user system powered on, because of leakage current the internal circuits may be damaged. When turning on the power again after shutting off the power, wait about 10 seconds. Cautions to Be Taken for Handling This Product: Use caution when handling the main unit.
M3062PT2-EPB User’s Manual Contents Contents Page Preface..........................................................................................................................................................................3 Important.......................................................................................................................................................................4 Precautions for Safety ................................................................................
M3062PT2-EPB User’s Manual Contents Page 3. Usage (How to Use the Emulator Debugger) .........................................................................................................49 3.1 Starting Up the Emulator Debugger ..............................................................................................................49 3.1.1 INIT Dialog Box ...................................................................................................................................49 3.1.
M3062PT2-EPB User’s Manual User Registration User Registration When you have purchased the emulator presented in this user's manual, please be sure to register it. As the H/W Tool Customer Registration Sheet is included with this manual, fill it in and FAX it to your local distributor or email the same contents to the following address. Your registered information is used for only after-sale services, and not for any other purposes.
M3062PT2-EPB User’s Manual Terminology Terminology Some specific words used in this user's manual are defined as follows: Emulator system This means an emulator system built around the PC7501 emulator. The PC7501 emulator system is configured with an emulator main unit, emulation probe, host machine and the integrated development environment High-performance Embedded Workshop. Emulator main unit (Hereafter PC7501) This means an emulator main unit for M16C Family.
M3062PT2-EPB User’s Manual 1. Outline 1. Outline This chapter describes the package components, the system configuration, the specifications of the emulator functions and the operating environment. 1.1 Package Components The M3062PT2-EPB package consists of the following items. When unpacking it, check to see if your M3062PT2-EPB contains all of these items. Table 1.1 Package components Item Quantity M3062PT2-EPB emulation probe 1 M30800T-PTC (pre-mounted) converter board for 100-pin 0.
M3062PT2-EPB User’s Manual 1. Outline 1.2 Other Tool Products Required for Development To bring forward programs development on an M16C/60 Series of the M16C/62P Group, and M16C/30 Series of the M16C/30P Group MCUs, the products listed below are necessary in addition to those contained package above. Get them separately. Converter boards Table 1.
M3062PT2-EPB User’s Manual 1. Outline 1.3 System Configuration 1.3.1 System Configuration Figure 1.2 shows a configuration of the M3062PT2-EPB system. Host machine interface (LPT, USB or LAN) (4) Host machine (3) Emulator PC7501 C (1) Emulation probe M3062PT2-EPB (2) Converter board M30800T–PTC (5) User system Figure 1.
M3062PT2-EPB User’s Manual 1. Outline 1.3.2 Names and Functions of the PC7501 Upper Panel LEDs Figure 1.3 shows the names of the LEDs on the upper panel of the emulator. System status LEDs Target status LEDs Figure 1.3 Names of the LEDs on the upper panel of the PC7501 (1) System Status LEDs The system status LEDs indicate the emulator PC7501's power supply, firmware operating status, etc. Table 1.3 lists the definition of each system status LED. Table 1.
M3062PT2-EPB User’s Manual 1. Outline (2) Target Status LEDs The target status LEDs indicate operating status of the target MCU and power supply of the user system. Table 1.4 lists the definition of each target status LED. Table 1.4 Definition of the target status LEDs Name Status Meaning POWER ON Power is supplied to the user system. OFF Power is not supplied to the user system. CLOCK ON Target MCU clock is oscillating. OFF Target MCU clock is not oscillating.
M3062PT2-EPB User’s Manual 1. Outline 1.4 Specifications Tables 1.5 and 1.6 list the specifications of the M3062PT2-EPB. Table 1.5 Specifications of the M3062PT2-EPB (1/2) Applicable MCU M16C/60 Series M16C/62P Group and M16C/30 Series M16C/30P Group MCUs Applicable MCU mode Single-chip mode Memory expansion mode (NORMAL, 4MB) Microprocessor mode (NORMAL, 4MB) Maxi. ROM/RAM capacity 1. Internal flash ROM: 516KB 0F000h--0FFFFh, 80000h--FFFFFh 2.
M3062PT2-EPB User’s Manual 1. Outline Table 1.6 Specifications of the M3062PT2-EPB (2/2) For 80-pin 0.65-mm-pitch QFP (PRQP0080JA-A Previous code: 80P6S-A): Connection to user system M3062PT-80FPB (not included) (see 2.9 "Connecting the User System" on page 30) For 100-pin LCC socket: M30800T-PTC (included) + IC61-1004-051 (included) For 100-pin 0.
M3062PT2-EPB User’s Manual 2. Setup 2. Setup This chapter describes the preparation for using this product, the procedure for starting up the emulator and how to change settings. 2.1 Flowchart of Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2.1. For details, refer to each section hereafter. And, when the emulator does not start up normally, refer to “5. Troubleshooting” (page 94). Check the package components. Refer to “1.1 Package Components” (page 13).
M3062PT2-EPB User’s Manual 2. Setup 2.2 Installing the Emulator Debugger (M16C R8C PC7501 Emulator Debugger) If the OS used in your host machine is Windows XP or 2000, this installation must be executed by a user with administrator rights. Be aware that users without administrator rights cannot complete the installation. Install the M16C R8C PC7501 emulator debugger following the procedure described below. 2.2.
M3062PT2-EPB User’s Manual 2. Setup 2.3 Connecting the Host Machine When connecting the emulator PC7501 to a host machine, you can choose your desired interface from LPT parallel interface, USB interface and LAN interface. Use the interface selection switch on the emulator PC7501's rear panel to specify your desired interface. Figure 2.2 shows the outline to connect each interface cable. Figure 2.2 Outline for interface cable connections REJ10J0868-0200 Rev.2.
M3062PT2-EPB User’s Manual 2. Setup 2.4 Connecting the PC7501 Figure 2.3 shows how to connect the PC7501 and the emulation probe. M3T-FLX160-EPB M3062PT2-EPB Figure 2.3 Connecting the PC7501 and emulation probe CAUTION Cautions for Connecting the PC7501: When connecting the emulation probe, be sure to hold the both sides of the emulation probe horizontally and insert it directly. Always shut OFF power before connecting the emulation probe. Otherwise, internal circuits may be damaged.
M3062PT2-EPB User’s Manual 2. Setup 2.5 Connecting the Power Supply for the Emulator The power is supplied from AC adapter to the emulator PC7501. Here following explains how to connect the AC adapter. (1) (2) (3) (4) Turn OFF the power to the PC7501. Connect the DC cable of AC adapter to the PC7501. Connect the AC power cable to the AC adapter. Connect the AC power cable to the receptacle. CAUTION Cautions for AC Adapter: Use only the AC adapter included in PC7501 package.
M3062PT2-EPB User’s Manual 2. Setup 2.6 Turning ON the Power 2.6.1 Checking the Connections of the Emulator System Before turning the power ON, check the connection of the interface cable with host machine, PC7501, emulation probe, and user system. 2.6.2 Turning ON/OFF the Power Turn ON the power of the emulator and user system as simultaneously as possible. Turn OFF the power of the emulator and user system as simultaneously as possible.
M3062PT2-EPB User’s Manual 2. Setup 2.6.3 LED Display When the Emulator Starts Up Normally Figure 2.4 shows upper panel LED lighting status when the emulator started up properly. Check it when starting up the emulator system. - If this LED does not light, check the voltage of the user system. - Check that the power is supplied to all the power terminals. - When the user system is not connected, this LED does not light.
M3062PT2-EPB User’s Manual 2. Setup 2.7 Downloading Firmware 2.7.1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below. Normally, the following are automatically detected when the emulator debugger is started up, and the firmware is downloaded.
M3062PT2-EPB User’s Manual 2. Setup 2.8 Self-check 2.8.1 Self-check Procedure The self-check is a function to check the memory etc. mounted in the emulator. To run the self-check of the emulator, do so as explained here below. While the self-check is in progress, the LEDs will change as shown in Figure 2.6. In case of ERROR 1 to 4, because the target status LEDs will change depending on errors, check the system status LEDs. (1) (2) (3) (4) (5) If the user system is connected, disconnect it.
M3062PT2-EPB User’s Manual 2. Setup 2.8.2 If an Error is Detected in the Self-check If the self-check does not result normally (ERROR 1 to ERROR 4 in Figure 2.6), check the following. (1) Recheck the connection of the emulation probe and PC7501. (2) Redownload the proper firmware. IMPORTANT Note on the Self-check: Perform the self-check while not connecting the user system. If the self-check does not result normally (excluding user system errors), the emulation probe may be damaged.
M3062PT2-EPB User’s Manual 2. Setup 2.9 Connecting the User System Figure 2.7 shows how to connect this product according to your user system. Emulation pod probe 80-pin 0.65-mm-pitch 128-pin 0.5-mm-pitch 100-pin 0.5-mm-pitch 0.
M3062PT2-EPB User’s Manual 2. Setup 2.9.1 Connecting to an 80-pin 0.65-mm-pitch Foot Pattern Here following is a procedure of connecting to an 80-pin 0.65-mm-pitch foot pattern on the user system using the M3062PT80FPB (not included). For details on the M3062PT-80FPB (not included), refer to its user's manual. (1) Attach the NQPACK080SB included with the M3062PT-80FPB to the user system. (2) Attach the YQPACK080SB included with the M3062PT-80FPB to the NQPACK080SB and secure it with the YQGUIDE's.
M3062PT2-EPB User’s Manual 2. Setup 2.9.2 Connecting to a 100-pin LCC Socket Here following is a procedure of connecting to a 100-pin LCC socket (IC61-1004-051 of Yamaichi Electronics Co., Ltd.) on the user system using the included M30800T-PTC. (1) Attach the CN2 side of the M30800T-PTC to the J4 side of the M3062PT2-EPB. (2) Attach the M30800T-PTC to the 100-pin LCC socket. M3T- FLX160- EPB M 3062PT2- EPB CN 2 side (1) (2) M 30800T- PTC 100- pin LCC socket No . 1 pin User System Figure 2.
M3062PT2-EPB User’s Manual 2. Setup 2.9.3 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1) Here following is a procedure of connecting to a 100-pin 0.65-mm-pitch foot pattern on the user system using the M3T-F160100NRB (not included). For details on the M3T-F160-100NRB (not included), refer to its user's manual. (1) Attach the NQPACK100RB included with the M3T-F160-100NRB to the user system.
M3062PT2-EPB User’s Manual 2. Setup 2.9.4 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 2) Here following is a procedure of connecting to a 100-pin 0.65-mm-pitch foot pattern on the user system using the M3TDIRECT100S (not included). For details on the M3T-100LCC-DMS (not included) and M3T-DIRECT100S (not included), refer to each user's manual. (1) (2) (3) (4) Attach the M3T-DIRECT100S to the user system. Attach the M3T-100LCC-DMS to the M3T-DIRECT100S.
M3062PT2-EPB User’s Manual 2. Setup 2.9.5 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 3) Here following is a procedure of connecting to a 100-pin 0.65-mm-pitch foot pattern on the user system using the M3TDUMMY100S (not included). For details on the M3T-100LCC-DMS (not included) and M3T-DUMMY100S (not included), refer to each user's manual. (1) (2) (3) (4) Attach the M3T-DUMMY100S to the user system. Attach the M3T-100LCC-DMS to the M3T-DUMMY100S.
M3062PT2-EPB User’s Manual 2. Setup 2.9.6 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 4) Here following is a procedure of connecting to a 100-pin 0.65-mm-pitch foot pattern on the user system using the M3T-FLX100NRB (not included). For details on the M3T-100LCC-DMS (not included) and M3T-FLX-100NRB (not included), refer to each user's manual. (1) Attach the NQPACK100RB included with the M3T-FLX-100NRB to the user system.
M3062PT2-EPB User’s Manual 2. Setup 2.9.7 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 1) Here following is a procedure of connecting to a 100-pin 0.5-mm-pitch foot pattern on the user system using the M3T-F160100NSD (not included). For details on the M3T-F160-100NSD (not included), refer to its user's manual. (1) Attach the NQPACK100SD-ND included with the M3T-F160-100NSD to the user system.
M3062PT2-EPB User’s Manual 2. Setup 2.9.8 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 2) Here following is a procedure of connecting to a 100-pin 0.5-mm-pitch foot pattern on the user system using the M3T100LCC-QSD (not included). For details on the M3T-100LCC-QSD (not included), refer to its user's manual. (1) (2) (3) (4) (5) Attach the TQPACK100SD to the user system. Attach the TQSOCKET100SDG included with the M3T-100LCC-QSD to the TQPACK100SD.
M3062PT2-EPB User’s Manual 2. Setup 2.9.9 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 3) Here following is a procedure of connecting to a 100-pin 0.5-mm-pitch foot pattern on the user system using the M3T-FLX100NSD (not included). For details on the M3T-100LCC-DMS (not included) and M3T-FLX-100NSD (not included), refer to each user's manual. (1) (2) (3) (4) Attach the M3T-FLX-100NSD to the user system. Attach the M3T-100LCC-DMS to the M3T-FLX-100NSD.
M3062PT2-EPB User’s Manual 2. Setup 2.9.10 Connecting to a 128-pin 0.5-mm-pitch Foot Pattern Here following is a procedure of connecting to a 128-pin 0.5-mm-pitch foot pattern on the user system using the M3T-F160128NRD (not included). For details on the M3T-F160-128NRD (not included), refer to its user's manual. (1) Attach the NQPACK128RD included with the M3T-F160-128NRD to the user system. (2) Attach the YQPACK128RD included with the M3T-F160-128NRD to the NQPACK128RD and secure it with the YQGUIDE's.
M3062PT2-EPB User’s Manual 2. Setup 2.10 Switch Settings 2.10.1 Switch Settings of the JP1 Set jumper switch JP1 according to a power supply you use. Figure 2.18 shows the positions of jumper switch JP1. Table 2.2 lists how to set the switch. F r o n t s i d e o f t h e M3 0 6 2 P T 2 - E P B M 512 JP1 Figure 2.18 Position of the JP1 Table 2.2 Switch settings of the JP1 Switch Setting VCC1=2 JP1 VCC1>2 Voltage 2.7 V ≤ Vcc1 = Vcc2 ≤ 5.5 V (Factory-setting) VCC1=2 VCC1>2 Vcc1 = 5.0 ± 0.2 V and 2.
M3062PT2-EPB User’s Manual 2. Setup 2.10.2 A/D Conversion Bypass Capacitors There is a foot pattern on the M3062PT2-EPBM board for mounting bypass capacitors for the A/D conversion circuit near the MCU. Mount suitable bypass capacitors as occasion demands. Figure 2.19 shows where they are installed and the configuration of this product. Front side of the M3062PT2-EPBM 512 VREF-AVSS bypass capacitor VREF AVSS C2 AVCC-AVSS bypass capacitor AVCC AVSS C1 Figure 2.
M3062PT2-EPB User’s Manual 2. Setup 2.10.3 Pullup of Emulation Ports Because this product emulates some I/O ports (P0 to P5, P10), you can not pullup ports P0 to P5 by the pullup control registers. Install the included resistor arrays (51 kΩ) as necessary. Figure 2.20 shows the positions of the pullup resistors. And, Table 2.3 lists the emulation port numbers and the pullup resistor part numbers.
M3062PT2-EPB User’s Manual 2. Setup 2.11 Selecting Clock Supply 2.11.1 Clocks You can choose a clock supplied to the evaluation MCU by the Emulator tab in the Init dialog box of the emulator debugger. Table 2.4 shows the clocks and their initial settings. Table 2.4 Clock supply to the MCU Display of Clock emulator debugger Description Internal oscillator circuit board (OSC-3 or OSC-2) Oscillator circuit on the user system Internal generator circuit (1.0--16.0 MHz) Internal oscillator circuit (32.
M3062PT2-EPB User’s Manual 2. Setup (2) Replacing an Oscillator Circuit Board 1. Remove the four screws of both sides of this product and lift off the upper cover (see Figure 2.21). Figure 2.21 Removing the upper cover REJ10J0868-0200 Rev.2.
M3062PT2-EPB User’s Manual 2. Setup 2. Replace the oscillator circuit board (see Figure 2.22). Oscillator circuit board The Figure on the left shows the oscillator circuit board. Unscrew the screw securing the oscillator circuit board. Lift off the oscillator circuit board. Attach another oscillator circuit board to the connector. Secure the new oscillator circuit board with the screw. Figure 2.22 Replacing the oscillator circuit board 3.
M3062PT2-EPB User’s Manual 2. Setup (3) Using the Internal Oscillator Circuit Bare Board To use the emulation probe at a frequency you like, build a desired oscillator circuit on the included OSC-2 oscillator circuit bare board. Figure 2.23 shows an external view of the OSC-2 oscillator circuit bare board and where the connector pins are located. Figure 2.24 shows the circuitry of the oscillator circuit bare board OSC-2. Use the number of oscillator circuits recommended by the oscillator manufacturer.
M3062PT2-EPB User’s Manual 2. Setup 2.11.3 Using the Oscillator Circuit on the User System To operate this product with an external clock, construct the oscillator circuit as shown in Figure 2.25 in the user system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into pin XIN. And pin XOUT should be open. Choose "External" in the emulator debugger to use this clock. Figure 2.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3. Usage (How to Use the Emulator Debugger) This chapter describes how to start up the emulator debugger from the High-performance Embedded Workshop. 3.1 Starting Up the Emulator Debugger When debugging the completed programs, switch the session. The session can be changed by the drop down list of the tool bar shown below.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 2. Specifying the communication interface Specifying the communication interface (LPT communication) - For selecting the LPT communication, click the radio button “LPT” of the MCU tab. - For the Type area, specify the LPT interface communication mode to be used. When you use the emulator debugger for the first time, select “AUTO”. - Specify the I/O address of the parallel port at the I/O address area.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3. Executing the self-check Executing the self-check Enable this function when you want the emulator to be selfchecked at startup. Be sure to select the check box only when you want the emulator to be self-checked at startup. This function may be enabled in the following cases: - When you are using the emulator you have just purchased.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (2) Debugging Information tab Specifying the compiler used and the object format Specify the compiler you are using and the format of the object file output by the compiler. - Compiler Select the compiler you are using. (By default, the C compiler from Renesas is selected.) - Object Format Select the format of the object file that is output by the compiler you are using.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (4) Automatically executing a script command Automatically command executing a script To automatically execute a script command when starting up the debugger, click the “Refer...” button and specify the script file to be executed. Clicking the “Refer...” button brings up a file selection dialog box. The script file you have selected is displayed in the Init File: section of the dialog box shown here.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.1.2 MCU Setting Dialog Box MCU setting dialog box sets the information of the user system. It will be displayed after closing the Init dialog box. When the tab settings of 1 to 3 have been finished, click “OK”. (1) MCU tab 1. MCU Setting Specifying the processor mode Select the appropriate processor mode that suits your system.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 2. Option Setting the debug options Check the box when not downloading the program to the internal flash ROM of the MCU. If this box is checked, the working efficiency (downloading, software break, etc.) will be improved because the program is downloaded in the emulation memory in the PC7501. However, maximum operating frequency is 10MHz The box is unchecked by default. 3.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (2) MAP tab Specifying allocation the emulation memory Sets the memory area assigned to the emulation memory by 4KB. Up to four areas can be set. An area set to [INTERNAL] will be allocated to the emulation memory by selecting the check box. An unchecked area or an unset area will be allocated to external area. The setting is effective only in the CS3#, CS2#, CS1# and CS0#.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.1.3 Checking Connections of the Emulator System Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator after you’ve finished setting up the Init dialog box and the MCU Setting dialog box, you will see a message “Connected” displayed on the “Debug” tab of the Output window. REJ10J0868-0200 Rev.2.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.2 Editor (Source) Window (1) Program window Downloading the program Download the object program you want to debug. Select Download from “xxx.x30” of “Download module”. Or you can select “Download” from the “Debug” menu for the same effect. (2) Showing the program Editor (Source) window The editor (source) window is a window that always shows the content of the source file corresponding to the current position of the program counter.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (3) Program execution CPU reset Resets the target MCU. Go Runs the program beginning with the current PC position. Reset Go Runs the program after reset the target MCU. Step In Single-steps the program executing (including those in functions). each statement Step Over Single-steps the program executing each function call as one step.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (4) Setting break points 1. Screen after software breakpoint setup Breakpoint setup screen There are three types of breakpoints as described below. - Address match breakpoint This breakpoint can be set only when you chose to use the address match break function on the MCU tab of the Init dialog box. A breakpoint can be set or cleared by doubleclicking in the address match breakpoint display area in the editor (source) window.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (5) Executing up to the cursor position (Come command) 1. Specifying the Come command Setup procedure for executing COME command (1) Click the line in the program display area at which you want the program to execute. (2) Click the Come button 2. After the Come command has finished The cursor stops in the position where the come command was executed. The statement specified with the come command is not executed. REJ10J0868-0200 Rev.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.3 Hardware Breakpoint Setting Window (1) Breakpoint setup dialog box 1. Opening the hardware breakpoint setup dialog box Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box. 2.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3. Opening the break event setting dialog box Specifying the event type Click to select the event type you want to set. - FETCH Detects an instruction prefetch. - DATA ACCESS Detects a memory access. - BIT SYMBOL Detects a bit access. - INTERRUPT Detects an interrupt occurrence or interrupt termination. - TRIGGER Detects a signal from the external trace signal input cable. (2) When FETCH is selected 1.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (3) When DATA ACCESS is selected 1. Window for setting the address Setting the address You can set eight conditions, e.g., a specified address, a specified address range, etc. 2. Window for setting data Setting data You can set eight conditions, e.g., a specified data, a specified data range, etc. Setting the access condition You can set three conditions, e.g., read, write, and read/write.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3. Example Data Settings Setting events for wordwise accesses to the even-addresses STE.W A0,20E8h(A0=5423h) High-order and low-order data effective Setting a break event A1 Address 1 Data 1 MASK Access : 0020E8 : 5423 : FFFF : WRITE Setting a break event (using 2 events) Setting events for wordwise accesses to the odd-addresses STE.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (4) Setting the combinatorial event condition 1. Window for setting the combinatorial event condition Setting the combinatorial event condition There are following four conditions that you can choose for the combinatorial events. - AND The program breaks when all of the specified events occur. - AND (Same Time) The program breaks when the specified events occur at the same time.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.4 Trace Window The trace window is used to show the results of real-time trace measurements. (1) Trace window 1. Trace window display Trace window The trace window is used to show the results of real-time trace measurements. It has the following four display modes: - Bus mode Bus information per cycle can be inspected. The contents are displayed in order of execution paths.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 2. Trace window (Bus display) Explanation of the trace window (bus display) The following explains the displayed contents, from left to right. - Address Shows the status of the address bus. - Data Shows the status of the data bus. - BUS Shows the width of the external data bus. In the present emulator, “16b” for 16 bits wide bus and “8b” for 8 bits wide bus are displayed.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) (2) Trace point setup window 1 Trace point setup window Trace Point Setting Window in initial state Clicking this toolbar button opens the trace point setting window. You can set events in the same way as for the hardware breakpoints. Specifying a trace range You can specify a trace range for the trace event. - Break 256K cycles of instruction execution before the user program stopped is recorded.
M3062PT2-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.5 RAM Monitor Window This function makes it possible to make reference to the changes in memory contents without impairing the real-time performance for target program execution. The emulator PC7501 system is provided with the 4KB RAM monitor area. This RAM monitor area can be divided into the 16-block area in units of arbitrary continuous address or 256 bytes for mapping or layout.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4. Hardware Specifications This chapter describes specifications of this product. 4.1 Target MCU Specifications Table 4.1 lists the specifications of target MCUs which can be debugged with this product. Table 4.1 Specifications of target MCUs for the M3062PT2-EPB Item Applicable MCU Evaluation MCU Applicable MCU mode Maxi. ROM/RAM capacity Power supply voltage Operating voltage/frequency REJ10J0868-0200 Rev.2.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4.2 Access Timing Because this product emulates some ports, access timings are different from those of the actual MCUs. Chapters 4.2.1 and 4.2.2 describe the access timing using this product. 4.2.1 Operation Timing of Memory Expansion Mode and Microprocessor Mode (Vcc1=Vcc2=5V) (1) Separate Bus Timing Table 4.2 and Figure 4.1 show the bus timing in memory expansion mode and microprocessor mode. Table 4.
M3062PT2-EPB User’s Manual 4.
M3062PT2-EPB User’s Manual 4. Hardware Specifications (2) Multiplex Bus Timing Table 4.3 and Figure 4.2 show the bus timing in memory expansion mode and microprocessor mode (2-wait, accessing external area, using multiplex bus). Table 4.3 Memory expansion mode and microprocessor mode (2-wait, accessing external area, using multiplex bus) Actual MCU This product Symbol Item [ns] [ns] Min. Max. Min. Max.
M3062PT2-EPB User’s Manual 4.
M3062PT2-EPB User’s Manual 4. Hardware Specifications (3) Timing Requirements Tables 4.4 and Figure 4.3 list the timing requirements in memory expansion mode and microprocessor mode.. Table 4.4 Timing requirements Symbol tsu(DB-RD) tsu(RDY-BCLK) tsu(HOLD-BCLK) th(RD-DB) th(BCLK-RDY) th(BCLK-HOLD) td(BCLK-HLDA) Actual MCU [ns] Min. Max.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4.2.2 Operation Timing of Memory Expansion Mode and Microprocessor Mode (Vcc1=Vcc2=3V) (1) Separate Bus Timing Table 4.5 and Figure 4.4 show the bus timing in memory expansion mode and microprocessor mode (3 wait, accessing external area). Table 4.5 Memory expansion mode and microprocessor mode (3 wait, accessing external area) Actual MCU Symbol Item [ns] Min. Max.
M3062PT2-EPB User’s Manual 4.
M3062PT2-EPB User’s Manual 4. Hardware Specifications (2) Multiplex Bus Timing Table 4.6 and Figure 4.5 show the bus timing in memory expansion mode and microprocessor mode (2 wait, accessing external area and using multiplex bus). Table 4.6 Memory expansion mode and microprocessor mode (2 wait, accessing external area and using multiplex bus) Actual MCU This product Symbol Item [ns] [ns] Min. Max. Min. Max.
M3062PT2-EPB User’s Manual 4.
M3062PT2-EPB User’s Manual 4. Hardware Specifications (3) Timing Requirements Table 4.7 and Figures 4.6 show timing requirements in memory expansion mode and microprocessor mode. Table 4.7 Timing requirements Symbol Actual MCU [ns] Min. Max.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4.3 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below. When debugging the MCU using this product, be careful about the following precautions. 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.
M3062PT2-EPB User’s Manual 4. Hardware Specifications IMPORTANT Note on Voltage Detect Circuit: With this product, as the power voltage cannot be change after powering on the user system, the voltage detect circuit (voltage down detect interrupt, voltage down detect reset, etc.) cannot be used with this product. Notes on Reset Vector Area: Memory in the PC7501 is always selected as a reset vector area (FFFFCh--FFFFFh) in order to operate the evaluation MCU in the emulator-dedicated mode.
M3062PT2-EPB User’s Manual 4. Hardware Specifications IMPORTANT Notes on Pullup Control: Because this product emulates some I/O ports (P0 to P5, P10), you can not pullup ports P0 to P5 by the pullup control registers, Install the included resistor arrays (51 kΩ) as necessary. The initial value of pullup control register 1 PUR1 of this product is different from that of an actual MCU.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4.4 Connection Diagrams Figure 4.7 shows a connection diagram of the M3062PT2-EPB. This connection diagram mainly show the circuit to be connected to the user system. The circuits not connected to the user system such as the emulator’s control system are omitted. Tables 4.8 and 4.9 show IC electric characteristics of this product for reference purpose.
M3062PT2-EPB User’s Manual 4. Hardware Specifications Table 4.8 Electrical characteristics of the 74HC4066 Symbol RON ΔRON IOFF IIZ Item ON resistor ON resistor difference Leak current (Off) Leak current (On, output: open) Condition VCC 4.5V 4.5V 12.0V 12.0V Min. - Standard values Standard Max. 96 170 10 ±100 ±100 Min. 2.0 -0.5 Standard values Standard Max. 5.5 0.8 Unit Ω nA Table 4.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Probe Figure 4.8 shows external dimensions of the M3062PT2-EPB. 100.0 512 10.0 9.5 60.0 21.0 9.5 10.0 34.3 5.5 16.3 10.8 15.0 15.0 55.0 15.0 Unit: mm Figure 4.8 External dimensions of the emulation probe REJ10J0868-0200 Rev.2.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4.5.2 External Dimensions of the M30800T-PTC Figure 4.9 shows external dimensions of the converter board M30800T-PTC for a 100-pin LCC (included with the M3062PT2EPB). 55.0 13.5 M30800T-PTC 80 81 50 100 31 CN2 CN1 40.0 51 1 30 MADE I N JAPAN 13.5 External dimension when connecting the 100-pin LCC socket 10.8 16.3 Unit: mm Figure 4.9 External dimensions of the M30800T-PTC REJ10J0868-0200 Rev.2.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 4.6 Notes on Using This Product Notes on using this product are listed below. When debugging the MCU using he emulator, be careful about the following precautions. IMPORTANT Note on the Version of the Emulator Debugger: Be sure to use this product with one of the following emulator debuggers. 1. M16C R8C PC7501 Emulator debugger V.1.01 Release 00 or later 2. M3T-PD30F V.2.
M3062PT2-EPB User’s Manual 4. Hardware Specifications IMPORTANT Note on Clock Supply to the MCU: A clock supplied to the evaluation MCU is selected by the Emulator tab in the Init dialog box of the emulator debugger. (1) When "Internal" is selected: A clock generated by the oscillator circuit board in the PC7501 is supplied. It is continually supplied regardless of the status of the user system clock and that of the user program execution.
M3062PT2-EPB User’s Manual 4. Hardware Specifications 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. Note on Breaks: The area displaying break points in the program window of the emulator debugger shows the following breaks.
M3062PT2-EPB User’s Manual 4. Hardware Specifications IMPORTANT Notes on Internal Flash ROM of the MCU: In single-chip mode and memory expansion modes, this product downloads a user program to the flash ROM of an MCU. By checking "Debug Option" in the MCU tab of the MCU setting dialog box of the emulator debugger, you can disable the operation of the internal flash ROM of the MCU to use the emulation memory of the PC7501. The maximum operating frequencies are as follows.
M3062PT2-EPB User’s Manual 4. Hardware Specifications IMPORTANT Notes on Debugging in CPU Rewrite Mode: When you debug an M16C/60 Series MCUs 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.
M3062PT2-EPB User’s Manual 5. Troubleshooting 5. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 5.1 Flowchart to Remedy the Troubles Figure 5.1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up. Check this while the user system is disconnected. For the latest FAQs visit the Renesas Tools Homepage. http://www.renesas.
M3062PT2-EPB User’s Manual 5. Troubleshooting 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LEDs of the PC7501 Do Not Display Normally Table 5.1 Errors LEDs show and their checkpoints LEDs do not light up. Connection to the user system - All LEDs remain lit. - Error Checkpoint Check that the power cable is connected. See "2.5 Connecting the Power Supply for the Emulator" (page 24) and the user's manual of the PC7501.
M3062PT2-EPB User’s Manual 5. Troubleshooting (2) MCU Setting Dialog Box Does Not Appear at Emulator Debugger Startup Table 5.2 Checkpoints of errors at debugger startup Error Communication error occurred. Data was not sent to the target. Checkpoint Check all emulator debugger settings, interface cable settings and switches on the rear of the PC7501 match. See the user's manuals of PC7501 and emulator debugger. User system cannot be properly built. (1) Download the proper firmware. See "2.
M3062PT2-EPB User’s Manual 5. Troubleshooting (3) Errors Occur at Emulator Debugger Startup Table 5.4 Checkpoints of errors at debugger startup Error Target MCU is uncontrollable. REJ10J0868-0200 Rev.2.00 January 16, 2006 Checkpoint (1) Check that the NQPACK etc. mounted on the user system is soldered properly. (2) Check that the connector is installed properly to the user system. (3) In memory expansion mode or microprocessor mode, check pins RDY# and HOLD# are at “H” level.
M3062PT2-EPB User’s Manual 5. Troubleshooting 5.3 How to Request for Support After checking the items in "5 Troubleshooting", fill in the text file which is downloaded from the following URL, then send the information to your local distributor. http://tool-support.renesas.com/eng/toolnews/registration/support.
M3062PT2-EPB User’s Manual 6. Maintenance and Guarantee 6. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 6.1 User Registration When you purchase our product, be sure register as a user. For user registration, refer to “User registration” (page 11) of this user's manual. 6.2 Maintenance (1) If dust or dirt collects on any equipment of your emulation system, wipe it off with a dry soft cloth.
M3062PT2-EPB User’s Manual 6. Maintenance and Guarantee (3) Expiration of the repair period When a period of one year elapses after the model was dropped from production, repairing products of the model may become impossible. (4) Transportation fees at sending your product for repair Please send your product to us for repair at your expense. 6.
Emulation Probe for M16C/62P and M16C/30P Groups User’s Manual M3062PT2-EPB Publication Date: Jan. 16, 2006 Rev.2.00 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Microcomputer Tool Development Department Renesas Solutions Corp. © 2006. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in Japan.
M3062PT2-EPB User’s Manual