Home
M3062PT2-EPB User's Manual
Contents
1. zo LILLI Oo ms top wo 991 Atad ps gt N Q v PCA7SOIEPBA REV MADE IN JAPAN S Y4d3 yggg YY L9 891 O0000000 9 00000000Q OJ 24 D DD Z P3 a Unit mm Figure 4 8 External dimensions of the emulation probe REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 85 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 6 2 External Dimensions of the M30800T PTC Figure 4 9 shows external dimensions of the converter board M30800T PTC for a 100 pin LCC included with the M3062PT2 EPB oo0o0000000000000 o0o00000 b0000000 ooooolaoooo I qaooso oaoa oeoaqagc ong 609006 f i i 4 i i aee o0o000 000000000 0 Em D a D a m 30 Unit mm Figure 4 9 External dimensions of the M30800T PTC REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 86 o
2. MT dite ae ot UICITUADEUTEUUTIT TATE zo LETITIA gt Q I UII a 7 U Fe 2 10 RB K RAL Os o OOOO OOOOO OCOOOOCOOO PO td U a VREF AVSS bypass capacitor VREF AVSS c2 U U A Vcc AVSS bypass capacitor AVcc AVss c10 0O Figure 2 18 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 user system the A D converter operates differently from that of an actual MCU Make the final evaluation of the A D co
3. Cancel Help I Next Hide REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Automatically executing a script command To automatically execute a script command when starting up the debugger click the Refer button and specify the script file to be executed Clicking the Refer button brings up a file selection dialog box The script file you have selected is displayed in the Init File section of the dialog box shown here If you do not want to automatically execute a script command delete the character string displayed in the Init File section of the dialog box What you specify here is reflected at only startup If you specify back again in the Init dialog box after startup whatever you specified has no effect Be sure to restart the emulator debugger Page 52 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 1 2 MCU Setting Dialog Box MCU setting dialog box sets the information of the user system It will be displayed after closing the Init dialog box 1 MCU tab 1 MCU Setting HCO MAP Flash Glear MCU Setting PSL M1BG 62P Processor Mode Siigle Chip Mode External sta Bus Widih tales NG Memory Space Epone E PIJ D3 of QO0006H is T FPMO 50 of OD0005H ie 1 Deb ternal Flash ROM Gor VMS or below coerating freapsncy CO J Cancer Help Nest Hen IMPORTANT Notes on Selecting a Processor Mode
4. cccceccceeeeeeeeceeeeeeeseeeeeeeeeeeeeeeeeeeeseeeeeeeseeeeesaeeeeesaeeeeens 24 26 TUNG ON he FP OWE sisenes se bata aie i E clas oda wield ao ane bt waa EEES 25 2 6 1 Checking the Connections of the Emulator SyStem cccccccceeseeceeeeeeeeeeeeeeeeeeaeeeeesaeeeeeseeeeeeseeneeeees 25 20 2 T m ON OFF Tae POWGI sabes cise sacar duc srrsc ied tasted sen cans ehamsnden alas pues aancont EE OTE AEA ENE 25 2 6 3 LED Display When the Emulator Starts Up Normally ccccccccceeceeeeeeeeeeeeeseeeeeeeeeseeeseeseeeseeseeneas 26 2 I TOW GIOAGIAG FMW AGS eepe eni E lane iduriuaaainadaapetanemoduaniaiemens 27 2 1 1 When It is Necessary to Download Firmware cccccsseeeeeeeeseeeeeeeeeeeseeeeseeeeeseueesseueesseeeeseeeesaneeeess 27 2 1 2 Downloading Firmware in Maintenance MOde cccseccecseeeeeeeeeeeeeeseeeeeseeeesseueeeseeesaneeeseneeesaeeeeas 27 2 0 SC MM CIN CM tie echt at cst cic E nae sla gf EE EE EEEE ada ae A 28 220s CIC CK FOC COINS oreren E A tens diaavnesunane ace Dose sandwann tues E E 28 2 8 2 If an Error is Detected in the Self Check ccccccccccssseecceeseeceenseeeceaeeecseeeeceeaeeesegeeeseeseseesssnseeeess 29 2 9 Connecting Ihe User Syste M eorr ena aA Ra Aa i ARE iE TAAA Nea 30 2 9 1 Connecting to an 80 pin 0 65 mm pitch Foot Pattern cc cecccceeceeceeeeseeeeeeeeeeseeeeeseeeeeseeeessaeeeeas 31 2 9 2 Connecting to a 100 pin LCC Socket cccccceeceeceeeeeeeeeeeeeseeeeeeseeeeesseeee
5. LQ 831 HT Olva GVJ PCA7SOIEPBA REV A mape Figure 1 1 Printed area on the M3062PT2 EPB REJ10J0868 0100 Rev 1 00 2005 04 16 rCENESAS Page 13 of 100 M3062PT2 EPB User s Manual 1 Outline 1 2 Other Tool Products Required for Development To bring forward programs development on an M16C 62P MCU of the M16C 62 Group the products listed below are necessary in addition to those contained package above Get them separately Table 1 2 Other tool products required for development Product Emulator main unit PC7501 Emulator debugger Renesas Debugger Package for M16C Family M3T PD30 80 pin 0 65 mm pitch QFP 80P6S A M3062PT 80FPB 100 pin 0 65 mm pitch QFP M3T 100LCC DMS 100P6S A M3T DIRECT100S M3T 100LCC DMS M3T DUMMY 100S M3T 100LCC DMS Required according to a foot pattern i3 of a user system M3T FLX 100NRB 100 pin 0 5 mm pitch LQFP M3T F160 100NSD 100P6Q A M3T 100LCC QSD M3T 100LCC DMS M3T FLX 100NSD 128 pin 0 5 mm pitch LQFP 128P6Q A M3T F160 128NRD For purchasing these products contact your local distributor N go aS O Ka D O gt lt O REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 14 of 100 M3062PT2 EPB User s Manual 1 Outline 1 3 System Configuration 1 3 1 System Configuration Figure 1 2 shows a co
6. REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 32 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 3 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 user system using the M3T DIRECT100S not included For details on the M3T 100LCC DMS not included and M3T DIRECT100S refer to each user s manual 1 Attach the M3T DIRECT100S to the user system 2 Attach the M3T 100LCC DMS to the M3T DIRECT100S 3 Attach the CN2 side of the M30800T PTC to the J4 side of the M3062PT2 EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T FLX 160 EPB _ M3062PT2 EPB J CN 2 side M30800T PTC M3T 100LCC DMS not included _M3T DIRECT 100 S _ not included 100 pin0 65 mm pitch 100P6S A foot pattern No 1 pin _ _User system Figure 2 10 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 1 A CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The connectors of the M30800T PTC are guaranteed for only 50 insertion removal iterations The connectors of the M3T 100LCC DMS and M3T DIRECTI100S are guaranteed for only 20 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 rCENESAS Page 33 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 4
7. Specifying the processor mode Select the appropriate processor mode that suits your system Specifying the bus width When specifying memory expansion mode or microprocessor mode select 16 bit or 8 bit for External Data Bus Width Using or not using the memory space expansion function Specifies whether or not to use the memory space expansion function when selecting memory expansion mode or microprocessor mode When using the memory space expansion function select 4MB Mode When not 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 expansion bit PM13 is 1 PM13 Set to 0 Internal RAM area 00400h 03FFFh Internal ROM area DOOOOh FFFFFh PM13 Set to 1 Internal RAM area 00400h 07FFFh Internal ROM area 80000h FFFFFh When setting single chip mode or memory expansion mode the level of pin CNVSS of the MCU status should be L The MCU status shows the pin level of the user system When setting microprocessor mode the level of pin CNVSS of the MCU status should be H When setting memory expansion mode or microprocessor mode pins RDY and HOLD of the user system should be H When the user system is not connected all modes are available REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 53 of 100 M3062PT2 EPB User
8. DANGER indicates 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 indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION indicates a potentially dangerous situation that will cause a slight injury or a medium degree injury unless it is avoided CAUTION with no safety warning symbols attached indicates a potentially dangerous situation that will cause property damage unless it is avoided This is used in operation procedures or explanatory descriptions to convey exceptional conditions or cautions to the user In addition to the five above the following are also used as appropriate means WARNING or CAUTION Example means PROHIBITION Example JN CAUTION AGAINST AN ELECTRIC SHOCK pIsassemBLy PROHIBITED means A FORCIBLE ACTION Example uNPLuc THE POWER CABLE FROM THE RECEPTACLE REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 6 of 100 M3062PT2 EPB User s Manual Precautions for safet WARNING Warnings for AC Power Supply If the attached AC power cable does not fit the receptacle do not alter the AC power cable and do not plug it forcibly Failure to comply may cause electric shock and or fire Use an AC power cable which complies with the safety standard of the country Do not tou
9. Set button Page 64 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 4 Trace Window The trace window is used to show the results of real time trace measurements 1 Trace window 1 Trace window display KI Range 000129 000000 Area Break File Cycle 000041 Address 000414 Time 00 00 00 000 044 Cycle Label Address Data BUS BHE BIU R W RWE cPU ON Trace window The trace window is used to show the results of real time trace 000041 000040 000039 000038 000037 000036 000035 000034 000033 000032 000031 000030 000029 000028 000027 000026 000025 000024 000023 000022 000021 000414 000414 000415 000415 oo041 oo041 O0041D 00041D 00041E 00041E 00041F OFOOSA OFOOSA OFOOS Oroogsc OFOOSE OFOOSE OFro060 OFro060 OFO062 OFOO062 0000 0000 0000 0000 0o00 0000 0o00 0000 o000 0000 0000 7504 7504 o0c3 o0 3 7 c00 7 c00 AZEA AZEA 0000 0000 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 16b 1 oooo0oo0o 00 0 0 0 0rF FOOrFRFR OOF REJ10J0868 0100 Rev 1 00 2005 04 16 D B w ID IW IYI IDDEIZ IZZIE IG 0 KF Orodrodrorodo0odrodrordrod re CENESAS 3 mM Or Were WP Wr WM Ww www UW W w w w measurements It has the following four display modes Bus mode Bus information per cycl
10. 2 7 V lt Vecl Vec2 lt 5 5 V 2 When JP1 is set as Vecl gt Vcc2 48V lt Vecl lt 5 2V 2 7 V lt Vec2 lt Vecl Do not change the voltage of the user system after turning on the power REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 89 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications IMPORTANT Notes on Internal Flash ROM of the MCU In single chip mode and memory expansion modes this product downloads a user program to the flash ROM of an MCU By checking Debug Option 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 The maximum operating frequencies are as follows 1 Debug Option unchecked Access area Flash ROM of MCU Max operating frequency 24 MHz 0 wait 1 wait 2 Debug Option checked Access area Emulation memory of the PC7501 Max operating frequency 10 MHz 0 wait 1 wait 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 If 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 Note on Memory Area Expansion Function Normal Mode During debugging in memory expansio
11. See MCU specifications Target clock is stopped When the clock is supplied from an external oscillator check that the oscillator circuit in the user system 1s oscillating properly Target MCU is not receiving power Check that power is properly supplied to the user system and that the user system is properly grounded REJ10J0868 0100 Rev 1 00 2005 04 16 2rCENESAS Page 94 of 100 M3062PT2 EPB User s Manual 5 Troubleshooting 3 Errors Occur at Emulator Debugger Startup Table 5 4 Checkpoints of errors at debugger startup Checkpoint Target MCU is uncontrollable Check that the NQPACK etc mounted on the user system is soldered properly Check that the connector is installed properly to the user system In memory expansion mode or microprocessor mode check pins RDY and HOLD are at H level REJ10J0868 0100 Rev 1 00 2005 04 16 2rCENESAS Page 95 of 100 M3062PT2 EPB User s Manual 5 Troubleshooting 5 3 How to Request for Support After checking the items in 5 Troubleshooting fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor SUPPORT product name SUPPORT TXT For prompt response please specify the following information 1 Operating environment V Operating frequency MHz Operating voltage S Clock supply to the MCU Internal oscillator External oscillator 2 Condition The emulator debugger starts up
12. lt gt X3 th BCLK RO tac2 RD DB DBi x Write timing BCLK td BCLK CS 2 tsu DB RD S 7 th RD DB th BCLK CS x gt tcyc td BCLK AD K th WR CS th BCLK AD D BHE i td BCLK ALE T x lt th BCLK ALE lt ALE th WR AD td BCLK WR gt th BCLK WR WR a td BCLK DB k th BCLK DB kK Hi Z 2o DBi i t 1 lt T td DB WR th WR DB Figure 4 1 Memory expansion mode and microprocessor mode 3 wait accessing external area REJ10J0868 0100 Rev 1 00 2005 04 16 RENESAS Page 71 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 2 Multiplex Bus Timing Table 4 3 and Figure 4 2 show the bus timing in memory expansion mode and microprocessor mode 2 wait accessing external area using multiplex bus Table 4 3 Memory expansion mode and microprocessor mode 2 wait accessing external area using multiplex bus Actual MCU This Item ns ns OO a td BCLK AD Address output Address output delay time time E s ee eee a th RD AD Address output hold time RD standard D 4 th WR AD Address output hold time WR standard D td BCLK CS Chip select output delay time 235 See let th BCLK CS Chip select output hold time BCLK sta
13. s Manual 3 Usage How to Use the Emulator Debugger 2 Option MCU Sette HED q MAP Flash Glear MOU Seting m MCU Status WiL M1ES G2P Himi H Processor Mode Sngi hp Mode Di HILDA sees RADY External Data Bus idth CNi h Memory Space Erpanen BYTE fh PMS 63 of OO0005H ts T PMO 0 of OD0006H is T M Debus Opin Dita ivternal Flash ROM Gor WOM or below operating frequency Cancel Help i Beet Hide 3 MCU Status HCO MAP Flash Glear MCU Setting MCU Status PILE M1 BG E2P H Processor Mode Swiele Chip Mode External sta Bus Width Memory Space Emanen E PMJ b3 of OOO006H is 1 PMO 0 of OD0D05H ie i Me IMPORTANT Notes on Selecting a Processor Mode Setting the debug options Check the box when not downloading the program to the internal flash ROM of the MCU If this box is checked the working efficiency downloading software break etc will be improved because the program is downloaded in the emulation memory in the PC7501 However maximum operating frequency is 1 OMHz The box is unchecked by default Referring to the MCU Status It shows the status of each MCU pin Check it to see if the MCU status matches the selected processor mode NC means that the pin status is indeterminate The MCU status is shown in MCU Status of the EMEM dialog box
14. Be sure to select the check box only when you want the emulator to be self checked at startup This function may be enabled in the following cases When you are using the emulator you have just purchased and fail to download the firmware When you successfully download the firmware but fail to start up the emulator When you want to confirm whether the emulator is operating normally because for example the MCU runs out of control or something is wrong with the trace results This function can be enabled only when you are starting up the emulator debugger Using or not using the address match break function Specify whether or not to use the address match break function To use the address match break function default Select the check box In this case the address match interrupt is used by the emulator and cannot be used in the user program When not using the address match break function Deselect the check box In this case the address match interrupt can be used in the user program This option can be selected or deselected only when you are starting up the emulator debugger Using or not using CPU rewrite mode Specify whether or not to debug in CPU rewrite mode To debug the user system that uses CPU rewrite mode select the check box This option can be selected or deselected only when you are starting up the emulator debugger Supplementary explanation When debugging in CPU rewrite mode is enabled the
15. CAUTION Cautions for AC Adapter Use only the AC adapter included in PC7501 package The included AC adapter is for PC7501 Do not use it for other product Before installing this equipment or connecting it to other equipment disconnect the AC power cable from its outlet to prevent injury or accident The DC plug on the included AC adapter has the below polarity The included AC adapter has no power supply switch The AC adapter is always active while connecting the AC power cable Check if the power is supplied by the LED of AC adapter REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 24 of 100 M3062PT2 EPB User s Manual 2 Setup 2 6 Turning ON the Power 2 6 1 Checking the Connections of the Emulator System Before turning the power ON check the connection of the interface cable with host machine PC7501 emulation probe and user system 2 6 2 Turning ON OFF the Power Turn ON the power of the emulator and user system as simultaneously as possible Turn OFF the power of the emulator and user system as simultaneously as possible Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged When turning ON the power again after shutting OFF the power wait for about 10 seconds IMPORTANT Notes on Power Supply The emulator s pin Vcc is connected to the user system in order to monitor user system voltage For this reason the emulator ca
16. Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 35 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 6 Connecting to a 100 pin 0 5 mm pitch Foot Pattern Part 1 Here following is a procedure of connecting to a 100 pin 0 5 mm pitch foot pattern on the user system using the M3T F160 1OONSD not included For details on the M3T F160 100NSD refer to its user s manual 1 Attach the NQPACK100SD ND included with the M3T F160 100NSD to the user system 2 Attach the YQPACK100SD included with the M3T F160 100NSD to the NQPACK100SD and secure it with the YQ GUIDE s 3 Attach the CN2 side of the M3T F160 100NSD to the J4 side of the M3062PT2 EPB 4 Attach the M3T F160 100NSD to the YQPACK100SD _M3T FLX160 EPB _ _M3062PT2 EPB _ CN2 side _ _ M83T F 160 100 NSD not included Evaluation with actual MCU amp HQPACK100SD p YQ GUIDE x4 not included YQPACK100SD NQPACK100SD ND MCU with flash Pa ROM etc 100 pin 0 5 mm pitch 100P6Q A foot pattern DA ke aa e lt 4 No tpin Available in one packa
17. Recheck the connection of the emulation probe and PC7501 2 Redownload the proper firmware IMPORTANT Note on the Self check Perform the self check while not connecting the user system If the self check does not result normally excluding user system errors the emulation probe may be damaged Then contact your local distributor REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 29 of 100 M3062PT2 EPB User s Manual 2 Setu 2 9 Connecting the User System Figure 2 7 shows how to connect this product according to your user system Emulation probe O 80 pin 0 65 mm pitch 0 65 mm pitch 0 5 mm pitch v Y M30800T PTC M30800T PTC 4 included 4 included y Siar 100 00 DMS S T 100LCC DMS e not included e not included 4 y y M3T FLX1 E2 O r 00 R not included not included M3T FLX100 T M3T FLX100 R not included not included Sis e 5 M3062PT 80FPB LCC socket M3T DIRECT100S M3T DUMMY100S M3T FLX 100NRB M3T F160 100NSD M3T 100LCC QSD M3T FLX 100NSD M3T F160 128NRD 80 pin QFP 100 pin LCC 100 pin QFP 100 pin QFP 100 pin QFP 100 pin LQFP 100 pin LQFP 100 pin LQFP 128 pin LQFP not included included not included not included not included not included not included not included not included N
18. When cleared the content of the flash aonig OOF FFF ROM is initialized to OxFF The MCU s internal flash O00 Ciar Ail s eet tet ee ROM is listed in block units ocou OCFFFF Any block which has had its check box selected is not ALLE OOFFFF cleared when downloading The memory content of OE EFFFF this block remains intact unless overwritten by DEMAN DETFFF a a ea ea a sa downloading Any block which has had its check box deselected is oFeo0o OFSFFF The checked biaha ano over widien Gol erased on downlord cleared when downloading Click the Select All button and all blocks will be once Help I Hest Hide selected marked by a check mark so that none of the blocks is cleared when downloading Click the Clear All button and all blocks will be deselected check marks removed so that all of them are cleared when downloading The option you have specified here remains effective the next time you start up REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 55 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 1 3 Checking Connections of the Emulator System ep LA oS Feun Pores REDE SOD mie nN i l veue olewa ala gaan ioe a IO alas Checking connections of the emulator CML MES ues En itO ee system 1 When the emulator debugger is connected correctly to the emulator after you ve finished setting up the Init dialog box and the MCU Setting dialog box you will see
19. etc Table 1 3 lists the definition of each system status LED Table 1 3 Definitions of the system status LEDs Name Meaning POWER oN Emulator system power supply is turned ON OFF Emulator system pow supply is turned OFF SAFE ON __ Emulator system is operating normally S o Flashing 1 The self check is being executed 2 Downloaded firmware is being written into memory 3 If the ERROR LED is flashing on at the same time or alternately it indicates that the self check error occurred a OFF PC75 01 system is not operating normally system status error ERROR ON PC75 01 system is not operating normally system status error HONE Firmware is being downloaded 2 If the SAFE LED is flashing at the same time or alternately it indicates that the self check error occurred OFF OFF PC7501 system is operating normally REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 16 of 100 M3062PT2 EPB User s Manual 1 Outline 2 Target Status LEDs The target status LEDs indicate operating status of the target MCU and power supply of the user system Table 1 4 lists the definition of each target status LED Table 1 4 Definition of the target status LEDs Name Meaning POWER Power is supplied to the user system OFF Power is not supplied to the user system CLOCK Target MCU clock is oscillating OFF Target MCU clock is not oscillating RESET Target MCU is being reset Target MCU is not being reset RUN
20. following functions cannot be used while executing the user program Setting the address match breakpoint Software breakpoint setting in the internal ROM area Execution of COME in the internal ROM area Page 50 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 2 Debugging Information tab Inst M16CG REC PG 501 Emulator fx MCU Debuegine Information Emulator Script Compiler Object Format Cancel Help r Next Hieta 3 Emulator tab MCU Debugging Information Emulator Seript Glock Main f Internal Generated MHz Extemal Sub Internal Evternal Gable Select Inout from External Trieger Output Events OK Cancel Help Next Hide REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Specifying the compiler used and the object format Specify the compiler you are using and the format of the object file output by the compiler Compiler Select the compiler you are using By default the C compiler from Renesas 1s selected Object Format Select the format of the object file that is output by the compiler you are using Specifying the method for storing debug information There are two methods for storing debug information on memory method where data is held in memory and an on demand method where data is held in a temporary file When selecting the on demand method check the On Demand check box O
21. read write When you have finished setting the data and access condition click OK REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 62 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 1 Example Data Settings Setting events for wordwise accesses to the even addresses Setting a break event STE W A0 20E8h A0 5423h Al Cycle _ Label Address Data BUS BHE BID RAV RET CPU ee ae Data 1 5423 00023 00U20E6 5423 16b U 0 Ci MASK FFFF High order and low order data effective Access WRITE Setting a break event using 2 events Setting events for wordwise accesses to the odd addresses Al A2 Address 1 0020E5 Address 1 OO20E6 STE W_A0 20ESh A0 AB79h Data 1 7900 Data 00AB ycle Label Address Data BUS BHE TT RM RUT CPU MASK FF00 MASK OOFF 00021 0020E5 946 16b U W 1 Ch Access WRITE Access WRITE 00020 OOFUE6 7446 16b 1 i y J CE Odd address high order data effective Set the combinatorial events to AND Even address low order data effective Setting a break event Setting events for wordwise accesses to the even addresses Al Address 1 0020E2 STE B ROL A1A0 ROL E5h A 1 0000h A0 20E2h Data 1 00E5 Sth Label Address Data BUS PRE Bo i RWT CPU MASK OOFF OOF0E2 ODES 16b 0 CH Access WRITE meee data effective Setting a break event Al Address 1 0020E3 Setting events for wordwise accesses to the odd addresses Daai F600 STE B ROL
22. 1 00 Sales Strategic Planning Div Published by Renesas Technology Corp Microcomputer Tool Development Department Edited by Renesas Solutions Corp 2005 Renesas Technology Corp and Renesas Solutions Corp All rights reserved Printed in Japan M3062PT2 EPB Users Manual tENESAS Renesas Technology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
23. Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user 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 100NSD are guaranteed for only 20 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 38 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 9 Connecting to a 128 pin 0 5 mm pitch Foot Pattern Here following is a procedure of connecting to a 128 pin 0 5 mm pitch foot pattern on the user system using the M3T F160 128NRD not included For details on the M3T F160 128NRD refer to its user s manual 1 Attach the NQPACK128RD included with the M3T F160 128NRD to the user system 2 Attach the YQOPACK128RD included with the M3T F160 128NRD to the NQPACK128RD and secure it with the YQ GUIDE s 3 Attach the CN2 side of the M3T F160 128NRD to the J4 side of the M3062PT2 EPB 4 Attach the M3T F160 128NRD to the YQPACK128RD _M3T FLX160 EPB _ M3062PT2 EPB _ CN2 side lt M8T F 160 128 NRD not included i Evaluation with actual MCU m HQPACK128RD _YQ GUIDE x4 not included _ YQPACK128RD NQPACK128RD MCU with flash a V7 ROM etc These corners are not round lt ye 128 pin0 5 mm pitch 128P6Q A foot pattern No 1 pin K Available in one package o o
24. 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 user system using the M3T DUMMY 100S not included For details on the M3T 100LCC DMS not included and M3T DUMMY 100S refer to each user s manual 1 Attach the M3T DUMMY 100S to the user system 2 Attach the M3T 100LCC DMS to the M3T DUMMY 100S 3 Attach the CN2 side of the M30800T PTC to the J4 side of the M3062PT2 EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T FLX160 EPB So _M3062PT2 EPB CN 2 side P _M30800T PTC M3T 100LCC DMS not included Evaluation with actual MCU M3T DUMMY 100S not included MCU with flash ROM etc lt 100 pin 0 65 mm pitch 1 100P6S A foot pattern Sed noipn 2 z Z o oe lt N User system Figure 2 11 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 2 A CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The connectors of the M30800T PTC are guaranteed for only 50 insertion removal iterations The connectors of the M3T 100LCC DMS and M3T DUMMY100S are guaranteed for only 20 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 34 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 5 Connecting
25. M3062PT2 EPB emulation probe M30800T PTC pre mounted converter board for 100 pin 0 65 mm pitch LCC IC61 1004 051 100 pin 0 65 mm pitch LCC socket made by Yamaichi Electronics Co Ltd OSC 3 16MHZ oscillator circuit board Please keep the M3062PT2 EPB s packing box and cushion material in your place for reuse at a later time when sending strat your product for repair or other purposes Always use these packing box and cushion material when transporting this product Tf 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 com To distinguish the other emulation probe for M16C 60 Series 512 is printed on the corner of this product Figure 1 1 shows the printed area 912 is printed here 08 ICE odd a a w LIVIN 9 ETI 09799 vd9d YSdI P or co IT yggo VY 8vy VLd0
26. 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 memory window or script window REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 88 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications IMPORTANT Note on Breaks The area displaying break points in the program window of the emulator debugger shows the following breaks 1 Address match break This is a debugging function which breaks a program using 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 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 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 Software Breaks Sof
27. T cable Separately available The LAN interface cable is not included Emulator PC7501 Get 10BASE T cable separately To connect the emulator PC7501 directly to the host machine use a cross cable Host machine Figure 2 2 Outline for interface cable connections REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 22 of 100 M3062PT2 EPB User s Manual 2 Setup 2 4 Connecting the PC 7501 Figure 2 3 shows how to connect the PC7501 and the emulation probe M3T FLX160 EPB M3062PT2 EPB Figure 2 3 Connecting the PC7501 and emulation probe CAUTION Cautions for Connecting the PC7501 When connecting the emulation probe be sure to hold the both sides of the emulation probe horizontally and insert it directly Always shut OFF power before connecting the emulation probe Otherwise internal circuits may be damaged The connectors of the M3062PT2 EPB are guaranteed for only 50 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 23 of 100 M3062PT2 EPB User s Manual 2 Setup 2 5 Connecting the Power Supply for the Emulator The power is supplied from AC adapter to the emulator PC7501 Here following explains how to connect the AC adapter 1 Turn OFF the power to the PC7501 2 Connect the DC cable of AC adapter to the PC7501 3 Connect the AC power cable to the AC adapter 4 Connect the AC power cable to the receptacle
28. User program is being executed OFF User program has been halted WARNING Address 00000h and 00001h have been read out OFF Address 00000h and 00001h have not been read out IMPORTANT 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 1s 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 1s 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 Addresses 00000h and 00001h With the M16C 60 Series MCUs when a maskable interrupt is generated the interrupt data interrupt number and interrupt request level stored in addresses 00000h and 00001h are read out Also the interrupt request bit is cleared when address 00000h or 00001h is read out Consequently when the address 00000h or 0000 1h readout instruction is executed or when a
29. a message Connected displayed on the Debug tab of the Output window Connected Debug 4 Find in Files Version Control REJ10J0868 0100 Rev 1 00 2005 04 16 RENESAS Page 56 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 2 Editor Source Window 1 Program window Editor Source window The editor source window is a window that always shows the content of the source file corresponding to the t t Cc d a E d a a cE r r c c c c c c c c Ea 7 C COMPILER for RSC Tins current position of the program counter It automatically Copyright C 19992000 i opens when the emulator starts up The program counter and Renesas Solutions position is identified by the yellow background color taal NCSD Here you can execute the program up to the cursor ner 23 i position set or clear software breakpoints and line This program is appl assemble the source file 1 s a 4 5 6 5 5 g ge CEC E H E E R R R E H E R E E E E E Because the present emulator uses the MCU s internal flash ROM the initial value for the ROM area data at the time of purchase is FFh 2 Program execution Bi z CPU reset EF El Ee El o OP a e E Resets the CPU i Go Runs the program beginning with the current PC position Reset Go Runs the program after reset i Step In Single steps the program executing each statement including those in functions nl i Step Over Single steps the
30. converter board in a wrong direction It may cause a fatal damage to the emulator and user system The connectors of the M30800T PTC and M3T 100LCC QSD are guaranteed for only 50 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 37 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 8 Connecting to a 100 pin 0 5 mm pitch Foot Pattern Part 3 Here following is a procedure of connecting to a 100 pin 0 5 mm pitch foot pattern on the user system using the M3T FLX 1OONSD not included For details on the M3T 100LCC DMS not included and M3T FLX 100NSD not included refer to each user s manual 1 Attach the M3T FLX 100NSD to the user system 2 Attach the M3T 100LCC DMS to the M3T FLX 100NSD 3 Attach the CN2 side of the M30800T PTC to the J4 side of the M3062PT2 EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS _M3T FLX160 EPB _ M3062PT2 EPB P CN 2 side fa __M30800T PTC _M3T FLX 100 NSD not included va Evaluation with actual MCU Jak 2a My M it o HQPACK 100SD _YQ GUIDE x4 not included _ YQPACK100SD V7 My LE i j MCU with flash These corners are not round lt ba S ROM etc 2 f 100 pin 0 5 mm pitch 100P6Q A foot pattern No 1 pin Sa p gt a SS wee Available in one package __ User system Figure 2 15 Connecting to a 100 pin 0 5 mm pitch foot pattern Part 3 A CAUTION Notes on
31. does not start up The error is detected not detected in the self check Frequency of errors always frequency 3 Problem REJ10J0868 0100 Rev 1 00 2005 04 16 2rCENESAS Page 96 of 100 M3062PT2 EPB User s Manual 6 Maintenance and Guarantee 6 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair 6 1 User Registration When you purchase our product be sure register as a user For user registration refer to User registration page 11 of this user s manual 6 2 Maintenance 1 If dust or dirt collects on any equipment 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 equipment s surface coating to separate 2 When you do not use this product for a long period for safety purposes disconnect the power cable from the power supply 6 3 Guarantee If your product becomes faulty within one year after its purchase while being used under good conditions by observing IMPORTANT and Precautions for Safety described in this user s manual we will repair or replace your faulty product free of charge Note however that if your product s fault is raised by any one 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 Inadequat
32. lists the specifications of target MCUs which can be debugged with this product Table 4 1 Specifications of target MCUs for the M3062PT2 EPB Applicable MCU M16C 60 Series M16C 62P Group MCUs Evaluation MCU M30627FJPGP M30627FHPGP ROM size 512KB 4KB RAM size 31KB Applicable MCU mode Single chip mode Memory expansion mode NORMAL 4MB Microprocessor mode NORMAL 4MB Maxi ROM RAM capacity 1 Internal flash ROM 516 KB OFOOOh OFFFFh 80000h FFFFFh 2 Internal RAM 31 KB 00400h O07FFFh Veel Vec2 2 7 5 5 V Vecl gt Vcc2 4 8 V lt Veclv5 2 V 2 7 V lt Vec2 lt Veccl Power supply voltage 3 0 5 5V 24MHz when using PLL Power supply voltage 2 7V l OMHz REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 69 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 2 Operation Timing of Memory Expansion Mode and Microprocessor Mode Vcc1 Vcc2 5V 1 Separate Bus Timing Table 4 2 and Figure 4 1 show the bus timing in memory expansion mode and microprocessor mode Table 4 2 Memory expansion mode and microprocessor mode 3 wait accessing external area Actual MCU This nea Item ns ns on a ie a td BCLK AD Address output Address output delay time time E a ns th BCLK AD Address output hold time BCLK standard 4 Seeleft th RD AD Address output hold time RD standard 0 4 th WR AD Address output hold time WR standard D 6 td BCLK CS Chip sel
33. use Please avoid using this emulator for other than its intended purpose of use For those who use this emulator This emulator can only be used by those who have carefully read the user s manual and know how to use it Use of this emulator requires the basic knowledge of electric circuits logical circuits and MCUs When using the emulator 1 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 2 Inno event shall Renesas Solutions Corp be liable for any consequence arising from the use of this product 3 Renesas Solutions Corp strives to renovate or provide a workaround for product malfunction at some charge or without charge However this does not necessarily mean that Renesas Solutions Corp guarantees the renovation or the provision under any circumstances 4 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 Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan 5 Renesas Solutions Corp cannot predict all possible situations or possible cases of misuse where a potential danger exists Ther
34. 0 g Shows the status of the data bus 000036 msize 00041 0000 i6b 1 1 3 900035 00041D 0000 i6b oO DB wW 0 3 BUS 000034 00041D 0000 i6b 0 1 3 000033 00041E 0000 16b 1 DB W 0 3 Shows the width of the external data bus In the present 000032 00041E 0000 i6b 1 1 3 l l 000031 00041F 0000 16b o DB o a 2 emulator only 16b for 16 bits wide bus is displayed p00020 OFOOSA 7504 i6b O IW 0 CE 3 BHE 000029 OFOOSA 7504 16b O 1 RW 1 900025 oroo5e OOC3 ith 0O IW R 0 3 Shows the status 0 or 1 of the BHE Byte High Enable 000027 OFOOS oO0c3 16b O 1 cw i 000026 OFO05E 7C00 16b O0 IW R 0 3 signal If this signal 0 the odd address data is valid 000025 OFOOSE 7C00 16b O oe 1 RW 1 000024 OFOO60 AZEA 16b O IW R Wo g BIU 000023 OF0060 AZEA 16b 0 oe 1 cw 1i 000022 OF0062 0000 ib oO T 5 o _ 3 Shows the status between the BIU Bus Interface Unit and 000021 OF0062 0000 i6b oO 1 cE 2 ml memory or I O 4 gt F Symbol Status l No change 3 Trace window Disassemble display DMA Data access except for CPU A elv B Zaa va aru INT Starts INTACK sequence Range 000129 000000 Area Break File Cycle 000088 Address OF0037 Time 00 00 00 000 020 IB Instruction code read bytes by CPU ye l Address 0bj code Label Mnemonic a DB Data Gees bytes by CPU 000088 0F0037 EB64 FSET I IW Instruction code read words by CPU 000085 OF003A AA0004 M
35. 0 Rev 1 00 2005 04 16 CENESAS Page 60 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 Opening the break event setting dialog box Specifying the event type Al gt Sel Event dhah eee ee Click to select the event type you want to set Event Tepe aia FETCH Detects an instruction prefetch Fetch DATA ACCESS Detects a memory access BIT SYMBOL Detects a bit access INTERRUPT Detects an interrupt occurrence or interrupt termination TRIGGER Detects a signal from the external trace signal input cable 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 address range etc When you have finished setting the address click OK REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 61 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 When DATA ACCESS is selected 1 Window for setting the address Setting the address You can set eight conditions e g a specified address a specified address range etc When you have finished setting the address click OK 2 Window for setting data setting data You can set eight conditions e g a specified data a specified data range etc Fanae lsir Address x Kikai Eg el fice o a F Funto Setting the access condition You can set three conditions e g read write and
36. 2 CENESAS Page 92 of 100 M3062PT2 EPB User s Manual 5 Troubleshootin 5 2 When the Emulator Debugger Does Not Start Up Properly 1 When the LEDs of the PC7501 Do Not Display Normally Table 5 1 Errors LEDs show and their checkpoints Connection to Checkpoint the user system LEDs do not light up Check that the power cable is connected See 2 5 Connecting the Power Supply for the Emulator page 24 and the user s manual of the PC7501 All LEDs remain lit Recheck the connection between the PC7501 and this product See 2 4 Connecting the PC7501 page 23 Target Status POWER LED Connected Check that power Vcc is properly supplied to the user system and does not light up that the user system 1s properly grounded Target Status CLOCK LED Notconnected 1 Check that both the main and sub clocks of the emulator does not light up debugger are not set to EXT See the CLK command of the emulator debugger 2 Check the oscillation circuit in the emulator is oscillating See 2 11 Selecting Clock Supply page 43 Connected When the clock is supplied from an external oscillator check that the oscillator circuit in the user system is oscillating properly Target Status RESET LED does Check that the reset pin of the user system is pulled up not go out REJ10J0868 0100 Rev 1 00 2005 04 16 2rCENESAS Page 93 of 100 M3062PT2 EPB User s Manual 5 Troubleshooting 2 MCU Setting Dialog Box Does Not Appear at Emulato
37. 2 EPB User s Manual 4 Hardware Specifications IMPORTANT Notes on Debugging in CPU Rewrite Mode When you debug an M16C 60 Series MCUs 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 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 CPU rewrite mode and erase suspend mode do not stop the program And do not single step an instruction shifting to CPU rewrite mode or erase suspend mode The emulator will be uncontrollable in CPU rewrite mode and erase suspend mode To reference data after executing CPU rewrite stop the program at other then a rewrite control program area and use the memory window etc As the following interrupt vectors are used by the emulator system the read data is different from expected value 1 BRK instruction FFFE4h FFFE7h 2 Address match FFFE8h FFFEBh 3 Single step FFFECh FFFEFh 4 DBC FFFF4h FFFF7h Notes on Address Match Interrupts When you use the address match interrupt 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 R
38. 50 CNVss lt BYTE 510kQ Vcc lt RESET ved Vcc Xin Connected to the inside of the emulator Figure 4 7 Connection diagram REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 83 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications Table 4 8 Electrical characteristics of the 74HC4066 Symbol Tiem Standard values Unit Ron Dnes A a O a r s a ts a Jorr Leak current O 2oy _ 100 tz Leak current On output open 2oy ao Table 4 9 Electrical characteristics of port emulation FPGA Vin a a er Vu _ L levelinputvoltage OS Ion 8mA DC Vcc 4 75V H level output voltage Ion 8mA DC Vcc 3 00V IoL 8mA DC Vcc 4 75V 0 45 L level output voltage loc 8mA DC 0 45 Vcec 3 00V loz Leak current Tristate Vo VecorGND_ 40 40 pA a VIN O V REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 84 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 6 External Dimensions 4 6 1 External Dimensions of the Emulation Probe Figure 4 8 shows external dimensions of the M3062PT2 EPB WA Ql ae L9 2Z33N O T w HII ESI a og
39. 6C Download the Renesas Debugger Package for M16C from the URL below http www renesas com eng products mpumcu tools download m16cdebugger index html Launching the installer Start the setup exe program Entering the user information In the user information dialog box enter the user information contractor section contact address and host machine The supplied information will be turned into a format by which technical support will be provided by e mail Selecting components In the component selection dialog box select the components you want to install In this dialog box you can change the directory in which to install Completing the installation A dialog box will be displayed indicating that setup has been completed It means that the installation you made is completed REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 21 of 100 M3062PT2 EPB User s Manual 2 Setu 2 3 Connecting the Host Machine When connecting the emulator 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 specify your desired interface Figure 2 2 shows the outline to connect each interface cable LPT parallel interface mo LPT parallel interface cable Host machine USB interface C m USB interface cable Emulator PC7501 Host machine 10BASE
40. A1A0 ROL E6h A 1 0000h A0 20E3h MASK FF00 tycle __Label J Address Data BUS BHE a a RWT GPU Access WRITE O00 UUZUES EbBOU 16b JO 0 GE TEET data effective REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 63 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 4 Setting the combinatorial event condition 1 Window for setting the combinatorial event condition Setting the combinatorial event condition EE HW Break Point Setting Window There are following four conditions that you can choose for the combinatorial events AND vw Enable HAN Break M O O O o 0 O O 000000 000000 000000 000000 000000 000000 000000 ADDRESS AG CONDITION OFOOBT FUUG Ho0000 000000 H00000 000000 000000 000000 REJ10J0868 0100 Rev 1 00 2005 04 16 000000 CENESAS Detail The program breaks when all of the specified events occur AND Same Time The program breaks when the specified events occur at the same time OR The program breaks when one of the specified events occurs STATE TRANSITION The program breaks when the state transition diagram goes into the break state For each event a pass count number of passing is specifiable 1 255 When AND same time is specified for Combination you can not specify the pass count fixed to one When you have finished setting the combinatorial event condition click the
41. CU Specifications ccccccccceeccceceeceecaeeeeeeeeeeeeeeeeeeeeeee senses eeeeeeeeeeessaeeeesaeeeeesaaeeeeesaaeseeesageeessaeeeeeeas 69 4 2 Operation Timing of Memory Expansion Mode and Microprocessor Mode Vcc1 Vcc2 5V ccceccee eee 70 4 3 Operation Timing of Memory Expansion Mode and Microprocessor Mode Vcc1 Vcc2 3V cccceceeeeee 15 4 4 Differences between the Actual MCU and Emulator ccccccccccccccceececeeececeeeceseeeeeseecessecesseeeesseesaaeeesenes 80 AO OMe COM DIA N ANUS E e aainen ca damstonedacheayeasuds wedsmeeseuesestsuedaeiestsesesesseddodaspuces dansicaie einen 83 AE TE CSU IA LINAC TVS ONT Ss sis sts taa E E E aes sence eons Sane cane ata sandeep aac A conan tenannen 85 4 6 1 External Dimensions of the Emulation Probe cccccccccseccccesceceeeeeeeeeceaeeeseaeesseeeessaeeesaueeseeeeenees 85 4 6 2 External Dimensions of the M30800T PTC o oo ccc cccccceececeeeceeeeeceseeeeeeeeeeseeeeeseeesseeeeseaeeeseeeesees 86 4 7 Notes on Using LIS TOC Cle ncnsarciceaaisemnse cctcieteedalsmene baaeeneacnceneusn deanna aa EEE NEEN EAOa ENESE aeea e i dadia 87 2 TOURING rece gs tence ae nb crac E EEE E E E EE E O EA E E EE EEE 92 5 1 FH wchart to Remedy Mhe NOUDICS cissoides e T EE A R a EE apaa 92 5 2 When the Emulator Debugger Does Not Start Up Properly ce ceccceeeeeeeeeeeeesaeeeeeeseeeeeeseeeeeeeaeeeeesaaaees 93 5 9 How 10 Regu est for SUPPOTI asucreirorcsar aiaa E a a aE aa T A
42. Check that it matches to the processor mode to be set Check that the RDY and HOLD are H level If they are L level as the MCU enters a wait status and the emulator debugger cannot receive the signal from the MCU an error is displayed REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 54 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 2 MAP tab _ Specifying the emulation memory MOU Seine allocation wel MAP Flach Clear Sets the memory area assigned to the emulation memory by 4KB Up to four areas can be set An area set to INTERNAL will be allocated to the Geen oat NIERHAL emulation memory An unchecked area or an unset area Erulatae Memory Abrus L i di sin 7 z will be allocated to external area M Aest w tala The setting is effective only in the CS3 CS2 CS1 Ares 3 wi FFF TERNA and CS0 The maps of SFR internal ROM and RAM M Area d 3 oo La FFF ERNI are set automatically The eribre i ethaia orbe r the aea Coot Coet Goit and Goh Mot allecsied ares amp regarded es EXTERNAL The maps of SFR mbemal RAM ane mterna RH ore tel aulometicelly 3 Flash Clear MCU Setting ld xj Setting to clear the MCU s internal flash i ROM MCU map Fees ROM T Specify whether or not you want the MCU s internal preine asna flash ROM to be cleared when downloading the user Ceri CaF FFF Select All program or data
43. D gt E th BCLK DB gt to BCLE DB a lt ADi i i a T i a a 24 td DB WR 2 th WR DB E th BCLK Ab aS DBi td BCLK AD a Aoi z R I td AD WR D 2 l z Z me Ko E th WR AD ALE lt gt th BCLK WR th BCLK ALE lt gt td BCLK WR __WR _ WRL WRH Figure 4 5 Memory expansion mode and microprocessor mode 2 wait accessing external area using multiplex bus Page 78 of 100 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS M3062PT2 EPB User s Manual 4 Hardware Specifications 3 Timing Requirements Table 4 7 and Figures 4 6 show timing requirements in memory expansion mode and microprocessor mode Table 4 7 Timing requirements Actual MCU This product Item ns ns tsu DB RD Data input setup time S ST tsu RDY BCLK RDY inputsetuptime 4 1 0 _ tsu HOLD BCLK HOLD input setup time 5 7 th RD DB Datainputholdtime Selt th BCLK RDY RDY inputholdtime 0 Selt th BCLK HOLD HOLD inputholdtime 0 See left td BCLK HLDA HLDA outputdelaytime 4 See le ft_ Common to with wait and no wait actual MCU BCLK i i 4OLD th BCLK HOLD sa alt ecm HOLDinput HLDA output 3 3 gt lt gt PO0 P1 P2 P3 P4 td BCLK HLD P50 P52 Common to with wait and no wait this product BC
44. Figure 2 23 Circuits of the oscillator circuit bare board OSC 2 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 46 of 100 M3062PT2 EPB User s Manual 2 Setup 2 11 3 Using the Oscillator Circuit on the User System To operate this product with an external clock construct the oscillator circuit as shown in Figure 2 24 in the user system and input the oscillator output at 50 duty within the operating range of the evaluation MCU into pin Xw And pin Xour should be open Choose External in the emulator debugger to use this clock Evaluation MCU Oscillator Oscillation output circuit Figure 2 24 External oscillator circuit Make note that in the oscillator circuit shown in Figure 2 25 where a resonator is connected between pins Xw and Xour oscillation does not occur because a converter board and other devices are used between the evaluation MCU and the user system It is same for sub clock oscillator circuits Xcm and Xcour Evaluation MCU Figure 2 25 Circuit in which oscillation does not occur 2 11 4 Using the Internal Generator Circuit The dedicated circuit 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 PC7501 or the oscillator circuit on the user system If you want to debug programs without the user system or change a frequency temporarily you can check its operation before
45. LK tsu HOLD BCLK HOLD input HLDA output til BCLK HLDA m 4 gt PO P1 P2 P3 P4 P50 P52 Figure 4 6 Timing requirements Compared with an actual MCU this product enters high impedance state after a 0 5 cycle delay REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 79 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 4 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below When debugging the MCU using this product be careful about the following precautions 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 Set the time for starting up 0 2 Vcc to 0 8 Vcc 1 us or less 2 Initial values of internal resource data of an 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 O7FFFh and flash ROM of 4 KB OFO00h OFFFFh and 512 KB 80000h FFFFFh 5 Oscillator circuit In the oscillator circuit where an oscillator is connected between pins Xw and Xour oscillation does not occur because a converter board is used between the evaluation MCU and the user system It is same for pins Xcwn and Xcour For notes on when using the oscillator circuit on the
46. LK 3 Calculated by the following formula according to the frequency of BCLK 0 5x10 B f BCLK REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 75 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications Read timing BCLK td BCLK CS lt gt CSi th BCLK CS tcyc i a td BCLK ADj lt gt x ADi th RD CS gt ae th BCLK AB lt gt BHE y td BCLK ALE lt lt th BCLK ALE ALE as th RD AD td BCLK RD l z th BCLK RD tac2 RD DB Hi Z DBi tsiu DB RD Ea Write timing BCLK gt th RD DB td BCLK CS lt gt csi th BCLK CS E teye F lt T gt td BCLK AD lt gt ADi gt th WR CS th BCLK AD BHE x td BCLK ALE S th BCLK ALE lt a ALE th WR AD gt td BCLK WR td BCLK DB K gt gt O OHZ i A DBi jE S e WR WRL WRH lt th BCLK WR th BCLK DB lt i td DB WR Figure 4 4 Memory expansion mode and microprocessor mode 3 wait accessing external area REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS th WR DB Page 76 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 2 Multiplex Bus Timing Table 4 6 and Figure 4 5 show the bus timing in mem
47. N User system Figure 2 16 Connecting to a 128 pin 0 5 mm pitch foot pattern A CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The connectors of the M3T F160 128NRD are guaranteed for only 50 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 39 of 100 M3062PT2 EPB User s Manual 2 Setu 2 10 Switch Settings 2 10 1 Switch Settings of the JP1 Set jumper switch JP1 according to a power supply you use Figure 2 17 shows the positions of jumper switch JP1 Table 2 2 lists how to set the switch Front side of the M3062PT2 EPBM A 70 gt FE IC23 dZ90EWSVSINANE AJA Wadd UAT ACETATE A 33 RA10 x R800 El ead ul U Figure 2 17 Position of the JP1 Table 2 2 Switch settings of the JP1 Switch p 2 7 V lt Vcecl Vec2 lt 5 5 V VCC1 2 VCC1 gt 2 Factory setting E 4 8 V lt Vecl lt 5 2 V and VCC1 gt 2 2 7 V lt Vec2 lt Veel CAUTION When Removing the Up
48. OM areas of an 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 Accessing Addresses 00000h and 00001h With the M16C 60 Series MCUs when a maskable interrupt is generated the interrupt data interrupt number and interrupt request level stored in addresses 00000h and 00001h are read out Also the interrupt request bit is cleared when address 00000h or 00001h is read out Consequently when the address 00000h or 0000 1h readout instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway a malfunction occurs in that the interrupt is not executed despite 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 or 00001h 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 91 of 100 M3062PT2 EPB User s Manual 5 Troubleshooting 5 Troubleshooti
49. OV W 0400H Al 000082 oroo3p 75 30000 MOV W 00004 R3 R W 000078 OF0041 TCEA SSTR B peas 2000076 0F0043 B4 MOV B 0 ROL Shows the status of the data bus Displayed as R for Read 000075 0F0044 AAQOO4 MOV W 0400H A1 PONS 000072 OF0047 75c 30000 MOV W 00008 R3 W for Write and for no access 000068 OFOO4B FCEA SSTR B RWT 000066 oroo4p B4 MOV B 0 ROL 000065 OFOO4E AA1404 MOV W 0414H A1 This is the signal to indicate a valid bus cycle When valid p00062 oroosi 75 30 00 MOV W FOOOCH F 000058 0F0055 7CEA SSTR B RWT 0 The Address Data and the BIU signals are effective 000031 0F0057 B4 MOV B 0 ROL o 000030 OF0058 AAZ004 MOV W 0420H Al when this signal is 0 000027 orooss 75 30000 MOV W 00004 R3 CPU 000023 OFroosr TCEA SSTR B MEENE OF0061 420000 iaki e O aen Shows the status between the CPU and BIU Bus Interface p00019 oroo64 74C30F MOV B OFH R1H 000017 oroo67 Aa0004 MOV W 0400H Al Unit 000015 oroo6a 75 30000 MOV W 0000H R3 M 4 gt Symbol Status CB Op code read bytes RB Operand read bytes 4 Trace window Source display QC Clears instruction queue buffer x eyez QQ vas CW Op code read words Ev a D a a RW Operand read words Range 000129 000000 Area Break File ncrt0 a30 Cycle 000088 Address OF0037 Time 0000 00 000 020 QN 2z Sess e ee Shows the byte count stored in the instruction queu
50. REJ10J0868 0100 T Everywhere you imagine E a E NI ESAS M3062P I 2 EPB User s Manual Emulation Probe for M16C 60 Series M16C 62P Group Rev 1 00 Apr 16 2005 Renesas Technology WWW FENESAS COM Keep safety first in your circuit designs 1 Renesas Technology Corp puts 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 ap propriate measures such as i placement of substitutive auxiliary circuits ii use of non flammable material or ili prevention against any malfunction or mishap Notes regarding these materials 1 These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp 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 Renesas Technology Corp or a third party 2 Renesas Technology Corp assumes 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 3 All information contained in these materials including product da
51. aa aa a aia 96 0 Maimienance eri atl ANC E e EE E EE E S E EE E T 97 TUS r Red NO onn EE E tga eo EE EE E E EEEE EE EEE 97 62 IANS UNC sssrin A oie nda Se asc A E A ERR 97 SRECU E E E EA AA AAE AN E A A nee EN E A A AA E E E A E 97 0 We Aa 9521 Ald 21 2 fae eee eee i aiaa ee eee eee ee ee ere 97 6 5 How to Make Request for Repair cccccccceeccceeececeececeeceeeeeeeeeceeseeceeseecesseeceeeneeseaeeeseeesseeeeesaeeesseeeesaeeetes 98 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 10 of 100 M3062PT2 EPB User s Manual User Registration User Registration When you have purchased the emulator presented in this user s manual please be sure to register it As the hardware tool user registration FAX sheet is included with this manual fill it in and FAX it to your local distributor or email the same contents to the following address Your registered information is used for only after sale services and not for any other purposes Without user registration you will not be able to receive maintenance services such as a notification of field changes or trouble information So be sure to carry out the user registration For more information about user registration please email to the following address regist_tool renesas com REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 11 of 100 M3062PT2 EPB User s Manual Terminology Terminology Some specific words used in this user s manual are defined as follows Emul
52. addr 00000 addr 000000 fadde 000000 You can set events in the same way as for the hardware breakpoints Specifying a trace range You can specify a trace range for the trace event Break 256K cycles of instruction execution before the user program stopped is recorded Before 2 Setting the trace write condition F Event stabis PASS E 1 Bi 1 B 1 B O 1 B4 O 1 BS O 1 B 1 BF Combination E Trace Point Setting Window ADORE AGGE GONDMON 00000 OLTIIN 000000 000000 000000 000000 REJ10J0868 0100 Rev 1 00 2005 04 16 FETCH FETCH FETCH FETCH FETCH FETCH FETCH em m 256K cycles of instruction execution before a trace point condition was met is recorded About 128K cycles of instruction execution before and after a trace point condition was met is recorded After 256K cycles of instruction execution after a trace point condition was met is recorded Full 256K cycles of instruction execution after a trace began is recorded Setting the trace write condition You can specify a condition for the cycles to be written into the trace memory Total All cycles are written into memory addr 00000 Pick up ddr QO0000 Only the cycles in which the specified condition was met are addr 000000 written into memory Gadde O00000 Exclude addr 00000 Only the cycles in
53. ator system This means an emulator system built around the PC7501 emulator The PC7501 emulator system is configured with an emulator main unit emulation probe host machine and the integrated development environment High performance Embedded Workshop Emulator main unit Hereafter PC7501 This means an emulator main unit for M16C Family Emulation probe This means the emulation probe this product for the M16C Family M16C 60 Series M16C 62P Group MCUs Integrated development environment High performance Embedded Workshop This tool provides powerful support for the development of embedded applications for Renesas microcomputers It has an emulator debugger function allowing for the emulator to be controlled from the host machine via an interface Furthermore it permits a range of operations from editing a project to building and debugging it to be performed within the same application 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 flash memory in the emulator main unit This program is downloadable from the emulator debugger to upgrade the firmware or to support other MCUs Host machine This means a personal computer used to control the emulator main unit and emulation probe Software break A software break is a function to break the program before the system executes an instructi
54. board see Figure 2 21 odia The oscillator circuit board of the PC7501 is in the lower right corner of the scillator circuit board 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 2 21 Replacing the oscillator circuit board 3 Reinstall the upper cover and secure the four screws A CAUTION 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 45 of 100 M3062PT2 EPB User s Manual 2 Setup 3 Using the Internal Oscillator Circuit Bare Board To use the emulation probe at a frequency you like build a desired oscillator circuit on the included OSC 2 oscillator circuit bare board Figure 2 22 shows an external view of the OSC 2 oscillator circuit bare board and where the connector pins are located Figure 2 23 shows the circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer GND Oscillator output GND VCC X 1 5 08 mm pitch 2 pin oscillator X2 2 54 mm pitch 2 pin oscillator IC1 Inverter Unbuffer X3 2 54 mm pitch 3 pin oscillator
55. by the following formula according to the frequency of BCLK 0 5x10 ee fns f BCLK REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 72 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications Read timing td BCLK CS th BCLK CS lt gt td AD ALE th ALE ADX tRCARDDR y lt ae TD PE ns roe aE oe H ut ean AD Sy tsu 0B C Sao DB fo AD RB td BCLK AD E l th BCLK AD sz o Io 2 ot gt ADi a E a a E T E T E Zo o gt X a f td BCLK ALE E E gt m i th RD AD ALE A td BCLK RD th BCLK ALE gt A X th BCLK RD Write timing tcyc BCLK td BCLK CS th BCLK CS gt lt gt a th WR CS th BCLK DB L gt _ td AD ALE th ALE AD l gt r ta BCL DB 3 a lt gt pei Xoo 2 a E td DB WR 7 Ih WR DE DE m th BCLK AD td AD WR lt gt ADi eS ee se es a A 2 gt td BCLK ALE Do 3 F lt s gt a Do AE gt td BCLK AD i s ALE th BCLK ALE o a 2 S ta BCLK WR lt 3 th BCLK WR WR E WRL WRH i 4 Figure 4 2 Memory expansion mode and microprocessor mode 2 wait accessing external area using multiplex bus REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Pa
56. cccceeeccecaeeeeeeeeeeeesaeeeeeeseeeeessaeseeeseaeeeeseeeeesaaseeeeas 43 2 11 3 Using the Oscillator Circuit on the User System c cccccsceceeceeeeeecaeeeeeeseeeeeeeeeeeeesaeeeeeseeseeseeeeseeeas 47 2 11 4 Using the Internal Generator CirCuit ccccccccceeececceeeeeeceeeeeeeeeececcaeeseesaeeeeesseaeceessaseeesseuseessenseeseas 47 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 9 of 100 M3062PT2 EPB User s Manual Contents Page 3 Usage How to Use the Emulator De DUGG e r ee cccccceccceceeeeeeeseeeeeeseeeeesaeeeeeeeeeeeeesseeeeeseeeeeeseueeeesaageeesaeeeeetsaess 48 3 1 Starting Up the Emulator DEDUGGGSR sssri osde E A aae R Eaa aaia 48 E DTO BO eA E EA E E E E E E 48 Ike MOCO Scinn DAOG BOX srra E O A E E 53 3 1 3 Checking Connections of the Emulator SyStem ccccccccccesececeeeeeeeeeeeeeeseeseeeseeeeeeeseeeeseeeeesaeeeeeeeas 56 3 2 Editor Source VV INOW seeiis aR EA EEA A E EEEE EE E EE E 57 3 3 Hardware Breakpoint Setting WiINGOW ccccsssccccceseccceeseeecceuseeecsueeeceeeecseaseeessaeeessageeeesegseeessegeeessageees 60 3 4 Trace WV NG OW cesar rssicon Sasceae net Sand ditek Gace de di Send seelvonpc deat Sandedee Gesu cued dane scdeonei cent danedeesinss dant hand rrna rennene rennene nen 65 SORAM Monitor VV WNC OW ec asec reese sehen dtcrlotgeett ra anaa oa aian aon ia stanly E aeia E aei eei A e E a aE e a eaei 68 de ANAN ANS OPECIN AO enin a A EEE EEE E E E E 69 4 1 Target M
57. ce such as mouse Mouse or any other pointing device usable with the above OS that can be connected to the main body of the host machine Needed to install the emulator debugger or refer to the user s manual Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 19 of 100 M3062PT2 EPB User s Manual 2 Setup 2 Setup This chapter describes the preparation for using this product the procedure for starting up the emulator and how to change settings 2 1 Flowchart of Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2 1 For details refer to each section hereafter And when the emulator does not start up normally refer to 5 Troubleshooting page 92 Check the package components Refer to 1 1 Package Components page 13 MA M Install the Renesas Debugger Package for MI16C M Install or the Renesas Debugger Package for M16C Connect the PC7501 to the host machine with the LPT parallel interface cable USB interface cable or LAN interface cable Set the interface selection switch on the rear panel of the PC7501 to Connect the host machine the using interface M Connect the M3062PT2 EPB to the emulator Connect the M3062PT2 EPB and the M3T FLX160 EPB of the PC7501 y Connect the power supply for the emulator Connect a powe
58. ch the plug of the AC power cable when your hands are wet This may cause electric shock This product is connected signal ground with frame ground If your developing product is transformless not having isolation transformer of AC power this may cause electric shock Also this may give an unrepairable damage to this product and your developing one While developing connect AC power of the product to commercial power through isolation transformer in order to avoid these dangers If other equipment is connected to the same branch circuit care should be taken not to overload the circuit When installing this equipment insure that a reliable ground connection is maintained If you smell a strange odor hear an unusual sound or see smoke coming from this product then disconnect power immediately by unplugging the AC power cable from the outlet Do not use this as it is because of the danger of electric shock and or fire In this case contact your local distributor Before setting up this emulator and connecting it to other devices turn off power or remove a power cable to prevent injury or product damage Warnings to Be Taken for This Product Do not disassemble or modify this product Personal injury due to electric shock may occur if this product is disassembled and modified Disassembling and modifying the product will void your warranty Make sure nothing falls into the cooling fan on the top panel especially liquid
59. cseuseecsaneeecsuececseuseeessageeessageeecseseesseaeeensegeeessegeeesseaseeenes 13 1 2 Other Tool Products Required for Development ccccceecceceeececeeeceeececeeceeceeeeeseecessaeesseeesseeeesseeeeseeeeeas 14 Tto System CONE UIP AUC M eisene nE E eA E EEE A teases ae E ENRE 15 1 3 1System Configurati n esisin e i E Ea aa a di Ra 15 1 3 2 Names and Functions of the PC7501 Upper Panel LEDS nannnnnnnnannnennnnnnnnennnnnnnnnnnnnnnnnnnnnnrennnnennnns 16 A PECCO arrsa E E AEE eueadsusyedsqauteeceeeteveccetesasezasee 18 1 5 Operating EMVIFOMIMGIN sede getarecrceter sca utestencctanasasmieuesncesdinctuionwersoieeuseawlannrengiansmaasuiinincunletissuiesnucegth uecdoteryseees 19 OO sda eee ce et a es peg a etc etic pe ede ee veges cette eee cotta wee S 20 2 1 Flowchart of Starting Up the Emulator cc eccccccceeceeeeeeeeeeeeeeeeeeeeeeeseeeeeeeseeeeeeseeeeesseeeessegeeseeseeeeesaeeeeeeas 20 2 2 Installing the Emulator Debugger Renesas Debugger Package for M16C ccccceeeeeeeseeeeeeseeeeeeeeeeeeens 21 2 2 1 Installing the Emulator D DUGGET ccccccseccceseeceeeeeceeececsaececeueceneueceeeeesaueeesageeesaaeessaeeesesesenegesens 21 2 3 Connecting the Host Machine ccccccsseseecesseecceeseeecseueeeceauseeceaseeessaeeecsaeeesseaseeessageeessageeessageeesssaseneess 22 ZA OMe CC ME PCO eere tea asens ie isane T Meas E ape Se eaemeneaarees 23 2 5 Connecting the Power Supply for the Emulator
60. cted 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 are complete the dialog which urges to download the firmware will appear Download firmware following messages Required time for downloading the firmware is about 60 seconds SYSTEM SYSTEM SYSTEM STATUS STATUS STATUS Downloading firmware OFF Flashing SYSTEM SYSTEM STATUS STATUS Download completed Figure 2 5 LEDs during firmware download IMPORTANT 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 27 of 100 M3062PT2 EPB User s Manual 2 Setup 2 8 Self check 2 8 1 Self check Procedure To run the self check of the emulator do so as explained here below While the self check is 1n progress the LEDs will change as shown in Figure 2 6 1 If the user system is connected di
61. d the program may not run properly in the next bus cycle Notes on Stack Area With this product a maximum 8 bytes of the user stack is consumed as a work area Therefore ensure the 8 byte maximum capacity used by the user program as the user stack area If the user stack does not have enough area do not use areas which cannot be used as stack SFR area RAM area which stores data or ROM area as 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 to 00500h and used as stack area after the reset is released 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 requested when the user program is not being executed including when run time debugging is being performed the maskable interrupt request cannot be accepted because the emulator disables interrupts The interrupt request is accepted immediately after the user program execution is started Take note that when the user program is not being executed including when run time debugging is being performed a peripheral I O interruption is not accepted Note on DMA Transfer With this product the user program is stopped with a loop prog
62. d 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 26 of 100 M3062PT2 EPB User s Manual 2 Setup 2 Downloading Firmware 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 firmware has been upgraded When the emulator debugger or firmware has been upgraded 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 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 user system must not be conne
63. ddress 00000h or 00001h is read out in the cause of a program runaway a malfunction occurs in that the interrupt is not executed despite 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 or 00001h 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 17 of 100 M3062PT2 EPB User s Manual 1 Outline 1 4 Specifications Tables 1 5 and 1 6 list the specifications of the M3062PT2 EPB Table 1 5 Specifications of the M3062PT2 EPB 1 2 Applicable MCU mode Single chip mode Memory expansion mode NORMAL 4MB Microprocessor mode NORMAL 4MB Maxi ROM RAM capacity 1 Internal flash ROM 516KB OFOOOh OFFFFh 80000h FFFFFh 2 Internal RAM 31KB 00400h O07FFFh Veel gt Vec2 4 8V lt Vecl lt 5 2V 2 7V lt Vec2 lt Vccl 3 0 to 5 5 V 32 MHz when using a PLL 2 7 V 10 MHz Emulation memory 1 Access area Flash ROM of MCU Max operating frequency 10 MHz 2 External area CS3 CS0O area Possible to allocate up to 4 areas by 4 KB Maximum operating frequency at 5 0 V 0 wait 7 MHz 1 wait 20 MHz 2 wait 3 wait 24 MHz Maximum operating frequency at 3 0 V 0 wait 6 MHz 1 wait 17 MHz 2 wait 3 wait 24MHz Basic debugging funct
64. e buffer 00123 The display range is 0 to 4 00 12 4 3555555555552 7 6543 2 1l 0 00125 NEAR area initialize Shows the level of external trace signal input cable EXTINO to 00126 a a ae EXTIN7 00127 bss zero clear 00126 p a a as h m s ms us O12 ee Shows the elapsed time after starting the user program 00130 N_BZERO bss_ O_top bss_S0 00131 N BZERO bss_NE top bss_NE 00132 N_BZERO bss_NO_top bss_NO 00133 00134 2 il 00135 initialize data section 00136 2 00137 N BCOPY data_SEI_top data_SE_ top data_SE 00138 N BCOPY data_SOI_top data_S0_top data_SO 00139 N_BCOPY data _NEI_top data_NE_top data_NE 00140 N_BCOPY data_NOI_top data_NO_top data_No 00141 og 142 SSS S SSS SSS SSS SS SSS SSS SSS SSS SSS SSS SS SSS SSS SSS SSS SSS 4 gt REJ10J0868 0100 Rev 1 00 2005 04 16 2rCENESAS Page 66 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 2 Trace point setup window 1 Trace point setup window f Trace Point Setting Window Trace Point Setting Window in initial state 000000 Jogin 100000 000000 100000 Tioo00 ADDRE AGCE CONDITION FETCH FETCH FETCH FETGH FETGH FETCH FETCH Clicking this toolbar button opens the trace point setting window Ladd OO0000 feddr 000000 faddr 000000 addr 000000 l
65. e can be inspected The contents are displayed in order of execution paths Disassemble data access mixed mode The executed instruction and the content of the accessed data can be inspected together Contents are displayed in order of the execution paths Disassemble mode The execution paths of the executed instructions can be inspected The contents are displayed in order of execution paths Source mode The execution paths of the source program can be inspected These modes can be switched over using the respective toolbar buttons The trace window shows the measurement result when a real time trace measurement has finished The trace window remains blank until the real time trace measurement in progress finishes Page 65 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 2 Trace window Bus display Jeva Qaa vasu v Explanation of the trace window bus display Range 000129 000000 Area Break File Cycle 000041 Address 000414 Time 00 00 00 000 044 Cycle Tepe Address Data BUS BHE BIU R W RW CPU ON a The following explains the displayed contents from left to right 900041 00041A 0000 i6b 1 DB W 0 3 Address p00040 00041A 0000 i6b 1 1 3 000039 00041B 0000 16b O bi 5 0 S g Shows the status of the address bus 000038 0004156 0000 i16b 0 1 3 Data 000037 _msize o0041c 0000 16b 1 DB W
66. e user s system or misuse of it Fires earthquakes and other unexpected disasters In the above cases contact your local distributor If your product is being leased consult the leasing company or the owner 6 4 Repair Provisions 1 Repair with extra charge The products elapsed more than one year after purchase can be repaired with extra charge 2 Replacement with extra charge If your product s fault falls in any of the following categories the fault will be corrected by replacing the entire product instead of repair or you will be advised to purchase new one depending on the severity of the fault Faulty or broken mechanical portions Flaw separation or rust in coated or plated portions Flaw or cracks in plastic portions Faults or breakage caused by improper use or unauthorized repair or modification Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply Cracks in the printed circuit board or burnt down patterns Wide range of faults that makes replacement less expensive than repair Unlocatable or unidentified faults REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 97 of 100 M3062PT2 EPB User s Manual 6 Maintenance and Guarantee 3 Expiration of the repair period When a period of one year elapses after the model was dropped from production repairing products of the model may become impossible 4 Transportation fees at sending your product for repair Please
67. ect output delay time 25 See left th BCLK CS Chip select output hold time BCLK standard 4 f Seeleft td BCLK ALE ALE signal output delay time 25 Seed ft Ih BCLK ALE ALE signal output hold time _ 4 Selt td BCLK RD RD signal output delay time 25 See left th BCLK RD RD signal output hold time 0 Selt td BCLK WR WR signal output delay time 25 Sele ft th BCLK WR WR signal output hold time 0 Selt td BCLK DB Data output delay time BCLK standard 40 Seeleft thBCLK DB Data output hold time BCLK standard 4 Seeleft td DB WR Data output delay time WR standard D Seeleft th WR DB Data output hold time WR standard Seeleft 1 Calculated by the following formula according to the frequency of BCLK n 0 5 x 10 40 ns n 3 for 3 wait f BCLK 2 Calculated by the following formula according to the frequency of BCLK 0 5x10 f BCLK 3 Calculated by the following formula according to the frequency of BCLK 0 5x10 E f BCLK REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 70 of 100 M3062PT2 EPB Users Manual 4 Hardware Specifications Read timing BCLK td BCLK CS CSi th BOLK CS tcyc td BCLK AD ian ae tNBOLK AD ay BHE td BCLK ALE x gt th BCLK ALE ot lt gt ALE J th RD AD td BCLK RD
68. efore the warnings written in this user s manual and the warning labels attached to this emulator do not necessarily cover all of such possible situations or cases Please be sure to use this emulator correctly and safely on your own responsibility 6 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 4 of 100 M3062PT2 EPB User s manual Important Usage restrictions This emulator has been developed as a means of supporting system development by users Therefore do not use it as a device used for equipment embedded applications Also do not use it for developing the systems or equipment used for the following purposes either 1 Transportation and vehicular 2 Medical equipment where human life is concerned 3 Aerospace 4 Nuclear power control 5 Undersea repeater If you are considering the use of this emulator for one of the above purposes please be sure to consult your local distributor About product changes We are constantly 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 rights 1 We assume no responsibility for any damage or infringement on patent rights or any ot
69. f 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 7 Notes on Using This Product Notes on using this product are listed below When debugging the MCU using he emulator be careful about the following precautions IMPORTANT Note on the Version of the Emulator Debugger Be sure to use this product with one of the following emulator debuggers 1 Renesas Debugger Package for M16C V 1 00 00 Release 01 or later 2 M3T PD30F V 2 20 Release 1 or later Note on Selecting the MCU File Select the MCU file M16C62P 512 mcu at emulator startup Notes on Downloading Firmware Before 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 2 7 Downloading Firmware page 27 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 user system not connected Notes on Self check If the self check does not result normally excluding user system errors the emulation probe may be damaged Then contact your local distributor Run the self check with the user system not connected Note on Quitting the Em
70. ge ae _ User system Figure 2 13 Connecting to a 100 pin 0 5 mm pitch foot pattern Part 1 A CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The connectors of the M3T F160 100NSD are guaranteed for only 50 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 36 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 7 Connecting to a 100 pin 0 5 mm pitch Foot Pattern Part 2 Here following is a procedure of connecting to a 100 pin 0 5 mm pitch foot pattern on the user system using the M3T 100LCC QSD not included For details on the M3T 100LCC QSD refer to its user s manual 1 Attach the TQPACK100SD to the user system 2 Attach the TQSOCKET100SDG included with the M3T 100LCC QSD to the TQPACK100SD 3 Attach the M3T 100LCC QSD to the TQSOCKET100SDG 4 Attach the CN2 side of the M30800T PTC to the J4 side of the M3062PT2 EPB 5 Attach the M30800T PTC to the M3T 100LCC QSD M3T FLX 160 EPB a M3062PT2 EPB _ CN2side __M30800T PTC M3T 100LCC QSD not included 3 TQSOCKET100 SDG K Lo Sink TQPACK 100 SD aa 100 pin0 5 mm pitch 100P6Q A foot pattern peg m lt N User system Figure 2 14 Connecting to a 100 pin 0 5 mm pitch foot pattern Part 2 A CAUTION Notes on Connecting the User System Take care not to attach a
71. ge 73 of 100 M3062P1T2 EPB User s Manual 4 Hardware Specifications 3 Timing Requirements Tables 4 4 and Figure 4 3 list the timing requirements Table 4 4 Timing requirements Datainputsetuptime S tsu DB RD Actual MCU This product ns ns tsu RDY BCLK RDY inputsetuptime 39 J 4s tsu HOLD BCLK HOLD input setup time 4 J 5 th RD DB Datainputholdtime 0 Selt th BCLK RDY RDY inputholdtime _ See deft th BCLK HOLD HOLD inputholdtime See deft td BCLK HLDA HLDA output delay time 4 See Vet Common to with wait and no wait actual tsu HOLD BCLK MCU th BCLK HOLb HOLD input s HLDA output P0 P1 P2 P3 P4 P50 P52 td BCLK HLDA Hi Z a Common to with wait and no wait this product tsu HOLD BCLK th BCLK HOLD td BCLK HLDA HOLD input 2 HLDA output gO td BCLK HLDA PO P1 P2 P3 P4 P50 P5 2 Figure 4 3 Timing requirements lt gt td BCLK HLDA Compared with an actual MCU this product enters high impedance state after a 0 5 cycle delay REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 74 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 3 Operation Timing of Memory Expansion Mode and Microprocessor Mode Vcc1 Vcc2 3V 1 Separate Bus Timing Table 4 5 and Figure 4 4 sho
72. her rights arising from the use of any information products or circuits presented in this user s manual 2 The information or data in this user s manual does not implicitly or otherwise grant a license for patent rights or any other rights belonging to us or third parties 3 This user s manual and this emulator are copyrighted with all rights reserved by us This user s manual may not be copied duplicated or reproduced in whole or part without prior written consent of us About diagrams The diagrams in this user s manual may not all represent exactly the actual object REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 5 of 100 M3062PT2 EPB User s Manual Precautions for safety Precautions for Safety Definitions of Signal Words 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 A A DANGER A WARNING CAUTION CAUTION IMPORTANT This symbol represents a warning about safety It is used to arouse caution about a potential danger that will possibly inflict an injury on persons To avoid a possible injury or death please be sure to observe the safety message that follows this symbol
73. in 0 65 mm pitch foot pattern NOPACK YQOPACK YQSOCKET YQ GUIDE and HQPACK are trademarks of Tokyo Eletech Corporation A CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system The connectors of the M3062PT 80FPB are guaranteed for only 50 insertion removal iterations REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 31 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 2 Connecting to a 100 pin LCC Socket Here following is a procedure of connecting to a 100 pin LCC socket C61 1004 051 of Yamaichi Electronics Co Ltd on the user system using the included M30800T PTC 1 Attach the CN2 side of the M30800T PTC to the J4 side of the M3062PT2 EPB 2 Attach the M30800T PTC to the 100 pin LCC socket M3T FLX 160 EPB M3062PT2 EPB _ CN2 side 4 M30800T PTC Z 100 pin LCC socket P No 1pin lt a kap lt N User System Figure 2 9 Connecting to a 100 pin LCC socket A CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user 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
74. in 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 System Malfunctions If the emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Press the RESET button on the emulator front panel 2 If normal operation is not restored after step 1 shut OFF the emulator once and then reactivate it REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 8 of 100 M3062PT2 EPB User s Manual Contents Contents Page P AICO aries tes bn dale sss estcb E E E E E 3 FS SALSA AIS ae a E E EE E EE E E EE 3 AO e S E E E es 4 Precautions for Safety a genase snes cco sags ancients dein ees hotest ons sahceorgs cinniche sass desdinee hed ston rn tE str trD AAEE SEEE AAA EE SEENE Arrr SEEE ro rnEeE n sareen annern 6 US rs cea oea cig otek Ser Sterne sme ea deans dict omen dis oat Antr SAE eee nen teens aamice ees AAEE SAS EEEOEAEE SAAEED aicosusianeneneaieeoneiceuaces 9 User Registration sites setae os etn cred Ge recs Sercctsoras sae ctv ars cidieencet ctse len cu cecsanis el enee sarees seeps See eons Sct oes tees ean temeneeadeonan 11 TEMNO Y s E E a A a e E a 12 Te OUNO a e RE E EAEE NEA E E O E A EEEE E anaes 13 1 1 Package Components cccccssssceccesseecceeseeeceeece
75. ions Download Address match break max 8 points Software break max 64 points Program execution stop allows free run execution supporting software breaks Memory reference setting reference setting C variables run time execution Register reference setting Disassemble display C level debugging etc Real time trace function 256K cycle bus information recordable Bus external trigger time stamp 5 trace modes supported Break Before About A fter Full Can be recorded ON OFF by events Real time RAM monitor function 4 096 bytes 256 bytes x16 Data last access result Hardware break function 8 points Execution address bus detection interrupt external trigger signal Execution time measurement function Time between program start and stop Maximum minimum average execution time and pass count of specified four zones Count clock Equal to MCU Clock or 16 MHz 8 192 KB 256 KB x 32 blocks External trigger input event output External trigger input MCU dependent voltage CMOS level x8 or event output break x1 event x7 Host machine interface LPT parallel ECP EEP Byte compatibility and Nibble compatibility modes USB USB 1 1 full speed LAN LOBASE T Power supply to emulator Supplied from included AC adapter power supply voltage 100 240 V 50 60 Hz Available to connect the host machine that supports USB 2 0 With the USB interface not all hardware such as host machine USB devices USB h
76. ith a period Specify the port number at the Port area Specifying the communication interface USB communication For selecting the USB communication click the radio button USB of the MCU tab The emulators connected by USB cable are shown at Serial No area Select the serial No of the emulator you are going to connect Page 49 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 Executing the self check mit tMI6G REG POYS01 Emulator PGU Debugging Information Emulator Script Pett Feder fe LFT i Use Type Tarii BP Adbert l Self Ghack Debug Option Debe the panam usreg the CPU Ferrite Woda Cancel Holp T Next Hide 4 Using or not using the address match break function Init M16G REG PO7S01 Emulator fe Debugging Pii mation E pra ba tice Script mL Peier LPT fc LAH i LSB Type fauta gri O Addes 17h Salt Covet Debus the pogam usme the CPU Femte Hoda Cancel Holp I Next Hide 5 Using or not using CPU rewrite mode Init M16C REC PO7501 Emulator MEU Debugging information Emulator Script BAT Ahate Debue Option I Enable the Addrcce Match Interrupt Break Function Debus ihe program using the GPU Femte Mods Cancel Help Med Hide REJ10J0868 0100 Rev 1 00 2005 04 16 rCENESAS Executing the self check Enable this function when you want the emulator to be self checked at startup
77. ks and their initial settings Table 2 4 Clock supply to the MCU Display of E nical Internal oscillator circuit board Yes OSC 3 or OSC 2 Main Xin Xout External Oscillator circuit on the user system oo owe O omas 1 0 16 0 MHz ee a Sub XcIN XCOUT 32 768 kHz Oscillator circuit on the user system IMPORTANT Notes on Changing the Clock Supply The clock supply can be set by the Init dialog box when starting up the emulator debugger or inputting CLK command on the script window 2 11 2 Using an Internal Oscillator Circuit Board 1 Kinds of Oscillator Circuit Boards The PC7501 comes with an oscillator circuit board OSC 3 30 MHz And an oscillator circuit board OSC 3 16 MHz and an oscillator circuit board OSC 2 bare board are included with this product If you use the internal oscillator circuit board OSC 3 16 MHz or OSC 2 of the PC7501 as a main clock choose Internal in the emulator debugger after replacing oscillator circuit boards to change a clock supplied to an MCU REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 43 of 100 M3062PT2 EPB User s Manual 2 Setu 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 20 Figure 2 20 Removing the upper cover REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 44 of 100 M3062PT2 EPB User s Manual 2 Setup 2 Replace the oscillator circuit
78. left 4d AD RD After address RD signal output delay time 0 td AD WR After address WR signal output delay time 0 tdz RD AD ddress output floating start time 8 J 5 1 Calculated by the following formula according to the frequency of BCLK 0 5x10 f BCLK 2 Calculated by the following formula according to the frequency of BCLK n 0 5 x 10 B f BCLK ns n 2 for 2 wait 3 Calculated by the following formula according to the frequency of BCLK 0 5x10 B f BCLK 4 Calculated by the following formula according to the frequency of BCLK 0 5x10 ee fns f BCLK REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 77 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications Read timing teye th BCLK CS SS BCLK td BCLK CS 4 gt aa CSi lt _ th RD CS _tac3 RD DB td AD ALE th ALE AD E 7 x lt a ADi an TE EN o Hi Z gt Be S DBi ON i ve td2 RD AD A a m EL z RD AD En e tsu DB 8 th RD DB td AD RD a T th BCLK AD s gt td BCLK AD s n ADi BHE A E E AN BOLCALE l s PN td BCLK RD E th BCLK ALE gt i lt th BCLK RD i Write timing lt Ler gt th BCLK CS lt lt td BCLK CS r i i i CSi 3 T i th WR c td AD ALE th ALE A
79. n Memory Debugging information is stored in the internal memory of your computer This method is suitable when the load module user program size is small On Demand Debugging information is stored in a reusable temporary file on the hard disk of your computer Because the stored debugging information is reused the next time you download the same load module it can be downloaded at high speed This method is suitable when the load module user program size is large Specifying the target clock Specify the clock sources supplied to the MCU main clock and sub clock Select the appropriate clock sources according to the clock used by your target MCU Internal default Emulator PC7501 s internal clock External User system clock Generated Clock created in PC7501 The option you have specified here remains effective the next time you start up Selecting the event output triqger input cable Select input output of the event output trigger input cable of the PC7501 Input from External Trigger default Inputs the external trigger from the cable Output Events Outputs events from the cable Input from External Trigger is set at startup the previous setting becomes null Page 51 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 4 Automatically executing a script command Init M16G R amp C PGY501 Emulator mi LI Debuee ine Information Emulator Script hit File
80. n mode or microprocessor mode with this product the emulation memory can be allocated The emulation memory can be specified up to 4 areas by 4 MB in the MAP tab of the MCU setting dialog box of the emulator debugger Each maximum operating frequency is as follows Maximum operating frequency at 5 0 V 0 wait 1 wait 2 wait 3 wait Maximum operating frequency at 3 0 V 0 wait 1 wait 2 wait 3 wait Note on Memory Area Expansion Function 4 MByte Mode When using the memory area expansion function 4 Mbyte mode please note that the memory to which the evaluation MCU is connected differs depending on processor modes and debugger settings For details refer to Table 1 1 below Table 1 1 Areas connected when using ue memory area expansion function 4 Mbyte mode KE ET ess atog t f Bl 40000h 7FFFFh ExT ExT mar E am ea T ar T a mo Memory expansion mode Seo th anne some th aah 80000h BFFFFh ext Microprocessor mode COO00h FFFFFh mae 40000h 7FFFFh_ ext ExT mar S0000h BFFFFh exr map 1 Indicates bit 3 at address aft 2 Indicates bit 2 at address OOOOBh 3 Indicates memory access in the user system 4 Indicates area access dependent on how the MAP tab of the debugger s MCU settings dialog box is set INT internal emulation memory of the PC7501 EXT memory in the user system REJ10J0868 0100 Rev 1 00 2005 04 16 2 CENESAS Page 90 of 100 M3062PT
81. ndard 4 Seeleft th RD CS Chip select output hold time RD standard D 4 th WR CS Chip select output hold time WR standard D 4 ftd BCLK RD RD signal output delay ime 3 See le th BCLK RD RD signal output hold time 0 Selft td BCLK WR WR signal output delay time S Seer let th BCLK WR WR signal output hold time 0 Selft td BCLK DB Data output delay time BCLK standard 40 See left thBCLK DB Data output hold time BCLK standard 4 Selft td DB WR Data output delay time WR standard See eft th WR DB Data output hold time WR standard D 6 td BCLK ALE ALE output delay time BCLK standar 25 __ Seelef A a E ae copa ean OTe sand td AD ALE ALE output delay time Address standard 3 S See left th ALE AD ALE output hold time Address standard 30 Seeleft td AD RD After address RD signal output delay time 0 See left td AD WR After address WR signal output delay time 0 See left tdz RD AD Address output floating starttime TS 1 Calculated by the following formula according to the frequency of BCLK 0 5x10 f BCLK 2 Calculated by the following formula according to the frequency of BCLK n 0 5 x 10 B f BCLK ns n 2 for 2 wait 3 Calculated by the following formula according to the frequency of BCLK 0 5x10 B f BCLK 4 Calculated
82. nfiguration of the M3062PT2 EPB system Host machine interface 1 Emulation probe LPT USB or LAN M3062PT2 EPB l ey aa SASAE TTT t ets del alin in sein sein Jenn alh a Feat Da a Jo M a Se PC7501 M30800T PTC Figure 1 2 System configuration 1 Emulation probe M3062PT2 EPB This is an emulation probe for the M16C 60 Series M16C 62P Group MCUs and contains an evaluation MCU 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 user system For details refer to 2 9 Connecting the User System page 31 3 Emulator main unit PC7501 The emulator main unit for the M16C family to be used with this product 4 Host machine A personal computer to control the emulator 5 User system This is your application system This emulator cannot supply the power to the user system Therefore design your system so that the user system is powered separately REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 15 of 100 M3062PT2 EPB User s Manual 1 Outline 1 3 2 Names and Functions of the PC7501 Upper Panel LEDs Figure 1 3 shows the names of the LEDs on the upper panel of the emulator System status Target status LEDs LEDs SYSTEM TARGET STATUS STATUS Figure 1 3 Names of the LEDs on the upper panel of the PC7501 1 System Status LEDs The system status LEDs indicate the emulator PC7501 s power supply firmware operating status
83. ng This chapter describes how to troubleshoot when this product does not work properly 5 1 Flowchart to Remedy the Troubles Figure 5 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 user system is disconnected For the latest FAQs visit the Renesas Tools Homepage http www renesas com en tools Turning on emulator Upper panel LED Not normal of emulator 1 Check the connection of power supply cable See 2 5 Connecting the Power Supply for the Emulator page 24 Normal 2 Check that the power is properly supplied to the use system See 2 7 Downloading Firmware page 27 3 Restart the emulator system Init dialog box of emulator Not normal Error displayed debugger displayed 1 Check the operating environment etc of the emulator debugger See the user s manual of the emulator debugger Normal 2 Reinstall the emulator debugger MCU Setting dialog box of Not normal Error displayed emulator debugger See 5 2 2 MCU Setting Dialog Box Does Not Appear at Normal Emulator Debugger Startup page 94 Error displayed Program window of emulator debugger displayed Normal See 5 2 3 Errors Occur at Emulator Debugger Startup page 95 Emulator debugger startup completed Figure 5 1 Flowchart to remedy the troubles REJ10J0868 0100 Rev 1 00 2005 04 16
84. ng mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 82 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 5 Connection Diagrams Figure 4 7 shows a connection diagram of the M3062PT2 EPB This connection diagram mainly show the circuit to be connected to the user system The circuits not connected to the user system such as the emulator s control system are omitted Tables 4 8 and 4 9 show IC electric characteristics of this product for reference purpose IC20 P67 P60 P67 P60 N P77 P70 P77 P70 P84 P80 P84 P80 P97 P90 P97 P90 P117 P110 P117 P110 P127 P120 P127 P120 P137 P130 510kKO O Veet P137 P130 P141 P140 1000 ET P141 P140 P85 NMI gt lt P85 NMI P86 Xcout Rj P86 Xcout 74HC4066 M16C 62P I O Emulate 744C2066 510kQ Vcc1 P87 Xcin gt lt P87 Xcin 74HC4066 Xout gt Xout 74HC4066 gt 51kO O Vcc1 7WH125 AN7 ANO e gt lt P107 P100 c INT5 INT3 Pullup registers indicated by a 74HC4066 dashed line socket mounted a R3 09 Vec2 f IC8 R4 51kQ lt Vcc2 7 74HC4066 oon ak ae gt lt P07 P00 R2 00 Vcc2 a T S1IkQ 47 Vcc2 6 gt lt P27 P20 Port Emulation Wace 51kQ lt gt Vcc2 FPGA a gt lt P17 P15 a gt Vee2 oe Sie veel Bd 10 po P37 P30 P47 P40 P57 P
85. nnot supply power to the user system Therefore provide the user system with a separate power supply from that of the emulator The voltage of the user system should be as follows 1 When JP1 is set as Vecl Vec2 2 7 V lt Veel Vec2 lt 5 5 V When JP1 is set as Vcecl gt Vcece2 4 8 V lt Veel lt 5 2 V 2 7 V lt Vec2 lt Vecl Do not change user system power supply voltage after power has been activated REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 25 of 100 M3062PT2 EPB User s Manual 2 Setup 2 6 3 LED Display When the Emulator Starts Up Normally Figure 2 4 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 user system Check that the power is supplied to all the power terminals When the user system is not connected this LED does not light OFF Flashing SYSTEM STATUS LED display when the emulator starts up normally Figure 2 4 LED display when the power turned on PC7501 IMPORTANT Note on Memory Expansion or Microprocessor Mode To use the 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 If your MCU has two or more Vcc terminals the LED does not light unless power is supplie
86. nverter with an actual MCU REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 41 of 100 M3062PT2 EPB User s Manual 2 Setu 2 10 3 Pullup of Emulation Ports 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 kQ as necessary Figure 2 19 shows the positions of the pullup resistors And Table 2 3 lists the emulation port numbers and the pullup resistor part numbers Front side of the M3062PT2 EPBM IC23 NVdVF NI SJ0VWe dZ90EWSVSINANE SI AJA Wadd DUDUDLOUDODEDEDUUOTO TOTTUU TODDI OOUT 33 OM R80 bd A a Positions to install pullup resister arrays Figure 2 19 Positions of the pullup resistors Table 2 3 Emulation ports and eee resistor part numbers TET RMI RMI 51 KQ pullup kQ pullup P10 P17 RM2 51 kQ pullup P30 P37 P50 P57 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 42 of 100 M3062PT2 EPB User s Manual 2 Setu 2 11 Selecting Clock Supply 2 11 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 2 4 shows the cloc
87. o 1 pin 1 There three products are available in one package Figure 2 7 Connecting the user system according to user systems A CAUTION Note on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 30 of 100 M3062PT2 EPB User s Manual 2 Setup 2 9 1 Connecting to an 80 pin 0 65 mm pitch Foot Pattern Here following is a procedure of connecting to an 80 pin 0 65 mm pitch foot pattern on the user system using the M3062PT SOFPB not included For details on the M3062PT 80FPB not included refer to its user s manual 1 Attach the NQPACKO80SB included with the M3062PT 80FPB to the user system 2 Attach the YQPACKO80SB included with the M3062PT 80FPB to the NQPACKO80SB and secure it with the YQ GUIDE s 3 Attach the CN2 side of the M3062PT 80FPB to the J4 side of the M3062PT2 EPB 4 Attach the M3062PT 80FPB to the YQPACKO80SB M3T FLX160 EPB M3062PT2 EPB P CN 2 side 7 M3062PT 80 FPB not included Evaluation with actual MCU gt HQPACK080SB YQ GUIDE x4 not included _ YQPACK080SB NQPACK080SB MCU with flash a ROM etc These corners are not round 80 pin0 65 mm pitch 80P6S A foot pattern No 1 pin Available in one package o User system Figure 2 8 Connecting to an 80 p
88. on at the specified address The instruction at the preset address will not be executed Hardware break A hardware break is a function to break the program when the system detects a write read of data to from memory or a leading trailing edge of the signal entered from the external trace cable The former break function is called address break and the latter break function is called trigger break While the instruction at the address where the software break is set is not executed a hardware break is performed after the specified instruction is executed Target MCU This means the MCU you are going to debug User system This means a user s application system using the microcomputer to be debugged User program This means the program you are going to debug Evaluation MCU This means the MCU mounted on the emulation probe which is operated in the specific mode for tools sk In this user s manual this symbol is used to show active Low e g RESET Reset signal REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 12 of 100 M3062PT2 EPB User s Manual 1 Outline 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 M3062PT2 EPB package consists of the following items When unpacking it check to see if your M3062PT2 EPB contains all of these items Table 1 1 Package components Item
89. opping may cause a malfunction of the emulator Note on HOLD Input Be sure to input L to pin HOLD of the user system during the user program executing when the RUN status LED on the PC7501 s upper panel is lit Inputting L to pin HOLD during the user program stopping may cause a malfunction of the emulator Note on NMI Input A low input to pin NMI from the user system is accepted only when a user program is being executed only while the RUN status LED on the emulator s upper panel is lit REJ10J0868 0100 Rev 1 00 2005 04 16 2rCENESAS Page 80 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications IMPORTANT Note on Voltage Detect Circuit With this product as the power voltage cannot be change after powering on the user system the voltage detect circuit voltage down detect interrupt voltage down detect reset etc cannot be used with this product 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 memory window of the emulator debugger etc A reset vector area can be changed only when a program is stopped Do not access the rest vector area as data It may not be accessed properly an
90. ory expansion mode and microprocessor mode 2 wait accessing external area using multiplex bus Table 4 6 Memory expansion mode and microprocessor mode 2 wait accessing external area using multiplex bus Actual MCU This Item ns ns OO a td BCLK AD Address output Address output delay time time e s S eee a th RD AD Address output hold time RD standard D 6 th WR AD Address output hold time WR standard D 6 td BCLK CS Chip select output delay time 50 Selef th BCLK CS Chip select output hold time BCLK standard 4 Selft 4h RD CS Chip select output hold time RD standard D 6 4h WR CS Chip select output hold time WR standar D ABCLK RD RD signal output delay time See le th BCLK RD RD signal output hold time 0 Selft td BCLK WR WR signal output delay time See let th BCLK WR WR signal output hold time 0 Selft td BCLK DB Data output delay time BCLK standard 50 See left thBCLK DB Data output hold time BCLK standard 4 See left td DB WR Data output delay time WR standard See eft th WR DB Data output hold time WR standard D 6 td BCLK ALE ALE output delay time BCLK standar seit A a E ae copa oan OTe a td AD ALE ALE output delay time Address standard 3 Seelet th ALE AD ALE output hold time Address standard 30 See
91. ovew FTO i Al mov w dsizeaf SECT _ RS emovt b endm Macro TOP sECT_ b 00H ROL ti TOP_ amp OFFFFH At sizeof SECT_ R3 N BCOPY macro FROM TU_ SECT_ mow w CFROW_ amp OFFFFH A chs moy b CFROW gt gt 16 R1H move FTO At mov sizeof SECT R emove b Endi REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 59 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 3 Hardware Breakpoint Setting Window 1 Breakpoint setup dialog box 1 Opening the hardware breakpoint setup dialog box Hardware Break Point Em gm Fa i Clicking this button opens the hardware breakpoint setup dialog box 2 Hardware Break Point Setting Window in initial state H W breakpoint Setting 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 Py H W Break Point Setting Window ACCE CONDITION 1 Al 00061 TCH addr OFO061 A2 QO0000 FETCH addr 66000 Setting Break Event A3 000000 FETCH addr 000000 Click the event line at which you want set a break i 1 1 A4 OOO000 FETCH addr 000000 event 1 A5 000000 FETCH iadd 000000 1 46 000000 FETCH addr 000000 1 A 000000 FETCH addr 000000 1 48 OO0000 FETCH addr DOO00D OOOOOOO8 Combination PID AND Detail Enable Detail Reset Save Load Set Glose REJ10J0868 010
92. per Cover Always shut OFF power when changing the switch settings or connecting the cables Otherwise the internal circuit may be damaged REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 40 of 100 M3062PT2 EPB User s Manual 2 Setu 2 10 2 A D Conversion Bypass Capacitors There is a foot pattern on the M3062PT2 EPBM board for mounting bypass capacitors for the A D conversion circuit near the MCU Mount suitable bypass capacitors as occasion demands Figure 2 18 shows where they are installed and the configuration of this product Front side of the M3062PT2 EPBM MI EO Gd4 lLdzZ90EWSVS3N Cc N NV VdVPF NI 3AYNS
93. program executing each function call as one step H Step Out Exists a function and stops at a statement in the program next to the one that called the function smor STOP Stops the program REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 57 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 Setting break points 1 Screen after software breakpoint setup 63 MW BfEROU mac 6 44 E0033 w mov b 65 003a 66 FOS mov W A t0041 satr b 68 endm bo 70 M_BCOPY Nac Ti tuai mov W Te fO064 mow b 73 t00 eT mov w T4 tuuba mov W 75 0066 g gt amowf b 76 endm Te 75 BEZERO MAC 79 fO09d Push w 50 t00al Push w S1 foo0a5 Pusha 5z to00ag Pusha A7 REJ10J0868 0100 Rev 1 00 2005 04 16 ro TOP SECT_ HOOH ROL OFFFFH sizeof SECT Fi ro FROW_ TO_ SECT_ IC FROM amp OFFFFH A0 TIRROM_ 3216 R1H TO N A feizeaf SECT_ R3 ro JOP_ SECT_ sizeof SECT _ gt gt 16 sizeof SECT amp Offf TOP 216 TOP amp Offffh CENESAS Breakpoint setup screen There are three types of breakpoints as described below Address match breakpoint This breakpoint can be set only when you chose to use the address match break function on the MCU tab of the Init dialog box A breakpoint can be set or cleared by double clicking in the address match breakpoint display area in the editor source window A blue circle is displayed at the
94. 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 Xw of an 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 Be sure to evaluate your system with an oscillator or oscillator module whose frequency is same as that of the internal oscillator circuit internal clock for final evaluation purposes REJ10J0868 0100 Rev 1 00 2005 04 16 2rCENESAS Page 47 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 Usage How to Use the Emulator Debugger This chapter describes how to start up the emulator debugger from the High performance Embedded Workshop 3 1 Starting Up the Emulator Debugger When debugging the completed programs switch the session The session can be changed by the drop down list of the tool bar shown below haa DefaultS ession ivi 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 target to be connected from the drop down list To connect to
95. r Debugger Startup Table 5 2 Checkpoints of errors at debugger startup Checkpoint Communication error occurred Check all emulator debugger settings interface cable settings and Data was not sent to the target switches on the rear of the PC7501 match See the user s manuals of PC7501 and emulator debugger User system cannot be properly built 1 Download the proper firmware See 2 7 Downloading Firmware page 27 2 Recheck the connection between the PC7501 and this product See 2 4 Connecting the PC7501 page 23 Emulator s version is not the same version as Download the proper firmware the firmware in the target See 2 7 Downloading Firmware page 27 Target MCU 1s in the reset state 1 Check the reset pin of the user system is pulled up 2 Check the reset pin of the user system has changed from L to H level Target MCU cannot be reset 1 Check that the NMI pin is at H level 2 In memory expansion mode or microprocessor mode check pins RDY and HOLD are at H level 3 If the reset circuit of the user system has a watchdog timer disable the watchdog timer 4 Check that power is properly supplied to the user system and that the user system is properly grounded Target is in HOLD state 1 In memory expansion mode or microprocessor mode check pins RDY and HOLD at H level 2 The MCU is either in stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt
96. r supply for the emulator vy Connect the user system Connect the user system as occasion demands MA A E EE Turn ON the power to the emulator and the user system as E P PPY simultaneously as possible MA Check that system status LED and POWER CLOCK RESET and Check the LED display of the emulator WARNING of target status LED are lighting When the user system is not connected the POWER LED does not light up M Start up the High performance Embedded Workshop and the High performance Embedded Workshop emulator debugger M Set the INIT dialog box and MCU Setting dialog box of the y Debug a program with various functions of For how to use the High performance Embedded Workshop and the the emulator debugger emulator debugger refer to each online manual Figure 2 1 Flowchart of starting up the emulator REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 20 of 100 M3062PT2 EPB User s Manual 2 Setup 2 2 Installing the Emulator Debugger Renesas Debugger Package for M16C If the OS used in your host machine is Windows XP or 2000 this installation must be executed by a user with administrator rights Be aware that users without administrator rights cannot complete the installation Install the emulator debugger Renesas Debugger Package for M16C following the procedure described below 2 2 1 Installing the Emulator Debugger 1 2 3 4 5 Downloading the Renesas Debugger Package for M1
97. ram to a specific address Therefore if a DMA request is generated by a timer or other source while the user program is stopped DMA transfer is executed However make note of the fact 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 user program is stopped 1 DMAO transfer count register TCRO 2 DMA1 transfer count register TCR1 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 81 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications IMPORTANT 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 kQ as necessary The initial value of pullup control register 1 PURI of this product is different from that of an actual MCU When a Vcc level is input to pin CNVss the value of an actual MCU is 02h bit 1 PU11 is 1 while that of this product is 00h Note on Setting 1 to Protect Bit 2 PCR2 with Sub Clock When the CPU clock is set to the sub clock low speed mode or low power dissipation mode even if you enable the PRC2 bit writing to the register protected by the PRC2 bit PD9 S3C and S4C cannot be done properly When you enable the PRC2 bit and write to the register protected by the PRC2 PD9 S3C and S4C do not set
98. s Init M16 REC PG7501 Emulator Ha MEU Debugging Information Emulator Script MEL 5 C LPT LAN USB IP Address f10 15 63 160 are Port Fo M Self Check _ Debug Option W Enable the Address Match Interrupt Break Funetion Debus the program using the CPU Rewrite Mode _Gancet__ Help I Next Hide Init M16G RBC PG7501 Emulator X MOU Debugging Information Emulator Script Me LI Refer_ CLF C LAN f USB Serial No 3HS0503 Target Self Check r Debug Option fv Enable the Address Match Interrupt Break Function Debug the program using the CPU Rewrite Mode Help Next Hide REJ10J0868 0100 Rev 1 00 2005 04 16 2 CENESAS Specifying the communication interface LPT communication For selecting the LPT communication click the radio button LPT of the MCU tab For the Type area specify the LPT interface communication mode to be used Specify the I O address of the parallel port at the I O address area For BIOS setup the following addresses are available 378h 278h Specifying the communication interface LAN communication For selecting the LAN communication click the radio button LAN of the MCU tab Specify the IP address of the emulator at the IP address area Specify the IP address by one byte of decimal number separating each four bytes w
99. s metal objects or anything combustible Warning for Installation Do not set this product in water or areas of high humidity Make sure that the product does not get wet Spilling water or some other liquid into the product may cause unrepairable damage Warning 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 7 of 100 M3062PT2 EPB User s Manual Precautions for safety CAUTION Cautions to Be Taken for Turning On the Power Turn ON OFF the power of the emulator and user system as simultaneously as possible Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged When turning on the power again after shutting off the power wait about 10 seconds Cautions to Be Taken for Handling This Product Use caution when handling the main unit Be careful not to apply a mechanical shock Do not touch the connector pins of the emulator main unit and the target MCU connector pins directly Static electricity may damage the internal circuits Do not pull this emulator by the communications interface cable or the flexible cable for connecting the user system And excessive flexing or force may break conductors Do not flex the flexible cable for connecting to the emulator ma
100. sconnect it 2 Set the switches as the factory settings to execute the self check see Table 2 1 3 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 4 Check the SAFE LED starts flashing and then press the system reset switch again 5 The self check will start If the normal result is displayed in about 30 seconds the self check terminated normally OFF Flashing SYSTEM STATUS Maintenance mode started When the firmware does not support the emulation probe ERROR 1 When the emulation probe is not connected properly SAFE and ERROR flash SYSTEM STATUS ERROR 2 SAFE flashes and ERROR lights SYSTEM STATUS ERROR 3 SAFE and ERROR light alternately ERROR 4 SAFE goes out and ERROR lights Emulation probe status error Figure 2 6 LED displays in the self check Table 2 1 Switch settings of the JP1 Switch p 2 7 V lt Vecl Vec2 lt 5 5 V VCC1 2 VCC1 gt 2 Factory setting and VCC1 gt 2 2 7 V lt Vec2 lt Vccl REJ10J0868 0100 Rev 1 00 2005 04 16 RENESAS Page 28 of 100 M3062PT2 EPB User s Manual 2 Setup 2 8 2 If an Error is Detected in the Self check If the self check does not result normally ERROR 1 to ERROR 4 in Figure 2 6 check the following 1
101. seeeeeeeseeeeeeeaeeeeeeeseeeeeeeas 32 2 9 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 cccceceseeeeeeeeeeeeeeeeeeeeseeeeeeseeeeeeeas 33 2 9 4 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 cccceccccsseeeeeeeeeeeeeeeeeeesseeeeesaeeeeeens 34 2 9 5 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 3 cccccccsseeseeeeeeeeeeeeeeeeeseeeeeeseeeeeeens 35 2 9 6 Connecting to a 100 pin 0 5 mm pitch Foot Pattern Part 1 cc cecccccssseeeeeseeeeeesaeeeeeeeeeeeeeaeeeeeeeees 36 2 9 7 Connecting to a 100 pin 0 5 mm pitch Foot Pattern Part 2 cccecccccsseeeeeeeeeeeeseeeeeesaeeeeesneeeeeenees 37 2 9 8 Connecting to a 100 pin 0 5 mm pitch Foot Pattern Part 3 eecccccsseeeeeeeeeeeeeeeeeesaeeeeeseeeeeeeees 38 2 9 9 Connecting to a 128 pin 0 5 mm pitch Foot Pattern 0 0 0 0 ccc cccccceeeeeceeeeeseeeeeseeeeseeeeeseeeeseeeeseeeeeas 39 MO Tales a EM seco nice E easel gene acts RE E Sez ce anta hoe E 40 2 10 1 Switch Settings of the DPA wcscsiccc scsi sive ada teensetectiniaancseiwsscudinndecepsiunswsests aa ea E aA ARARE E Ed 40 2 10 2 A D Conversion Bypass Capacitors ccccccccccceecccceececaeeceeeececeeceseeeeeeeeeeeseecesseeeesseeeesseeeeseeeeesaeeenas 41 ZNO PUN OrE MUSUN PON aa E ET E EE E A E 42 211 Selecting Clock SUPPI coireanna i a a EEO AELE EEE aD Ga Da EE EEA NE EENAA 43 rE E E E e E E IIA T cla TE A ete E A A 43 2 11 2 Using an Internal Oscillator Circuit Board 0 0 0 cc
102. send your product to us for repair at your expense 6 5 How to Make Request for Repair If your product is found faulty follow the procedure below to send your product for repair Customer Fill in the Repair Request Sheet included with this product then send it along with 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 Distributor After checking the contents of fault the distributor should please send the faulty product along with the Repair Request Sheet to Renesas Solutions Corp Renesas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience CAUTION Note on Transporting the Product When sending your product for repair use the packing box and cushion material supplied with this product when delivered to you and specify handling caution for it to be handled as precision equipment 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 this product usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 98 of 100 Emulation Probe for M16C 60 Series M16C 62P Group User s Manual M3062PT2 EPB Publication Date Apr 16 2005 Rev
103. setting line Up to eight breakpoints can be set When this limit is exceeded software breakpoints are set The address match break causes the program to stop before executing the address at which a breakpoint is set Software breakpoint A software breakpoint can be set or cleared by double clicking the software breakpoint display area in the editor source window A red circle is displayed at the setting line This is rewritten to a break instruction therefore because of rewriting flash ROM program execution starts with a delay of several seconds after setting ROM area If the breakpoint you set is a software breakpoint the program stops before executing the instruction at the set breakpoint Hardware breakpoint A hardware breakpoint can be set or cleared by right clicking the breakpoint display area If the breakpoint you set is a hardware breakpoint the program stops after executing the instruction at the set breakpoint after several cycles Page 58 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 4 Executing up to the cursor position Come command 1 Specifying the Come command setup procedure for executing COME command 1 Click the line in the program display area at which mov b you want the program to execute mov W _ mov W fsizeaf u Click the Come button setr o lt nacro FROM TO0_ SECT_ w OCPFROM amp OFFFFH Ad b 60 FROM_ gt gt 16 R1H m
104. sses Shows the blocks at the following addresses The background colors of the data display and the code display sections change with the access attribute as described below Green Addresses accessed for read Red Addresses accessed for write White Addresses not accessed The background colors can be changed as necessary RAM Monitor Area Setting Window in initial state By default the monitor area is set to 000400h through 0007FFh To Gurrent Assimed rea change it click the line you want to set Start Si Area 000400 4 000400 0007FF Specifying the start address Remove All You can set the start address of the RAM area to be monitored To add a RAM monitor area click the Add button The RAM Monitor Area Setting Window will be displayed 12 blocks S072 bytes are available lt 1 block 256 bytes SVE Load Glose 3 RAM monitor area setting dialog box cel RRAM Ar s E Specifying the start address You can set the start address of the RAM area to be monitored Specifying the size You can set the size to be monitored by specifying the number of blocks from the start address One block is 256 bytes in size REJ10J0868 0100 Rev 1 00 2005 04 16 rCENESAS Page 68 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications 4 Hardware Specifications This chapter describes specifications of this product 4 1 Target MCU Specifications Table 4 1
105. supplied It depends on the status of the oscillation on off of the user 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 user system clock and that of the user program execution Note on Operating Frequency You can not use this product with a main clock X y Xour less than 1 MHz To use it with a main clock less than 1 MHz contact your local distributor Note on Stop and Wait Modes Do not single step an instruction shifting to stop or wait mode It may cause communication errors Note on Returning from Stop Mode with the On chip Oscillator Clock When this product shifts from on chip oscillator mode or on chip oscillator low power dissipation mode to stop mode it cannot be returned with an interrupt other than the NMI Interrupts with which this product cannot return Key input interrupt INT interrupt Interrupts of timers A and B Serial I O interrupt Note on the Watchdog Function If the reset circuit of the user system has a watchdog timer disable it when using the emulator 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 Note on Protect Register The protect is not canceled when bit 2 of protect register PRCR PRC2 which enables writing into the port P9 direction register and the SI
106. t stake Please contact Renesas Technology Corp or an authorized Renesas Technology Corp 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 6 The prior written approval of Renesas Technology Corp is necessary to reprint or reproduce in whole or in part these materials T If these products or technologies are subject to the Japanese export control restrictions they must be exported 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 8 Please contact Renesas Technology Corp for further details on these materials or the products contained therein M3062PT2 EPB User s Manual Preface Preface The M3062PT2 EPB is an emulation probe for M16C 60 Series M16C62P Group MCUs The M3062PT2 EPB is used by connecting to the PC7501 emulator main unit This user s manual mainly describes specifications of the M3062PT2 EPB emulation probe and how to setup it For details on the following products which are used with the M3062PT2 EPB refer to each product s user s manual All the components of this product are shown in 1 1 Package components page 13 If there is any question or do
107. ta diagrams charts pro grams and algorithms represents information on products at the time of publication of these materials and are subject to change by Renesas Technology Corp without notice due to product improvements or other reasons It is therefore recommended that customers contact Renesas Technology Corp or an authorized Renesas Technology Corp product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Renesas Technology Corp assumes no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corp by various means including the Renesas Technology Corp Semiconductor home page http www renesas com 4 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 Renesas Technology Corp assumes no responsibility for any damage liability or other loss resulting from the information contained herein 5 Renesas Technology Corp semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially a
108. the CPU clock to the sub clock Note on Setting 1 to Protect Bit 2 PRC2 in Division by 2 Mode Under the following conditions even if you enable the PRC2 bit writing to the register protected by the PRC2 bit PD9 S3C and S4C cannot be done properly 1 Between when stop mode is released and when a hardware reset is executed 2 Between 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 PRC2 PD9 S3C and S4C set the CPU clock neither to the main clock in division by 2 mode nor to the on chip oscillator clock in division by 2 mode Note on the Input Thresholds for the Pins P1_5 D13 INT3 P1_6 D14 INT4 and P1_7 D15 INT5 With this product regarding pins P1_5 D13 INT3 P1_6 D14 INT4 and P1_7 D15 INTS a device which port or data bus inputs to and a device which INT interrupt inputs to are different as follows Device which port or data bus inputs to Port emulation FPGA input level TTL Device which INT interrupt inputs to Evaluation MCU for emulating peripheral functions input level CMOS Schmidt Therefore the port input level can be read as H immediately after an INT interrupt falling and the port input level can be read as H immediately before an INT interrupt rising Note on Final Evaluation Be sure to evaluate your system with an evaluation MCU Before starti
109. the PC7501 M16C Emulation Probe select SessionM16C_R8C_PC7501_ Emulator 3 1 1 INIT Dialog Box After specifying the session an Init dialog box to connect the target is displayed The Init dialog box is used to set the items that need to be set when the emulator debugger starts up The contents set in this dialog box remain effective the next time you start the debugger 1 MCU tab 1 Specifying the MCU file Init M16G ROG PG7501 Emulator Be Specifying the MCU file Specifying the MCU file MEU Debugging Information Emulator Script 1 Click the Refer Button 2 Select MCU File dialog box will be displayed Specify the MCU file M16C62P_512 MCU for the target MCU MEU LPT F LAH The MCU file contains the information specific to the Type AUTO Ae target MCU The MCU file you have selected 1s displayed in the MCU section of the MCU Debug Option tab bo Addiers J Pah ha Self Check Ww Enable the Address Match Piemupt Gresk Function Debe the program using the GPU Peserite Moda Cancel Help Next Hide REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 48 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 2 Specifying the communication interface Init MH16G RAG PGS01 Emulator FO Adhere l Self Check Debus Option Ww Enable the Address Match Internat Break Function O Debus the pogam use the GPU Reeite Mod
110. 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 user system using the M3T FLX 1OONRB not included For details on the M3T 100LCC DMS not included and M3T FLX 100NRB refer to each user s manual 1 Attach the NQPACK100RB included with the M3T FLX 100NRB to the user system 2 Attach the YQPACKI1IOORB included with M3T FLX 100NRB to the NQPACKIOORB and secure it with the YQ GUIDE s 3 Attach the M3T FLX 100NRB to the NQPACK100RB 4 Attach the M3T 100LCC DMS to the M3T FLX 100NRB 5 Attach the CN2 side of the M30800T PTC to the J4 side of the M3062PT2 EPB 6 Attach the M30800T PTC to the M3T 100LCC DMS _ M3T FLX 160 EPB lt M3062PT2 EPB 5 J CN 2 side 5 __M30800T PTC K we M3T 100LCC DMS not included ve l 4 M3T FLX 100 NRB not included Ti S x 2 D N Sy LED Evaluation with a lt a l P actual MCU oe JON l 3 YQ GUIDE x4 gt Poe pra Pa M m PY HQPACK100RB168 db not included 2 YQPACK100RB s Vi whe 2 eae St eZ Ser 1 LD Dy S wil e J D E 2 g B ES l 2 NQPACK100RB MCU with flash Vv 4 ROM etc These corners are not round i 100 pin 0 65 mm pitch 100P6S A foot pattern So oe lt No 1 pin p n 2 2 s Se Available in one package ox User system Figure 2 12 Connecting to a 100 pin 0 65 mm pitch foot pattern Part 3 A CAUTION
111. tware breaks change the instruction at a specified address to a BRK 00h Therefore take note that when you reference the result of a trace in bus mode 00h is displayed The BRK instruction can be used 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 an MCU during user program execution while you can set or cancel it in the internal RAM area of an MCU or an area where chip select CS3 to CSO are set to INTERNAL emulation memory 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 an MCU Therefore address match breaks precede the other breaks when setting breakpoints in the internal flash ROM area of an MCU Address match breaks can be set only in RAM and ROM areas of an MCU Address match breaks can be set at up to eight 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 Notes on Power Supply to the User System Pins Vccl and Vcc2 are connected to the user system to observe the voltage Therefore the power is not supplied to the user system from the emulator design your system so that the user system is powered separately The voltage of the user system should be as follows 1 When JP1 is set as Vecl Vec2
112. ub combination will work and guaranteed REJ10J0868 0100 Rev 1 00 2005 04 16 rCENESAS Page 18 of 100 M3062PT2 EPB User s Manual 1 Outline Table 1 6 Specifications of the M3062PT2 EPB 2 2 see 2 9 Connecting the User M3062PT 80FPB not included M30800T PTC included IC61 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 DUMMY 100S not included 3 M30800T PTC included M3T 100LCC DMS not included M3T FLX 100NRB not included For 100 pin 0 5 mm pitch LQFP 100P6Q A 1 M3T F160 100NSD not included 2 M30800T PTC included M3T 100LCC QSD not included 3 M30800T PTC included M3T 100LCC DMS not included M3T FLX 100NSD not included For 128 pin 0 5 mm pitch LQFP 128P6Q A M3T FLX 128NRD not included 1 5 Operating Environment Be sure to use this emulator with the operating environmental of the emulator and host machine listed in Tables 1 6 and 1 7 Table 1 6 Operating environmental conditions Item Operating temperature 5 to 35 C no dew Storage temperature 10 to 60 C no dew Table 1 7 Operating environment of the host machine Item Host machine IBM PC AT compatibles OS Windows Me Windows 98 Windows XP Windows 2000 Pentium HI 600 MHz or more recommended Memory 128 MB or more recommended Pointing devi
113. ubt about this product contact your local distributor The related manuals for using this product are listed below You can download the latest manuals from the Renesas Tools homepage http www renesas com en tools Related manuals High performance Embedded Workshop User s Manual M3T PD30F User sManual S M3T PD30F User s Manual C compiler package for R8C Tiny M16C 60 30 Tiny 20 and 10 Series Compiler User s Manual C compiler package for R8C Tiny M16C 60 30 Tiny 20 and 10 Series Assembler User s Manual REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 3 of 100 M3062PT2 EPB User s manual Important Important Before using this product be sure to read this user s manual carefully Keep this user s manual and refer to this when you have questions about this product Emulator The emulator in this document refers to the following products that are manufactured by Renesas Technology Corp 1 PC7501 main unit 2 Emulation probe 3 Package converter board for connecting the user system The emulator herein does not include the customer s user system and host machine Purpose of use of the emulator This emulator is a device to support the development of a system that uses the M16C Family M16C 60 Series M16C 62P Group of Renesas 16 bit single chip MCUs It provides support for system development in both software and hardware Be sure to use this emulator correctly according to said purpose of
114. ulator Debugger To restart the emulator debugger always shut power to the emulator module off once and then on again 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 user 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 1s 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 REJ10J0868 0100 Rev 1 00 2005 04 16 CENESAS Page 87 of 100 M3062PT2 EPB User s Manual 4 Hardware Specifications IMPORTANT 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 user system clock and that of the user program execution 2 When External is selected A clock generated by the oscillator in the user system is
115. user system refer to 2 11 4 Using the Oscillator Circuit on the User System page 47 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 user 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 an actual MCU 8 Address and status of BHE When the internal RAM or ROM area of an 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 10 Operation after releasing the reset After releasing the reset for about max 380 cycles a program to control the emulator will be executed Note that this will be included in the user program execution time and tracing result Note on RESET Input A low input to pin RESET from the user system is accepted only when a user program is being executed only while the RUN status LED on the emulator s upper panel is lit Note on RDY Input Be sure to input L to pin RDY of the user system during the user program executing when the RUN status LED on the PC7501 s upper panel is lit Inputting L to pin RDY during the user program st
116. w the bus timing in memory expansion mode and microprocessor mode Table 4 5 Memory expansion mode and microprocessor mode 3 wait accessing external area Actual MCU This ema Item ns ns aoa Ia td BCLK AD Address output Address output delay time time eo th BCLK AD Address output hold time BCLK standard 4 Seel th RD AD Address output hold time RD standard 0 6 th WR AD Address output hold time WR standard 6 6 td BCLK CS Chip select outputdelaytime S 30 See left th BCLK CS Chip select output hold time BCLK standard 4 f Seeleft td BCLK ALE ALE signal output delay time 30 See left th BCLK ALE ALEsignaloutputholdtime 4 self td BCLK RD RD signal output delay time 30 Seer left th BCLK RD RD signal output hold time 0 Seeleft td BCLK WR WR signal output delay time 30 See left th BCLK WR WR signal output hold time 0 Seeleft td BCLK DB _ Data output delay time BCLK standard 40 Seeleft thBCLK DB Data output hold time BCLK standard 4 Seeleft td DB WR Data output delay time WR standard D Seeleft th WR DB Data output hold time WR standard 6 6 1 Calculated by the following formula according to the frequency of BCLK n 0 5 x 10 40 ns n 3 for 3 wait f BCLK 2 Calculated by the following formula according to the frequency of BCLK 0 5x10 f BC
117. which the specified condition was not met are written into memory addr 090000 addo 000000 When you have finished setting the trace write condition click this r PID button The Realtime trace Write Condition dialog box shown Hi I Ensble below will appear a j Write Conditigh Write mode Pick up i i i Only the cycle in which the specified Start event occurred M L A range of cycles from when the specified Start event occurred to when the specified Start event became nonexistent EE A range of cycles from when the specified Start event occurred to when the specified End event occurred rCENESAS Page 67 of 100 M3062PT2 EPB User s Manual 3 Usage How to Use the Emulator Debugger 3 5 RAM Monitor Window This function makes it possible to make reference to the changes in memory contents without impairing the real time performance for target program execution The emulator PC7501 system is provided with the 4KB RAM monitor area This RAM monitor area can be divided into the 16 block area in units of arbitrary continuous address or 256 bytes for mapping or layout 1 RAM monitor window el Ge fa RAM monitor l Mf z Clicking this button opens the RAM monitor window ao Changing the RAM monitor display area 000340 You can change the manner in which the RAM monitor area you have 100300 set in the above dialog box is displayed t 4 Shows the blocks at the preceding addre
Download Pdf Manuals
Related Search
Related Contents
User Guide GL08D - Y!mobile(ワイモバイル) Manual Técnico. - Iniciativas Murcia Cables Direct VGA-V180 V3 - ITA - Manuale installazione e Uso 1.444 kb Manual del usuario Medidor de monóxido de carbono Modelo CO10 TV One 1T-VS-558 video converter Samsung HT-TXQ120K Керівництво користувача User Manual Copyright © All rights reserved.
Failed to retrieve file