Renesas M16C/30P User Manual Download Page 29

M3062PT2-EPB User’s Manual 

2. Setup 

REJ10J0868-0200  Rev.2.00  January 16, 2006 

 
 

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. 
Then contact your local distributor. 

 

 

 

Page 29 of 102 

Summary of Contents for M16C/30P

Page 1: ...REJ10J0868 0200 T M3062PT2 EPB User s Manual Emulation Probe for M16C 62P and M16C 30P Groups Rev 2 00 Jan 16 2006...

Page 2: ...cribed here may contain technical inaccuracies or typographical errors Renesas Technology Corp assumes no responsibility for any damage liability or other loss rising from these inaccuracies or errors...

Page 3: ...his product 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...

Page 4: ...unit for use in your program 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...

Page 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...

Page 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...

Page 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...

Page 8: ...this emulator by the communications interface cable or the flexible cable And excessive flexing or force may break conductors Do not flex the flexible cable for connecting to the emulator main unit an...

Page 9: ...ware 27 2 7 2 Downloading Firmware in Maintenance Mode 27 2 8 Self check 28 2 8 1 Self check Procedure 28 2 8 2 If an Error is Detected in the Self check 29 2 9 Connecting the User System 30 2 9 1 Con...

Page 10: ...pansion Mode and Microprocessor Mode Vcc1 Vcc2 5V 72 4 2 2 Operation Timing of Memory Expansion Mode and Microprocessor Mode Vcc1 Vcc2 3V 77 4 3 Differences between the Actual MCU and Emulator 82 4 4...

Page 11: ...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 Without user regist...

Page 12: ...s version management Firmware Program that analyzes contents of communication with the emulator debugger and controls the emulator hardware This program is installed in the flash memory in the emulato...

Page 13: ...x 8 1 H W Tool Customer Registration Sheet English 1 H W Tool Customer Registration Sheet Japanese 1 M3062PT2 EPB User s Manual this manual 1 M3062PT2 EPB User s Manual Japanese 1 M3062PT2 EPB Supplem...

Page 14: ...PC7501 M16C R8C PC7501 Emulator debugger Emulator debugger M3T PD30F 80 pin 0 65 mm pitch QFP PRQP0080JA A Previous code 80P6S A M3062PT 80FPB M3T F160 100NRB M3T 100LCC DMS M3T DIRECT100S M3T 100LCC...

Page 15: ...converter board for connecting to 100 pin 0 65 mm pitch LCC socket IC61 1004 051 on the user system For details refer to 2 9 Connecting the User System page 30 3 Emulator main unit PC7501 The emulato...

Page 16: ...ator system power supply is turned ON POWER OFF Emulator system power supply is turned OFF ON Emulator system is operating normally Flashing 1 The self check is being executed 2 Downloaded firmware is...

Page 17: ...ll the terminals Note on the Target Status CLOCK LED If the LED is not turned on check the following 1 After powering on the PC7501 before starting up the emulator debugger Make sure that the oscillat...

Page 18: ...ution supporting software breaks Memory reference setting reference setting C variables run time execution Register reference setting Disassemble display C level debugging etc Real time trace function...

Page 19: ...ded Connection to user system see 2 9 Connecting the User System on page 30 For 128 pin 0 5 mm pitch LQFP PLQP0128KB A Previous code 128P6Q A M3T FLX 128NRD not included 1 5 Operating Environment Be s...

Page 20: ...face Connect the M3062PT2 EPB to the emulator Connect the M3062PT2 EPB and the M3T FLX160 EPB of the PC7501 Connect the power supply for the emulator Connect a power supply for the emulator Connect th...

Page 21: ...1 Downloading the M16C R8C PC7501 emulator debugger Download the M16C R8C PC7501 emulator debugger from the URL below http download renesas com eng mpumcu upgrades in_circuit_emulators pc7501 index h...

Page 22: ...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...

Page 23: ...ting 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 dire...

Page 24: ...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...

Page 25: ...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 for about 10 seconds IMPORTANT Note...

Page 26: ...does not light unless power is supplied to all the terminals Note on the Target Status CLOCK LED If the LED is not turned on check the following 1 After powering on the PC7501 before starting up the...

Page 27: ...nnect the LPT parallel interface cable to the PC7501 and the host machine 2 Within 2 seconds of activating power to the emulator press the system reset switch on the PC7501 front panel to switch to ma...

Page 28: ...ting Voltage VCC1 2 VCC1 2 Factory setting 2 7 V Vcc1 Vcc2 5 5 V JP1 VCC1 2 VCC1 2 Vcc1 5 0 0 2 V and 2 7 V Vcc2 Vcc1 ON OFF Flashing POWER CLOCK RESET RUN WARNING POWER SAFE ERROR SYSTEM STATUS TARGE...

Page 29: ...OR 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 con...

Page 30: ...FLX100 T not included M3T FLX100 R not included No 1 pin 1 These three products are included in one pakcage 1 LCC socket 100 pin LCC included M3T DIRECT100S 100 pin QFP not included M3T DUMMY100S 100...

Page 31: ...T2 EPB 4 Attach the M3062PT 80FPB to the YQPACK080SB Figure 2 8 Connecting to an 80 pin 0 65 mm pitch foot pattern NQPACK YQPACK YQSOCKET YQ GUIDE and HQPACK are trademarks of Tokyo Eletech Corporatio...

Page 32: ...TC to the 100 pin LCC socket Figure 2 9 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 fat...

Page 33: ...2 side of the M3T F160 100NRB to the J4 side of the M3062PT2 EPB 4 Attach the M3T F160 100NRB to the YQPACK100RB Figure 2 10 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 1 CAUTION Notes on...

Page 34: ...PTC to the J4 side of the M3062PT2 EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 11 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 2 CAUTION Notes on Connecting the User System...

Page 35: ...M3062PT2 EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 12 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 3 CAUTION Notes on Connecting the User System Take care not to attach a...

Page 36: ...o the J4 side of the M3062PT2 EPB 6 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 13 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 4 CAUTION Notes on Connecting the User System Take...

Page 37: ...e M3T F160 100NSD to the J4 side of the M3062PT2 EPB 4 Attach the M3T F160 100NSD to the YQPACK100SD Figure 2 14 Connecting to a 100 pin 0 5 mm pitch foot pattern Part 1 CAUTION Notes on Connecting th...

Page 38: ...0LCC QSD to the TQSOCKET100SDG 4 Attach the CN2 side of the M30800T PTC to the J4 side of the M3062PT2 EPB 5 Attach the M30800T PTC to the M3T 100LCC QSD Figure 2 15 Connecting to a 100 pin 0 5 mm pit...

Page 39: ...16 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 a converter board in a wrong direction It may cause a fatal damage to th...

Page 40: ...M3T F160 128NRD to the J4 side of the M3062PT2 EPB 4 Attach the M3T F160 128NRD to the YQPACK128RD Figure 2 17 Connecting to a 128 pin 0 5 mm pitch foot pattern CAUTION Notes on Connecting the User S...

Page 41: ...2 2 lists how to set the switch Figure 2 18 Position of the JP1 Table 2 2 Switch settings of the JP1 Switch Setting Voltage VCC1 2 VCC1 2 Factory setting 2 7 V Vcc1 Vcc2 5 5 V JP1 VCC1 2 VCC1 2 Vcc1 5...

Page 42: ...and the configuration of this product Figure 2 19 Foot pattern for A D conversion bypass capacitors and the configuration of this product IMPORTANT Note on the A D Converter Because a converter board...

Page 43: ...2 20 shows the positions of the pullup resistors And Table 2 3 lists the emulation port numbers and the pullup resistor part numbers Figure 2 20 Positions of the pullup resistors Table 2 3 Emulation p...

Page 44: ...illator circuit 32 768 kHz Sub XCIN XCOUT External Oscillator circuit on the user system Yes IMPORTANT Notes on Changing the Clock Supply The clock supply can be set by the Init dialog box when starti...

Page 45: ...REJ10J0868 0200 Rev 2 00 January 16 2006 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 Removi...

Page 46: ...ift 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...

Page 47: ...ws the circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer Figure 2 23 External view of the oscillator circuit board O...

Page 48: ...he PC7501 can generate any arbitrary frequency specified by the emulator debugger and it can be supplied as a main clock It does not depend on either the oscillator circuit board in the PC7501 or the...

Page 49: ...down list To connect to the PC7501 M16C Emulation Probe select SessionM16C_R8C_PC7501_Emulator 3 1 1 INIT Dialog Box After specifying the session an Init dialog box to connect the target is displayed...

Page 50: ...tes with a period Specify the port number at the Port area Supplementary explanation When you are using the LAN communication for the for the first time connect the emulator through other than LAN com...

Page 51: ...ot to use the address match break function To use the address match break function default Select the check box In this case the address match interrupt is used by the emulator and cannot be used in t...

Page 52: ...load module user program size is small On Demand Debugging information is stored in a reusable temporary file on the hard disk of your computer Because the stored debugging information is reused the n...

Page 53: ...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 If you do not want to auto...

Page 54: ...13 Set to 1 Internal RAM area 00400h 07FFFh Internal ROM area 80000h FFFFFh IMPORTANT Notes on Selecting a Processor Mode When setting single chip mode or memory expansion mode the level of pin CNVSS...

Page 55: ...memory in the PC7501 However maximum operating frequency is 10MHz The box is unchecked by default 3 MCU Status Referring to the MCU Status It shows the status of each MCU pin Check it to see if the MC...

Page 56: ...t you want the MCU s internal flash ROM to be cleared when downloading the user program or data When cleared the content of the flash ROM is initialized to 0xFF The MCU s internal flash ROM is listed...

Page 57: ...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 an...

Page 58: ...rogram 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 It automatically opens wh...

Page 59: ...r reset the target MCU Step In Single steps the program executing each statement including those in functions Step Over Single steps the program executing each function call as one step Step Out Exist...

Page 60: ...ch 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...

Page 61: ...ome 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 Aft...

Page 62: ...breakpoint setup dialog box Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box 2 Hardware Break Point Setting Window in initial state H W breakpoint Setting Wind...

Page 63: ...truction 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 trac...

Page 64: ...he 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...

Page 65: ...MASK 00FF Access WRITE Setting events for wordwise accesses to the even addresses STE W A0 20E8h A0 5423h High order and low order data effective Setting events for wordwise accesses to the odd addre...

Page 66: ...breaks 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 TRA...

Page 67: ...tion paths Disassemble 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...

Page 68: ...I O Symbol Status No change DMA Data access except for CPU INT Starts INTACK sequence IB Instruction code read bytes by CPU DB Data access bytes by CPU IW Instruction code read words by CPU DW Data a...

Page 69: ...trace point condition was met is recorded Full 256K cycles of instruction execution after a trace began is recorded 2 Setting the trace write condition Setting the trace write condition You can specif...

Page 70: ...t 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 ac...

Page 71: ...licable MCU M16C 60 Series M16C 62P Group MCUs M16C 30 Series M16C 30P Group MCUs Evaluation MCU M30627FJPGP M30627FHPGP ROM size 512KB 4KB RAM size 31KB Applicable MCU mode Single chip mode Memory ex...

Page 72: ...dress output hold time WR standard 2 3 td BCLK CS Chip select output delay time 25 See left th BCLK CS Chip select output hold time BCLK standard 4 See left td BCLK ALE ALE signal output delay time 25...

Page 73: ...ite timing BCLK CSi ADi BHE ALE RD DBi td BCLK CS th BCLK CS tcyc td BCLK AD th BCLK AD th RD CS td BCLK ALE th BCLK ALE th RD AD td BCLK RD th BCLK RD tac2 RD DB Hi Z tsu DB RD th RD DB BCLK CSi ADi...

Page 74: ...0 See left td BCLK WR WR signal output delay time 25 See left th BCLK WR WR signal output hold time 0 See left td BCLK DB Data output delay time BCLK standard 40 See left th BCLK DB Data output hold t...

Page 75: ...HE ALE RD ADi DBi td BCLK CS th BCLK CS tcyc td BCLK AD th BCLK AD th RD CS td BCLK ALE th BCLK ALE th RD AD td BCLK RD th BCLK RD tac3 RD DB Hi Z tsu DB RD th RD DB BCLK CSi ADi BHE ALE WR WRL WRH AD...

Page 76: ...5 th RD DB Data input hold time 0 See left th BCLK RDY RDY input hold time 0 See left th BCLK HOLD HOLD input hold time 0 See left td BCLK HLDA HLDA output delay time 40 See left Figure 4 3 Timing req...

Page 77: ...ime 30 See left th BCLK CS Chip select output hold time BCLK standard 4 See left td BCLK ALE ALE signal output delay time 30 See left th BCLK ALE ALE signal output hold time 4 See left td BCLK RD RD s...

Page 78: ...ite timing BCLK CSi ADi BHE ALE RD DBi td BCLK CS th BCLK CS tcyc td BCLK AD th BCLK AD th RD CS td BCLK ALE th BCLK ALE th RD AD td BCLK RD th BCLK RD tac2 RD DB Hi Z tsu DB RD th RD DB BCLK CSi ADi...

Page 79: ...hold time 0 See left td BCLK WR WR signal output delay time 40 See left th BCLK WR WR signal output hold time 0 See left td BCLK DB Data output delay time BCLK standard 50 See left th BCLK DB Data ou...

Page 80: ...BHE ALE RD ADi DBi td BCLK CS th BCLK CS tcyc td BCLK AD th BCLK AD th RD CS td BCLK ALE th BCLK ALE th RD AD td BCLK RD th BCLK RD tac3 RD DB Hi Z tsu DB RD th RD DB BCLK CSi ADi BHE ALE WR WRL WRH...

Page 81: ...h RD DB Data input hold time 0 See left th BCLK RDY RDY input hold time 0 See left th BCLK HOLD HOLD input hold time 0 See left td BCLK HLDA HLDA output delay time 40 See left Figure 4 6 Timing requir...

Page 82: ...P10 This product emulates some I O ports P0 to P5 P10 Therefore the electrical characteristics of these ports differ from those of an actual MCU 8 Address and status of BHE When the internal RAM or R...

Page 83: ...rea Using areas like this is a cause of user program crashes and destabilized emulator control With this product the interrupt stack pointer ISP is set to 00500h and used as stack area after the reset...

Page 84: ...S4C do not set the CPU clock to the main clock in division by 2 mode Note on the Input Thresholds for the Pins P1_5 D13 INT3 P1_6 D14 INT4 and P1_7 D15 INT5 With this product regarding pins P1_5 D13 I...

Page 85: ...M16C 62P I O Emulate P67 P60 P77 P70 P84 P80 P97 P90 P117 P110 P127 P120 P137 P130 P141 P140 P67 P60 P77 P70 P84 P80 P97 P90 P117 P110 P127 P120 P137 P130 P141 P140 P85 NMI P86 Xcout P87 Xcin P85 NMI...

Page 86: ...nA IIZ Leak current On output open 12 0V 100 Table 4 9 Electrical characteristics of port emulation FPGA Standard values Symbol Item Condition Min Standard Max Unit VIH H level input voltage 2 0 5 5...

Page 87: ...2006 4 5 External Dimensions 4 5 1 External Dimensions of the Emulation Probe Figure 4 8 shows external dimensions of the M3062PT2 EPB Figure 4 8 External dimensions of the emulation probe 512 100 0 6...

Page 88: ...gure 4 9 shows external dimensions of the converter board M30800T PTC for a 100 pin LCC included with the M3062PT2 EPB Figure 4 9 External dimensions of the M30800T PTC 1 30 31 50 C N 2 C N 1 100 81 8...

Page 89: ...power while downloading the firmware If this happens the product will not start up properly If the power is shut off unexpectedly redownload the firmware Download the firmware with the user system not...

Page 90: ...ndow after starting the emulator debugger Command _settimeout 300 300 Once this command is executed it remains effective the next time you start the emulator debugger Therefore you do not need to exec...

Page 91: ...tware breaks change the instruction at a specified address to a BRK 00h Therefore take note that when you reference the result of a trace in bus mode 00h is displayed The BRK instruction can be used f...

Page 92: ...he emulation memory can be specified up to 4 areas by 4 MB in the MAP tab of the MCU setting dialog box of the emulator debugger Each maximum operating frequency is as follows Maximum operating freque...

Page 93: ...pt Break Function in the MCU tab of the Init dialog box of the emulator debugger Thus normal software breaks are used for the internal RAM and ROM areas of an MCU Do not set a software break at an add...

Page 94: ...tion of power supply cable See 2 5 Connecting the Power Supply for the Emulator page 24 2 Check that the power is properly supplied to the use system See 2 7 Downloading Firmware page 27 3 Restart the...

Page 95: ...nnecting the PC7501 page 23 Target Status POWER LED does not light up Connected Check that power Vcc is properly supplied to the user system and that the user system is properly grounded Target Status...

Page 96: ...te 1 Check the reset pin of the user system is pulled up 2 Check the reset pin of the user system has changed from L to H level Target MCU cannot be reset 1 Check that the NMI pin is at H level 2 In m...

Page 97: ...4 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 inst...

Page 98: ...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...

Page 99: ...wing 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 sys...

Page 100: ...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...

Page 101: ...B 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 Techno...

Page 102: ...M3062PT2 EPB User s Manual...

Reviews: