background image

M306NKT3-RPD-E User’s Manual 

1. Outline   

REJ10J0326-0400 Rev.4.00 Sep. 01, 2006 

 

Page 18 of 104 

 

1.4 Specifications 

Tables 1.5 and 1.6 list the specifications of the M306NKT3-RPD-E. 

 

Table 1.5 M306NKT3-RPD-E specifications (1/2) 

Item Description 

Applicable MCU 

M16C/6N Group 
M16C/6N4, M16C/6N5, M16C/6NK, M16C/6NL, M16C/6NM and M16C/6NN

Usable MCU mode 

Single-chip mode 
Memory expansion mode 
Microprocessor mode 

Maximum operating frequency 

16MHz 

Applicable power supply 

3.0 to 5.5V 

Internal ROM/RAM capacity

 

: 0 wait, 16MHz(max)

 

: 0 wait, 8MHz(max)

 

Emulation Memory 

1MB

 

External area 

: 1 wait,16MHz(max)

 

Main clock 

Internal oscillator circuit board (OSC-3) 
Switchable to external oscillator input 

Clock supply 

Sub clock 

Internal oscillator circuit (fixed 32.768kHz) 
Switchable to external oscillator input 

Basic debugging functions 

- Download 
-  Software break (max. 64 points) 
- Program execution/stop (allows free-run execution 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 

-  32K-cycle bus information recordable 

(Bus, external trigger, time stamp) 

-  5 trace modes supported (Break/Before/About/After/Full) 
-  Can be recorded ON/OFF by events 

Real-time RAM monitor function 

- 1,024 bytes 
-  Data/last access result 

Hardware break function 

6 points (Bus detection, interrupt, external trace signal) 

Execution time measurement function 

Time between program start and stop 
Maximum/minimum/average execution time and pass count of specified four 
zones. 
Count clock: Equal to MCU Clock or 16MHz 

C0 coverage 

256KB 

Event output 

Break x1, Event x6 

External trigger input 

TTL level x8 

Host machine interface 
(see “2.3 Connecting the Host Machine” 
on page 22) 

Dedicated parallel (PC4701HS) 
LPT parallel (PC4701M/PC4701U) 
Serial (PC4701HS/PC4701M) 
USB (USB 1.1, full-speed)*1 (PC4701U) 
LAN (PC4701HS/PC4701U) 

*1 Available to connect the host machine that supports USB 2.0. With the USB interface, not all hardware (such as host 

machine, USB devices, USB hub) combination will work and guaranteed. 

Summary of Contents for M306NKT3-RPD-E

Page 1: ...ok over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electron...

Page 2: ...t for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas...

Page 3: ...M306NKT3 RPD E User s Manual User s Manual Rev 4 00 2006 09 Emulation Pod for M16C 6N Group M16C 6N4 6N5 6NK 6NL 6NM and 6NN...

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

Page 5: ...this 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 6: ...orting 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 prac...

Page 7: ...nstantly making 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...

Page 8: ...s an imminently 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 WARN...

Page 9: ...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 cab...

Page 10: ...ty may damage the internal circuits Do not pull the flexible cable FLX120 RPD for connecting to the emulator main unit and the flexible cable M3T FLX160C for connecting the user system excessively And...

Page 11: ...g ON OFF the Power 25 2 5 3 LED Display When the Emulator Starts Up Normally 26 2 6 Downloading Firmware 27 2 6 1 When It is Necessary to Download Firmware 27 2 6 2 Downloading Firmware in Maintenance...

Page 12: ...of Memory Expansion Mode and Microprocessor Mode Vcc 3V 78 4 3 Differences between the Actual MCU and Emulator 83 4 4 Connection Diagram 86 4 5 External Dimensions 88 4 5 1 External Dimensions of the...

Page 13: ...e following address If you register 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 onl...

Page 14: ...emulator debugger This means a software tool starting up from the High performance Embedded Workshop to control the emulator and this product and enables debugging Firmware Program that analyzes cont...

Page 15: ...ics Co Ltd 1 OSC 3 16MHz oscillator circuit board for main clock preinstalled 1 OSC 2 oscillator circuit board bare board 1 Network resistors for pulling up ports P0 P5 51k x 8 6 H W Tool Customer Reg...

Page 16: ...PC4701 Emulator Debugger Emulator debugger M3T PD30 Included with the PC4701 M3T F160 100NRB M3T 100LCC DMS M3T DIRECT100S 100 pin 0 65mm pitch QFP PRQP0100JB A Previous code 100P6S A M3T 100LCC DMS M...

Page 17: ...nnecting the emulation pod and the user system 4 Converter board M30800T PTC included This is a converter board for connecting to 100 pin 0 65mm pitch LCC socket IC61 1004 051 on the user system For d...

Page 18: ...of the system status LEDs Name Status Meaning ON Emulator system power supply is turned ON POWER OFF Emulator system power supply is turned OFF ON Emulator system is operating normally Flashing Speci...

Page 19: ...User program has been halted ON CPU clock of target MCU is not oscillating HALT OFF CPU clock of target MCU is oscillating IMPORTANT Note on the Target Status POWER LED If the MCU has two or more Vcc...

Page 20: ...reference setting reference setting C variables run time execution Register reference setting Disassemble display C level debugging etc Real time trace function 32K cycle bus information recordable B...

Page 21: ...PTC included M3T 100LCC QSD not included Connecting the user system see 2 8 Connecting the User System page 30 M16C 6NK M16C 6NL M16C 6NM M16C 6NN 128 pin 0 5mm pitch LQFP PLQP0128KB A 1 M3T F160 128...

Page 22: ...nnect the emulation pod to the emulator Connect the emulation pod M306NKT3 RPD E to the PC4701 using the FLX120 RPD Connect the power supply for the emulator Connect a power supply for the emulator Co...

Page 23: ...wnloading the M16C PC4701 Emulator Debugger as occasion demands Download the latest M16C PC4701 Emulator Debugger from the URL below free of charge http download renesas com eng mpumcu upgrades in_cir...

Page 24: ...oard PCA4202G02 discontinued product is required on the host machine side Serial RS232C The RS232C interface cable 25 pin female 25 pin female conversion cable and 25 pin female 9 pin female conversio...

Page 25: ...1 and FLX120 RPD Figure 2 2 Connecting the cable to the PC4701 CAUTION Note on Connecting the PC4701 and FLX120 RPD Always shut OFF power before connecting the cable Otherwise the internal circuits ma...

Page 26: ...Connecting the FLX120 RPD to the emulation pod CAUTION Note on Connecting the Cable Always shut OFF power before connecting the emulation pod and the FLX120 RPD Otherwise the internal circuits may be...

Page 27: ...usly 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...

Page 28: ...off when both main and sub clocks are not oscillating If either clock is oscillating the LED is turned on If the LED is not turned on check the following 1 After powering on the PC4701 before starting...

Page 29: ...firmware may not be downloaded in maintenance mode correctly with the USB interface 2 Within 2 seconds of activating power to the emulator press the RESET switch on the PC4701 upper panel to switch to...

Page 30: ...and then press the system reset switch again 5 The self check will start If the normal result is displayed in about 30 seconds the self check has terminated normally Figure 2 6 LED display in the sel...

Page 31: ...er the switch settings of this product are the factory settings IMPORTANT Notes on Self check Perform the self check while not connecting the user system If the self check does not result normally exc...

Page 32: ...em Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod Tip of emulation pod probe 0 65mm pitch 0 5mm pitch M30800T PTC included M30800T PT...

Page 33: ...CAUTION Note 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 emulation pod Tip of emulation pod probe 128 pin 0 5mm p...

Page 34: ...to the 100 pin LCC socket 100 pin LCC socket CN2 side 1 No 1 pin 2 M30800 T PTC User system Package converter board Tip of emulation pod probe Figure 2 10 Connecting to a 100 pin LCC socket CAUTION No...

Page 35: ...T F160 100NRB to the CN2 side of the package converter board connected to the emulation pod probe 4 Attach the M3T F160 100NRB to the YQPACK100RB Figure 2 11 Connecting to a 100 pin 0 65mm pitch foot...

Page 36: ...the CN2 side of the package converter board connected to the emulation pod probe 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 12 Connecting to a 100 pin 0 65mm pitch foot pattern 2 3 CAUTI...

Page 37: ...he package converter board connected to the emulation pod probe 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 13 Connecting to a 100 pin 0 65mm pitch foot pattern 3 3 CAUTION Note on Connect...

Page 38: ...e M3T F160 100NSD to the CN2 side of the package converter board connected to the emulation pod probe 4 Attach the M3T F160 100NSD to the YQPACK100SD Figure 2 14 Connecting to a 100 pin 0 5mm pitch fo...

Page 39: ...M30800T PTC to the CN2 side of the package converter board connected to the emulation pod probe 5 Attach the M30800T PT to the M3T 100LCC QSD Figure 2 15 Connecting to a 100 pin 0 65mm pitch foot pat...

Page 40: ...the M3T F160 128NRD to the CN2 side of the package converter board connected to the emulation pod probe 4 Attach the M3T F160 128NRD to the YQPACK128RD Figure 2 16 Connecting to a 128 pin 0 65mm pitch...

Page 41: ...move the four screws of both sides of the M306NKT3 RPD E and lift off the upper cover see Figure 2 17 2 Attaching the upper cover To close the upper cover attach the upper cover and secure the four sc...

Page 42: ...cuit board 2 Position of switches 3 Position of socket for mounting network resister for pullup 4 Position of bypass capacitor for A D converter Figure 2 18 Positions of each part MCU dependent board...

Page 43: ...XOUT External User system Internal Internal oscillator circuit of emulation pod 32 768kHz Sub XCIN XCOUT External User system Yes IMPORTANT Notes on Changing the Clock Supply The clock supply can be s...

Page 44: ...1 Unscrew the screw securing the oscillator circuit board 2 Lift off the oscillator circuit board 3 Insert the connector of a new oscillator circuit board to the connector of the main board 4 Secure t...

Page 45: ...ted Figure 2 21 shows the circuitry of the OSC 2 oscillator circuit board bare board Use the number of oscillator circuits recommended by the oscillator manufacturer Figure 2 20 External view of the O...

Page 46: ...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 22 External oscillator circuit Make note that in the oscillator circu...

Page 47: ...TE of the MCU with a resistance of 33k BYTE H OPEN L SW1 Use this setting when the user system is connected Does not pull up down pin BYTE of the MCU Inputs the level of the user system to pin BYTE of...

Page 48: ...tings Connects pin P86 Xcout of the MCU to the user system to use it as port P86 or Xcout P86 Xcout SW4 P86 Xcout SW4 P86 XC OP Does not connect pin P86 Xcout of the MCU to the user system P87 Xcin P8...

Page 49: ...of the M306NKT3 RPD E 3 Signal Switch Setting Description A18_SEL 1M JP1 4M factory settings Always use this setting A18_SEL JP1 A18_SEL 1M JP1 4M Do not use this setting VDDIO VCC1 VCC2 JP2 VCC1 VCC2...

Page 50: ...mounting location refer to Figure 2 24 below And for the positions of each part refer to Figure 2 18 Figure 2 24 Position for mounting network resistors for pullup CAUTION Note on Installing and Remov...

Page 51: ...ass capacitors as occasion demands Figure 2 18 shows where they are installed and Figure 2 25 shows their connection Figure 2 25 Foot patterns of bypass capacitors for A D converter IMPORTANT Note on...

Page 52: ...High performance Embedded Workshop C Program Files Renesas Hew Tools Renesas DebugComp Platform PDTarget PD30 McuFiles When using the M3T PD30 C mtool PD30 McuFiles The MCU file contains information s...

Page 53: ...expansion or microprocessor mode the areas listed below cannot be used as a work area specify a work area other than the areas listed below And the top address of the work area should be an even numbe...

Page 54: ...elect SessionM16C_PC4701_Emulator 3 3 1 Init Dialog Box After specifying the session an Init dialog box to connect the target is displayed The Init dialog box is used to set the items that need to be...

Page 55: ...of PCA4202G02 refer to the PCA4202G02 Instruction Manual Specifying the communication interface Serial communication For connection with serial communication click the radio button Serial of MCU tab S...

Page 56: ...e going to connect 3 Executing the self check Executing the self check Enable this function when you want the emulator to be self checked at startup Be sure to select the check box only when you want...

Page 57: ...ou are using and the format of the object file output by the compiler To make this setting use the dialog box that is brought up by selecting Debug and then Debug Settings from the menu Specifying the...

Page 58: ...a refer to 3 2 Setting the Work Area page 51 The top address of the work area is set to 2C00h by default In single chip mode set the work area address at 10000h 4 Memory space expansion tab Specifying...

Page 59: ...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 automatically execute a script command...

Page 60: ...stem Check to see that the emulator debugger has been connected correctly to the emulator Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator...

Page 61: ...om xxx x30 of Download module Or you can select Download module from the Debug menu for the same effect 2 Showing the source program Editor Source window The editor source window is a window that alwa...

Page 62: ...the program after resetting 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 on...

Page 63: ...break point setting line on the software break point setting column in the editor source window the break point can be set up and released In this case the red circle is displayed on the setting line...

Page 64: ...me command 1 Specifying the Come command Setup procedure for executing COME command 1 Click the line in the editor source window at which you want the program to execute 2 Click the Come button 2 Afte...

Page 65: ...ware break point setup dialog box 2 H W Break Points Setting Window H W Break Points Setting Window Select the Enable H W Break check box and this break function will be enabled allowing you to set ha...

Page 66: ...ger REJ10J0326 0400 Rev 4 00 Sep 01 2006 Page 64 of 104 2 When FETCH is selected 1 Window for setting addresses Setting the address You can set eight conditions e g a specified address a specified add...

Page 67: ...the address by Address tab You can set eight conditions e g a specified address a specified address range etc 2 Window for setting data Setting data Sets the address by Data tab You can set eight con...

Page 68: ...ts for byte accesses to the odd addresses STE B R0L A1A0 R0L E6h A1 0000h A0 20E3h High order data effective Setting a break event A1 Address 1 0020E3 Data 1 00E6 MASK 00FF Access WRITE 4 Setting the...

Page 69: ...s the following four display modes Mixed mode also can be displayed Bus mode Bus information per cycle can be inspected The contents are displayed in order of execution paths Disassemble mode The exec...

Page 70: ...ve DMA Data access except for CPU INT Interrupt acknowledge cycle IB Instruction code read bytes by CPU DB Data access bytes by CPU IW Instruction code read words by CPU DW Data access words by CPU R...

Page 71: ...00 Sep 01 2006 Page 69 of 104 2 Suspending and resuming trace measurement 1 Suspending trace measurement Suspend Click this toolbar button to suspend the trace measurement in progress 2 Resuming trace...

Page 72: ...race point condition was met is recorded Full 32K cycles of instruction execution after a trace began is recorded 2 Setting the trace write condition Setting the trace write condition You can specify...

Page 73: ...nges of memory contents while the user program is executed This is accomplished by using the real time RAM monitor function and the memory contents corresponding to the RAM monitor area are displayed...

Page 74: ...which can be debugged with this product Table 4 1 Specifications of target MCUs for the M306NKT3 RPD E Item Description Applicable MCU M16C 6N Group M16C 6N4 M16C 6N5 M16C 6NK M16C 6NL M16C 6NM and M1...

Page 75: ...dard 4 See left th RD AD Address output hold time RD standard 0 1 th WR AD Address output hold time WR standard 2 See left td BCLK CS Chip select output delay time 25 See left th BCLK CS Chip select o...

Page 76: ...Read timing Write timing BCLK ADi ALE 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 ADi A...

Page 77: ...BCLK RD RD signal output hold time 0 1 td BCLK WR WR signal output delay time 25 See left th BCLK WR WR signal output hold time 0 4 td BCLK DB Data output delay time BCLK standard 40 See left th BCLK...

Page 78: ...ing BCLK ADi ALE 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 ADi ALE ADi DBi td BCL...

Page 79: ...setup time 40 80 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 Compar...

Page 80: ...standard 2 See left td BCLK CS Chip select output delay time 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 A...

Page 81: ...Read timing Write timing BCLK ADi ALE 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 ADi A...

Page 82: ...eft th BCLK RD RD signal output hold time 0 1 td BCLK WR WR signal output delay time 40 See left th BCLK WR WR signal output hold time 0 4 td BCLK DB Data output delay time BCLK standard 50 See left t...

Page 83: ...iming BCLK ADi ALE 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 ADi ALE ADi DBi td B...

Page 84: ...tup time 50 80 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 Compared...

Page 85: ...em the A D converter operates differently from that of the actual MCU 6 Characteristics of ports P0 to P5 and P10 This product emulates some I O ports P0 to P5 and P10 Therefore the electrical charact...

Page 86: ...tor disables interrupts The interrupt request is accepted immediately after the user program execution is started Take note that when the user program is not being executed including when run time deb...

Page 87: ...s to are different as follows Device which port or data bus inputs to Port emulation FPGA input level TTL Device which INT interrupt inputs to Evaluation MCU for emulating peripheral functions input l...

Page 88: ...CNVss BYTE User system 33 M30620T3 PRT Port Emulation FPGA IC21 P07 P00 RM2 Pullup registers indicated by dashed line socket mounted Xin 33 P27 P20 RM5 33 P17 P10 P37 P30 P47 P40 P57 P50 P1 RM4 P3 RM...

Page 89: ...cc x 0 3 IOH 4mA Vcc 3 0V 2 48 VOH High level output voltage IOH 8mA Vcc 4 5V 3 80 IOH 4mA Vcc 3 0V 0 44 VOL Low level output voltage IOH 8mA Vcc 4 5V 0 44 V IOZ Leak current Tristate VIN VIH or VIL V...

Page 90: ...Sep 01 2006 Page 88 of 104 4 5 External Dimensions 4 5 1 External Dimensions of the Emulation Pod Figure 4 8 shows external dimensions of the M306NKT3 RPD E Unit mm Figure 4 8 External dimensions of...

Page 91: ...C made by Matsushita Electric Works Ltd and IC 61 1004 051 made by Yamaichi Electronics Co Ltd be sure to create foot patterns for the holding metal fixtures in four locations 2 When using the AXS 400...

Page 92: ...rnal Dimensions of the Converter Board M3T F160 100NSD Figure 4 11 shows external dimensions and a sample foot pattern of the converter board for a 100 pin 0 5mm pitch LQFP M3T F160 100NSD not include...

Page 93: ...shows external dimensions and a sample foot pattern of the converter board for a 128 pin 0 5mm pitch LQFP M3T F160 128NRD not included Figure 4 12 External dimensions and a sample foot pattern of the...

Page 94: ...it is necessary to start up the emulator main unit in maintenance mode For firmware download procedures see 2 6 2 Downloading Firmware in Maintenance Mode page 27 Once the firmware has been downloade...

Page 95: ...mory inside this product becomes effective Set this at MCU internal ROM debugging 2 MAP EXT The emulation memory inside this product is not used Set this where the MCU internal resource SFR or resourc...

Page 96: ...ed only while programs are being executed To use it otherwise disable the watchdog timer Note on Reading Internal Resources of the MCU When the registers listed in Table 4 12 are read with an emulator...

Page 97: ...the user system from the emulator design your system so that the user system is powered separately 1 The voltage of the user system should be within the operating range of the evaluation MCU 2 Do not...

Page 98: ...C4701 Not normal PC4701 Front panel LEDs 1 Check emulator system connections See 2 4 Connecting the PC4701 page 23 2 Redownload the firmware See 2 6 Downloading Firmware page 27 3 Restart the PC4701 s...

Page 99: ...t light up Connected Check that power Vcc and GND is properly supplied to the user system Disconnected 1 Check that both the main sub clocks are not set to External in the emulator debugger See the CL...

Page 100: ...roper MCU file in the Init dialog box See the emulator debugger user s manual online manual 4 Check that the descriptions in the MCU file are correct See 3 1 Making an MCU File page 50 ERROR 16215 Can...

Page 101: ...and this product See 2 4 Connecting the PC4701 page 23 2 Download the proper firmware See 2 6 Downloading Firmware page 27 3 Choose the proper MCU file in the Init dialog box See the emulator debugge...

Page 102: ...formation to 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 v...

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

Page 104: ...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 deli...

Page 105: ...r s Manual Publication Date Sep 01 2006 Rev 4 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2006 Renes...

Page 106: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M306NKT3 RPD E REJ10J0326 0400 T User s Manual...

Reviews: