background image

M30870T2-CPE User’s Manual 

2. Setup 

REJ10J0766-0400  Rev.4.00  February 16, 2006 

 

2.3 Attaching the Ferrite Core 

Attach the ferrite core included with this product close to the DC plug of the power cable. Without the ferrite core it may cause 
interference. 
The power cable should be wound around the ferrite core as shown in the figure, and close the ferrite core until it clicks. 
 

 

 

Figure 2.2 Attaching the ferrite core 
 
 

2.4 Connecting the Power Supply for the Emulator 

Connect the power supply for the emulator to the power connector (J1). The specification of the power supply for the emulator 
is listed in Table 2.1. 
 
Table 2.1 Specification of power supply of the emulator 

Power supply voltage 

DC 5.0 V±5

/2 A 

 
 
Figures 2.3 and 2.4 show the specifications of the power connector (J1) and an applicable plug, respectively. 
 

Electrode (-) 

Electrode (+) 

 

 

Figure 2.3 Power connector specifications 

Figure 2.4 Applicable plug specifications 

 

 

CAUTION

 

Notes on Connecting a Power Supply of the Emulator: 

 

 

The power cable included in this product package is colored red (+) and black (-). 

 

Be careful about the polarity of the power supply. Connecting to the wrong electrode could destroy internal 
circuits. 

 

Do not apply a voltage exceeding the specified voltage of the product (5.0 V ±5%), because it may cause burn 
injuries and the failure of internal circuits. 

 

Use the power supply which complies with CE marking requirements. 

 

 

ɸ

4.75mm

ɸ

1.7mm(Inside diameter)

 

Page 22 of 102 

Содержание M30870T2-CPE

Страница 1: ...REJ10J0766 0400 T M30870T2 CPE User s Manual Compact Emulator for M32C 87 Group Rev 4 00 Feb 16 2006 ...

Страница 2: ...al inaccuracies or typographical errors Renesas Technology Corp assumes no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corp by various means including the Renesas Technology Corp Semiconductor home page http www renesas com 4 When using any or all of the information contained...

Страница 3: ...roduct are shown in 1 1 Package Components page 13 If there is any question or doubt about this product contact your local distributor The related manuals for using this product are listed below You can download the latest manuals from the Renesas Tools homepage http www renesas com en tools Related manuals Item Manual Accessory tools M3T 100LCC DMS User s Manual M3T DUMMY100S User s Manual M3T DI...

Страница 4: ...m development and evaluation stages In mass producing your program you have finished developing be sure to make a judgment on your own risk that it can be put to practical use by performing integration test evaluation or some experiment else 2 In no event shall Renesas Solutions Corp be liable for any consequence arising from the use of this product 3 Renesas Solutions Corp strives to renovate or ...

Страница 5: ...ing efforts to improve the design and performance of this emulator Therefore the specification or design of this emulator or its user s manual may be changed without prior notice About the rights 1 We assume no responsibility for any damage or infringement on patent rights or any other rights arising from the use of any information products or circuits presented in this user s manual 2 The informa...

Страница 6: ...ntly dangerous situation that will cause death or heavy wound unless it is avoided However there are no instances of such danger for the product presented in this user s manual WARNING WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION CAUTION indicates a potentially dangerous situation that will cause a slight injury or a medium d...

Страница 7: ...his equipment insure that a reliable ground connection is maintained If you smell a strange odor hear an unusual sound or see smoke coming from this product then disconnect power immediately by unplugging the AC power cable from the outlet Do not use this as it is because of the danger of electric shock and or fire In this case contact your local distributor Before setting up this emulator and con...

Страница 8: ...taneously 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 Be careful not to apply a mechanical shock Do not touch the connector pins of the emu...

Страница 9: ...n the Emulator Starts Up Normally 26 2 7 Self check 28 2 7 1 Self check Procedure 28 2 7 2 If an Error is Detected in the Self check 29 2 8 Connecting the User System 30 2 8 1 Connecting to a 100 pin LCC socket 31 2 8 2 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 32 2 8 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 33 2 8 4 Connecting to a 100 pin 0 65 mm pitch Foot Pat...

Страница 10: ... 2 External Dimensions of the M30800T PTC 87 4 4 3 External Dimensions of the M3T F160 100NSD 88 4 4 4 External Dimensions of the M3T FLX 144NSD 88 4 5 Notes on Using This Product 89 Notes on the Self check 89 Note on Quitting the Emulator Debugger 89 Notes on Clock Supply to the MCU 89 Notes on Using the CPU Clock at Less than 10 MHz 89 Notes on Address Match Interrupts 89 Notes on EMEM Dialog Bo...

Страница 11: ...er it by email you can use a text format for user registration created when installing the software in the following folder Your registered information is used for only after sale services and not for any other purposes Without user registration you will not be able to receive maintenance services such as a notification of field changes or trouble information So be sure to carry out the user regis...

Страница 12: ...ne This means a personal computer used to control the M30870T2 CPE emulator system Software break A software break is a function to break the program before the system executes an instruction at the specified address The instruction at the preset address will not be executed Hardware break A hardware break is a function to break the program when the system detects a write read of data to from memo...

Страница 13: ...ircuit bare board 1 USB interface cable for connecting host machine and emulator 1 Power supply cable for compact emulator 1 Ferrite core for connecting power supply cable 1 H W Tool Customer Registration Sheet English 1 H W Tool Customer Registration Sheet Japanese 1 M30870T2 CPE User s Manual this manual 1 M30870T2 CPE User s Manual Japanese 1 M30870T2 CPE Release Notes English 1 M30870T2 CPE Re...

Страница 14: ...tor This is a power supply for the emulator Supply 5 0 V 5 DC Prepare a power supply which complies with CE marking requirements separately The power cable is included with this product Note Be aware that there are some AC adapters whose power supply voltage varies rather widely with its load You are recommended to use an AC adapter with a switching power supply or a stabilized power supply 4 User...

Страница 15: ...1 2 lists the definition of the system status LEDs Table 1 2 Definitions of the system status LEDs Name Number Color Status Meaning ON Power is supplied to the emulator POWER LED1 Orange OFF Power is not supplied to the emulator ON Emulator system has started normally SAFE LED2 Green OFF Emulator system has not started normally MADE POWER SW1 COMPACT EMULATOR INT JP1 5 0V JP2 3 3V EXT CLOCK RESET ...

Страница 16: ...the system reset switch depending on the state of the emulator Table 1 4 Functions of the system reset switch State of Emulator Function When the user s program is halted Initializes the emulator and waits for a command from the emulator debugger When the user s program is executed Stops the user s program initializes the emulator and waits for a command from the emulator debugger IMPORTANT Notes ...

Страница 17: ...ly Voltage Selection Jumper JP2 This is a jumper switch to set the power supply voltage of the MCU This setting is valid when the MCU power supply source selection jumper is set to INT only For details on this switch see 2 6 1 MCU Power Supply Source Selection Jumper MCU Power Supply Voltage Selection Jumper page 24 8 Switches and Selection Jumpers on the M30870T EPBM These are switches to change ...

Страница 18: ...e breaks Memory reference setting reference setting C variables run time execution Register reference setting Disassemble display C level debugging etc Real time trace function 64K cycle bus information recordable Address 24 bits Data 16 bits MCU status 12 bits 5 trace modes supported Break Before About After Full Can be recorded ON OFF by events Real time RAM monitor function 1 024 bytes 256 byte...

Страница 19: ...orts USB 2 0 With the USB interface not all hardware such as host machine USB devices USB hub combination will work and guaranteed 1 4 Operating Environment Be sure to use thins emulator with the operating environmental of the emulator and host machine listed in Tables 1 7 and 1 8 Table 1 7 Operating environmental conditions Item Description Operating temperature 5 to 35 C no dew Storage temperatu...

Страница 20: ... interface cable to the USB interface connector J2 of the emulator and the USB port of the host machine Connect the power supply for the emulator Connect a power supply to the power connector J1 Power supply should be 5 0 V 5 2 A Connect the user system Connect the user system as occasion demands Turning on the power supply Turn on the power to the emulator and the user system as simultaneously as...

Страница 21: ...ot complete the installation The auto_run exe starts up by inserting the included CD into the CD ROM drive and the HTML page for installation will open Install the C compiler emulator debugger and USB driver as occasion demands In process of installation user information dialog box to enter the user information contractor section contact address and host machine will open The supplied information ...

Страница 22: ...le 2 1 Specification of power supply of the emulator Power supply voltage DC 5 0 V 5 2 A Figures 2 3 and 2 4 show the specifications of the power connector J1 and an applicable plug respectively Electrode Electrode Figure 2 3 Power connector specifications Figure 2 4 Applicable plug specifications CAUTION Notes on Connecting a Power Supply of the Emulator The power cable included in this product p...

Страница 23: ...achine see Figure 2 5 Figure 2 5 Connecting the emulator system MADE POWER SW1 COMPACT EMULATOR INT JP1 5 0V JP2 3 3V EXT CLOCK RESET RUN LED3 LED6 LED5 LED4 POWER LED1 SAFE LED2 b Connect the USB interface cable to connector J2 Connect the power cable to connector J1 To host machine To emulator power supply J1 J2 M30870T2 CPE POWER USB 5 0V 5 0V 3 3V MCU POWER EXT INT JP2 JP1 STATUS SYSTEM STATUS...

Страница 24: ...n 3 3 V Supplied from the emulator The MCU operating voltage is 3 3 V Not connected INT 5 0 V Supplied from the emulator The MCU operating voltage is 5 0 V Connected EXT Invalid Supplied from the user system This emulator consumes max 500 mA of electrical current from the user system CAUTION Note on Jumper Switch Settings Always shut OFF the emulator before changing the setting of the jumper switc...

Страница 25: ...ng ON the power again after shutting OFF the power wait for about 10 seconds 2 6 4 Power Supply to the User System This emulator cannot supply the power to the user system Therefore design your system so that the user system is powered separately This product consumes max 500mA of electrical current from the user system Please consider the capacity of the power supply of the user system The voltag...

Страница 26: ...r system is not connected and as shown in Figure 2 9 when a user system is connected After turning on the power only the LED5 RESET lights on Check the target status LEDs display normally after starting up the emulator debugger When the target status LEDs do not display as shown in Figures 2 8 and 2 9 refer to 5 Troubleshooting page 94 Figure 2 8 Target status LEDs display when the emulator starts...

Страница 27: ... Make sure that the oscillator circuit board is properly installed in the emulator and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are completed Make sure that the oscillator selected in the Init dialog box is oscillating normally POWER RESET CLOCK RUN LED 3 LED 5 LED 4 LED 6 ON OFF When the user system connected When the POWER LED does...

Страница 28: ...elf check Switch Setting MCU power supply source selection jumper JP1 INT MCU power supply voltage selection jumper JP2 5V Figure 2 10 LED display during the self check POWER CLOCK RESET RUN LED3 LED 4 LED 5 LED 6 RESET 1 Within 2 seconds of activating power press the reset switch 2 Check that the SAFE LED starts blinking then press the system reset switch again 3 Target status LEDs start blinking...

Страница 29: ...ator circuit board OSC 3 is attached The power is not supplied to the emulator Check that the power supply cable is connected properly Check of jumper switch settings see Table 2 3 The block 0 area address FFF000h FFFFFFh may be rewritten when debugging in the CPU rewrite mode Within 2 seconds of activating power to the emulator press the system reset switch to restart the emulator debugger The fi...

Страница 30: ...00 pin LCC included M30800T PTC included M3T DUMMY100S 100 pin QFP not included M3T DIRECT100S 100 pin QFP not included Compact emulator 0 65 mm pitch 100 pin 144 pin 0 5 mm pich 1 M30800T PTC included M3T 100LCC DMS not included M3T FLX100 R not included M3T FLX100 T not included M30800T PTC included M3T 100LCC DMS not included M3T FLX100 R not included M3T FLX100 T not included M3T FLX 100NRB 10...

Страница 31: ...800T PTC to the 100 pin LCC socket Figure 2 12 Connecting to a 100 pin LCC socket CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The connectors of the M30870T2 CPE and M30800T PTC are guaranteed for only 50 insertion removal iterations For purchasing the IC61 1004 051 or for tech...

Страница 32: ...870T2 CPE 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 13 Connecting to a 100 pin 0 65 mm pitch foot pattern part 1 CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The small connectors of the M3T 100LCC DMS and the M3T DUMMY100S are guaranteed for only 20 insertion remo...

Страница 33: ...30800T PTC to the M30870T2 CPE 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 14 Connecting to a 100 pin 0 5 mm pitch foot pattern part 2 CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The small connectors of the M3T 100LCC DMS and M3T DIRECT100S are guaranteed for only ...

Страница 34: ...onnecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The small connectors of the M3T 100LCC DMS and M3T FLX 100NRB are guaranteed for only 20 insertion removal iterations The small connectors of the M30870T2 CPE and M30800T PTC are guaranteed for only 50 insertion removal iterations NQPACK YQPACK YQSOCK...

Страница 35: ...SD to the user system 2 Attach the M30800T PTC to the M30870T2 CPE 3 Attach the M30800T PTC to the M3T 100LCC QSD Figure 2 16 Connecting to a 100 pin 0 5 mm pitch foot pattern part 1 CAUTION Notes on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator and the user system The small connectors of the M30870T2 CPE and...

Страница 36: ... 17 Connecting to a 100 pin 0 5 mm pitch foot pattern part 2 CAUTION Notes on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator and user system The small connectors of the M3T 100LCC DMS and M3T FLX 100NSD are guaranteed for only 20 insertion removal iterations The small connectors of the M30870T2 CPE and M30800T...

Страница 37: ...QPACK100SD to the YQPACK100SD 4 Attach the M3T F160 100NSD to the YQPACK100SD 5 Attach the M30870T2 CPE to the M3T F160 100NSD Figure 2 18 Connecting to a 100 pin 0 5 mm pitch foot pattern part 3 CAUTION Notes on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator and user system The small connectors of the M30870T...

Страница 38: ...YQPACK144SD to the YQPACK144SD 4 Attach the M3T FLX 144NSD to the YQPACK144SD 5 Attach the M30870T2 CPE to the M3T FLX 144SD Figure 2 19 Connecting to a 144 pin 0 5 mm pitch foot pattern CAUTION Notes on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator and user system The small connectors of the M30870T2 CPE and...

Страница 39: ... SW1 RENESAS INT JP1 5 0V JP2 3 3V EXT CLOCK RESET RUN LED3 LED6 LED5 LED4 POWER LED1 SAFE LED2 M30870T2 CPE POWER USB 5 0V 5 0V 3 3V MCU POWER EXT INT JP2 JP1 STATUS SYSTEM STATUS TARGET MADE IN JAPAN COMPACT EMULATOR SAFE POWER POWER CLOCK RESET RUN SW1 AVCC AVSS SW2 P87 SW3 P86 JP1 VDDIO JP1 MCU Power Supply Source Selection Jumper JP2 MCU Power Supply Voltage Selection Jumper M30870T EPBM REV ...

Страница 40: ...5 0V 3 3V MCU POWER EXT INT JP2 JP1 STATUS SYSTEM STATUS TARGET MADE IN JAPAN COMPACT EMULATOR SAFE POWER POWER CLOCK RESET RUN SW1 AVCC AVSS SW2 P87 SW3 P86 JP1 VDDIO JP1 MCU Power Supply Source Selection Jumper JP2 MCU Power Supply Voltage Selection Jumper SW5 A D converter bit selection switch SW4 XOUT M30870T EPBM REV C MADE IN JAPAN AVCC AVSS XOUT NC XCIN P87 NC P86 SW1 C1 C2 EXT INT VCC1 2 V...

Страница 41: ...2 Description 3 3 V Supplied from the emulator The MCU operating voltage is 3 3 V Not connected INT 5 0 V Supplied from the emulator The MCU operating voltage is 5 0 V Connected EXT Invalid Supplied from the user system This emulator consumes max 500 mA of electrical current from the user system CAUTION Note on Setting Jumper Switches Always shut OFF the emulator before changing the setting of the...

Страница 42: ...CC of the MCU to the internal power supply of the emulator and connects pin AVSS to the GND in the emulator XCIN P87 VCONT Factory setting Connects pin P87 of the MCU to the user system XCIN P87 VCONT Connects pin P87 of the MCU to the sub clock oscillator circuit 32 768 kHz SW2 P87 XCIN P87 VCONT Do not set to VCONT Pin P87 is disconnected VSS NC P86 Factory setting Connects pin P86 of the MCU to...

Страница 43: ...internal power supply of the emulator and connects pin AVSS to the GND in the emulator Factory setting Connects pin P87 of the MCU to the user system SW2 P87 Connects pin P87 of the MCU to the sub clock oscillator circuit 32 768 kHz Factory setting Connects pin P86 of the MCU to the user system SW3 P86 Does not connect pin P86 of the MCU XOUT NC Factory setting Does not connect pin XOUT of the MCU...

Страница 44: ...N AD20 to AD22 unused OFF This is a setting when using the analog input port selection function and using AN23 to AN27 for analog input pins Set the analog input pins to ON With this setting set the direction registers of ports P153 to P157 to input Pins P150 to P152 can be used for I O port ISTxD0 ISCLK0 and ISRxD0 When using AN20 to AN27 AD20 to AD27 used ON O N 1 2 3 4 5 6 7 8 AD ON 0 7 OFF 0 7...

Страница 45: ...AN07 1 1 AN20 to AN27 Also when the P0 group and P2 group are selected for A D input port P15 cannot be used as an I O port When setting the register above port P15 cannot be used as an I O port even if A D conversion is halting When using the A D converter in multi port sweep mode be sure to set the all SW5 to ON When setting the register below to use multi port sweep mode you need to set the dir...

Страница 46: ...C 3 or OSC 2 Yes Main XIN XOUT External Oscillator circuit on the user system Internal Internal oscillator circuit 32 768 kHz Sub XCIN XCOUT External Oscillator circuit on the user system Yes 1 Using an Internal Oscillator Circuit Board 1 Kinds of Oscillator Boards The M30870T2 CPE comes with an oscillator circuit board OSC 3 32 MHz And an oscillator circuit bare board OSC 2 is included with this ...

Страница 47: ...emulator Secure the new oscillator circuit board with the screw Figure 2 22 Replacing oscillator circuit boards CAUTION Note on Replacing the Oscillator Circuit Board When removing the upper cover or replacing the oscillator circuit boards be sure to shut OFF the power supply Otherwise the internal circuit may cause a break Oscillator circuit board MADE POWER SW1 COMPACT EMULATOR INT JP1 5 0V JP2 ...

Страница 48: ...circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillation output J1 2 GND J1 1 VCC Figure 2 23 External view of the oscillator circuit board OSC 2 and its connector pin locations IC1 R1 C2 C1 X1 X2 CLK Vcc GND R2 J1 3 10 11 8 9 2 1 4 3 6 5 12 13 IC1 Inverter Unbuffer X1 5 08 mm pitch 2 pin oscilla...

Страница 49: ...aluation MCU into pin XIN And pin XOUT should be open Choose External in the emulator debugger to use this clock Figure 2 25 External oscillator circuit Make note that in the oscillator circuit shown in Figure 2 26 where a resonator is connected between pins XIN and XOUT oscillation does not occur because a converter board and other devices are used between the evaluation MCU and the user system I...

Страница 50: ... M30870T EPBM REV B and structure of this product and Figure 2 28 shows the mounting location of the A D conversion bypass capacitors on the M30870T EPBM REV C and structure of this product Figure 2 27 Foot pattern for the A D conversion bypass capacitor on the M30870T EPBM REV B M30870T EPBM REV B MADE IN JAPAN AVCC AVSS VSS XOUT NC XCIN P87 NC P86 SW2 SW1 SW3 SW4 C 1 C 2 EXT INT VCONT JP1 VCC1 2...

Страница 51: ...etween the evaluation MCU and the user system the A D converter operates differently from that of an actual MCU Make the final evaluation of the A D converter with an actual MCU M30870T EPBM REV C MADE IN JAPAN AVCC AVSS XOUT NC XCIN P87 NC P86 SW2 SW1 SW3 SW4 C 1 C 2 EXT INT JP1 VCC1 2 VCC1 2 C 4 C 3 O N 1 8 2 3 4 5 6 7 SW5 RENESAS C1 C3 Vref Avss bypass capacitor C2 C4 AVcc Avss bypass capacitor...

Страница 52: ...ected is displayed in the MCU section of the MCU tab Cansel Help OK Using or not using the address match break function Specify whether or not to use the address match break function To use the address match break function default select the check box marked by a check mark when selected In this case the address match interrupt is used by the emulator and cannot be used in the user program When no...

Страница 53: ...opped To use the watchdog timer to debug the user program select this check box If this check box is unselected the emulator may run out of control after the user program has stopped To debug a user system that does not use the watchdog timer do not select this check box If this check box is selected the watchdog timer starts after the user program has stopped so that if the user program is reexec...

Страница 54: ...elf checked at startup This function may be enabled in the following cases When you are using the emulator you have just purchased When you fail to download the firmware When you successfully download the firmware but fail to start up the emulator When you want to confirm whether the emulator is operating normally because for example the MCU runs out of control or something is wrong with the trace...

Страница 55: ...y 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 Specifying the method for storing debug information There are two methods for storing debug information on memory method where data is held in memory and an on demand method where data is held in a temporary file On Memory This method helps to speed up p...

Страница 56: ... Help OK Specifying the target clock Specify the clock sources supplied to the MCU main clock and sub clock Select the appropriate clock sources according to the clock used by your target MCU Internal Emulator s internal clock External User system clock The option you have specified here remains effective the next time you start up Page 56 of 102 ...

Страница 57: ... box shown here If you do not want to automatically execute a script command delete the character string displayed in the Init File section of the dialog box What you specify here is reflected at only startup If you specify back again in the Init dialog box after startup whatever you specified has no effect Be sure to restart the emulator debugger Cansel Help OK Restoring the last window state To ...

Страница 58: ...r Mode When setting single chip mode or memory expansion mode the level of pin CNVSS of the MCU status should be L The MCU status shows the pin level of the user system When setting memory expansion mode pins RDY and HOLD of the user system should be H When the user system is not connected all modes are available Cansel Help OK Specifying the processor mode Select the appropriate processor mode th...

Страница 59: ...tching the specified processor mode Check that the RDY and HOLD are H level If they are L level as the MCU enters a wait status and the emulator debugger cannot receive the signal from the MCU an error is displayed Cansel Help OK Referring to the MCU Status It shows the status of each MCU pin Check it to see if the MCU status matches the selected processor mode If a slider is at the center it mean...

Страница 60: ...Setting the Bank Address of the Debug Monitor Setting the Bank Address of the Debug Monitor The debug monitor uses contiguous 64 KB as a work area of the emulator Specify the bank address of the debug monitor e g If E0 is specified 64 KB area from D00000H address is used by the debug monitor Cansel Help OK Page 60 of 102 ...

Страница 61: ... ROM is listed in block units Any block which has had its check box selected is not cleared when downloading The memory content of this block remains intact unless overwritten by downloading Any block which has had its check box deselected is cleared when downloading Click the Select All button and all blocks will be selected marked by a check mark so that none of the blocks is cleared when downlo...

Страница 62: ...xx x30 of Download module Or you can select Download from the Debug menu for the same effect 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 The program counter position is marked by a yellow arrow Here you can execute the program up to the cursor position and set or clear softwa...

Страница 63: ...enu for the same effect Go Free Runs the program beginning with the current PC position The software and hardware breaks set in it are ignored Reset Go Runs the program after reset Or you can select Reset Go from Debug menu for the same effect Step In Single steps the program executing each statement including those in functions Step Over Single steps the program executing each function call as on...

Страница 64: ...he setting line Up to eight breakpoints can be set The address match break causes the program to stop before executing the address at which a breakpoint is set Software breakpoint A software breakpoint can be set or cleared by double clicking the software breakpoint display area in the editor source window A red circle is displayed at the setting line This is rewritten to a break instruction there...

Страница 65: ...g the program up to the cursor position Setup procedure for running the program Enlarged view 2 After the execution has finished up to the cursor position 1 Click the line in the editor source window that you want to be executed 2 Click the execution button to the cursor position Or you can select Go to Cursor from Debug menu for the same effect Page 65 of 102 ...

Страница 66: ...k Point Setting Window in initial state 3 Opening the break event setting dialog box H W breakpoint Setting Window in initial state Select the Enable H W Break check box and this break function will be enabled allowing you to set hardware breakpoints Hardware Break Point Setting Break Event Click the event line at which you want set a break event Clicking this button opens the hardware breakpoint ...

Страница 67: ...ow for setting addresses 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 Setting the address You can set eight conditions e g a specified address a specified address range etc When you have finished setting the address click OK Page 67 of 102 ...

Страница 68: ...r setting data Setting the address You can set eight conditions e g a specified address a specified address range etc Setting data You can set two conditions e g specified data or not to compare data Setting the access condition You can set three conditions e g read write and read write When you have finished setting the data and access condition click OK Page 68 of 102 ...

Страница 69: ...n address byte access MOV B R0L 516h R0L 03h Low order data effective Event setting for odd address byte access MOV B R0L 515h R0L 03h High order data effective Setting a break event A1 Address 1 000512 Data 1 0203 MASK FFFF Access WRITE Setting a break event using 2 events A1 A2 Address 1 000519 Address 1 00051A Data 1 0300 Data 1 0002 MASK FF00 MASK 00FF Access WRITE Access WRITE Set the combina...

Страница 70: ...torial event condition There are following three conditions that you can choose for the combinatorial events OR The program breaks when one of the specified events occurs 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 When you have finished setting the combinatorial event condition click the Set button...

Страница 71: ...a can be inspected together Contents are displayed in order of the execution paths Disassemble mode The execution paths of the executed instructions can be inspected The contents are displayed in order of execution paths Source mode The execution paths of the source program can be inspected These modes can be switched over using the respective toolbar buttons The trace window shows the measurement...

Страница 72: ...U Bus Interface Unit and memory or I O Symbol Status No change WAIT Executing the wait instruction RBML Read bytes ML on F Fetch QC Discontinuous fetch RWML Read words ML on INT Interrupt acknowledge cycle RB Read bytes WB Write bytes DRB Read bytes by DMA DWB Write bytes by DMA RW Read words WW Write words DRW Read words by DMA DWW Write words by DMA R W Shows the status of the data bus Displayed...

Страница 73: ...ary 16 2006 2 Suspending and resuming trace measurement 1 Suspending trace measurement 2 Resuming trace measurement Stop Click this toolbar button to suspend the trace measurement in progress Re Start Click this toolbar button to resume the trace measurement in progress Page 73 of 102 ...

Страница 74: ...og box 2 Trace Point Setting Window in initial state Trace Point Trace Point Setting Window in initial state Be sure to enable the trace point function in the Init dialog box before you set up in this window Here you can set events in the same way as for the hardware breakpoints Clicking this toolbar button opens the trace point setting window Page 74 of 102 ...

Страница 75: ...uction execution after a trace began is recorded Setting the trace write condition You can specify a condition for the cycles to be written into the trace memory Total All cycles are written into memory Pick up Only the cycles in which the specified condition was met are written into memory Exclude Only the cycles in which the specified condition was not met are written into memory When you have f...

Страница 76: ...w 1 Opening the RAM monitor window 2 RAM monitor area setting window 1 Opening RAM monitor area setting window RAM monitor Base Clicking this toolbar button opens the RAM monitor area setting window Clicking this button opens the RAM monitor window Or you can select RAM monitor from CPU of Display menu for the same effect Page 76 of 102 ...

Страница 77: ... By default the monitor area is set to 000400h through 0007FFh To change it click the line you want to set 3 RAM monitor area setting dialog box Specifying the start address You can set the start address of the RAM area to be monitored Specifying the size You can set the size to be monitored by specifying the number of blocks from the start address One block is 256 bytes in size Page 77 of 102 ...

Страница 78: ... RAM Monitor Area Setting Window will be displayed Changing the RAM monitor display area You can change the manner in which the RAM monitor area you have set in the above dialog box is displayed Shows the blocks at the preceding addresses Shows the blocks at the following addresses The background colors of the data display and the code display sections change with the access attribute as described...

Страница 79: ...uct Table 4 1 Specifications of target MCUs for the M30870T2 CPE Item Description Applicable MCU M32C 87 Group Applicable MCU mode Single chip mode memory expansion mode Maxi ROM RAM capacity 1 Internal flash ROM 1024KB 4KB 0F000h 0FFFFh F00000h FFFFFFh 2 Internal RAM 48KB 00400h 0C3FFh Operating voltage frequency VCC1 VCC2 4 2 5 5V 32MHz VCC1 VCC2 3 0 5 5V 24MHz If using this product when the vol...

Страница 80: ...1 When JP1 of the M30870T EPBM is set as VCC1 2 3 0 V VCC1 VCC2 5 5 V 2 When JP1 of the M30870T EPBM is set as VCC1 2 4 8 V VCC1 5 2 V 3 0 V VCC2 VCC1 Do not change the voltage of the user system after turning on the power Notes on Using This Product When the Voltage of VCC1 is Higher than That of VCC2 If using this product when the voltage of VCC1 is higher than that of VCC2 set the JP1 of the M3...

Страница 81: ...cs of the A D converter differ from those of actual MCU because there are a converter board and other devices between the evaluation MCU and the user system 7 Port P15 As one of I O ports P15 is connected to the user system through the analog switch circuit electric characteristics slightly differ from those of an actual MCU 8 When the SW4 is set to XOUT in stop mode a clock is output from the XOU...

Страница 82: ... on Access Prohibited Area The emulator control register 000020h 00003Fh in the SFR is read and write protected When this register is accessed emulator control cannot be utilized With this product address FFFFFFh cannot be read or written in correctly Note on DMA Transfer With this product the user program is stopped with a loop program to a specific address Therefore if a DMA request is generated...

Страница 83: ... system such as the emulator s control system are omitted in Figures 4 1 4 2 and 4 3 Table 4 2 shows IC electric characteristics of this product for reference purposes Figure 4 1 Connection diagram when using M30870T EPBM REV B 1 3 AVcc Vref AVss P85 NMI CNVss BYTE P55 RDY P57 HOLD C1 C2 R17 R18 SW1 SW4 143 142 140 24 100 100k R14 100k RESET R16 100k R15 100k XIN XOUT User system IC1 I O Emulate M...

Страница 84: ... C1 C2 R17 R18 SW1 SW4 143 142 140 24 100 100k R14 100k RESET R16 100k R15 100k XIN XOUT User system IC1 I O Emulate MCU AVcc Vref AVss P85 NMI P87 Xcin Vcont AVcc Vcc AVss GND XOUT NC Connected to the inside of the emulator IC15 CPU Emulate MCU Vcc P86 Xcout SW2 18 17 P87 Xcin Vcont P86 Xcout P86 NC P87 XCIN Xcin XCIN NC NC Xcout SW3 17 18 Vcc Vcc Vcc XOUT 20 NC NC NC Vref C3 C4 143 142 140 AVcc ...

Страница 85: ...P15 AP15 AP15 P2 P2 P2 P2 2 3 9 10 1 4 8 11 13 5 6 12 P15 2 P15 3 P15 9 P15 10 1 4 8 11 13 5 6 12 2 3 9 10 1 4 8 11 13 5 6 12 P2 P2 P2 P2 P15 P15 P15 P15 0 1 2 3 0 1 2 3 0 1 2 3 4 5 6 7 4 5 6 7 4 5 6 7 4 5 6 7 0 1 2 3 IC8 QA QB QC QD XA XB XC XD CA CB CC CD 2 3 9 10 IC7 1 4 8 11 13 5 6 12 QA QB QC QD XA XB XC XD CA CB CC CD 2 3 9 10 1 4 8 11 13 5 6 12 QA 2 3 9 10 QB QC QD XA XB XC XD CA CB CC CD I...

Страница 86: ...e M30800T PTC and LCC socket Figure 4 4 External dimensions of the compact emulator 85 0 60 0 Unit mm 41 1 16 3 5 5 10 8 15 0 55 0 15 0 21 0 9 0 10 0 9 0 10 0 MADE POWER SW1 COMPACT EMULATOR INT JP1 5 0V JP2 3 3V EXT CLOCK RESET RUN LED3 LED6 LED5 LED4 POWER LED1 SAFE LED2 M30870T2 CPE POWER USB 5 0V 5 0V 3 3V MCU POWER EXT INT JP2 JP1 STATUS SYSTEM STATUS TARGET MADE IN JAPAN COMPACT EMULATOR POW...

Страница 87: ...6 4 4 2 External Dimensions of the M30800T PTC Figure 4 5 shows external dimensions of the converter board M30800T PTC for a 100 pin QFP 100P6S Unit mm Figure 4 5 External dimensions of the M30800T PTC 1 30 31 50 CN2 CN1 100 81 80 51 MADE I N JAPAN 55 0 40 0 13 5 13 5 M30800T PTC Page 87 of 102 ...

Страница 88: ...ensions of the M3T F160 100NSD 4 4 4 External Dimensions of the M3T FLX 144NSD Figure 4 7 shows external dimensions of the converter board M3T FLX 144NSD for a 144 pin LQFP 144P6Q Unit mm Figure 4 7 External dimensions of the M3T FLX 144NSD 40a 40b 1a 1b CN2 M3T F160 100NSD REV A 50 26 25 1 51 75 76 100 CN1 MADE IN JAPAN 40a 40b 1a 1b 55 0 21 5 40 0 16 2 21 5 1 36 37 72 CN 1 144 109 108 73 MADE IN...

Страница 89: ... A clock generated by the oscillator in the user system is supplied It depends on the status of the oscillation on off of the user system When operating this product with a sub clock be sure to set the SW2 and SW3 to XCIN and NC respectively Notes on Using the CPU Clock at Less than 10 MHz To use the CPU clock at less than 10 MHz execute the command shown below in the Script Window after starting ...

Страница 90: ... on the Watchdog Function When using the watchdog function check the box of Debug the program using the Watchdog Timer in the MCU tab of the Init dialog box When not using the watchdog function do not check the box If the reset circuit of the user system has a watchdog timer disable it when using the emulator Notes on Debugging in CPU Rewrite Mode To debug a program in CPU rewrite mode check the b...

Страница 91: ...Note on Voltage Detect Circuit With the M30870T2 CPE as the power voltage cannot be change after powering on the user system the voltage detect circuit voltage down detect interrupt and hardware reset 2 cannot be used with this product Note on Protect Register A protect is not canceled when protect register bit 2 PRC2 which enables writing in the port P9 direction register and the function select ...

Страница 92: ...bove port P15 cannot be used as an I O port even if A D conversion is halting For the switch SW5 refer to 2 9 1 Setting Switches of Emulator page 39 When setting the register below to use multi port sweep mode you need to set the direction register of port P15 for a pin that performs A D conversion to input And you need to set the function selection register of port P15 for a pin that performs A D...

Страница 93: ...ct complies with CE marking EN55022 1998 Class A EN55024 1998 Please use it with care described below Electrostatic Discharge Precautions must be taken when handling the product Must not be used within 30 meters of a domestic radio or television receiver For correct operation of this product it is recommended that Mobile phones are not used within 10 meters of this product system This product shou...

Страница 94: ... 1 Check connection of the power supply cable See 2 4 Connecting the Power Supply for Emulator page 22 2 Check that the power is properly supplied to the user system See 2 6 Turning ON the Power Supply page 24 Init dialog box of emulator debugger displayed 1 Check the operating environment etc of the emulator debugger See the user s manual of the emulator debugger 2 Reinstall the emulator debugger...

Страница 95: ...at power is properly supplied to the user system and that the user system is properly grounded Not connected 1 Check that both the main and sub clocks of the emulator debugger are not set to EXT See the CLK command of the emulator debugger 2 Check that the oscillator circuit board is properly installed in the emulator and is oscillating See 2 9 2 Selecting Clock Supply page 46 Target Status CLOCK ...

Страница 96: ...heck that the reset pin of the user system has changed from Low to High level Target MCU cannot be reset 1 Check that pin NMI is held High 2 If the reset circuit of the user system has a watchdog timer disable the timer 3 Check that power is properly supplied to the user system and that the user system is properly grounded Target is in HOLD state The MCU is either in stop mode or wait mode Either ...

Страница 97: ...ebugger Startup Table 5 3 Checkpoints of errors at debugger startup Error Checkpoint Target MCU is uncontrollable 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 Check that pin CNVSS is held Low Page 97 of 102 ...

Страница 98: ...your local distributor http tool support renesas com eng toolnews registration support txt For prompt response please specify the following information 1 Operating environment Operating voltage V Operating frequency MHz Clock supply to the MCU Internal oscillator External oscillator 2 Condition The emulator debugger starts up does not start up The error is detected not detected in the self check F...

Страница 99: ...owing causes we will repair it or replace it with new one with extra charge Misuse abuse or use under extraordinary conditions Unauthorized repair remodeling maintenance and so on Inadequate user s system or misuse of it Fires earthquakes and other unexpected disasters In the above cases contact your local distributor If your product is being leased consult the leasing company or the owner 6 4 Rep...

Страница 100: ...t for repair to your local distributor Make sure that information in the Repair Request Sheet is written in as much detail as possible to facilitate repair CAUTION Note on Transporting the Product When sending your product for repair use the packing box and cushion material supplied with this product when delivered to you and specify handling caution for it to be handled as precision equipment If ...

Страница 101: ...ication Date Feb 16 2006 Rev 4 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 ...

Страница 102: ...M30870T2 CPE User s Manual ...

Отзывы: