background image

M306NKT-EPB User’s Manual 

1. Outline 

REJ10J0519-0200  Rev.2.00  Oct. 16, 2006 

 

Page 13 of 104 

 

1. Outline 

 
This chapter describes the package components, the system configuration, the specifications of the emulator functions and the 
operating environment. 
 

1.1 Package Components 

The M306NKT-EPB package consists of the following items. When unpacking it, check to see if your M306NKT-EPB 
contains all of these items. 
 
Table 1.1 Package components 

Item Quantity 

M306NKT-EPB emulation probe 

M30800T-PTC (pre-mounted) converter board for 100-pin 0.65mm pitch LCC 

IC61-1004-051 100-pin 0.65mm pitch LCC socket made by Yamaichi Electronics Co., Ltd. 

OSC-3 (16MHz) oscillator circuit board 

OSC-2 oscillator circuit bare board 

Network registers for ports P0--P5 pullup (51k

 x 8) 

H/W Tool Customer Registration Sheet (English) 

H/W Tool Customer Registration Sheet (Japanese) 

Repair Request Sheet (English) 

Repair Request Sheet (Japanese) 

M306NKT-EPB User’s Manual (this manual) 

M306NKT-EPB User’s Manual (Japanese) 

M306NKT-EPB Supplementary Document (English) 

M306NKT-EPB Supplementary Document (Japanese) 

*  Please keep the M306NKT-EPB's packing box and cushion material in your place for reuse at a later time when sending 

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 local distributor. 
*  For purchasing the IC61-1004-051 or for technical information, contact Yamaichi Electronics Co., Ltd. 
 
 

Содержание M16C/6N

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

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

Страница 3: ...M306NKT EPB User s Manual User s Manual Rev 2 00 2006 10 Emulation Probe for M16C 6N Group M16C 6N4 6N5 6NK 6NL 6NM 6NN...

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

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

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

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

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

Страница 9: ...at a reliable ground connection is maintained z 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...

Страница 10: ...his emulator by the communications interface cable or the flexible cable And excessive flexing or force may break conductors z Do not flex the flexible cable for connecting to the emulator main unit a...

Страница 11: ...2 6 3 LED Display When the Emulator Starts Up Normally 27 2 7 Downloading Firmware 28 2 7 1 When It is Necessary to Download Firmware 28 2 7 2 Downloading Firmware in Maintenance Mode 28 2 8 Self che...

Страница 12: ...emory Expansion Mode and Microprocessor Mode Vcc1 3V 77 4 3 Differences between the Actual MCU and Emulator 82 4 4 Connection Diagrams 85 4 5 External Dimensions 87 4 5 1 External Dimensions of the Em...

Страница 13: ...nts to the 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 use...

Страница 14: ...What s more it supports version management Firmware Program that analyzes contents of communication with the emulator debugger and controls the emulator hardware This program is installed in the flas...

Страница 15: ...cuit board 1 OSC 2 oscillator circuit bare board 1 Network registers for ports P0 P5 pullup 51k x 8 6 H W Tool Customer Registration Sheet English 1 H W Tool Customer Registration Sheet Japanese 1 Rep...

Страница 16: ...ugger Emulator debugger M3T PD30F Included with the PC7501 M3T F160 100NRB M3T 100LCC DMS M3T DIRECT100S 100 pin 0 65mm pitch QFP PRQP0100JB A Previous code 100P6S A M3T 100LCC DMS M3T DUMMY100S M3T F...

Страница 17: ...is is a pitch converter board for connecting to 100 pin 0 65mm pitch LCC socket IC61 1004 051 on the user system For details refer to 2 9 Connecting the User System page 31 3 Emulator main unit PC7501...

Страница 18: ...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 1 The self check is being executed 2...

Страница 19: ...OCK LED z CLOCK LED is turned off when both main and sub clocks are not oscillating If either clock is oscillating the LED is turned on z If the LED is not turned on check the following 1 After poweri...

Страница 20: ...Hz Internal oscillator circuit board Switchable to external oscillator input or internal generator circuit XCIN XCOUT 32 768kHz Internal oscillator circuit board Switchable to external oscillator inpu...

Страница 21: ...0JB A 1 M3T F160 100NRB not included 2 M30800T PTC included M3T 100LCC DMS not included M3T DIRECT100S not included 3 M30800T PTC included M3T 100LCC DMS not included M3T DUMMY100S not included M16C 6...

Страница 22: ...Operating environment of the host machine Item Description Host machine IBM PC AT compatibles OS Windows 98SE Windows Me Windows XP Windows 2000 CPU Pentium III 600 MHz or more recommended Memory 128...

Страница 23: ...using interface Connect the M306NKT EPB to the emulator Connect the M306NKT EPB and the M3T FLX160 EPB of the PC7501 Connect the power supply for the emulator Connect a power supply for the emulator C...

Страница 24: ...ator Debugger 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 p...

Страница 25: ...tor PC7501 to a host machine you can choose your desired interface from LPT parallel interface USB interface and LAN interface Use the interface selection switch on the emulator PC7501 s rear panel to...

Страница 26: ...PC7501 and emulation probe CAUTION Note on Connecting the PC7501 z Always shut OFF power before connecting the emulation probe Otherwise internal circuits may be damaged IMPORTANT Notes on Connecting...

Страница 27: ...onnect the AC power cable to the outlet CAUTION Cautions for AC Adapter z Use only the AC adapter included in PC7501 package z The included AC adapter is for PC7501 Do not use it for other products z...

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

Страница 29: ...nals the LED does not light unless power is supplied to all the terminals Note on the Target Status CLOCK LED z If the LED is not turned on check the following 1 After powering on the PC7501 before st...

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

Страница 31: ...rmally Figure 2 6 LED displays in the self check ON OFF Flashing POWER CLOCK RESET RUN WARNING POWER SAFE ERROR SYSTEM STATUS TARGET STATUS Maintenance mode started POWER CLOCK RESET RUN WARNING POWER...

Страница 32: ...R 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 z Perform the self check w...

Страница 33: ...ee items are available in one package 1 LCC socket 100 pin LCC M3T DIRECT100S 100 pin QFP M3T DUMMY100S 100 pin QFP M3T F160 100NSD 100 pin LQFP M3T 100LCC QSD 100 pin LQFP 100 pin M3T F160 100NRB 100...

Страница 34: ...60 128 NRD 128 pin LQFP 100 pin 0 5mm pitch No 1 pin 128 pin 0 5mm pitch not included not included not included Figure 2 8 Connecting the user system according to user system for M16C 6NK M16C 6NL M16...

Страница 35: ...0T PTC to the 100 pin LCC socket 100 pin LCC socket CN2 side 1 No 1 pin 2 M30800T PTC User system M3T FLX160 EPB M306NKT EPB Figure 2 9 Connecting to a 100 pin LCC socket CAUTION Note on Connecting th...

Страница 36: ...160 100NRB to the J4 side of the M306NKT EPB 4 Attach the M3T F160 100NRB to the YQPACK100RB CN2 side 3 1 100 pin 0 65mm pitch PRQP0100JB A foot pattern No 1 pin User system M3T F160 100NRB not includ...

Страница 37: ...ide of the M306NKT EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T 100LCC DMS not included CN2 side 3 4 M30800T PTC 2 1 100 pin 0 65mm pitch No 1 pin User system M3T DIRECT100S not included M3T...

Страница 38: ...EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T 100LCC DMS not included CN2 side 3 4 M30800T PTC 2 FLASH MCU etc On board evaluation M3T DUMMY100S not included 1 100 pin 0 65mm pitch No 1 pin...

Страница 39: ...T F160 100NSD to the J4 side of the M306NKT EPB 4 Attach the M3T F160 100NSD to the YQPACK100SD CN2 side 3 1 100 pin 0 5mm pitch PLQP100KB A foot pattern No 1 pin User system M3T F160 100NSD not inclu...

Страница 40: ...he TQSOCKET100SDG 4 Attach the CN2 side of the M30800T PTC to the J4 side of the M306NKT EPB 5 Attach the M30800T PTC to the M3T 100LCC QSD M3T 100LCC QSD not included CN2 side 4 5 M30800T PTC 3 2 TQS...

Страница 41: ...F160 128NRD to the J4 side of the M306NKT EPB 4 Attach the M3T F160 128NRD to the YQPACK128RD CN2 side 3 1 128 pin 0 5mm pitch PLQP0128KB A foot pattern No 1 pin User system M3T F160 128NRD not includ...

Страница 42: ...ey are installed and the configuration of this product Component side of the M306NKT EPBM VREF AVSS bypass capacitor AVSS VREF C2 AVCC AVSS AVCC AVSS C1 6NK bypass capacitor Figure 2 16 Foot pattern f...

Страница 43: ...he included resistor arrays 51 k as necessary Figure 2 17 shows the positions of the pullup resistors Component side of the M306NKT EPBM Positions to install pullup resistor arrays 6NK Figure 2 17 Pos...

Страница 44: ...l Internal oscillator circuit 32 768kHz Sub XCIN XCOUT External Oscillator circuit on the user system Yes IMPORTANT Note on Changing the Clock Supply z The clock supply can be set by the Init dialog b...

Страница 45: ...up REJ10J0519 0200 Rev 2 00 Oct 16 2006 Page 43 of 104 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 18 Figur...

Страница 46: ...ing the oscillator circuit board Lift off the oscillator circuit board Attach another oscillator circuit board to the connector Secure it with the screw Figure 2 19 Replacing the oscillator circuit bo...

Страница 47: ...igure 2 21 shows the circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer Figure 2 20 External view of the oscillator c...

Страница 48: ...rcuit in the 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 PC75...

Страница 49: ...the drop down list of the tool bar shown below You will have as many sessions created as the number of targets you selected when creating a project so select the session that corresponds to the targe...

Страница 50: ...tab 1 Specifying the MCU file Specifying the MCU file Specify the MCU file for the target MCU 1 Click the Refer Button 2 Select MCU File dialog box will be displayed Select M16C6NK MCU The MCU file c...

Страница 51: ...er separating each four bytes with a period Specify the port number at the Port area Notes When you are using the LAN communication for the first time connect the emulator through other than LAN commu...

Страница 52: ...function Specify whether or not to use the address match break function To use the address match break function default Check this box In this case the address match interrupt is used by the emulator...

Страница 53: ...storing debug information on memory method and an on demand method Select method for storing debug information By default the on memory is selected When selecting the on demand method check the On Dem...

Страница 54: ...r from the cable Output Events Outputs events from the cable Input from External Trigger is set at startup the previous setting becomes null 4 Script tab Automatically executing a script command To au...

Страница 55: ...ansion function select Normal Mode Using or not using the internal reserved area expansion Specifies whether or not to expand the internal reserved area Check the box if the internal reserved area exp...

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

Страница 57: ...r or not 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 FFh The MCU s internal flash ROM is l...

Страница 58: ...3 Checking Connections of the Emulator System Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator after you have finished setting up the Init...

Страница 59: ...elect Download from the Debug menu for the same effect 2 Showing the program Editor Source window The editor source window is a window that always shows the content of the source file corresponding to...

Страница 60: ...o Runs the program after 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...

Страница 61: ...the Address Match Interrupt Break Function in Init dialog box of the MCU tab A software breakpoint can be set or cleared by double clicking the address match breakpoint display area in the editor sou...

Страница 62: ...on with 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 lin...

Страница 63: ...command 1 Specifying the Come command Setup procedure for executing COME command 1 Click the line in the program display area at which you want the program to execute 2 Click the Come button 2 After...

Страница 64: ...ting 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 Setting break event Click the event line at which yo...

Страница 65: ...r REJ10J0519 0200 Rev 2 00 Oct 16 2006 Page 63 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 addre...

Страница 66: ...u can set eight conditions e g a specified address a specified address range etc After finishing the setting the address set the data 2 Window for setting data Setting data Set in the Data tab You can...

Страница 67: ...A0 R0L E5h A1 0000h A0 20E2h Low order data effective Setting events for wordwise accesses to the odd addresses STE B R0L A1A0 R0L E6h A1 0000h A0 20E3h High order data effective Setting a break event...

Страница 68: ...has the following four display modes And mixed mode can be displayed Bus mode Bus information per cycle can be inspected The contents are displayed in order of execution paths Disassemble mode The ex...

Страница 69: ...ace Unit and memory or I O Symbol Status No change non active DMA Data access except for CPU INT Start of INTACK sequence IB Instruction code read bytes by CPU DB Data access bytes by CPU IW Instructi...

Страница 70: ...00 Oct 16 2006 Page 68 of 104 2 Suspending and resuming trace measurement 1 Suspending trace measurement Stop Click this toolbar button to suspend the trace measurement in progress 2 Resuming trace me...

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

Страница 72: ...he 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 below Green Add...

Страница 73: ...s product Table 4 1 Specifications of target MCUs for the M306NKT EPB Item Description Applicable MCU M16C 6N Group M16C 6N4 M16C 6N5 M16C 6NK M16C 6NL M16C 6NM M16C 6NN Evaluation MCU M306NMFJGP two...

Страница 74: ...dard 4 See left th RD AD Address output hold time RD standard 0 2 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...

Страница 75: ...ead timing Write 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...

Страница 76: ...gnal output hold time 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...

Страница 77: ...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 ADi DBi td BCLK CS th BCLK CS tcyc td BCLK AD td BCLK ALE th BCLK ALE th WR AD td BCLK WR th...

Страница 78: ...up time 40 55 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...

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

Страница 80: ...D 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 BHE ALE WR WRL WRH DBi td BCLK CS th BCLK CS tcyc td BCLK AD td BCLK ALE th...

Страница 81: ...D signal output 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...

Страница 82: ...LK 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 ADi DBi td BCLK CS th BCLK CS tcyc td BCLK AD td BCLK ALE th BCLK ALE th WR AD td BCLK WR th BC...

Страница 83: ...time 50 65 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 6 T...

Страница 84: ...rts P0 to P5 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 inter...

Страница 85: ...eas like this is a cause of user program crashes and destabilized emulator control z With this product the interrupt stack pointer ISP is set to 00500h and used as stack area after the reset is releas...

Страница 86: ...een when low power dissipation mode is enabled and when a hardware reset is executed Therefore if the condition 1 or 2 applies when you enable the PRC2 bit and write to the register protected by the P...

Страница 87: ...m IC20 M16C 6NM 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 P...

Страница 88: ...Leak current On output open Vcc 12 0V 100 nA 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 V...

Страница 89: ...06 Page 87 of 104 4 5 External Dimensions 4 5 1 External Dimensions of the Emulation Probe Figure 4 8 shows external dimensions of the M306NKT EPB 6NK 100 0 60 0 15 0 15 0 55 0 15 0 5 5 10 8 16 3 34 3...

Страница 90: ...ade by Matsushita Electric Works Ltd and IC61 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 AXS4003M295...

Страница 91: ...N JAPAN IC1 CN1 CN2 30 31 50 51 80 81 100 1a 1b 40a 40b 1a 1b 40a 40b Figure 4 10 External dimensions and a sample foot pattern of the M3T F160 100NRB 4 5 4 External Dimensions of the Converter Board...

Страница 92: ...hows external dimensions and a sample foot pattern of the converter board for a 128 pin 0 5mm pitch LQFP M3T F160 128NRD not included 55 0 21 8 40 0 5 3 0 25 0 5 19 1 23 1 13 1 17 1 Unit mm 16 5 M3T F...

Страница 93: ...e emulator once and then reactivate it Notes on Downloading Firmware z Before using this product for the first time it is necessary to download the dedicated firmware emulator s control software insta...

Страница 94: ...on the status of the oscillation on off of the user system 3 When Generated is selected A clock generated by the dedicated circuit in the PC7501 is supplied to the evaluation MCU It is continually su...

Страница 95: ...will not be executed 2 Software break This is a debugging function which generates a BRK interruption by changing an instruction at a specified address to a BRK instruction 00h to break a program imm...

Страница 96: ...um operating frequencies are as follows 1 Debug Option unchecked Access area Flash ROM of MCU Max operating frequency 24MHz 0 wait 1 wait 2 Debug Option checked Access area Emulation memory of the PC7...

Страница 97: ...Interrupt 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 z Do not set a software break...

Страница 98: ...5 Connecting the Power Supply for the Emulator page 25 2 Check that the power is properly supplied to the use system See 2 7 Downloading Firmware page 28 3 Restart the emulator system Init dialog box...

Страница 99: ...t See 2 4 Connecting the PC7501 page 24 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 T...

Страница 100: ...ser system 1 Check that the reset pin of the user system is at H level 2 Check the reset pin of the user system has changed from L to H level ERROR 16615 Target MCU cannot be reset Reset the user syst...

Страница 101: ...kpoints of errors at debugger startup Error Checkpoint ERROR 16224 Target MCU is uncontrollable Execute the RESET command 1 Check that the NQPACK etc mounted on the user system is soldered properly 2...

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

Страница 103: ...of the following 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 Inadequa...

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

Страница 105: ...s Manual M306NKT EPB Publication Date Oct 16 2006 Rev 2 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp...

Страница 106: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M306NKT EPB REJ10J0519 0200 T User s Manual...

Отзывы: