Home

M306N4T-EPB User's Manual

image

Contents

1. Figure 2 2 Names of the LEDs on the upper panel of the PC7501 21 65 1 System Status LEDs The system status LEDs indicate the emulator PC7501 s power supply firmware operating status etc Table 2 3 lists the definition of each system status LED Table 2 3 Definition of the system status LEDs ON Meaning PC7501 system is turned ON OFF PC7501 system is turned OFF ON PC7501 system is operating normally Flashing 1 The self check is being executed 2 Downloaded firmware is being written into memory 3 If the ERROR LED is flashing or turned on at the same time the self check cannot be executed because of malfunction of the target system OFF PC7501 system is not operating normally system status error ON PC7501 system is not operating normally system status error Flashing 1 Firmware is being downloaded 2 If the SAFE LED is flashing at the same time or alternately the self check cannot be executed because of malfunction of the target system 2 Target Status LEDs PC7501 system is operating normally The target status LEDs indicate operating status of the target MCU and power supply of the target system Table 2 4 lists the definition of each target status LED Table 2 4 Definition of the target status LEDs POWER Status Meaning Power is supplied to the target system Power is not supplied to the target sys
2. POWER C SAFE O C CLOCK ERROR GB O RESET O ON ru i warnine OQ crr py orem TARGET Flashing Figure 4 1 LED display of the PC7501 when the power turned on IMPORTANT Note on Memory Expansion or Microprocessor Mode To use memory expansion or microprocessor mode be sure to set pins RDY and HOLD so that they are not active at startup Otherwise the emulator system will not start up correctly Note on the Target Status POWER LED f your MCU has two or more Vcc terminals the LED 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 emulator debugger Make sure that the oscillator circuit board is properly installed in the PC7501 and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are completed Make sure that the oscillator selected in the Init dialog box is oscillating normally 41 65 4 2 Downloading Firmware 4 2 1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below Normally the following are automatically detected when the emulator debugger is started up and the firmware is downloaded When you use this product for the first time When the emulator debugger or firmware has been upgraded
3. OJod 1609 mm Vim 1 y EN ed yd 0000000 2009 000 OM cri O Joooooo0o0o 29 Sdoooooooo O00 yp sd 1C10CP10 De Ic9 ca Iii iii BRAT o Hs a B Bs ei y E o ii rod gt ser aO LID LD ar ano ae Ep 7Q A3M W8d3 1d290E W Figure 3 7 Position of the JP1 Table 3 2 Switch settings of the JP1 Setting Voltage LIT LI E 4 2 V lt Vcc lt 5 5 V VCC1 2 J VCC1 gt 2 Factory setting 30 65 3 3 A D Conversion Bypass Capacitors There is a foot pattern on the M306N4T EPBM board for mounting bypass capacitors for the A D conversion circuit near the MCU Mount suitable bypass capacitors as occasion demands Figure 3 8 shows where they are installed and the configuration of this product Front side of the M306N4T EPBM o z A OlOlod LI EZIN 32 ge C OJOG 103 oo Olooldu s P oloo RB olol0 das z a oloo 385 m a ololo E lolo Ss oo g a 3 RAS e 4 oloolHBs gt B 5 d ajololal z m does B El on n ES 2 OloRHE oloo 2 gt Ap z oloolB Bs m oloo X mu ooo E EBE cs A Biim Shel Ego cool A g S g c oloo RES y A ps 3 um 3 46 O PERI A vw VOC 1 2 VGC1 gt 1 AVcc AVs
4. Max Min Max h BCLK AD Address output hold time BCLK standard See left h RD AD Address output hold time RD standard See left h WR AD Address output hold time WR standard See left d BCLK CS Chip select output delay time h BCLK CS Chip select output hold time BCLK standard See left d BCLK ALE ALE signal output delay time h BCLK ALE ALE signal output hold time See left d BCLK RD RD signal output delay time h BCLK RD RD signal output hold time See left d BCLK WR WR signal output delay time h BCLK WR WR signal output hold time See left d BCLK DB Data output delay time BCLK standard h BCLK DB Data output hold time BCLK standard See left d DB WR Data output delay time WR standard See left th WR DB Data output hold time WR standard 1 Calculated by the following formula according to the frequency of BCLK 7 0 5 x10 T BCLK 40 ns n 3 for 3 wait 2 Calculated by the following formula according to the freguency of BCLK 0 5x10 f BCLK ns 47 65 See left Vec 5V ALE td BCLK RD lt gt E 1 a D a lt gt th BCLE RD i i tac2 RD DB BTN a Hi Z U td BCLE CS th BCLE CS a X t 1 al
5. When you use this product with a PC7501 which was used with another emulation probe before When you use this product for the first time or when the power is unexpectedly shut down redownload the firmware in maintenance mode 4 2 2 Downloading Firmware in Maintenance Mode Download firmware in the special mode called maintenance mode as explained here following Figure 4 2 shows LED displays when downloading firmware The target system must not be connected when you download the firmware 1 Set the interface select switch on the rear panel of the PC7501 to the LPT side 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 start maintenance mode When the emulator is switched to maintenance mode the System Status SAFE LED begins to flash 3 Start up the emulator debugger When settings in the Init dialog box is complete the dialog which urges to download the firmware will appear Download firmware following messages Reguired time for downloading the firmware is about 60 seconds POWER Cock RESET C POWER O CLock RESET O RUN WARNING TARGET STATUS RUN WARNING SYSTEM TARGET STATUS STATUS SYSTEM STATUS SYSTEM STATUS STATUS Maintenance mode started Downloading firmware POWER Cock O RESET RUN C WAR
6. Flaw or crack in plastic section Fault or breakage caused by incorrect use or unauthorized repair or modification Heavily damaged electric circuits due to shorting of power supply overvoltage or overcurrent Crack in printed circuit board or burned down patterns Broad range of fault making replacement less expensive than repairing Unlocatable or unidentifiable fault 64 65 7 4 How to Reguest for Repair If your M306N4T EPB is found faulty follow the procedure below to send your product for repair Customer Write down the necessary information in the M306N4T EPB Repair Reguest Sheet attached hereto then send it along with the M306N4T EPB for repair to your local distributor or nearest office of Mitsubishi Electric Make sure that information in the M306N4T EPB Repair Reguest Sheet is written in as much detail as possible to facilitate repair Distributor After checking the contents of fault the distributor should please send the faulty M306N4T EPB along with the Repair Reguest Sheet to Mitsubishi Electric Mitsubishi Electric Semiconductor Application Engineering Corporation When the faulty M306N4T EPB is repaired it will be returned to the customer at the earliest convenience NCAUTION Note on Transporting the Product When sending your M306N4T EPB for repair use the packing box and cushion material supplied with the M306N4T EPB when delivered to you and specify handling caution for it to be handled as pr
7. 100LCC DMS not included Evaluation with actual MCU 9 M3T DUMMY100S not included MCU with flash ROM etc 1 100 pin 0 65 mm pitch 100P6S foot pattern Target board Figure 3 14 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 2 NCAUTION Notes on Connecting the Target System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system The connectors of the M30800T PTC are guaranteed for only 50 insertion removal iterations e The connectors of the M3T 100LCC DMS and M3T DUMMY100S are guaran teed for only 20 insertion removal iterations 37 65 3 6 4 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 3 Here following is a procedure of connecting to a 100 pin 0 65 mm pitch foot pattern on the target system using the M3T FLX 100NRB not included For details on the M3T 100LCC DMS not included and M3T FLX 100NRB refer to each instruction manual 1 Attach the M3T FLX 100NRB to the target system 2 Attach the M3T 100LCC DMS to the M3T FLX 100NRB 3 Attach the CN2 side of the M30800T PTC to the J4 side of the M306N4T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T FLX160 EPB M306N4T EPB 4 M3T 100LCC DMS not included e MST FLX 100NRB not included 7 YQSOCKET100RBF Evaluation with HOPACK100RB YOPACK1 OORB not inclu
8. 2 Calculated by the following formula according to the freguency of BCLK 7 0 5 x10 T BCLK 40 ns n 2 for 2 wait 3 Calculated by the following formula according to the freguency of BCLK 0 5x10 T BCLK 25 ns 49 65 Vec 5V Read BCLK ci i s tos th RD CS gt LO AD ALE th ALE AD tac3 0 08 p aveo xs A c MAC ED Io Cm ONERE Rd mi i i nm E tsu DBeRD pap pgj gt D O O a C td AD R i to BCLK AD Da a th BCLK AD E td IBCLK RO th BCLK ALEK gt 4 BCLK td BCLK CS th BCLK CS csi D NM D D HIRE gt D D D o0 M4 AD ALE th ALE KD DC EA i EE th CLK 08 f 23 te BCLK 08 EE a Abi a a ni G LS A D D D d er MM BM mo J A D D D b td 08 0R TET tA BGLK AD D Pha P e EE th BCLK AD ALE E Keak i EN E i IG t BCLK WR ea th IBCLK TE Figure 5 2 Memory expansion and microprocessor modes 2 wait accessing external area using multiplex bus 50 65 Vec 5V 3 Timing Requirements Tables 5 4 and Figure 5 3 list the timing requirements in memory expansion and microprocessor modes Table 5 4 Timing requirements Actual MCU This product ns ns Min Max Min M
9. 5 1 y a fy h RD CS i snteye i R i 3 td BCLK AD th BCLK AD f 1 i ADi a m rS X 1 BRE pr vu i itd BCLE ALB NL i PN th BCLX ALE th RD AD lt El x a Bess 0 tsu DB RD tn RD DD 1 Ss th BCLE ALE c n 4 aod D i 1 td BCLK WRYO TRL WEE Hi Z 7 SN ME td BCLE D3 O X e e 3 tcyc y 5 a 4 Snes i5 th RR CS td BCLK AD ina E i ia i ua 4 tB acu ADi 4 Y de i L X de BHE Dua v m 3 7 td BCLE ALE y inaran 1 Oth BCLE TR y T a 1 E 1 T a a a B pai i 4 1 n a 1 1 D D i n T lt gt an Eee td DB WR th BCLE DB gt o th WR DB S Figure 5 1 Memory expansion and microprocessor modes 3 wait accessing external area 48 65 2 Multiplex Bus Timing Vec 5V Table 5 3 and Figure 5 2 show the bus timing in memory expansion and microprocessor modes 2 wait accessing external area using multiplex bus Table 5 3 Memory expansion and microprocessor modes 2 wait accessing external area using multiplex bus Actual MCU d BCLK AD Address output delay time ns This product ns Max Min h BCLK AD Address output hold time BCLK standard See left h RD AD Address output hold time
10. Pe tede eed ed Lope dete eee 14 A ee tect eda ates e a e e Eii tgs 14 Notes on Address Match Breaks ssnssesssesssessseeeesseesseesseesserssseeessressersseesseesseeessreso 14 Notes on Address Match Interrupts s sssseseeeseeeesseesseesseesseeesseeessressersseesseeesseeessreso 15 Note on Software Breaks eit Paten a FRY AYN DAU DYNNU Be Peg vea eae n ii 15 Note on Differences between the Actual MCU and Emulator 16 Note on Watchdog Function aeo pri oo dee tera ote ta die Beds 16 INote on DMA TAO SO ait DID Lasso a enini Wd CAD os 16 Note on Protect Register id et diee nde etes GU el abe 17 Notes on Pullup Control uu joy A d e aia O GN AEA 17 Note on Operating Fregiiencycu ee Od a eee hee 17 Notes on Internal Flash ROM of the MCU seen enne 17 Notes on Debugging in CPU Rewrite Mode eee 18 7 65 1 1 Safety Symbols and Meanings In both the User s Manual and on the product itself several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons or damage to your properties This chapter describes the precautions which should be taken in order to use this product safely and properly Be sure to read this chapter before using this product If the requirements shown in the WARNING AN WARNING sentences are ignored the equipment may cause serious personal injury or death If the requirements show
11. RD standard See left h WR AD Address output hold time WR standard See left d BCLK CS Chip select output delay time h BCLK CS Chip select output hold time BCLK standard See left h RD CS Chip select output hold time RD standard See left h WR CS Chip select output hold time WR standard See left d BCLK RD RD signal output delay time h BCLK RD RD signal output hold time See left d BCLK WR WR signal output delay time WR signal output hold time See left d BCLK DB Data output delay time BCLK standard h BCLK DB Data output hold time BCLK standard See left d DB WR Data output delay time WR standard See left h WR DB Data output hold time WR standard See left d BCLK ALE ALE output delay time BCLK standard h BCLK ALE ALE output hold time BCLK standard See left d AD ALE ALE output delay time Address standard See left h ALE AD ALE output hold time Address standard See left d AD RD After address RD signal output delay time See left h BCLK WR td AD WR After address WR signal output delay time See left tdz RD AD Address output floating start time 1 Calculated by the following formula according to the frequency of BCLK 0 5x109 f BCLK ns
12. area do not use areas which cannot be used as a stack SFR area RAM area which stores data or ROM area as a work area 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 at 00500h and used as a stack area after a reset is released Notes on Reset Vector Area Memory in the emulator main unit is always selected as a reset vector area FFFFCh FFFFFh in order to operate the evaluation MCU in the emulator dedicated mode Set the contents of the reset vector area in one of the following ways 1 Download a user program to an area including the reset vector area 2 Set the reset vector using a dump window of the emulator debugger etc You can change data in the reset vector area only when the user program is stopped Do not access the reset vector area as data It may not be accessed properly and the program may not run properly in the next bus cycle Note on Accessing Address 00000h With the M16C 60 Series MCUs when a maskable interrupt is generated the interrupt data interrupt number and interrupt request level stored in address 00000h is read out Also the interrupt request bit is cleared when address 00000h is read out Consequently when the address 00000h readout instruction is executed or when address 00000h is read out in the cause of a program runaway a malfunction occurs in that the interrupt is not executed de
13. check si 1 uid e rt Pret oet tfi accitis oet ice da 44 39 65 Chapter 4 Usage 4 1 Turning On the Power 4 1 1 Checking Connections of the Emulator System Before turning the power ON check the connection of the interface cable to the host machine PC7501 emulation probe and target system 4 1 2 Turning ON OFF the Power Turn ON the power of the emulator and target system as simultaneously as possible Turn OFF the power of the emulator and target system as simultaneously as possible Do not leave either the emulator or target 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 4 1 3 Power Supply to the Target System Pin Vcc is connected in order to monitor target system voltage For this reason the emulator cannot supply power to the target system Therefore provide the target system with a separate power supply The voltage of the target system should be as follows 4 2 V s Vcc s 5 5 V 40 65 4 1 4 LED Display When the Emulator Starts Up Normally Figure 4 1 shows upper panel LED lighting status when the emulator started up properly Check it when starting up the emulator system If this LED does not light check the voltage of the target system Check that power is supplied to all the power terminals When the target system is not connected this LED does not light
14. describes how to troubleshoot when this product does not work properly 6 1 Flowchart to Remedy the Troubles sess 6 2 When the Emulator Debugger Does Not Start Up Properly 57 65 Chapter 6 Troubleshooting 6 1 Flowchart to Remedy the Troubles Figure 6 1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up Check this while the target system is disconnected For the latest FAOs visit the Mitsubishi Tool Homepage http www tool spt maec co jp index_e htm Turning on PC7501 Front panel LED of PC7501 Nornormal 1 Check emulator system connections See 2 5 Connecting the PC7501 on page 33 2 Redownload the firmware See 4 2 Downloading Firmware on page 42 3 Restart the PC7501 system Normal Init dialog box of emulator debugger displayed Not normal Error displayed 1 Check the operating environment etc of the emulator debugger See the user s manual of the emulator debugger 2 Reinstall the emulator debugger Normal MCU Setting dialog box of emulator debugger displayed Not normal Error displayed See 6 2 3 MCU Setting Dialog Box Does Not Appear at Debugger Startup target not connected on page 61 Program window of emulator Error displayed debugger displayed See 6 2 4 Errors Occur at Debugger Startup target con
15. in the MCU tab of the Init dialog box of the emulator debugger you cannot use the following functions 1 Setting software breakpoints in an internal ROM area 2 Executing COME in an internal ROM area In the rewrite control program area from setting CPU rewrite mode to releasing it do not use the following functions 1 Single stepping 2 Setting software breakpoints 3 Setting hardware breakpoints To reference data after executing CPU rewrite stop the program at a point which is not a rewrite control program area and use a dump window etc 18 65 Chapter 2 Preparation This chapter describes the package components the system configuration and the preparation for using this product for the first time 2I PackaeeComnponents GR GO t e O GO um 20 2 2 Other Tool Products Required for Development esses ener 20 2 3 Name of Each Pit rib rate tete dd o legi ede eto media ct dus Lo bed esu GY eub edite aes 21 a A ph OO atid RR O CE 21 2 3 2 Names and Functions of the PC7501 Upper Panel LEDS eene 21 2 4 When Using the Emulator for the First Time esses eene enne nennen enne 24 21 Downloads EIEIBWOEG os eode dte eo GT E SEM EU De d RES Fy ddy ados UPON ETE AY Eds 24 PAD Seli chack EP O EEE 24 19 65 2 1 Package Components The M306N4T EPB package consists of the following items When unpacking it check to see if your M306N4T EPB contains all of these
16. items Table 2 1 Package components Guantity M306N4T EPB emulation probe M30800T PTC converter board for 100 pin 0 65 mm pitch LCC Pre attached IC61 1004 051 LCC socket 100 pin 0 65 mm pitch made by Yamaichi Electronics Co Ltd OSC 3 16 MHz oscillator circuit board OSC 2 oscillator circuit bare board Resistor arrays 51 k 2 for ports PO to P5 pullup Hardware tool user registration FAX sheet Hardware tool user registration FAX sheet Japanese M306N4T EPB user s manual this manual M306N4T EPB user s manual Japanese Please keep the M306N4T 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 f any of these items are missing or found faulty please contact your local distributor f 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 http www yamaichi co jp e index shtml 2 2 Other Tool Products Required for Development To bring forward programs development on an M16C 6N4 5 MCU of the M16C 6N Group the products listed below are necessary in addition to those contained package above Get them separately Table 2 2 Other tool products required for development Emulato
17. operating freguency 20 MHz Operating voltage 4 2 to 5 5 V When using PLL Clock oscillator Xin Xout 1 to 16 MHz Switchable to internal oscillator circuit board external oscillator input or internal generator circuit Xcin Xcout 32 768 KHz Switchable to internal oscillator circuit board or external oscillator input Operating freguency 4 210 5 5 V Operating temperature 5 to 35 C no dew Storage temperature 10 to 609C no dew Power supply to emulator Supplied from DC power supply of the emulator main unit Connection to target system see 3 6 Connecting the Target System on page 34 For 100 pin LCC socket M30800T PTC included 1C61 1004 051 included For 100 pin 0 65 mm pitch QFP 100P6S A 1 M30800T PTC included M3T 100LCC DMS not included M3T DIRECT100S not included 2 M30800T PTC included M3T 100LCC DMS not included M3T DUMMY100S not included 3 M30800T PTC included M3T 100LCC DMS not included M3T FLX 100NRB not included 46 65 1 Separate Bus Timing Vec 5V 5 2 Operation Timing of Memory Expansion and Microprocessor Modes 5 V Table 5 2 and Figure 5 1 show the bus timing in memory expansion and microprocessor modes 3 wait accessing external area Table 5 2 Memory expansion and microprocessor modes 3 wait accessing external area d BCLK AD Address output delay time Actual MCU ns This product ns
18. target system should be as follows 42V lt Vcec lt 5 5V Note on RESET Input A low input to pin RESET from the target system is accepted only when a user program is being executed when the RUN status LED on the PC7501 s front panel is lit 11 65 IMPORTANT Note on NMI Input A low input to pin NMI from the target system is accepted only when a user program is being executed when the RUN status LED on the PC7501 s front panel is lit Note on RDY Input e Be sure to input a low to pin RDY of the target system during the user program execution only while the RUN status LED on the PC7501 s upper panel is lit Inputting a low signal to pin RDY when the user program is stopped may cause a malfunction of the emulator Note on HOLD Input Be sure to input a low to pin HOLD of the target system during the user program execution only while the RUN status LED on the PC7501 s upper panel is lit Inputting a low signal to pin HOLD when the user program is stopped may cause a malfunction of the emulator Notes on Maskable Interrupts Even if a user program is not being executed including when run time debugging is being performed the evaluation MCU keeps running so as to control the emulation probe Therefore timers and other components do not stop running If a maskable interrupt is reguested when the user program is not being executed including when run time debugging is being performed the maskable in
19. 2 and check it is in maintenance mode Startup emulator debugger M3T PD30F and download the firmware Quit the emulator debugger and shut down the PC7501 M Figure 2 3 Firmware download procedure 2 4 2 Self check Execute the self check after downloading the firmware to check that the emulation probe operates properly Figure 2 4 shows the self check procedure Within 2 seconds of turning the power ON press the system reset switch of the PC7501 and check it is in maintenance mode Press the system reset switch of the PC7501 to start the self check See 4 3 Self check on page 43 After about 30 seconds check that the self check is terminated normally and shut down the PC7501 Figure 2 4 Self check procedure 24 65 Chapter 3 Setup This chapter describes switch settings reguired for using this product and how to connect this product to the PC7501 and the target system SL 5elechng Clock SUBDIS deti RG Pu M E GO o 26 SL Clock LYN 26 3 1 2 Using an Internal Oscillator Circuit Board sess 26 3 1 3 Using the Oscillator Circuit on the Target System sese 20 3 1 4 Using the Internal Generator Circuit A oe fe peine eeprius 30 3 2 Setting 9 WIE ES vibe esie Ses gees deci Coetu ut bieten Gea oe dat sydd olay Gw YG tas 30 3 3 A D Conversion Bypass Capacitors oio sete tt iot os Re
20. 6 Circuit in which oscillation does not occur 29 65 3 1 4 Using the Internal Generator Circuit The dedicated circuit in the PC7501 can generate any arbitrary freguency 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 oscillator circuit on the target system If you want to debug programs without the target system or change a freguency temporarily you can check its operation before purchasing an oscillator If you want to use the internal generator circuit in the PC7501 as a main clock choose Generate in the emulator debugger and specify a frequency you like to use this clock Although you can change a frequency between 1 0 and 99 9 MHz by 0 1 MHz for the PC7501 do not specify a value exceeding the maximum input frequency of the Xin of the MCU IMPORTANT Note on Using the Internal Generator Circuit The internal generator circuit is equipped for temporary debugging purposes Temperature characteristics of frequencies are not guaranteed 3 2 Switch Settings Set jumper switch JP1 according to a power supply you use Figure 3 7 shows the positions of jumper switch JP1 Table 3 2 lists how to set the switch Front side of the M306NAT EPBM Osa mgs g EEE ICI 102 108 EIO CP8A O He Wel Wa ZIJA Zd l OI 04 3 dOOOOOOOOloloooooo00lg9 j Sep EdOOOOOOOO om
21. CT100S 3 Attach the CN2 side of the M30800T PTC to the J4 side of the M306N4T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T FLX160 EPB M306N4T EPB CN2 side M30800T PTC 4 M3T 100LCC DMS not included 2 M3T DIRECT100S not included o 100 pin 0 65 mm pitch 100P6S foot pattern Target board Figure 3 13 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 1 NCAUTION Notes on Connecting the Target System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system The connectors of the M30800T PTC are guaranteed for only 50 insertion removal iterations The connectors of the M3T 100LCC DMS and M3T DIRECT100S are guaranteed for only 20 insertion removal iterations 36 65 3 6 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 Here following is a procedure of connecting to a 100 pin 0 65 mm pitch foot pattern on the target system using the M3T DUMMY100S not included For details on the M3T 100LCC DMS not included and M3T DUMMY 1008S refer to each instruction manual 1 Attach the M3T DUMMY 100S to the target system 2 Attach the M3T 100LCC DMS to the M3T DUMMY100S 3 Attach the CN2 side of the M30800T PTC to the J4 side of the M306N4T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS MST FLX160 EPB M306N4T EPB CN2 side M30800T PTC M3T
22. If the self check do not result normally excluding target system errors the emulation probe may be damaged Then contact your local distributor 44 65 Chapter 5 Specifications This chapter describes specifications of this product Del APOCO A ONS codec cena aod cedes O GR boe GN GR NN A 46 5 2 Operation Timing of Memory Expansion and Microprocessor Modes 5 V 47 2 5 Connection DIAEEQITIG A osos RD Ide p mp eaten de YN Cd YY INI RT QUE 52 oA External Dimensions eu A ea 54 5 4 1 External Dimensions of the Emulation Probe eee 54 5 4 2 External Dimensions of Converter Board M30800T PTC sese 55 45 65 5 1 Specifications Table 5 1 lists the specifications of the M306N4T EPB Table 5 1 Specifications of the M306N4T EPB Emulator PC7501 Applicable MCU M16C 6N Group M16C 6N4 M16C 6N Group M16C 6N5 Evaluation MCU M30627FHPGP M306N4FGTKP Custom package for emulator ROM 384 KB 4 KB RAM 31 KB Usable MCU mode Single chip mode Memory expansion mode NORMAL Microprocessor mode NORMAL Emulation memory 1 Internal ROM of MCU 384 KB 4 KB 0F000h OFFFFh A0000h FFFFFh maximum operating frequency 20 MHz 0 wait 2 Internal RAM of MCU 31 KB 00400h 07FFFh maximum operating frequency 20 MHz 0 wait 3 CS3 CS0 area Possible to allocate by 4 KB maximum operating freguency 10 MHz 0 wait Maximum
23. NING SYSTEM TARGET STATUS STATUS Power cLock O RESET Om O ON Q warnnc e OFF TARGET Flashing SYSTEM STATUS Download complete Figure 4 2 LEDs during firmware download N CAUTION Note on Downloading Firmware Do not shut OFF power while firmware is being downloaded Doing so the emulator will not start up properly If power is shut off by mistake redownload the firmware in maintenance mode 42165 4 3 Self check 4 3 1 Self check Procedure To run the self check of the emulator do so as explained here below While the self check is in progress the LEDs will change as shown in Figure 4 3 1 If the target system is connected disconnect it 2 Within 2 seconds of activating power to the emulator press the system reset switch on the emulator front panel to switch the emulator to maintenance mode 3 Check the SAFE LED starts flashing and then press the system reset switch again 4 The self check will start If the normal result is displayed in about 30 seconds the self check terminated normally POWER C SAFE O ERROR Power crock Reset O RUN WARNING TARGET STATUS SYSTEM STATUS Maintenance mode started ERROR 1 SAFE and ERROR flash ERROR 2 SAFE flashes and ERROR lights ERROR 3 SAFE and ERROR light alternately ERROR 4 SAFE goes out and ERROR lights POWER C SAFE O ERROR SYSTEM S
24. P00 P07 RM1 51 kQ pullup P10 P17 RM2 51 kQ pullup P20 P27 RMS 51 kQ pullup P40 P47 RM5 51 kQ pullup P50 P57 RM6 51 kQ pullup P30 P37 RM4 51 kQ pullup 32 65 3 5 Connecting the PC7501 Figure 3 10 shows how to connect the PC7501 and the emulation probe M3T FLX160 EPB M306N4T EPB Figure 3 10 Connecting the PC7501 and the emulation probe NCAUTION Note on Connecting the PC7501 When connecting the emulation probe be sure to hold the both sides of the emulation probe horizontally and insert it directly Always shut OFF power before connecting the emulation probe Otherwise internal circuits may be damaged 33 65 3 6 Connecting the Target System Figure 3 11 shows how to connect this product according to your target system Emulation probe 100 pin 0 65 mm pitch M30800T PTC included g V Ze 100LCC DMS not included Y Y M3T FLX100 T A A dar FLX100 R notincluded E included U E v lt gt e e LCC socket M3T DIRECT100S M3T DUMMY100S M3T FLX 100NRB 100 pin LCC 100 pin QFP 100 pin QFP 100 pin QFP included not included not included not included Position of No 1 pin These three products are avaiable in one package Figure 3 11 Connecting the target system NCAUTION Note on Connecting the Target System Take care not to attach a co
25. P85 NMI AAN gt lt P85 NMI M16C 6N4 E VO Emulate P86 Xcout P86 Xcout 74HC4066 510kK0 O Vcc P87 Xcin E gt lt p87 Xcin 74HC4066 x 51k Q Vcc 7WH125 BI AN7 ANO ES gt lt P107 P100 741 C4066 74HC 4066 Pullup resistors indicated by 5 74HC4066 dashed lines socket mounted 2 R3 00 C Vcc a 3 Ice 51kO O Vcc S 74HC4066 a GN Ny o lt P07 POO R2 00 O Vcc 2 51kQ CJ Vcc Port Emulation 4 ce eae pa R FPGA P27 P20 Vcc a 51kQ 2 Vcc P17 P10 pA e P37 P30 P47 P40 P57 P50 lt 4 CNVss X BYTE 510k O Vcc x lt 4 RESET 510kQ O vcc ANV x Xin Xout 74HC4066 X Connected to emulator Figure 5 4 Connection diagram 52165 Table 5 5 Electrical characteristics of the 74HC4066 Standard values Standard Condition ON resistor Vcc 4 5 V ON resistor difference Vcc 4 5 V Leak current Off Vcc 12 0 V Leak current On output open Vcc 12 0 V Table 5 6 Electrical characteristics of the port emulation FPGA Standard values Min Standard Max Condition H level input voltage L level input voltage lou 2 8 mA DC Vcc 4 75 V lou 2 8 mA DC Vcc 3 00 V lo 2 8 mA DC Vcc 4 75 V H level output voltage L level output voltage lo 2 8 mA DC Vcc 3 00 V Leak current Tristate Vo Vcc or GND
26. T EPB This means the emulation probe this product for the M16C 6N Group M16C 6N4 5 It is used with the emulator main unit PC7501 Emulator debugger M3T PD30F This means a software tool for the M16C 60 Series You can control the emulator from a host machine through various interfaces Firmware This means a program stored in the flash ROM of the emulator main unit PC7501 It analyzes contents of communication with the emulator debugger and controls the emulator PC7501 This program is downloadable from the emulator debugger to upgrade firmware or to support other MCUs Host machine This means a personal computer used to control the PC7501 emulator system Target MCU This means the microcomputer you are going to debug Target system This means a user s application system using the microcomputer to be debugged User program This means a user s application program to be debugged Evaluation MCU This means a microcomputer mounted on the emulation probe which is operated in the special mode for the emulator In this user s manual this symbol is used to show active LOW e g RESET 6 65 Chapter 1 Precautions for Safety This chapter describes precautions for using this product safely and properly For precautions for the emulator main unit and the emulator debugger refer to each user s manual included with your product LA Safety Symbols and Meanings A FR mea I DA dec odds 8 emi O TETTE 9 Warning for Use Env
27. TATUS O Power O stock O RESET warnine TARGET STATUS Self check termi POWER _ SAFE O ERROR O nated normally Power stock RESET Om WARNING SYSTEM STATUS TARGET ST TUS Emulation probe and firmware do not match POWER SAFE O ERROR C SYSTEM STATUS O Power O stock RESET ru WARNING TARGET STATUS PC7501 syste POWER C SAFE O ERROR O SYSTEM STATUS m status error O Power O crock RESET rw WARNING TARGET STATUS O ON OQ corr Flashing When the firmware does not support the emulation probe When the emulation probe is not connected properly When the PC7501 system is not working properly When a clock is not supplied to the emulation probe Emulation probe initialization error POWER C SAFE Y ERROR C STEM STATUS O Power O stock RESET ru WARNING TARGET STATUS Emulation probe status error When the emulation probe is not working properly Figure 4 3 LED displays in the self check 43 65 4 3 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 4 3 check the following Whether the emulation probe and PC7501 are connected properly Whether the proper firmware has been downloaded NCAUTION Note on Self check
28. To all our customers Regarding the change of names mentioned in the document such as Mitsubishi Electric and Mitsubishi XX to Renesas Technology Corp The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas Technology Corporation on April 1st 2003 These operations include microcomputer logic analog and discrete devices and memory chips other than DRAMs flash memory SRAMs etc Accordingly although Mitsubishi Electric Mitsubishi Electric Corporation Mitsubishi Semiconductors and other Mitsubishi brand names are mentioned in the document these names have in fact all been changed to Renesas Technology Corp Thank you for your understanding Except for our corporate trademark logo and corporate statement no changes whatsoever have been made to the contents of the document and these changes do not constitute any alteration to the contents of the document itself Note Mitsubishi Electric will continue the business operations of high freguency amp optical devices and power devices Renesas Technology Corp Customer Support Dept April 1 2003 24 N SAS Renesas Technology Corp REJ10J0810 0100Z M306N4T EPB User s Manual Emulation Probe for M16C 6N Group M16C 6N4 5 First Edition February 16 2003 Mitsubishi Electric Corporation Mitsubishi Electric Semiconductor Application Engineering Corporation 1 65 1C61 1004 051 is a trademark o
29. ation Port Pulltip e iei ette Ho ODD ELLY GLIR 32 35 Connecting the PC750 Li en Ai teu ni RG at oer Rete en artes 33 3 6 Connecting the Target System sees 34 3 6 1 Connecting to the 100 pin LCC Socket eseseeses 35 3 6 2 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 36 3 6 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 37 3 6 4 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 3 38 Chapter 4 Usage x55 sese SER eS etus e RSS 39 4 1 Turning On the Power sreca t e e a E nennen nennen eene eene 40 4 1 1 Checking Connections of the Emulator System 40 4 1 2 Turning ON OFF the Power esee eee 40 4 1 3 Power Supply to the Target System sese 40 4 1 4 LED Display When the Emulator Starts Up Normally 41 4 2 Downloading Firmware eese enne entente en netten nennen 42 4 2 1 When It is Necessary to Download Firmware sess 42 4 2 2 Downloading Firmware in Maintenance Mode ss 42 4 3 SelE checkz As niy mid diy EN GRY FYD e eet dee e ene 43 4 3 1 Self check Procedure ssnin eiserne nesen a ea oiei 43 4 3 2 If an Error is Detected in the Self check sssssssss 44 Chapter 5 Specifications c tt rtr t I AF egre dede rte i Fo 45 A RE RITU REPRE 46 5 2 Operation Tim
30. ax tsu DB RD Data input setup time 55 tsu RDY BCLk RDY input setup time 45 tsu HOLD BCLK HOLD input setup time 55 th RD DB Data input hold time See left th BCLK RDY RDY input hold time See left th BCLK HOLD HOLD input hold time See left td BCLK HLDA HLDA output delay time x Common to with wait and no wait actual MCU BCLK iN NE EE C teu HOLD 8CLK AP BCLK HOLD HOLD Input A ELDA Output e PEN P0 P1 P2 P3 P4 i td BCLK HLOA Wi td BCLK HLDA P50 P5 ERES Xu D A E O Common to with wait and no wait this product BCLK a SN th SN HOLD Input 2 N ELDAO utpul P0 P1 P2 P3 P4 TAS 7 EET Lone l P5o P52 a n a a A i P Figure 5 3 Timing requirements Compared with the actual MCU this product enters high impedance state after a 0 5 cycle delay 51 65 5 3 Connection Diagram Figures 5 4 shows a connection diagram of the M306N4T EPB This connection diagram mainly shows the interface section The circuits not connected to the target system such as the emulator s control system are omitted The signals not shown in Figure 5 4 connect the evaluation MCU and the target system directly Tables 5 5 and 5 6 show IC electric characteristics of this product for reference purposes IC20 P67 P60 P67 P60 P77 P70 p4 P77 P70 P84 P80 P84 P80 P97 P90 P97 P90 510k Vec 1000 EVE
31. bishichips com and Mitsubishi Tool Homepage http www tool spt maec co jp index_e htm When using any or all of the information contained in these materials including product data diagrams charts programs and algorithms please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation assume no responsibility for any damage liability or other loss resulting from the information contained herein Mitsubishi Electric Corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake Please contact Mitsubishi Electric Corporation Mitsubishi Electric Semiconductor Application Engineering Corporation or an authorized Mitsubishi Semiconductor product distributor when considering the use of a product contained herein for any specific purposes such as apparatus or systems for transportation vehicular medical aerospace nuclear or undersea repeater use The prior written approval of Mitsubishi Electric Corporation or Mitsubishi Electric Semiconductor Application Engineering Corporation is necessary to reprint or reproduce in whole or in part these materials If these products or technologies are subject to the Japanese export control restrictions they must be expor
32. board OSC 3 16 MHz and a oscillator circuit bare board OSC 2 are included with this product If you use an internal oscillator circuit board of the PC7501 as a main clock choose Internal in the emulator debugger after replacing oscillator circuit boards to change a clock supplied to the MCU 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 3 1 Figure 3 1 Removing the upper cover 26 65 2 Replace the oscillator circuit board see Figure 3 2 The oscillator circuit board of the PC7501 is in the lower right corner of the board E Oscillator circuit board Unscrew the screw securing 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 3 2 Replacing the oscillator circuit board 3 Reinstall the upper cover and secure the four screws NCAUTION Note on Replacing the Oscillator Circuit Board Always shut OFF power when removing the upper cover or replacing oscillator circuit board Otherwise internal circuits may be damaged 27 65 3 Using the Internal Oscillator Circuit Bare Board To use the emulation probe ata freguency you like build a desired oscillator circuit on the included OSC 2 oscillator circu
33. d i y Vin 0 V I O pin input capacitance f 1 0 MHz 53 65 5 4 External Dimensions 5 4 1 External Dimensions of the Emulation Probe Figure 5 5 shows external dimensions of the M306N4T EPB and M30800T PTC 100 0 A fh x 6N4 TPI m 10 0 dz 2 33 f 8 4 Polos i T 7 gojol 7 33 s 95 OOlO l 2 olojo 8 ololo Es 3 E olojo Sm soo 999 ens sis 4 o o o E Zololo z C oes amp 3olojol U ojojo c3 fog ololo M oY aig o olo C 2 Jz ae OOlO z sue oolo M T z Bee s is ACRES PCA7SOIEPBA REV A MADE IN JAPAN y 34 3 55 16 3 A le 108 le Unit mm 150 150 55 0 15 0 Figure 5 5 External dimensions of the emulation probe 54 65 5 4 2 External Dimensions of Converter Board M30800T PTC Figure 5 6 shows external dimensions of converter board M30800T PTC included for a 100 pin LCC 000000000000000 oooooooloooscooo e poecoaooooco oooopdaoobooo ie ES 01 eh o0000000000000 coooooo o0000000 m 30 Unit mm Figure 5 6 External dimensions of converter board M30800T PTC 55 65 MEMO 56 65 Chapter 6 Troubleshooting This chapter
34. ded lt gt MCU with flash ROM etc These corners are not round Target board Available in one package Figure 3 15 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 3 NCAUTION Notes on Connecting the Target System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system The connectors of the M30800T PTC are guaranteed for only 50 insertion removal iterations The connectors of the M3T 100LCC DMS and M3T FLX 100NRB are guaranteed for only 20 insertion removal iterations 38 65 Chapter 4 Usage This chapter describes from turning on the power of this product to starting up the emulator debugger AAT arming On he POW er uda stet A dU GG y FO CF CCG 40 4 1 1 Checking Connections of the Emulator System sess 40 412 Turne ON OFF the POWEeT ic geu ties ay te dte dtes e nass vet NF sabs 40 4 1 3 Power supply to the Target System one aeo FY Y bea eiue een 40 4 1 4 LED Display When the Emulator Starts Up Normally eee 41 4 2 Downloading Firmwar diese eee tee a rara ens 42 4 2 1 When It is Necessary to Download Firmware essere nne 42 4 2 2 Downloading Firmware in Maintenance Mode sese 42 sepes mido oc MI PP 43 4 3 TiSelbcheck A O eta Gef sao fades 43 4 3 2 If an Error is Detected ni the sell
35. e using this product for the first time it is necessary to download the dedicated firmware Please note that to do this it is necessary to start up the emulator main unit in maintenance mode For downloading firmware see 4 2 Downloading Firmware on page 42 Once the firmware has been downloaded the product can be used by simply turning on the power Do not shut off the 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 target system not connected Notes on Self check fthe self check does not result normally excluding target system errors the emulation probe may be damaged Then contact your local distributor Run the self check with the target system not connected Note on Quitting the Emulator Debugger Torestart the emulator debugger always shut power to the emulator module off once and then on again Note on Final Evaluation Be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU Notes on Power Supply to the Target System Pin Vcc is connected in order to monitor target system voltage For this reason the emulator cannot supply power to the target system Therefore provide the target system with a separate power supply The voltage of the
36. ecision eguipment If packing of your product is not complete it may be damaged during transportation When you pack your product in a bag make sure to use conductive polyvinyl supplied with the M306N4T EPB usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity 65 65
37. f Yamaichi Electronics Co Ltd NOPACK YOPACK YOSOCKET YO Guide HOPACK TOPACK and TOSOCKET are trademarks of Tokyo Eletech Corporation First Edition February 16 2003 Copyright O 2003 Mitsubishi Electric Corporation Copyright O 2003 Mitsubishi Electric Semiconductor Application Engineering Corporation Keep safety first in your circuit designs Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation put the maximum effort into making semiconductor products better and more reliable but there is always the possibility that trouble may occur with them Trouble with semiconductors may lead to personal injury fire or property damage Remember to give due consideration to safety when making your circuit designs with appropriate measures such as i placement of substitutive auxiliary circuits ii use of non flammable material or iii prevention against any malfunction or mishap Precautions to be taken when using this manual These materials are intended as a reference to assist our customers in the selection of the Mitsubishi semiconductor product best suited to the customer s application they do not convey any license under any intellectual property rights or any other rights belonging to Mitsubishi Electric Corporation Mitsubishi Electric Semiconductor Application Engineering Corporation or a third party Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Applica
38. heckpoints of errors at debugger startup target connected Communication error occurred Data was not sent to the target Checkpoint Check that all emulator debugger settings interface cable settings and switches on the rear of the PC7501 match See the user s manuals of the PC7501 and emulato debugger Target system cannot be properly built 1 Download the proper firmware See 4 2 Downloading Firmware on page 42 2 Check the connection between the PC7501 and this product See 2 5 Connecting the PC7501 on page 33 M3T PD30F version is not the same version as the firmware in the target Download the proper firmware See 4 2 Downloading Firmware on page 42 Target MCU is in the reset state 1 Check that the reset pin of the target system is pulled up 2 Check that the reset pin of the target system has changed from Low to High level Target MCU cannot be reset 1 Check that pin NMI is held High 2 If in memory expansion or microprocessor mode check that pins RDY and HOLD are held High 3 If the reset circuit of the target system has a watchdog timer disable the timer 4 Check that power is properly supplied to the target system and that the target system is properly grounded Target is in HOLD state The MCU is either in stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt See MCU specifications Target clock is stopped Chec
39. ing of Memory Expansion and Microprocessor Modes 5 V 47 5 4 Connection Diagram s Eee EE EEE ene en ene cn en nee nemen nennen 52 3 0 External Dimensions aiii ste hie rub eue odes DR nei dais dees A satis 54 5 5 1 External Dimensions of the Emulation Probe sss 54 5 5 2 External Dimensions of Converter Board M30800T PTC 55 Chapter 6 Troubleshooting eire tp re eere rH Yda Dio 57 6 1 Flowchart to Remedy the Troubles sese 58 6 2 When the Emulator Debugger Does Not Start Up Properly 59 Chapter 7 Maintenance and Guarantee sss ens 63 TA Maintenance oov ee RUSO eU ER 64 7 2 Guarantee i ii ose ete eei Gig oie tee et e o exter dim eoa 64 1 3 Repair PLOVISIONS 5 uio e et iR IU ROT pia 64 7 4 How to Request for Repair essen enne nennen entren 65 5 65 Terminology Some specific words used in this user s manual are defined as follows PC7501 system This means an emulator system built around the PC7501 emulator The PC7501 emulator system is configured with an emulator main unit PC7501 emulation probe M306N4T EPB emulator debug ger M3T PD30F and host machine Emulator main unit PC7501 This means an emulator for the M16C Family MCUs You can configure your emulator system by changing emulation probes according to your target MCU Emulation probe M306N4
40. ion pee ed 11 Note on Quitting the Emulator Debugger eee 11 Note on Final Evaluation oooonccnoncnnnconcnancononononn conc cnn cnnn cnn ccnn cnn non nooo non nconncnnos 11 Notes on Power Supply to the Target System sees 11 Note on RESET Input oooccnocnocinocinnconcconcnnccnnonnonnnnnnnrnnonnncnn cnn E non nora con nconoo 11 Note on NMI Input ci eie ett p e ER Hee RO ries 12 Note on RDY Input uere UR IR es rero EN GBF 12 Note on HOLD Input neii etr e er Rte ehe bipes 12 Notes on Maskable Interrupts esses enne 12 Note on Clock Supply to the MCU eee 12 Note on Access Prohibited Area essere 13 Notes on Stack Area eee epe eerte dn Sydd e retten 13 Notes on Reset Vector Area eese eer er FFWR ddyd 13 Note on Accessing Address 00000h sse 13 Note on Stop and Wait Modes sesssseseeeeeeenreeennen e 13 Note on Display of MCU Status eese 14 Note on Breaks A eit teer eed eerte eene rans 14 Notes on Address Match Breaks essere 14 Notes on Address Match Interrupts eene 15 Note on Software Breaks iei eee tette peret 15 Note on Differences between the Actual MCU and Emulator 16 Note on Watchdog Function ooooooncccoconocconconocononnnonnnononnnonancnn crono nn non eene 16 Note on DMA Transfers i ene eet e ER HR 16 Note on P
41. ironment uice eterna e Ve Eee IR USA OY e Ee eA EHE een cabece 9 Caution to Be Taken for Modifying This Product ooocoocococococononoconononorncinnoncnrncnnnnnnos 10 Cautions to Be Taken for Turning On the Power eene 10 Cautions to Be Taken for Handling This Product sese 10 Caution to Be Taken for Malfunctions Ge een dp qe tete co rta sd o usus 10 Caution to Be Taken for External Trigger Input Voltage esses 10 Notes on Downloading Firmware seen 11 Notes On Sel check a o eco eed UR MS e unn Ene aee numum oq Im gd O 11 Note on Quitting the Emulator Debugger 1 eterne gwd AC eta 11 Note On Final ByaludtiQn 5 ae ud y Y FN 11 Notes on Power Supply to the Target System seen 11 Note on RESET Input eoe od EIER alcala adios 11 Note RAN Me te eo 12 Note on RDY Input ei Uu 12 Note on HOLD Input anota 12 Notes on Maskable Interrupts 51 ey eroe YS yN Sydd aee dn Ren 12 Note on Clock Supply to the MCU ceid TR PE boues Ingo nd GA 12 Note oncxccess Prohibited Area uu etit Dass i dubii dta i QUE deeds 13 Notes on Stack ATG ee s rie v tisque tente imd sa td o cde be 13 INotes on Beset Vebtor AT eh esos Gw usui eoa E stie Su e M EU n 13 Note on Accessing Address 00000h icon esit etes ADC Sect ta DDO 13 Note on stop and Wait Modes uia co eire fi Sedd o perd 13 Note on Display of MCU Status iecit nde i esses
42. it bare board Figure 3 3 shows an external view of the OSC 2 oscillator circuit bare board and where the connector pins are located Figure 3 4 shows the circuitry of oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillator output J1 2 GND J1 1 Vcc gt J1 3 J1 1 X1 5 08 mm pitch 2 pin oscillator IC1 Inverter Unbuffer X2 2 54 mm pitch 2 pin oscillator X3 2 54 mm pitch 3 pin oscillator Figure 3 4 Circuits of oscillator circuit bare board OSC 2 28 65 3 1 3 Using the Oscillator Circuit on the Target System To operate this product with an external clock construct the oscillator circuit as shown in Figure 3 5 in the target system and input the oscillator output at 5096 duty within the operating range of the evaluation MCU into pin Xin And pin Xout should be open Choose External in the emulator debugger to use this clock Evaluation MCU Open Oscillator circuit Oscillation output Figure 3 5 External oscillator circuit Make note that in the oscillator circuit shown in Figure 3 6 where a resonator is connected between pins Xin and Xout oscillation does not occur because a converter board and other devices are used between the evaluation MCU and the target system It is same for sub clock oscillator circuits Xcin and Xcout Evaluation MCU Figure 3
43. k that the oscillator circuit of the target system is oscillating properly Target MCU is not receiving power 60 65 Check that power is properly supplied to the target system and that the target system is properly grounded 3 MCU Setting Dialog Box Does Not Appear at Debugger Startup target not connected Table 6 3 Checkpoints of errors at debugger startup target not connected Checkpoint Communication error occurred Check that all emulator debugger settings interface Data was not sent to the target cable settings and switches on the rear of the PC7501 match See the user s manuals of the PC7501 and emulato debugger Target system cannot be properly built 1 Download the proper firmware See 4 2 Downloading Firmware on page 42 2 Recheck the connection between the PC7501 and this product See 3 5 Connecting the PC7501 on page 33 M3T PD30F version is not the same version Download the proper firmware as the firmware in the target See 4 2 Downloading Firmware on page 42 Target is in HOLD state The MCU is either in stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt See MCU specifications 4 Errors Occur at Debugger Startup target connected Table 6 4 Checkpoints of errors at debugger startup target connected Target MCU is uncontrollable 1 Check that pin NMI is held High 2 If in memory expansion or microprocessor mode check that
44. level is input to pin CNVss the value of the actual MCU is 02h bit I PU11 is 1 while that of this product is 00h Note on Operating Frequency Youcan not use this product with a main clock Xin Xout less than 1 MHz To use it with a main clock less than 1 MHz contact your local distributor Notes on Internal Flash ROM of the MCU This product downloads a user program to the flash ROM in the MCU when debugging in single chip or memory expansion mode By checking Disable the Internal Flash ROM in the MCU tab of the MCU setting dialog box of the emulator debugger you can disable the operation of the internal flash ROM of the MCU to use the emulation memory However the maximum operating frequency is 10 MHz Because the number of write erase cycles of the internal flash ROM of the MCU is limited it must be replaced at the end of its service life f the following errors occur frequently when downloading a program replace the MCU board 1 Flash ROM erase error occurred ERROR 16258 2 Flash ROM verify error occurred ERROR 16259 To purchase products for replacement contact your local distributor 17 65 IMPORTANT Notes on Debugging in CPU Rewrite Mode When you debug an M16C 6N4 5 MCU of the M16C 6N group in CPU rewrite mode do not change the block 0 area FF000h FFFFFh of the flash memory Otherwise the emulator will be uncontrollable If you check Debug the program using CPU Rewrite Mode
45. may be damaged When turning on the power again after shutting off the power wait about 10 seconds Cautions to Be Taken for Handling This Product o Use caution when handling the main unit Be careful not to apply a mechanical shock e Do not touch the connector pins of the emulator 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 emulation probe The cable may cause a break Do not flex the flexible cable for connecting to the emulator main unit and emulation probe excessively The cable may cause a break Do not use inch size screws for this equipment The screws used in this equipment are all ISO meter size type screws When replacing screws use same type screws as equipped before Caution to Be Taken for Malfunctions If the emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Press the system reset switch on the emulator front panel 2 If normal operation is not restored after step 1 shut OFF power to the emulator once and then reactivate it Caution to Be Taken for External Trigger Input Voltage Keep an external trigger input voltage of the emulator main unit less than a Vcc voltage Overvoltage may cause damage to the internal circuits 10 65 IMPORTANT Notes on Downloading Firmware Befor
46. n in the CAUTION N CAUTION sentences are ignored the eguipment may malfunction IMPORTANT a important information on using this In addition to the three above the following are also used as appropriate Z means WARNING or CAUTION Example 4 CAUTION AGAINST AN ELECTRIC SHOCK Y means PROHIBITION Example DISASSEMBLY PROHIBITED means FORCIBLE ACTION Example UNPLUG THE POWER CABLE FROM THE RECEPTACLE The following pages describe the symbols WARNING CAUTION and IMPORTANT 8 65 N WARNING Warning for Installation Do not set this product in water or areas of high humidity Make sure that the main unit does not CN get wet Spilling water or some other liquid into the main unit can cause an unrepairable damage Warnings for Use Environment This equipment is to be used in an environment with a maximum ambient temperature of 35 C Care should be taken that this temperature is not exceeded 9 65 NCAUTION Caution to Be Taken for Modifying This Product EY Do not modify this product Modifying or disassembling this product will void your warranty Cautions to Be Taken for Turning On the Power Turn on the power of the emulator and target system as simultaneously as possible Turn off the power of the emulator and target system as simultaneously as possible Do not leave either the emulator or target system powered on because of leakage current the internal circuits
47. nected on page 67 Normal Emulator debugger startup completed Figure 6 1 Flowchart to remedy the troubles 58 65 6 2 When the Emulator Debugger Does Not Start Up Properly 1 When the LEDs of the PC7501 Shows an Error Table 6 1 Errors LEDs show and their checkpoints LEDs do not light up Connection to the target system Checkpoint Check that the power cable is connected to the PC7501 See the user s manual of the PC7501 All LEDs remain lit Check the connection between the PC7501 and this product See 2 5 Connecting the PC7501 on page 33 Target Status POWER LED does not light up Connected Check that power is properly supplied to the target system and that the target system is properly grounded Target Status CLOCK LED does not light up Not connected 1 Check that both the main and sub clocks of the emulator debugger are not set to EXT See the CLK command of the emulato debugger 2 Check thatthe oscillator circuit board is properly installed in the emulator and is oscillating See 3 1 Selecting Clock Supply on page 26 Connected Check that the oscillator circuit in the target system is oscillating properly Target Status RESET LED does not go out Connected 59 65 Check that the reset pin of the target system is pulled up 2 MCU Setting Dialog Box Does Not Appear at Debugger Startup target connected Table 6 2 C
48. nverter board in a wrong direction It may cause a fatal damage to the emulator and targets system 34 65 3 6 1 Connecting to the 100 pin LCC Socket Here following is a procedure of connecting to the 100 pin LCC socket IC61 1004 051 of Yamaichi Electronics Co Ltd on the target system using the included M30800T PTC 1 Attach the CN2 side of the M30800T PTC to the J4 side of the M306N4T EPB 2 Attach the M30800T PTC to the 100 pin LCC socket M3T FLX160 EPB M306N4T EPB CN2 side M30800T PTC Target board Figure 3 12 Connecting to the 100 pin LCC socket NCAUTION Notes on Connecting the Target System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system The connectors of the M30800T PTC are guaranteed for only 50 insertion removal iterations For purchasing the IC61 1004 051 or for technical information contact Yamaichi Electronics Co Ltd http www yamaichi co jp e index shtml 35 65 3 6 2 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 Here following is a procedure of connecting to a 100 pin 0 65 mm pitch foot pattern on the target system using the M3T DIRECT100S not included For details on the M3T 100LCC DMS not included and M3T DIRECTI100S refer to each instruction manual 1 Attach the M3T DIRECTIOOS to the target system 2 Attach the M3T 100LCC DMS to the M3T DIRE
49. own in Table 2 1 Package components on page 20 If there is any question or doubt about this product contact your local distributor To use the product properly Precautions for Safety o In both this user s manual and on the product itself several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons or damage to your properties The icons graphic images and meanings are given in Chapter 1 Precautions for Safety on page 7 Be sure to read this chapter before using the product 3 65 Contents Chapter 1 Precautions fof Safety itae brocante n e entente ts 7 1 1 Safety Symbols and Meanings essere eene 8 MEN UIS 9 Warning for Installati n iiser nteress resnie g kE rE KE erek Er EE crono enne 9 Warning for Use Environment ssesesssseeesereessressrstererrssesrrsreerereeresrereresseeees 9 CAUTION nto nete me ET 10 Caution to Be Taken for Modifying This Product ssss 10 Cautions to Be Taken for Turning On the Power see 10 Cautions to Be Taken for Handling This Product ssss 10 Caution to Be Taken for Malfunctions eee 10 Caution to Be Taken for External Trigger Input Voltage 10 IMPORTANT uii A emerat ioa PE den 11 Notes on Downloading Firmware eese nennen 11 Notes on Self check eii ieu iie LETY cans
50. pins RDY and HOLD are held High 61 65 MEMO 62 65 Chapter 7 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to reguest for repair SMS Erro PDT 64 T2 Guarantee 6 Ca O po So oM Das 64 TO Repair LLO i NR bL iM Oma Nae e 64 14 Howto Request for Repair nie caen erede Qe eeu een ecd p a erben n ipee 65 63 65 Chapter 7 Maintenance and Guarantee 7 1 Maintenance If dust or dirt collects on any eguipment of your emulation system wipe it off with a dry soft cloth Do not use thinner or other solvents because these chemicals can cause the eguipment s surface coating to separate 7 2 Guarantee The emulation probe presented here has passed Mitsubishi s product inspection If your emulation probe becomes faulty within 12 months after purchase while being used under good conditions by observing the Precautions for Safety described in Chapter 1 Precautions for Safety Mitsubishi will repair the fault free of charge This provision does not apply to emulation probes leased to you When repair is reguired contact your nearest of Mitsubishi office or its distributor 7 3 Repair Provisions If a fault in your eguipment falls under one of the following categories the fault will be corrected by replacing the entire eguipment instead of repairing depending on the severity of fault Faulty or broken mechanical section Flaw separation or rust in coated or plated section
51. pt function in a user program uncheck Enable the Address Match 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 the MCU Do not set a software break at an address where an address match interrupt occurs Otherwise a user program may be run out of control Set a software or hardware break in the top address in address match interrupt processing When you single step an address where an address match interrupt occurs the program stops after executing the first instruction after returning from address match interrupt processing Note on Software Breaks Software 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 for the emulator only You cannot use it in a user program You can neither set nor cancel a software breakpoint in the internal ROM area of the MCU during user program execution while you can set or cancel it in the internal RAM area of the MCU and the area emulation memory where the map setting is INTERNAL in chip select CS3 to CSO 15 65 IMPORTANT Note on Differences between the Actual MCU and Emulator Operations of the emulator system differ from those of actual MCUs as listed below 1 Reset condition 2 Initial values of internal resou
52. r main unit PC7501 Required Emulator debugger M3T PD30F Required M3T 100LCC DMS M3T DIRECT100S 100 pin 0 65 mm pitch OFP M3T 100LCC DMS Required according to a foot 100P6S A pattern of a target system M3T DUMMY100S M3T 100LCC DMS o O o a o 2 t o gt c o o M3T FLX 100NRB For purchasing these products please contact your local distributor 20 65 2 3 Name of Each Part 2 3 1 System Configuration Figure 2 1 shows a configuration of the PC7501 system 7 Emulator debugger M3T PD30F 1 Emulation probe M306N4T EPB 2 Converter board M30800T PTC E ma Emulator PC7501 Target system Host machine LPT parallel USB or LAN interface Figure 2 1 System configuration 1 Emulation probe M306N4T EPB This emulation probe consists of interface board PCA7501EPBA for the M16C 60 Series and MCU board M306N4T EPBM for the M16C 6N4 The M306N4T EPBM with an evaluation MCU is separately available for replacement 2 Converter board M30800T PTC This is a converter board for connecting to 100 pin 0 65 mm pitch LCC socket IC61 1004 051 on the target system For details refer to 3 6 Connecting the Target System on page 34 2 3 2 Names and Functions of the PC7501 Upper Panel LEDs Figure 2 2 shows the names of the LEDs on the upper panel of the PC7501 System status LEDs Target status LEDs PC7501 Frats STATUS EMULATOR
53. rce data of the MCU at power on 3 Interrupt stack pointer ISP after a reset is released 4 Capacities of the internal memories ROM and RAM The evaluation MCU of this product has RAM of 31 KB 00400h 07FFFh and flash ROM of 4 KB 0F000h 0FFFFh and 384 KB A0000h FFFFFh 5 Oscillator circuit In the oscillator circuit where an oscillator is connected between pins Xin and Xout oscillation does not occur because a converter board is used between the evaluation MCU and the target system It is same for pins Xcin and Xcout For notes on when using the oscillator circuit on the target system refer to 3 1 3 Using the Oscillator Circuit on the Target System on page 29 6 A D conversion The characteristics of the A D converter differ from those of actual MCU because there are a converter board and other devices between the evaluation MCU and the target system 7 Ports PO to P5 P10 This product emulates some I O ports PO to P5 P10 Therefore the electrical characteristics of these ports differ from those of the actual MCU 8 Address and status of BHE When the internal RAM or ROM area of the MCU is accessed during user program execution actual MCUS retain a preceding address and status of BHE while this product does not 9 Status of a data bus In stop or wait mode actual MCUS retain a preceding status of a data bus while with this product a data bus is floating Note on Watchdog Function f the rese
54. rotect Register eeessseseseseeseeee eene enne tenerent 17 Notes on Pullip Control sein B rig eee ne pedet 17 Note on Operating Frequency seen enne ener 17 Notes on Internal Flash ROM of the MCU sse 17 Notes on Debugging in CPU Rewrite Mode sese 18 Chapter AA tte eee apte eme prie UR a 19 2 1 Package Components iessu rit ned e rhe tee RU Ese 20 2 2 Other Tool Products Required for Development esses 20 2 3 Name of Bach Part entente dere eo ys iyned ddydd 21 2 3 1 System Configuration ooonocconcnononnconnconocononnnonnnonccnnnnncnncrnncnn non nennen ene 21 2 3 2 Names and Functions of the PC7501 Upper Panel LEDS 21 2 4 When Using the Emulator for the First Time eee 24 2 4 1 Downloading Firmware eese nennen 24 2 432 Self check 2 5 2 52 ie yaa es BO Repeal Rp 24 4 65 Chapter 3 Setup iii Yw ne ea Y a Om 25 3 1 Selecting Clock Supply sees 26 SA P GIOCkS not ee Re tete ets 26 3 1 2 Using an Internal Oscillator Circuit Board suse 26 3 1 3 Using the Oscillator Circuit on the Target System 29 3 1 4 Using the Internal Generator Circuit 2 0 0 ce cee ceeeeeeeeeeeeeeeneeaee 30 32 9 WItch Settings o to t EUER ER EIU RET OO HEREIN 30 3 3 A D Conversion Bypass Capacitors esee 31 3 4 Emul
55. s bypass capacitor AVss avec O D c1 Vrer AVss bypass capacitor AVss H vrer c2 KA AAA A Y Figure 3 8 Foot pattern for A D conversion bypass capacitors and the configuration of this product IMPORTANT Note on the A D Converter Function Because a converter board and other devices are used between the evaluation MCU and the target system the A D converter operates differently from that of the actual MCU Make the final evaluation of the A D converter with the actual MCU 31 65 3 4 Emulation Port Pullup Because this product emulates some I O ports PO to P5 P10 you can not pullup ports PO to P5 by the pullup control registers Install the included resistor arrays 5 1 KQ as necessary Figure 3 9 shows the positions of the pullup resistors And Table 3 2 lists the emulation port numbers and the pullup resistor part numbers Front side of the M306N4T EPBM RAI ER mod B ER E e El El W W W g OJod 10 lcg EIO CP8A O za IIT o Mm TIIA 1dZ90EM y 7E o D Em EUA bs y VCCI 2 Q A3M W8d3 Positions to install pullup resistor arrays Figure 3 9 Positions of the pullup resistors Table 3 3 Emulation ports and pullup resistor part numbers
56. shi Electric Semiconductor Application Engineering Corporation guarantees the renovation or the provision under any circumstances This product has been developed by assuming its use for program development and evaluation in laboratories Therefore it does not fall under the application of electrical equipment safety laws and protection against electromagnetic interference when used in Japan This product is not qualified under UL or other safety standards and IEC or other industry standards This fact must be taken into account when taking this product from Japan to some other country For inquiries about the contents of the product or this manual email or fax using the Technical Support Communication Sheet included in the manual to your nearest Mitsubishi office or its distributor When sending email write the same items of the Technical Support Communication Sheet Mitsubishi Tool Homepage http www tool spt maec co jp index e htm 2 65 Preface The M306N4T EPB is an emulation probe for the M16C 6N Group M16C 6N4 5 MCUs The M306N4T EPB is used by connecting to the PC7501 emulator main unit This user s manual mainly describes specifications of the M306N4T EPB emulation probe and how to setup it For details on the following products which are used with the M306N4T EPB refer to each product s user s manual Emulator PC7501 User s Manual Emulator debugger M3T PD30F User s Manual All the components of this product are sh
57. sing the address match interrupt function of the MCU immediately before the system executes an instruction at a specified address The instruction at the preset address will not be executed 2 Software break B 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 immediately before the system executes an instruction at a specified address The instruction at the preset address will not be executed 3 Hardware break H This is a debugging function which breaks a program by setting the detection of an execution of an instruction at a specified address as a break event The program will break after the instruction at the specified address is executed Notes on Address Match Breaks As the processing speed of setting and canceling address match breaks is relatively fast you can save the times of writing into the internal flash ROM of the MCU Therefore address match breaks precede the other breaks when setting breakpoints in the internal flash ROM area of the MCU Address match breaks can be set only in RAM and ROM areas of the MCU Address match breaks can be set at up to four points The other breaks are set as software breaks Address match breaks can be set or canceled even when the user program is being executed 14 65 IMPORTANT Notes on Address Match Interrupts When you use the address match interru
58. spite the interrupt request because the request bit of the highest priority interrupt factor enabled is cleared For this malfunction when the reading out to address 00000h is generated excluding the interrupt the WARNING LED yellow lights up to alarm When this LED lights there is a possibility of wrong access therefore check the user program Note on Stop and Wait Modes Do not single step an instruction shifting to stop or wait mode It may cause communication errors 13 65 IMPORTANT Note on Display of MCU Status MCU status you can refer to in the MCU tab of the MCU Setting dialog box of the emulator debugger shows pin levels of the target system Make sure that proper pin levels are specified according to the mode you use 1 When single chip mode is used CNVss Low 2 When memory expansion mode 16 bit data bus width is used CNVss Low BYTE Low HOLD High RDY High 3 When memory expansion mode 8 bit data bus width is used CNVss Low BYTE High HOLD High RDY High 4 When microprocessor mode 16 bit data bus width is used CNVss High BYTE Low HOLD High RDY High 5 When microprocessor mode 8 bit data bus width is used CNVss High BYTE High HOLD High RDY High Note on Breaks The area displaying break points in the program window of the emulator debugger shows the following breaks 1 Address match break A This is a debugging function which breaks a program u
59. sta GW Td Y Ras bin ep Ste Ole elu e Ue Y qa 31 3 4 Emulation Port PUDO nd EN FOND Ry e fd FL ng FO FRY A RD n 32 2 9 Connecting the Pe 730 La cn aa cad teach adesto dn abd ree Oen 33 5 6 CONE the Fargebsystom ces ed oae Ses dude su tena su e A o 34 3 6 1 Connecting to the 100 pin LCC Socket essere enne enne 35 3 6 2 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 ssesssss 36 3 6 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 sess 31 3 6 4 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 3 esses 38 25 65 3 1 Selecting Clock Supply 3 1 1 Clocks You can choose a clock supplied to the evaluation MCU by the Emulator tab in the Init dialog box of the emulator debugger Table 3 1 shows the clocks and their initial settings Table 3 1 Clock supply to the MCU Display of Dascptian Default emulator debugger P setting int Internal oscillator circuit board mema OSC 3 or OSC 2 Main Xin Xout External Oscillator circuit on the target system Internal generator circuit Generate 1 0 16 0 MHz Internal oscillator circuit NOn 32 768 kHz Sub Xcin Xcout External Oscillator circuit on the target system 3 1 2 Using an Internal Oscillator Circuit Board 1 Kinds of Oscillator Boards The PC7501 comes with an oscillator circuit board OSC 3 30 MHz And an oscillator circuit
60. t circuit of the target system has a watchdog timer disable it when using the emulator Note on DMA Transfer With this product the program is stopped with a loop program to a specific address Therefore if a DMA request is generated while the program is stopped DMA transfer is executed However make note that DMA transfer while the program is stopped may not be performed correctly Also note that the below registers have been changed to generate DMA transfer as explained here even when the program is stopped 1 DMAO transfer counter TCRO 2 DMAI transfer counter TCR1 16 65 IMPORTANT Note on Protect Register e The protect is not canceled when bit 2 of protect register PRCR PRC2 which enables writing into the port P7 P9 direction registers and the SI Oi control register is changed with the below procedure 1 Step execution of an instruction setting PRC2 to 1 2 Setting a break point between an instruction setting PRC2 to 1 and a point where the port P9 direction register or the SI Oi control register is set 3 Setting PRC2 to 1 by the dump window or script window Notes on Pullup Control Because this product emulates some I O ports PO to P5 P10 you can not pullup ports PO to P5 by the pullup control registers Install the included resistor arrays 51 k9 as necessary e The initial value of pullup control register I PUR I of this product is different from that of the actual MCU When a Vcc
61. ted under a license from the Japanese government and cannot be imported into a country other than the approved destination Any diversion or reexport contrary to the export control laws and regulations of Japan and or the country of destination is prohibited Please contact Mitsubishi Electric Corporation Mitsubishi Electric Semiconductor Application Engineering Corporation or an authorized Mitsubishi Semiconductor product distributor for further details on these materials or the products contained therein Precautions to be taken when using this product This product is a development 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 practical use by performing integration test evaluation or some experiment else In no event shall Mitsubishi Electric Semiconductor Application Engineering Corporation be liable for any consequence arising from the use of this product Mitsubishi Electric Semiconductor Application Engineering Corporation strives to cope with the issues given below at some charge or without charge 1 Repairing or replacing a flawed product There can be instances in which a product cannot be repaired if more than one year have passed since the discontinuance of its marketing 2 Renovating or providing a workaround for product malfunction This does not necessarily mean that Mitsubi
62. tem CLOCK Target MCU clock is oscillating Target MCU clock is not oscillating RESET Target MCU is being reset Target MCU is not being reset RUN User program is being executed User program has been halted WARNING Address 00000h has been read out Address 00000h has not been read out 22165 NCAUTION Note on Usage in Memory Expansion or Microprocessor Mode When you use this product in memory expansion or microprocessor mode be sure to design your system so that pins RDY and HOLD are not active at startup Otherwise it cannot startup normally Note on the Target Status POWER LED If your MCU has two or more Vcc terminals the LED 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 emulator debugger Make sure that the oscillator circuit board is properly installed in the PC7501 and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are completed Make sure that the oscillator selected in the Init dialog box is oscillating normally Note on Accessing Address 00000h With the M16C 60 Series MCUs when a maskable interrupt is generated the interrupt data interrupt number and interrupt reguest level stored in address 00000h is read o
63. terrupt request cannot be accepted because the emulator disables interrupts The interrupt reguest 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 debugging is being performed a peripheral I O interruption is not accepted Note on Clock Supply to the MCU A clock supplied to the evaluation MCU is selected by the Emulator tab in the Init dialog box of the emulator debugger 1 When Internal is selected A clock generated by the oscillator circuit board in the PC7501 is supplied It is continually supplied regardless of the status of the target system clock and that of the user program execution 2 When External is selected A clock generated by the oscillator in the target system is supplied It depends on the status of the oscillation on off of the target system 3 When Generate is selected A clock generated by the dedicated circuit in the PC7501 is supplied It is continually supplied regardless of the status of the target system clock and that of the user program execution 12 65 IMPORTANT Note on Access Prohibited Area You cannot use internally reserved areas Write signals to the areas will be ignored and values read will be undefined Notes on Stack Area With this product a maximum 8 bytes of the user stack is consumed as a work area Even if the user stack does not have an enough
64. tion Engineering Corporation assume no responsibility for any damage or infringement of any third party s rights originating in the use of any product data diagrams charts programs algorithms or circuit application examples contained in these materials All information contained in these materials including product data diagrams charts programs and algorithms represents information on products at the time of publication of these materials and is subject to change by Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation without notice due to product improvements or other reasons It is therefore recommended that customers contact Mitsubishi Electric Corporation Mitsubishi Electric Semiconductor Application Engineering Corporation or an authorized Mitsubishi Semiconductor product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation assume no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please pay attention to the information published by Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Application Engineering Corporation in various means including Mitsubishi Semiconductor Homepage http www mitsu
65. ut Also the interrupt reguest bit is cleared when address 00000h is read out Conseguently when the address 00000h readout instruction is executed or when address 00000h is read out in the cause of a program runaway a malfunction occurs in that the interrupt is not executed despite the interrupt reguest because the reguest bit of the highest priority interrupt factor enabled is cleared For this malfunction when the reading out to address 00000h is generated excluding the interrupt the WARNING LED yellow lights up to alarm When this LED lights there is a possibility of wrong access therefore check the user program 23 65 2 4 When Using the Emulator for the First Time 2 4 1 Downloading Firmware If you have purchased this emulation probe newly you need to download the firmware The download procedure is given in Figure 2 3 Before downloading the firmware check that emulator debugger M3T PD30F is installed to your host machine and the PC7501 is connected to the host machine For more details see each user s manual of emulator debugger M3T PD30F and the PC7501 Install oscillator circuit board OSC 3 16 MHz See 3 1 Selecting Clock Supply included with this product to the PC7501 on page 26 m Connect this product and the PC7501 See cd comecting OaD L on page 33 C Within 2 seconds of turning the power ON See 4 2 Downloading Firmware press the system reset switch of the PC7501 on page 4

Download Pdf Manuals

image

Related Search

Related Contents

  Philips SJM2300H Universal Cassette adapter  Epson 76c Warranty Statement  LOOK® - Melitta  

Copyright © All rights reserved.
Failed to retrieve file