background image

M30870T-EPB User’s Manual 

3. Usage (Emulator Debugger) 

REJ10J0482-0300  Rev.3.00  February 16, 2006 

 
3. RAM monitor area setting dialog box 

 

Specifying the start address

 
4. RAM monitor area setting dialog box when RAM monitor area is changed from 400h to 1 block 

 
 
5. RAM monitor area setting dialog box 

 

 

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. 

Specifying the start address 

You can set the start address of the RAM area to be

monitored. To add a RAM monitor area, click the "Add..."

button. The 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. 

-  Up 

: Shows the blocks at the preceding addresses. 

-  Down  : 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 below. 

-  Green  : Addresses accessed for read 

-  Red 

: Addresses accessed for write 

-  White  : Addresses not accessed 

The background colors can be changed as necessary. 

 

Page 78 of 104 

Содержание Emulation Probe for M32C/87 Group M30870T-EPB

Страница 1: ...REJ10J0482 0300 T M30870T EPB User s Manual Emulation Probe for M32C 87 Group Rev 3 00 Feb 16 2006...

Страница 2: ...l 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 in...

Страница 3: ...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 Rel...

Страница 4: ...am 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 integrati...

Страница 5: ...ng 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...

Страница 6: ...ly 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...

Страница 7: ...le 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 o...

Страница 8: ...mulator main unit and the target MCU connector pins Static electricity may damage the internal circuits Do not pull this product by the flexible cable for connecting to the emulator main unit and emul...

Страница 9: ...Download Firmware 26 2 7 2 Downloading Firmware in Maintenance Mode 26 2 8 Self check 27 2 8 1 Self check Procedure 27 2 8 2 If an Error is Detected in the Self check 28 2 9 Connecting the User Syste...

Страница 10: ...ing This Product 89 Notes on Downloading Firmware 89 Note on Quitting the Emulator Debugger 89 Notes on Power Supply to the User System 89 Notes on Using This Product When the Voltage of VCC1 is Highe...

Страница 11: ...r 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...

Страница 12: ...MCUs Host machine This means a personal computer used to control the emulator main unit and emulation probe Software break A software break is a function to break the program before the system execut...

Страница 13: ...g your product for repair or other purposes Always use these packing box and cushion material when transporting this product If there is any question or doubt about the packaged product contact your l...

Страница 14: ...n of the M30870T EPB system Figure 1 1 System configuration 1 Emulation probe M30870T EPB this product This emulation probe contains an evaluation MCU 2 Converter board M30800T PTC included This is a...

Страница 15: ...3 lists the definition of each system status LED Table 1 3 Definitions of the system status LEDs Name Status Meaning ON Emulator system power supply is turned ON POWER OFF Emulator system power supply...

Страница 16: ...the target MCU POWER OFF Power is not supplied to the target MCU ON Target MCU clock is oscillating CLOCK OFF Target MCU clock is not oscillating ON Target MCU is being reset RESET OFF Target MCU is n...

Страница 17: ...ccess result Hardware break function 8 points Execution address bus detection interrupt external trigger signal Execution time measurement function Time between program start and stop Maximum minimum...

Страница 18: ...ded M3T 100LCC DMS not included M3T DUMMY100S not included 3 M30800T PTC included M3T 100LCC DMS not included M3T DIRECT100S not included For 100 pin LCC socket M30800T PTC included IC61 1004 051 incl...

Страница 19: ...e USB interface cable or LAN interface cable Set the interface selection switch on the rear panel of the PC7501 to the using interface Connect the power supply for the emulator Connect a power supply...

Страница 20: ...ee of charge http download renesas com eng mpumcu upgrades in_circuit_emulators pc7501 index html 2 Launching the installer Start the setup exe program 3 Entering the user information In the user info...

Страница 21: ...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...

Страница 22: ...board side to the M3T FLX160 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 t...

Страница 23: ...e AC power cable to the receptacle CAUTION Cautions for AC Adapter Use only the AC adapter included in PC7501 package The included AC adapter is for PC7501 Do not use it for other product Before insta...

Страница 24: ...10 seconds IMPORTANT Notes on Power Supply The emulator s pin Vcc is connected to the user system in order to monitor user system voltage For this reason the emulator cannot supply power to the user...

Страница 25: ...LED does not light Figure 2 4 LED display when the power turned on PC7501 IMPORTANT Note on Memory Expansion and Microprocessor Modes To use memory expansion or microprocessor mode be sure to set pins...

Страница 26: ...t the LPT parallel interface cable to the PC7501 and the host machine 2 Within 2 seconds of activating power to the emulator press the RESET switch on the PC7501 upper panel to switch to maintenance m...

Страница 27: ...ower side VDDIO switch JP1 VCC1 2 side Figure 2 6 Self check procedure ON OFF Flashing POWER CLOCK RESET RUN WARNING POWER SAFE ERROR SYSTEM STATUS TARGET STATUS Maintenance mode started POWER CLOCK R...

Страница 28: ...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 If the...

Страница 29: ...LX100 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 100 pin QFP not included M3T 100LCC Q...

Страница 30: ...pin LCC socket Figure 2 8 Connecting to a 100 pin LCC socket 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...

Страница 31: ...EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 9 Connecting to a 100 pin 0 65 mm pitch foot pattern 1 3 CAUTION Notes on Connecting the User System Take care not to attach the converter b...

Страница 32: ...TC to the M30870T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 10 Connecting to a 100 pin 0 65 mm pitch foot pattern 2 3 CAUTION Notes on Connecting the User System Take care not to att...

Страница 33: ...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 100N...

Страница 34: ...the user system 2 Attach the M30800T PTC to the M30870T EPB 3 Attach the M30800T PTC to the M3T 100LCC QSD Figure 2 12 Connecting to a 100 pin 0 5 mm pitch foot pattern 1 3 CAUTION Notes on Connectin...

Страница 35: ...not included M3T FLX160 EPB M30870T EPB CN2 side 3 4 M30800T PTC 2 1 100 pin 0 5 mm pitch 100P6Q foot pattern No 1 pin User system M3T FLX 100NSD not included FLASH MCU etc On board evaluation These f...

Страница 36: ...YQPACK100SD to the YQPACK100SD 4 Attach the M3T F160 100NSD to the YQPACK100SD 5 Attach the M30870T EPB to the M3T F160 100NSD Figure 2 14 Connecting to a 100 pin 0 5 mm pitch foot pattern 3 3 CAUTIO...

Страница 37: ...YQPACK144SD to the YQPACK144SD 4 Attach the M3T FLX 144NSD to the YQPACK144SD 5 Attach the M30870T EPB to the M3T FLX 144SD Figure 2 15 Connecting to a 144 pin 0 5 mm pitch foot pattern CAUTION Notes...

Страница 38: ...17 shows the positions of the switches of the M30870T EPBM REV C Figure 2 16 Positions of the switches of the M30870T EPBM REV B Figure 2 17 Positions of the switches of the M30870T EPBM REV C M30870...

Страница 39: ...U to the user system SW1 AVCC AVSS AVCC AVSS EXT INT Connects pin AVCC 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 s...

Страница 40: ...em SW1 AVCC AVSS AVCC AVSS EXT INT Connects pin AVCC of the MCU to the internal power supply of the emulator and connects pin AVSS to the GND in the emulator Factory setting Connects pin P87 of the MC...

Страница 41: ...ect bits When using AN23 to AN27 O N 1 2 3 4 5 6 7 8 AD ON 0 7 OFF 0 7 AD23 to AD27 used ON AD20 to AD22 unused OFF This is a setting when using the analog input port selection function and using AN23...

Страница 42: ...2 address 394h b2 b1 1 0 AN00 to 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 c...

Страница 43: ...l Oscillator of user system Yes IMPORTANT Notes on Changing the Clock Supply The clock supply can be set by the Init dialog box when starting up the emulator debugger or inputting CLK command on the s...

Страница 44: ...REJ10J0482 0300 Rev 3 00 February 16 2006 2 Replacing an Oscillator Circuit Board Remove the four screws of both sides of this product and lift off the upper cover see Figure 2 18 Figure 2 18 Removin...

Страница 45: ...uring 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 19 Rep...

Страница 46: ...itry 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 20 External...

Страница 47: ...e emulator debugger and it is supplied as a main clock It does not depend on either the oscillator circuit board in the PC7501 or the oscillator circuit on the user system If you want to debug program...

Страница 48: ...e M30870T EPBM REV B and structure of this product and Figure 2 25 shows the mounting location of the A D conversion bypass capacitors on the M30870T EPBM REV C and structure of this product Figure 2...

Страница 49: ...ween the evaluation MCU and the user system the A D converter operates differently from an actual MCU Make the final evaluation of the A D converter using an actual MCU M30870T EPBM REV C MADE IN JAPA...

Страница 50: ...g the MCU file Specifying the MCU file Click the Refer button A file selection dialog box will be displayed so select the desired MCU file The MCU file is stored in the directory in which you installe...

Страница 51: ...of the emulator at the IP address area Specify the IP address by one byte of decimal number separating each four bytes with a period Specify the port number at the Port area 4 Specifying the communic...

Страница 52: ...otes on Selection of Whether or Not to Use the Watchdog Timer If the check box Debug the program using the Watchdog Timer is selected while the user program remains idle the emulator is performing ref...

Страница 53: ...ware breakpoint setting in the internal ROM area Execution of COME in the internal ROM area Executing the self check Enable this function when you want the emulator to be self checked at startup Be su...

Страница 54: ...ompiler 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 wher...

Страница 55: ...created in PC7501 The option you have specified here remains effective the next time you start up Selecting the event output trigger input cable Select input output of the event output trigger input...

Страница 56: ...ox 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 s...

Страница 57: ...pansion 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 microprocessor mode the level of pin CNVSS of the MCU status should...

Страница 58: ...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 erro...

Страница 59: ...ough it can be displayed The below bank addresses cannot be set for the debug monitor 1 MCU internal resources ROM RAM and SFR areas 2 Multiplex areas 3 Interrupt vector area Monitor The debug monitor...

Страница 60: ...area external resource on user system IMPORTANT Notes on Using Emulation Memory for Expansion When single chip mode or memory expansion mode is set as a processor mode internal ROM area is automatica...

Страница 61: ...isted 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 ha...

Страница 62: ...ent of the source file corresponding to the current position of the program counter It automatically opens when the emulator starts up The program counter position is identified by the yellow backgrou...

Страница 63: ...he user program has stopped RESET Resets the program GO Executes the program from the current PC position STEP Single steps the program stepping subroutines OVER Single steps the program skipping over...

Страница 64: ...causes the program to stop before executing the address at which a breakpoint is set Software breakpoint B A software breakpoint can be set or cleared by double clicking the breakpoint display area T...

Страница 65: ...006 4 Executing up to the cursor position Come command 1 Specifying the Come command Setup procedure for executing COME 2 After the Come command has finished command 1 Click the line in the program di...

Страница 66: ...oint 2 Hardware Break 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 b...

Страница 67: ...e 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 terminatio...

Страница 68: ...ing data Setting the address You can set eight conditions e g a specified address a specified address range etc Setting data You can set eight conditions e g a specified data a specified data range et...

Страница 69: ...519h R0 0203h A1 A2 Address 1 000519 Address 1 00051A Data 1 0300 Data 1 0002 MASK FF00 MASK 00FF Odd address high order data effective Access WRITE Access WRITE Even address low order data effective...

Страница 70: ...when all of the specified events occur AND Same Time The program breaks when the specified events occur at the same time OR The program breaks when one of the specified events occurs STATE TRANSITION...

Страница 71: ...isassemble data access mixed mode The executed instruction and the content of the accessed data can be inspected together Contents are displayed in order of the execution paths Disassemble mode The ex...

Страница 72: ...d bytes WB Write bytes DRB Read bytes by DMA DWB Write bytes by DMA RW Read words WW Write words Source display DRW Read words by DMA DWW Write words by DMA R W Shows the status of the data bus Displa...

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

Страница 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...

Страница 75: ...ruction 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 mem...

Страница 76: ...ening the RAM monitor window RAM monitor window This window shows changes of memory contents while the user program is executed This is accomplished by using the real time RAM monitor function and the...

Страница 77: ...ning RAM monitor area setting window 2 RAM monitor area setting window in initial state Base RAM Monitor Area Setting Window in initial state By default the monitor area is set to 000400h through 0007...

Страница 78: ...g the start address You can set the start address of the RAM area to be monitored To add a RAM monitor area click the Add button The RAM Monitor Area Setting Window will be displayed Changing the RAM...

Страница 79: ...1 Specifications of target MCUs for the M30870T EPB Item Description Applicable MCU M32C 87 Group Applicable MCU mode Single chip mode memory expansion mode microprocessor mode Maxi ROM RAM capacity 1...

Страница 80: ...er system refer to 2 Using the Oscillator Circuit on the User System page 47 6 A D conversion As a converter board and other devices are used between the evaluation MCU and the user system some charac...

Страница 81: ...gging is being performed the evaluation MCU keeps running so as to control the emulator so the function such as timer is operated Take note that when the user program is not being executed including w...

Страница 82: ...sfer completion interrupts during program execution only Do not generate DMAC II transfer completion interrupts when you use any function but program execution Note on Final Evaluation Be sure to eval...

Страница 83: ...m 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 usi...

Страница 84: ...1 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 Vc c AVss GND XOUT NC Connected to the...

Страница 85: ...B 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 IC6 1 4 8 11 13 5 6 12 IC10 QA QB QC QD XA XB XC XD...

Страница 86: ...1 External Dimensions of the Emulation Probe Figure 4 4 shows external dimensions of the M30870T EPB connected with the M30800T PTC and LCC socket PCA7501EPBA REV A MADE IN JAPAN 85 0 60 0 30 0 16 3 1...

Страница 87: ...J10J0482 0300 Rev 3 00 February 16 2006 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...

Страница 88: ...al dimensions of the converter board M3T F160 100NSD for a 100 pin LQFP 100P6Q Unit mm Figure 4 6 External dimensions of the M3T F160 100NSD 4 4 4 External Dimensions of the M3T FLX 144NSD Figure 4 7...

Страница 89: ...cessfully there may be trouble with the product In such case contact your sales representative Perform the self check while not connecting the user system Note on Quitting the Emulator Debugger To res...

Страница 90: ...execution status 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...

Страница 91: ...er system To set microprocessor mode pin CNVSS used with MCU status must be H To set memory expansion mode or microprocessor mode pins RDY and HOLD used with MCU status must be H When the user system...

Страница 92: ...ting a hardware breakpoint 4 Executing COME When CPU rewrite program is allocated to the expansion emulation memory the program may run out of control For the CPU rewrite program use an internal RAM a...

Страница 93: ...2 and bit1 of 0394h port P15 can be used as an I O port and intelligent I O pin However external trigger mode ADtrg and three phase timer B2 cannot be used When using the m30870 mcu set all the SW5 sw...

Страница 94: ...When setting the register above port P15 cannot be used as an I O port even if A D conversion is halting For the switch SW5 refer to 2 10 1 Setting Switches of Emulation Probe page 38 When setting th...

Страница 95: ...ED of emulator 1 Check connection of the power supply cable See 2 5 Connecting the Power Supply for the Emulator page 23 2 Check that the power is properly supplied to the user system See Turning ON t...

Страница 96: ...ht up Connected Check that power Vcc 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 debug...

Страница 97: ...H level Target MCU cannot be reset 1 Check pin NMI is held high 2 If in memory expansion mode or microprocessor mode check pins RDY and HOLD are held high 3 If the reset circuit of the user system has...

Страница 98: ...CU 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 pin NMI is held high 4 If i...

Страница 99: ...ur 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 Operat...

Страница 100: ...ing 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 syst...

Страница 101: ...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...

Страница 102: ...M30870T EPB User s Manual 6 Maintenance and Guarantee REJ10J0482 0300 Rev 3 00 February 16 2006 Page 102 of 104...

Страница 103: ...ation Date Feb 16 2006 Rev 3 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2006 Renesas Technology Cor...

Страница 104: ...M30870T EPB User s Manual...

Отзывы: