Home
R0E3308B0EPB00 User`s Manual
Contents
1. E il m T HHI sws E PA P FNF 1 Q m gt J 0 a 7G 20 aF fiz gi E z ga 8 Q Qe H 1 lt AA gt ERS gT uw oE oF Be TT Zz E 1 9 LU B g 50H J B 46 a om g E a0 m a0 aE 1 lt oc ET oO ai 2 ml gi H 7 oc Ol oO PEGE is m mo Oo m fi o eel 0m Ooo A 5 O sg g z zS E amp 9 AVWCC OE p p Upjuu p OO nu a 5 oO AVSSEX INT ps7 xen Paes nc NCL xoUT 7 gt N AVss VREF ASE E ve E Ecs i mmc avec E AVcc AVss AVcc_ C1 C2 s A C1 C3 Vref Avss bypass capacitor C2 C4 AVcc Avss bypass capacitor Figure 2 19 Foot pattern for the A D conversion bypass capacitor on the ROE3308BOEPBMO REV C IMPORTANT Note on the A D Converter e Because a converter board and other devices are used between the evaluation MCU and the user system the A D converter operates differently from an actual MCU Make the final evaluation of the A D converter using an actual MCU R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 44 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 3 Usage Emulator Debugger This chapter describes how to start up the emulator debugger M3T PD308F as an example and how to use the major windows The settings
2. oJ avcc O C AVSS EX oO 0O o on oO of oO on 2 O O UU O OU O OU INT pst xon pas nc nch xouT JP1 SOSNOORSoRSocRAGosAoSssoosASooRsMoso 2 vcci SW5 ROE3308BOEPBM0 REV C VCC1 gt 2 Figure 2 12 Positions of the switches of the ROE3308BOEPBMO REV C R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 35 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 1 Setting JP1 SW1 to SW4 on the ROE3308BOEPBMO Table 2 2 shows the settings of JP1 SW1 to SW4 on the ROE3308BOEPBMO REV C Table 2 2 Switch settings of the ROE3308BOEPBMO0 REV C JP1 SW1 to SW4 Switch Switch name Setting Description 3 0 V lt VCCI VCC2 lt 5 5V Factory setting JP1 VDDIO x 4 8 V lt VCCI lt 5 2 V and 3 0 V lt VCC2 lt VCC1 AVCC Connects pins AVCC and AVSS of the MCU to the user system AVSS EXT INT AVCC i wl Factory setting AVSS Connects pin AVCC of the MCU to the internal power supply of the AO
3. eo Rev 2 00 RENESAS Page 30 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 2 9 1 Connecting to a 100 pin 0 5mm pitch Foot Pattern Part 1 Figure 2 8 shows how to connect the emulation probe to a 100 pin 0 5mm pitch foot pattern on the user system with M30800T PTC not included and M3T 100LCC QSD not included and here following is its procedure For details on the M30800T PTC and M3T 100LCC QSD refer to each user s manual 1 Attach the M3T 100LCC QSD to the user system 2 Attach the M30800T PTC to the ROE3308BOEPBOO 3 Attach the M30800T PTC to the M3T 100LCC QSD M3T FLX160 EPB ROE3308BOEPB00 CN2 side IE M30800T PTC not included M3T 100LCC QSD not included 100 pin 0 5mm pitch 100P6Q foot pattern User system Figure 2 8 Connecting to a 100 pin 0 5mm pitch foot pattern 1 3 A CAUTION Notes on Connecting the User System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator and user system e The small connectors of the ROE3308BOEPBOO and M30800T PTC are guaranteed for only 50 insertion removal iterations eo Rev 2 00 RENESAS Page 31 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 2 9 2 Connecting to a 100 pin 0 5mm pitch Foot Pattern Part 2 Figure 2 9 shows how to connect the emulation probe to a 100 pin 0 5mm pitch foot pattern on the user system with the M30800T PTC not include
4. Generated 16 0 External Internal default MHz EmulatorPC7501 s internal clock Sub Internal ce External Cable Select User system clock C Output Events Generated Thput from External Trigger Clock created in PC7501 The option you have specified here remains effective the next time you start up ge AW J Next Hide Selecting the event _output trigger 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 The option you have specified here is reflected at only startup However if you reset the option in the Init dialog box after starting up it is not effective reboot the PD308F Input from External Trigger is set at startup the previous setting becomes null R20UT0210EJ0200 Rev 2 00 Page 50 of 98 Sep 16 2010 RENESAS ROE3308BOEPBO00 User s Manual 5 Resume tab 1 Automatically executing a script command MCU Debugging Information Reset Emulator Fi hit File J Resume Auto Download Cancel Help T Next Hide 2 Restoring the last window state MCU Debugging Information Reset Emulator Ri Init File F I Auto Download Cancel Help P Next Hide 3 Usage Emulator Debugger Automatically executing a scr
5. ca Host machine LPT parallel interface cable Emulator PC7501 USB interface _ lt _ USB interface cable Emulator PC7501 Host machine LAN interface LD a J Us n __ 10BASE T cable Separately available F The LAN interface cable is not included Eee Emulator PC7501 Host machine Get 10BASE T cable separately To connect the emulator PC7501 directly to the host machine use a cross cable Figure 2 2 Outline for interface cable connections R20UT0210EJ0200 Rev 2 00 RENESAS Page 22 of 98 Sep 16 2010 ROE3308BOEPBO00 User s Manual 2 Setup 2 4 Connecting the PC7501 Figure 2 3 shows how to connect the PC7501 and the emulation probe M3T FLX160 EPB ROE3308BOEPB00 Note Connect the PCA7501EPBA board side to the M3T FLX160 EPB Figure 2 3 Connecting the PC7501 and emulation probe A CAUTION Cautions for Connecting the PC7501 e When connecting the emulation probe be sure to hold the both sides of the emulation probe horizontally and insert it directly e Connect the PCA7501EPBA board to the M3T FLX160 EPB e Always shut OFF power before connecting the emulation probe Otherwise internal circuits may be damaged e Make sure that the frequency of the oscillator circuit board mounted on the PC7501 is 16 MH
6. When the emulation probe is not working properly Figure 2 6 Self check procedure R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 28 of 98 ROE3308BOEPBO0 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 Recheck the connection of the emulation probe and PC7501 2 Redownload the proper firmware IMPORTANT Note on the Self check e If the self check does not result normally excluding user system errors the emulation probe may be damaged Then contact your local distributor eee Rev 2 00 RENESAS Page 29 of 98 ROE3308BOEPBO00 User s Manual 2 Setup 2 9 Connecting the User System There are eight ways available to connect the emulation probe to user systems as shown in Figure 2 7 Emulation probe 100 pin 0 5mm pitch 144 pin 0 5mm pitch M30800T PTC not included L 100LCC DMS not included lt d p M3T F160 100NSD M3T 100LCC QSD M3T FLX 100NSD M3T FLX 144NSD 100 pin LQFP 100 pin LQFP 100 pin QFP 144 pin LQFP not included not included not included not included Figure 2 7 Connection of the ROE3308BOEPBO00 and user system A CAUTION Note on Connecting the User System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator and user system
7. European Union regulatory notices Renesas development tools and products are directly covered by the European Union s Waste Electrical and Electronic Equipment WEEE Directive 2002 96 EC As a result this equipment including all accessories must not be disposed of as household waste but through your locally recognized recycling or disposal schemes As part of our commitment to environmental responsibility Renesas also offers to take back the equipment and has implemented a Tools Product Recycling Program for customers in Europe This allows you to return equipment to Renesas for disposal through our approved Producer Compliance Scheme To register for the program click here http www renesas com weee gt lt ese Rev 2 00 RENESAS Page 9 of 98 ROE3308BOEPBO00 User s Manual Contents Contents Page PTAC ete acasc tee at ca venccn anc eacees eancau gaia saceces laccuaaes ce deze teual eavinn sa cepeuueeeaateaesGer teases sucacsaetvauaccavetaseacetsaceaavuns atersascteayeuessguvereseas 4 IIT MOOMAM ssas aana ae a ea a a aaaea EE E A Ea a A dcuyeeuusebeva E A E EEG 5 Preca tions tor Safety sorcsniciinannan a a a a a aa a aat 7 User Registrato Musar e e a aaa ate E EAE a OENAR EaD aE DA A AEE EEEE RER RA 12 TEMNO Y oiei h a i E a aa aa a E a E ERE 13 AT e E A E E E E E E E E E N E N T 14 1 1 Package COMpone its iccscicsssscacccesaieeesaea sal cceadueecushs Vheaceeshikdesaeseeiddedaldcecedaedaisencdceuheseeystetsactee
8. F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea 82 2 558 3737 Fax 82 2 558 5141 2010 Renesas Electronics Corporation and Renesas Solutions Corp All rights reserved Colophon 1 0 ROE3308BOEPBO00 Users Manual 2rCENESAS R20UTO210EJ0200 Previous Number Renesas Electronics Corporation REJ10J1934 0101
9. RENES Page 61 of 98 ROE3308BOEPB00 User s Manual 3 Usage Emulator Debugger 4 Opening the break event setting dialog box Specifying the event type Click to select the event type you want to set FETCH Detects an instruction prefetch DATA ACCESS addr Address Detects a memory access 00000 gt 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 A1 Set Event St 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 62 of 98 ROE3308BOEPB00 User s Manual 3 Usage 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 addr Address1 moo 2 Window for setting data Setting data You can set eight conditions e g a specified data a 1 Set Event Status specified data range etc Setting the access condition mo You can set three conditions e g read write and read write When you have finished setting the data and Ra d i access condition cl
10. s Manual 2 Setup 2 6 4 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 power is supplied to all the power terminals When the user system is not connected this LED does not light POWER _ C POWER SAFE O O clock ERROR PRESET ru O WARNING TARGET STATUS ON OFF O Flashing SYSTEM STATUS Figure 2 4 LED display when the power turned on PC7501 IMPORTANT Note on Memory Expansion and Microprocessor Modes e To use memory expansion or microprocessor mode be sure to set pins RDY HOLD and NMI so that they are not active at start up Otherwise the emulator system will not start up correctly Note on CLOCK LED e If CLOCK LED does not turn on check the following 1 Immediately after starting PC7501 before starting the emulator debugger Check if the oscillation circuit within the PC7501 emulator main unit oscillates normally 2 After starting the emulator debugger after setting the Init dialog box Check the oscillation circuit set in the Init dialog box oscillates normally R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 26 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 2 7 Downloading Firmware 2 7 1 When It is Necessary
11. 3 0 to 5 5 V Basic debugging functions Download Software break max 64 points Program execution stop allows free run execution supporting software breaks Memory reference setting reference setting C variables run time execution Register reference setting Disassemble display C level debugging etc Real time trace function 256K cycle bus information recordable Bus external trigger time stamp 5 trace modes supported Break Before About After Full Can be recorded ON OFF by events Real time RAM monitor function 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 CO coverage 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 Expansion emulation memory Maximum operating frequency 32 MHz 10 10 Specifiable areas Max 4 areas Area size Contiguous 256 KB range or contiguous 1 MB range mixed setting of 256 KB range and MB range is available Emulation memory size 4 MB for 4 areas Specifiable bank For a
12. CENESAS T D o lt D 5 v ROE3308BOEPBO00 User s Manual Supported Devices M16C Family M32C 80 Series M32C 8B Group All information contained in these materials including products and product specifications represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice Please review the latest information published by Renesas Electronics Corporation through various means including the Renesas Electronics Corporation website http www renesas com Renesas Electronics www renesas com Rev 2 00 Sep 2010 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is
13. Notes on Power Supply to the User System cccccceeceeeeeeeeeeee eens eeeaeeeeaaeseeeeeeceaeeeeaaeseeeeeseeeesaeeeeeeeeneeess 82 Notes on Using This Product When the Voltage of VCC1 is Higher than That of VCC2 eceeeeeeeees 82 Notes on Clock Supply to an MCU cece ccc ceeneeecce eee aeeeeaee sees seas eeeaaesaaeeecaaeeeeaaesgaeeseeeeesaesseaeseeeeeeeneeess 83 Notes on Using the CPU Clock at Less than 10 MHZ c ececeeeeseeceee cesses eeeeee seas eeeeaeseeeeeseeeesaeeseeeeenaeee 83 Notes on Address Match Interrupt c ccccceceeececeeeeeeeaeeeesee scenes ceaeeeeaaeeseaeeseeaeeesaaeeseaeeseeeescaeeseaeeseeeeeneeess 83 Notes on EMEM Dialog BoX cccccceceeeeeeeeeeeeeeeeeceeeee inaaianei aaan aaaeaii iaaa aaia Niii an 84 Notes on Watchdog FUNGON seiis ssceevens eededeneses iaaa asta un escatial ovagiensesectesdeaaastsactetenaecestiesese 84 Notes on Debugging in CPU Rewrite Mode ceeccecesceeeeeeeeeeeee cee eeeeaeeeeaeeceeeeeeaaaesseaeeseeeeeaeeeeaaeseeeeeeeeeess 85 Note Oni S ftware Break oid iz ccceschc us Zap caveeedece oes yepgiveeeiete dies ancagndig lt ace a a aiiai iaaa ianiai 85 Notes on Service Life of the MCU s Internal Flash ROM L cccccccceeeeeseeceeeeseneeeeeaaeseeeeeseeeesaeeneaeeeeeeeees 85 NoteOni Protect Resistor o 322 fcocustenres3sg ete secs Sib wns a a E A aA 86 Note oN Memory ACCESS iaiia iurien uaiiie aiiai AR EA ARAE ARENE AA EAE ANEETA E EAE AKENE AEE 86 Notes On MCU FiI
14. but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers o
15. the following are also used as appropriate Z means WARNING or CAUTION SENS CAUTION AGAINST AN ELECTRIC SHOCK Omeans PROHIBITION a Qpisassemery PROHIBITED means A FORCIBLE ACTION i aa UNPLUG THE POWER CABLE FROM THE RECEPTACLE R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 7 of 98 ROE3308BOEPBO00 User s Manual Precautions for Safety A 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 touch 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 disconnec
16. 2 00 Sep 16 2010 RENESAS Page 11 of 98 ROE3308BOEPBO0 User s Manual User Registration User Registration When you install debugger software a text file for user registration is created on your PC Fill it in and email it to your local distributor If you have replaced an emulator main unit or emulation probe rewrite an emulator name and serial number in the text file you filled in earlier to register your new hardware products 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 contact your local distributor R20UT0210EJ0200 Rev 2 00 Page 12 of 98 Sep 16 2010 RENESAS ROE3308BOEPBO00 User s Manual Terminology Terminology Some specific words used in this user s manual are defined as follows e Emulator 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 emulator debugger e Emulator main unit Hereafter PC7501 This means an emulator main unit for M16C Family MCUs e Emulation probe This means the emulation probe this product for the M32C 8B Group MCUs e Emulator debugger M32C PC7501 Emulator Debugger o
17. 5 Unit mm Figure 4 4 External dimensions of the M3T F160 100NSD 4 4 3 External Dimensions of the M3T FLX 144NSD Figure 4 5 shows external dimensions of the converter board M3T FLX 144NSD for a 144 pin LQFP PLQP0144KA A i E 5 A y 2 2 I as 4 Eocsspoocde S PY w OsseesssssO A 3 2 o olo0o00 eee 1 z REH e gt T oo ooge as E 40 0 z sar Q Eeer i S Soan 00g A QZ 308 g A 2 z 20o oo Z E E B PERRA iw all 8 as m i lt y WI gt 16 2 21 5 Unit mm Figure 4 5 External dimensions of the M3T FLX 144NSD R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 81 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications 4 5 Notes on Using This Product Notes on using this product are listed below When debugging the MCU using this product be careful about the following precautions IMPORTANT Notes on Downloading Firmware e Before using this product for the first time it is necessary to download the dedicated firmware control software built into the PC7501 Please note that to do this it is necessary to start up the PC7501 in maintenance mode For firmware download procedures see 2 7 Downloading Firmware page 27 Once the firmware has been downloaded the produc
18. 64 KB of area starting from DO0000h are allocated for use by the debug monitor e The 64 KB allocated for the debug monitor cannot be used e The below areas cannot be set for the debug monitor 1 MCU internal resources ROM RAM SFR area 2 Multiplex area 3 Interrupt vector area e It is not possible to view or set the content of the specified area Even on the memory window or in the reverse assemble area of the program source windows the content of this area is not displayed correctly though it can be displayed 2 Processor Mode e Set a processor mode for the target MCU e To set single chip mode or memory expansion mode pin CNVSS used with MCU status must be L MCU status indicates pin level of the user system e To set microprocessor mode pin CNVSS used with MCU status must be H e To set memory expansion mode or microprocessor mode pins RDY and HOLD used with MCU status must be H e When the user system is not connected all modes are available 3 Emulation Memory Allocation e The memory mounted in the PC7501 can be allocated out e When single chip mode or memory expansion mode is set as a processor mode ROM area is automatically allocated to the internal Flash ROM of an MCU Therefore it is not necessary to deliberately specify the emulation memory as expansion area in order to allocate the ROM area e Except for the SFR RAM ROM and internally reserved areas all areas other than the set area are externally ac
19. DMA Write bytes by DMA RW Read words WW Write words DRW Read words by DMA Source display E Trace window TE Sire eres etme Woe sare rea sack step Zcome DWW Write words by DMA Range 65535 00000 Area Break File Exec Cycle 00036 Address F80 EO Time R W Line Address Source Shows the status of the data bus 00034 F801D2 00035 int ont Displayed as R for Read W for Write and for no 00036 F80106 volatile int i 0 00037 access 00038 F801D8 for cnt 0 cnt lt loopent cnt RWT 00040 ee j This is the signal to indicate a valid bus cycle When valid oot FR01E8 RWT 0 The Address Data and the BIU signals are 00043 a effective when this signal is 0 4 CPU Shows the status between the CPU and BIU Bus Interface Unit OPC Shows the op code size in the read data OPR Shows the code size except op code QN Shows the byte count stored in the instruction queue buffer The display range is 0 to 8 B T Shows the level of the trigger signal for break event EXTIN7 pin of external trace signal input cable purple QT Shows the level of the trigger signal for trace event EXTIN6 pin of external trace signal input cable blue 76543210 Shows the level of external trace signal input cable EXTINO to EXTIN7 h m s ms us Shows the elapsed time after starting the user program R20UT0210
20. Internal Oscillator Circuit e The internal generator circuit is equipped for temporary debugging purposes Temperature characteristics of frequencies are not guaranteed e 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 43 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 2 10 3 A D Conversion Bypass Capacitors There is a foot pattern on the ROE3308BOEPBMO board for mounting bypass capacitors for the A D conversion circuit near the MCU Mount applicable bypass capacitors as occasion demands Figure 2 19 shows the mounting location of the A D conversion bypass capacitors on the ROE3308BOEPBMO REV C and structure of this product
21. M3T 100LCC QSD User s Manual M3T FLX 100NSD User s Manual M3T F160 100NSD User s Manual M3T FLX 144NSD User s Manual Emulator main unit PC7501 User s Manual Emulator debugger M32C PC7501 Emulator Debugger User s Manual M3T PD308F User s Manual C compiler M32C Series C Compiler Package C Compiler User s Manual Assembler M32C Series C Compiler Package Assembler User s Manual Integrated development environment High performance Embedded Workshop User s Manual R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 4 of 98 ROE3308BOEPBO00 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 Electronics Corporation 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 M32C 80 Series M32C 8B Group of Renesas 16 32 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
22. ROE3308BOEPBO00 User s Manual 4 Hardware Specifications IMPORTANT Notes on A D Conversion When selecting the MCU file m308b0_ad mcu in the Init dialog box of the emulator debugger to execute the A D conversion debug note the following When setting the register below to use multi port sweep mode you need to set the direction register of port P15 e Because a converter board and other devices are used between the evaluation MCU and the user system the When using the analog input port selection function and if you select ANOO to ANO7 or AN20 to AN27 for the register below you need to set the direction register of port P15 for a pin that performs A D conversion to input And you need to set the function selection register of port P15 for a pin that performs A D conversion to I O port Furthermore set the SW5 switches of the ROE3308BOEPBMO for the pins used for the A D conversion to ON and the pins not used to OFF by each individual pin A D0 control register 2 address 394h b2 bl l 0 ANOO to ANO7 1 1 AN20 to AN27 Also when the PO and P2 groups are selected for A D input port P15 cannot be used as an I O port When setting the register above port P15 cannot be used as an I O port even if A D conversion is halting For the switch SWS refer to 2 10 1 Setting Switches of Emulation Probe page 35 for a pin that performs A D conversion to input And you need to set the function selection register of port P
23. STATUS OF TARGET does not light up Not connected 1 Check that both the main and sub clocks of the emulator debugger are not set to EXT See the CLK command of the emulator debugger 2 Check the oscillation circuit in the emulator is oscillating See 2 10 2 Selecting Clock Supply page 39 Connected 1 When the clock is supplied from an external oscillator check that the oscillator circuit in the user system is oscillating properly 2 Check the switches in the emulation probe is properly set See 2 10 1 Setting Switches of Emulation Probe page 35 The RESET LED of STATUS OF TARGET does not go out Connected Check that the reset pin of the user system is pulled up R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 89 of 98 ROE3308BOEPBO00 User s Manual 5 Troubleshooting 2 EMEM Dialog Box Does Not Appear at Debugger Startup Table 5 2 Checkpoints of errors at debugger startup Error Checkpoint Communication error occurred Data was not sent to the target Check all emulator debugger settings interface cable settings and 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
24. all blocks will be selected marked by a check mark so that none of the OK yut AJLI I Next Hide 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 56 of 98 ROE3308BOEPBO0 User s Manual 3 Usage Emulator Debugger 3 3 Program Window 1 Downloading the program 1 Initial screen of the program window a Initial screen of the program window View E Source Address BRK Objcode Label Mnemonic The program window is a window that always shows the content of the source file corresponding to the current position of the program counter It automatically opens 0 when the emulator starts up The program counter position is identified by the yellow background color Here you can execute the program up to the cursor position set or clear software breakpoints and line assemble the source file 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 Downloading the program File Download Downloads the user program Load Module Downloads machine language data and debug information Memory Image Downloads only machine language
25. data Symbol Downloads only debug information Rom Data Downloads machine language data additionally Reload Reloads the user program Upload Uploads the user program Saves the disassembled result Display after downloading the program F Procram Window Incrtoaso E Ge eee ee a e The program window has the following three display View E Source By Mix Vois modes Li 116 Source display mode 117 5 Displays the source file of the user program The source 118 mov b 02h 0ah file can be edited 00119 33 mov b 00h 04h set processer mode 120 mov b 01h 04h set processer mode Disassemble display mode 121 moy b 00h 0ah Displays the disassembled result of the user program 122 Ide 0080h flg 123 Idc stack_top s set stack pointer MIX display mode 124 Idc data_SE_top sb set sb register Displays the source file of the user program along with the disassembled result for that part of the program R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 57 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 2 Program execution 1 Resetting the user program RESET Resets the program 32 4 i Step Over Return Stop Beal SAW HAN Addr 2 Executing the user program GO Executes the program from the current PC position STEP 44 2 d d mh h fe Hie i co c lll So re ai le zi SAN Hw Addr Single steps the progra
26. following errors occur frequently during program download replace the emulation probe or request for repair 1 Flash ROM erase error occurred ERROR 16258 2 Flash ROM verify error occurred ERROR 16259 To purchase the product for replacement or request for repair contact your local distributor R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 85 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications IMPORTANT Note on Protect Resistor e A protect is not canceled when protect register bit 2 PRC2 which enables writing in the port P9 direction register and the function select register A3 is changed with the below procedure 1 Step execution of an instruction setting 1 PRC2 2 Setting a break point from an instruction setting 1 PRC2 to where the port P9 direction register or the function select register A3 is set 3 Setting 1 PRC2 from the dump window or script window during user program execution Note on Memory Access e When setting memory expansion mode as a processor mode it may be changed to memory expansion mode temporarily before the user program itself changes from single chip mode to memory expansion mode Take due consideration on this phenomenon in the following cases 1 Immediately before executing the program after setting a software break 2 Immediately after stopping the program when a software break is set Notes on MCU File Two types of MCU file are availab
27. granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this document
28. mode e 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 53 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 2 Emulation Memory tab 1 Setting the Bank Address of the Debug Monitor Seting the Bank Address of the Debug Monitor Status Emulation Memory Flash Clear l The debug monitor uses contiguous 64 KB as a work area of th lator Specify the bank address of the deb Debug Monitor Bank Address D0 E e ee E monitor E000 FFFF FCOOO0 FFFFFF is e g If DO is specified 64 KB area from D00000H address Internal ROM Area is used by the debug monitor Emulation Memory Allocation Bank Length Map Areal fio 256KB no Use Automatically Allocating the Emulation Memory of the Internal ROM hit 20 256KB z no Use zl When selecting the single chip mode or memory expansion Area 3 co hm z No Use E mode an emulation memory is automatically allocated to an internal ROM area The automatically allocated addresses of Area 4 E0 fi MB x No Use x the internal ROM are shown here IMPORTANT Notes on Setting a Debug Monitor Bank Address e It is not possible to view or set the content of the specified area Even on the memory window
29. side XOUT switch SW4 NC side A D conversion bit selection switch SW5 All lower side VDDIO switch JP1 VCC1 2 side ERROR WARNING TARGET STATUS SYSTEM STATUS Maintenance mode started ERROR 1 SAFE and ERROR flash ERROR 2 SAFE flashes and ERROR lights ERROR 3 SAFE and ERROR light alternately ERROR 4 SAFE goes out and ERROR lights er eel ee RUN WARNING TARGET STATUS SYSTEM STATUS Self check terminated normally PoweR cLock RESET RUN WARNING TARGET STATUS POWER O sare ERROR O SYSTEM STATUS Emulation probe and firmware do not match Power Power sare clock ERROR RESET RUN WARNING TARGET STATUS SYSTEM STATUS PC7501 system status error PoweR cLock RESET RUN WARNING TARGET STATUS POWER O sare ERROR SYSTEM STATUS Emulation probe initialization error PoweR cLock RESET RUN POWER O SAFE ERROR WARNING TARGET STATUS SYSTEM STATUS Emulation probe status error POWER POWER ON SAFE CLOCK OFF ERROR RESET Flashing When the firmware does not support the emulation probe When the emulation probe is not connected properly When the PC7501 system is not working properly When a clock is not supplied to the emulation probe
30. the ROE3308BOEPBOO and M3T F160 100NSD are guaranteed for only 50 insertion removal iterations e NQPACK YQPACK YQ GUIDE HQPACK are products of Tokyo Eletech Corporation R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 33 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 2 9 4 Connecting to a 144 pin 0 5mm pitch Foot Pattern Figure 2 11 shows how to connect the emulation probe to a 144 pin 0 5mm pitch foot pattern on the user system with the M3T FLX 144NSD not included and here following is its procedure For details on the M3T FLX 144NSD refer to its user s manual 1 Attach the NQPACK144SD included with the M3T FLX 144NSD to the user system 2 Attach the YQPACK144SD included with the M3T FLX 144NSD to the NQPACK144SD 3 Insert the YQ GUIDE s included with the YQPACK144SD to the YQPACK144SD 4 Attach the M3T FLX 144NSD to the YQPACK144SD 5 Attach the ROE3308BOEPBO00 to the M3T FLX 144SD M3T FLX160 EPB ROE3308B0EPBO00 CN2 side M3T FLX 144NSD not included On board evalution HQPACK144SD YQ GUIDE x4 not included YQPACK144SD ag pT FLASH MCU etc These corners are not round 2 NQPACK144SD 144 pin 0 5mm pitch 144P6Q foot pattern e lt q No ipin These four items are available in one package Figure 2 11 Connecting to a 144 pin 0 5mm pitch foot pattern A CAUTION Not
31. the firmware is about 60 seconds POR O SAE O ERROR O STATUS Downloading firmware started POMR O SAE O ERROR O O ON oF STATUS Flashing Download terminated Figure 2 5 Downloading firmware in maintenance mode IMPORTANT Note on Downloading Firmware e Do not shut OFF power while the 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 27 of 98 ROE3308BOEPBO00 User s Manual 2 Setup 2 8 Self check 2 8 1 Self check Procedure To run the emulator self check do so as explained here below While the self check is in progress LEDs will change as shown in Figure 2 6 1 If the user system is connected disconnect 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 upper 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 20 seconds the self check terminated normally Table 2 1 Switch settings at self check Switch Setting AVCC AVSS switch SW 1 EXT side P87 switch SW2 P87 side P86 switch SW3 P86
32. 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 1 When you use this product for the first time 2 When the firmware has been upgraded 3 When the emulator debugger has been upgraded 4 When you use this product with a PC7501 which was used with other emulation probe before If downloading firmware is not completed in the cases below redownload the firmware When the power is unexpectedly shut down during a download from the emulator debugger When a communications interface cable is unexpectedly pulled out 2 7 2 Downloading Firmware in Maintenance Mode Download the firmware in maintenance mode as explained here following The user system must not be connected when downloading 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 RESET switch on the PC7501 upper panel to switch to maintenance mode Switched to maintenance mode the SAFE SYSTEM STATUS LED begins to flash 3 Start up the emulator debugger When the Init dialog box setup is complete the dialog which urges to download the firmware will appear Download the firmware following messages Required time for downloading
33. will be the same when using the M32C PC7501 Emulator Debugger 3 1 Starting Up the Emulator Debugger Init Dialog Box To launch the emulator debugger click the Start menu of Windows and then select Program P gt gt RENESAS TOOLS gt gt PD308F V xx xx Release x gt gt PD308F When the emulator debugger started up the Init dialog box appears 1 MCU tab 1 Specifying the MCU file Ns end the MOU fle MCU Debugging Information Reset Emulator Resume Click the Refer button A file selection dialog box will be displayed so select the MGU m308b0 mcu Refer desired MCU file The MCU file is stored in the directory in which you installed the M3T PD308F Ce ti C LAN Example c mtool PD308F mcufiles Type AUTO Target The MCU file contains the information specific to the target MCU VO Address 378h x I Self Chect The MCU file you have selected is displayed in the MCU Resource section of the MCU tab Enable the Address Match Interrupt Break Function Debug the program using the Watchdog Timer Debug the program using the CPU Rewrite Mode 2 Specifying the communication interface LPT communication hit OOOO O Specifying the communication interface LPT communication MCU Debugging Information Reset Emulator Resume For selecting the LPT communication click the radio button Refer LPT of the MCU tab Specify the using LPT communica
34. 0 to 5 5V R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 74 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications 4 2 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 e Operations of the emulator system differ from those of actual MCUs as listed below 1 Reset condition 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 MCU whose RAM size is 32 KB 400h 83FFh and ROM size is 256 KB 8 KB E000h FFFFh FC0000h FFFFFFh is mounted on this product The internal flash memory is automatically allocated to E000h FFFFh and FCO000h FFFFFFh in the single chip mode and memory expansion mode 5 Oscillator circuit Make note of the fact that in the oscillator circuit where a resonator is connected between pins Xy and Xout 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 a sub clock oscillator Xcm and Xcour For notes on when using the oscillator circuit on the user system refer to 2 Using the Oscillator Circuit on the User System page 43 6 A D conversion As a
35. 00 Sep 16 2010 RENESAS Page 64 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 4 Setting the combinatorial event condition 1 Window for setting the combinatorial event condition Setting the combinatorial event condition There are following four conditions that you can choose for the combinatorial events AND 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 Set button R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 65 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 3 5 Trace Window 1 Trace window 1 Trace window Menu Menu item Function OptionalWindows Trace Window Opens the trace window Trace window 3y PD308F C demo demo x30 0 x File Edt View Environment Debug Option BasicWindows OptionalWindows Help The trace window is used to show the results of real time a 2 x z z Kan ston e R
36. 1 8 Table 1 7 Operating environmental conditions Operating temperature 5 to 35 C no dew Storage temperature 10 to 60 C no dew Table 1 8 Operating environment of the host machine Host machine IBM PC AT compatibles OS Windows XP Windows 2000 CPU Pentium IIT 600 MHz or more recommended Memory 128 MB or more recommended Pointing device 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 Windows is either a registered trademark or trademark of Microsoft Corporation in the United States and or other countries eo Rev 2 00 RENESAS Page 19 of 98 ROE3308BOEPBO00 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 88 Check the package components Refer to 1 1 Package Components page14 y y Install the M32C PC7501 Emulator Debugger Install the M32C PC7501 Emulator Debugger or M3T PD308F for or M3T PD308F this product y Connect the PC7501 to the host machine with the LPT parallel interface cable USB interface cable or LAN interfac
37. 15 for a pin that performs A D conversion to I O port A DO control register 4 address 392h b3 b2 l 0 ANO to AN7 ANOO to ANO7 1 1 ANO to AN7 AN20 to AN27 Also when the PO and P2 groups are used for multi port sweep mode port P15 cannot be used as an I O port When setting the register above port P15 cannot be used as an I O port even if A D conversion is halting A D converter operates differently from an actual MCU Make the final evaluation of the A D converter using an actual MCU R20UT0210EJ0200 Rev 2 00 RENESAS Page 87 of 98 Sep 16 2010 ROE3308BOEPBO00 User s Manual 5 Troubleshooting 5 Troubleshooting 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 tools Turning on emulator Front panel LED Not normal of emulator Init dialog box of emulator 1 Check connection of the power supply cable See 2 5 Connecting the Power Supply for the Emulator 2 Check that the power is properly supplied to the user system See 2 6 Turning ON the Power Not normal Error displayed debugger displaye
38. 4 banks can be specified for Bank When 1 MB is specified for Length 00 10 20 and FO by 16 banks can be specified for Bank seyth AL I Next Hide Specifying area map Map Specify the mapping information INTERNAL or EXTERNAL When not using the specified area select No Use Internal This bank is allocated as an internal area emulation memory External This bank is allocated as an external area external resource on user system IMPORTANT Notes on Using Emulation Memory for Expansion e When single chip mode or memory expansion mode is set as a processor mode internal ROM area is automatically allocated to the internal flash ROM Therefore it is not necessary to deliberately specify emulation memory as expansion area in order to allocate the internal ROM area e The 4MB memory mounted in the product can be allocated out Set memory allocation so that the total of the 4 length values does not exceed the emulation memory size 4 MB However the emulation memory is 3 00 MB in memory expansion mode e Be careful that the specified areas do not overlap one another e Do not set the following areas for memory allocation of the MCU Set these areas referring the specifications of the MCU 1 Area allocated for multiplex bus 2 Unusable area e Memory in the emulator is automatically selected as reset vector area regardless of settings e Except for the SFR RAM ROM and internal
39. 7501 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 e The emulator s pin Vcc is connected to the user system in order to monitor user system voltage For this reason the emulator cannot supply power to the user system Therefore provide the user system with a separate power supply from that of the emulator e Keep user system power supply voltage within the MCU s specified range 3 0 to 5 5 V e Do not change user system power supply voltage after power has been activated 2 6 3 Power Supply to the User System This emulator cannot supply the power to the user system therefore design your system so that the user system is powered separately The voltage of the user system should be within the following And do not change the voltage after activating the system 1 When JP1 is set as VCC1 2 3 0 V lt VCCI VCC2 lt 5 5 V 2 When JP1 is set as VCC1 gt 2 4 8 V lt VCCI lt 5 2V 3 0 V lt VCC2 lt VCC1 R20UT0210EJ0200 Rev 2 00 Se oe RENESAS Page 25 of 98 ROE3308BOEPBO00 User
40. C ar Mr emulator and connects pin AVSS to the GND in the emulator Connects pin P87 of the MCU to the user system P87 XCIN Factory setting SW2 P87 Connects pin P87 of the MCU to the sub clock oscillator circuit Hai oa 32 768 kHz a o Connects pin P86 of the MCU to the user system Factory setting SW3 P86 Does not connect pin P86 of the MCU P86 NC Does not connect pin XOUT of the MCU NC XOUT Sw4 XOUT Factory setting Connects pin XOUT of the MCU to the user system NC XOUT R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENESAS Page 36 of 98 ROE3308BOEPBO00 User s Manual 2 Setting SW5 on the ROE3308BOEPBMO Table 2 3 lists the examples of setting the switch SW5 on the ROE3308BOEPBMO It is necessary to change the setting if 2 Setup using the analog input port selection function of the A D converter when selecting the MCU file m308b0_ad mcu in the Init dialog box of the emulator debugger Setting the SW5 enables to set each analog input pin for selecting an analog input port When selecting ANOO to ANO7 or AN20 to AN27 for the analog input port select bits bit 2 and bit 1 of 0394h set the pins used for A D conversion to ON the pins not used to OFF However when selecting the MCU file m308b0 mcu in the Init dialog box of the emulator debugger set the switch SW5 as the factory settings all lower side Table 2 3 Switch settings of the ROE3308BOEPBMO SW5 Analog input por
41. EJ0200 Rev 2 00 Sep 16 2010 RENES Page 67 of 98 ROE3308BOEPB00 User s Manual 3 Usage Emulator Debugger 2 Suspending and resuming trace measurement 1 Suspending trace measurement Stop EET Click this toolbar button to suspend the trace measurement in progress 2 Resuming trace measurement FA Trace Window om a s gt Re Start a aL ELAR TE Click this toolbar button to resume the trace measurement in Address F8012E FB012E F6D130 F60130 Feo132 Fe0132 F80134 009400 F80136 progress 882883882823 10 04 452926 169 0704 45 326 169 F80136 00704 45 326 168 Pe 1 1 1 1 1 1 J 2 J 1 J 1 1 1 1 1 1 1 1 1 1 2 s oy ou ou oy cy cy oyu ou ou ou ou yu gu ou ou ou ou Gy oy Gy ou gu ou ou R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENESAS Page 68 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 3 Trace point setup dialog box 1 Opening the trace point setup dialog box Trace Point Clicking this toolbar button opens the trace point setting window 2 Trace Point Setting Window in initial state Trace Point Setting Window in initial state Be sure to enable the trace point function in the Init dialog box before you set up in this window Here you can set events in the same way as for the hardware breakpoints R20UT0210EJ0200_ Rev 2 00 Sep 16 2010
42. M3T PD308F version is not the same version as the firmware in the target Download the proper firmware See 2 7 Downloading Firmware page 27 Target MCU is 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 pin NMI is held high 2 If in memory expansion mode or microprocessor mode check pins RDY and HOLD are held high 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 5 The program may be uncontrollable in areas where memory is not allocated Recheck the map setting Target is in HOLD state 1 The MCU is either in stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt See MCU specifications 2 The program may be uncontrollable in areas where memory is not allocated Recheck the map setting Target clock is stopped 1 When the clock is supplied from an external oscillator check that the oscillator circuit in the user system is oscillating properly 2 Check the switches in the emulation probe are correctly set See 2 10 1 Setting Switches of Emulation Probe page35 Target MCU is not receiving power Check that power is properly supplied to the user system an
43. NdOW cccceeeeeesee eens eeeeeeeeeeee scenes sage eeseaee sense sae eeeaaeseeeeeseieessaeeseeeseeete 61 Be Irac WIM O Wess sessaceedccesncec nicked denis Sawbntcebdeg Se tea be aden Dee eels eg danced ened daunted Aaa E Aa Na EEE 66 3 6 RAM Monitor Window cccccccecssceceesneceeessneeeeeseeeeeeessaeeecsseeeeeceseeseesseeeeeesseeaessseneaaeseseeeeeeseesaeessenaeesseeaaees 71 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 10 of 98 ROE3308BOEPBO00 User s Manual Contents 4 Hardware Specifications cceccceccceccsecsecceceeeceeeaeeeeaaesaaaeeaeeecaaessaaaesaaaaeesaaesaaaessaasesnaeeseaessaaaesgaeeesaaeseeaaeseeeaeesaees 74 4 1 Target MCU Specifications cnici idee dai A aa a ada dieses 74 4 2 Differences between the Actual MCU and Emulator 0 cccccsceeeeceeeeeeeeeeeee scenes eae eeeaaeeeeeeeseieessaeeeeeeeteneeen 75 Note on Differences between the Actual MCU and Emulator ccccceseeeeeeeeecceeeeeeeeeeeeeseueeetaeeseeeeeneees 75 Note oni RESET INMPUtl kiirias arniarna aaraa aaas aiaa aaaeaii aana haaa ara aeaaaee adinak 75 Noten FID VF Mputa aa a E a aE Rie 75 Note On HOLDA INPUT sursa uviru anina aeaaaee aa aE AEEA EE DASE A REEERE 75 Noteon NMI INDU seroronininranen a E E EESE A E 75 Notes on Reset Vector Alea risainia naaa aea E LAE EAEE R A EE EA NE AOE EEEE E AE ARNE 76 Notes on Stack Area icici cc icceesletehescxebieleds stevia sdadatedeancdusne pdailcn sued caus E ested vesieceadceeaheeves
44. R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 78 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications AP150 AP154 PO AP151 AP155 POs AP152 AP156 PO AP153 AP157 Po P24 P25 P26 P27 P150 P154 P151 P155 P152 P156 P153 P157 CD C 74HC4066 74HC4066 Figure 4 2 Connection diagram of the ROE3308BOEPBO0 2 2 Table 4 2 Electrical characteristics of the 74HC4066 Condition Standard values Vcc in Standard ON resistor ON resistor difference Switch input leak current R20UT0210EJ0200 Rev 2 00 Page 79 of 98 Sep 16 2010 RENESAS ROE3308BOEPBO00 User s Manual 4 Hardware Specifications 4 4 External Dimensions 4 4 1 External Dimensions of the Emulation Probe Figure 4 3 shows external dimensions of the ROE3308BOEPBO0 45 0 eid 20 0 Unit mm Figure 4 3 External dimensions of the emulation probe R20UT0210EJ0200 Rev 2 00 RENESAS Page 80 of 98 Sep 16 2010 ROE3308BOEPBO00 User s Manual 4 4 2 External Dimensions of the M3T F160 100NSD 4 Hardware Specifications Figure 4 4 shows external dimensions of the converter board M3T F160 100NSD for a 100 pin LQFP PLQP0100KB A 55 0 ar N A cor y 20t 0p NO 40 0 NYdYf NI SQV V Add GSNO0l 0914 LEW 16 2 21
45. RENESAS Page 69 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 3 Specifying a trace range 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 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 RREBR O Setting the trace write condition You can specify a condition for the cycles to be written into CONDITION the trace memory odde 000000 Total Gad 000000 All cycles are written into memory fadd 000000 oad 000000 Pick up add 000000 Only the cycles in which the specified condition was met add 000000 dd 000000 are written into memory Exclude Only the cycles in which the specified condition was not met are written into memory When you have finished setting the trace write condition click this button The Realtime trace Write Condition dialog box shown below will appear Write mode Only the cycle in which the specified Start event occurred A range of cycles from when
46. S viisiceissiseccuciued ccasdatenestvastccsvadtawebindadcavdalewetsventccanadiacesdslatesetivstecaandiassdindiedviiiiaccasialewesavnes 86 Note on Voltage Detect CirCuit 2 2 eccecccc ee ceseeeeecececeeeeeaeeeeaee sence aaae ia e daaa aa 86 Notes on A D Conversion is cccccseccecavseescecuuessnscsdensaeeduetcd diansaestesabecaseedeeseaceusaccecueustheavaidecandeycnestuuand deuaebecs 87 5 TrOUBICESNOOUNG siiri aaa aaa a aaa aE a enced edie en beaded agence 88 5 1 Flowchart to Remedy the Troubles ccccccceecceeeeeeeeeeeceeeeeeeaeeeeeeeceaeeeeeaaeeeeeeeseaeeesaaeseeaeeseeeescaeeeeaeseeeeesaas 88 5 2 When the Emulator Debugger Does Not Start Up Properly c cccecceeeeeeeeeeeeceeeeeeeaeeeeaeeseeeeesaeeeeaeeeeeeeeeas 89 5 3 HOW to Request for SUPDOM eenisesacetecrasestewsssceeaencestetussabdaeusesadeeuyaedeesaeseveceevibnaddveessieestusancetandestaceeabeeestyendsveneas 92 6 Maintenance and Guarantee ccceccceceeeceeeceeeeeeeceeaeeeeaaeeeaeeeceaeeseaaesaaeeceaaeeseaaesaaeeseaeeesaaeseeaesgeeeeseeeeesaesseaaeeeeeeee 93 6 1 User Registratio Miissi aiaa aiaa aaa aA SAARA wav ane aba dae aE a Re aa aia R E 93 6 2 MAINTENANCE sisne a a nate E a aE a AES E Na a aaa 93 PELENE E E E E E E E E E E EE E A 93 6 4 Repair ProviSloNS e aicante n a E a O eee E E a E a e T 94 6 5 How to Make Request for Repair cc ccceeeeceeeeeeneeeeeeeeeeeaeeeeaeeseeeeeceaeeesaaeeeceeeseaaeeeeaaeeeeeeeseaeesiaeeesaesseeeeseas 94 R20UT0210EJ0200 Rev
47. aa Figure 1 1 System configuration 1 Emulation probe ROE3308BOEPBO00 this product This emulation probe contains an evaluation MCU R20UT0210EJ0200 Rev 2 00 Page 15 of 98 Sep 16 2010 RENESAS ROE3308BOEPBO00 User s Manual 1 Outline 1 3 2 Names and Functions of the PC7501 Upper Panel LEDs Figure 1 2 shows the names of the LEDs on the upper panel of the emulator System status LEDs Target status LEDs Figure 1 2 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 etc Table 1 3 lists the definition of each system status LED Table 1 3 Definitions of the system status LEDs Name Status Meaning POWER ON Emulator system power supply is turned ON OFF Emulator system power supply is turned OFF SAFE ON Emulator system is operating normally Flashing Special mode maintenance mode for downloading firmware The emulator system does not operate except for downloading firmware and the self check OFF Emulator system is not operating normally ERROR ON Emulator system is not operating normally Flashing Downloading firmware OFF Emulator system is operating normally R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENES Page 16 of 98 ROE3308BOEPBO00 User s Manual 1 Outline 2 Target Status LEDs The target status LEDs
48. above cases contact your local distributor If your product is being leased consult the leasing company or the owner R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 93 of 98 ROE3308BOEPBO00 User s Manual 6 Maintenance and Guarantee 6 4 Repair Provisions Repair with extra charge The products elapsed more than one year after purchase can be repaired with extra charge 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 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 Transportation fees at sending your product for repair Please send your product to us for repair at your expense 6 5 How to Make Request for Repair If your product is fou
49. atch interrupt can be used in the user J Debug the program using the GPU Rewrite Mode program ut AM Next Hide This option can be selected or deselected only when you are starting up the emulator debugger 6 Using or not using the watchdog function a Using or not using the watchdog function MCU Debugging Information Reset Emulator Resume Specify whether or not to debug the program which uses the Ref watchdog function When debugging the user system which Bi uses the watchdog function select the check box Type VO Address J Self Check Resource JV Enable th Address Match Interrupt Break Function Debug the program using the Watchdog Timer Debug the program using the CPU Rewrite Mode seytyb Add T Next Hide IMPORTANT Notes on Selection of Whether or Not to Use the Watchdog Timer e If the check box Debug the program using the Watchdog Timer is selected while the user program remains idle the emulator is performing refresh processing by writing to the watchdog timer start register within the emulator control program Therefore the watchdog timer starts after the user program has stopped e To use the watchdog timer to debug the user program select this check box If this check box is unselected the emulator may run out of control after the user program has stopped e To debug a user system that does not use the watchdog timer do not select this check box I
50. c MCU STOP 7 2 After the Come command has finished y PD308F C demo demo x30 File Edit View Environment Debug Option BasicWindows OptionalWindows Help 2 3 7 d Eji AA E Go Come Step Over Return Stop Break Reset S7 F Program Window demo a30 Eview B source By Mix Vo Line BRK 00079 _ RIL 0H 00080 if ROH 0H 00081 do 00082 AND B 0FH ROL 00083 MOV B RIL RIH 00084 AND B 0F0H R1H 00085 OR B RIH ROL 00086 MOV B ROL AO 00037 ROL ROL 00088 AQ A0 RIL RIL LPT ECP 00 h 00 m 00 sec 000 msec 000 usec MCU STOP 7 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 60 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 3 4 Hardware Breakpoint Setting Window 1 Breakpoint setup dialog box 1 Opening the hardware breakpoint setup dialog box Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box 2 Hardware Break Point Setting Window in initial state CHW Break Point Setting Window j 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 i m m tt et BLRREBREM Setting Break Event Click the event line at which you want set a break event R20UT0210EJ0200 Rev 2 00 Sep 16 2010
51. ce 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 with 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 R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENES Page 46 of 98 ROE3308BOEPBO0 User s Manual 3 Usage Emulator Debugger 5 Using or not using the address match break function iho rt sing the address mateh break MCU Debugging Information Reset Emulator Resume function Specify whether or not to use the address match break Refer function To use the address match break function default select C USB the check box marked by a check mark when selected In this case the address match interrupt is used by the VO Address emulator and cannot be used in the user program J Self Check When not using the address match break function Resoyrce JV Enable the Address Match Interrupt Break Function deselect the check box check mark cleared In this case I Debug the program using the Watchdog Timer the address m
52. cessible e MCU internal resources are automatically selected for SFR RAM and ROM areas regardless of settings e Be careful that the specified areas do not overlap one another e Set memory allocation so that the total of the 4 length values does not exceed the emulation memory size 4 MB e Do not set a multiplex bus area and unusable areas for memory allocation e Emulator main unit s memory is automatically selected as a reset vector area regardless of settings Notes on Watchdog Function e When using the watchdog function select the check box of Debug the program using the Watchdog Timer in the MCU tab of the Init dialog box When not using the watchdog function clear the check box e If the reset circuit of the user system has a watchdog timer disable it when using the emulator R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 84 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications IMPORTANT Notes on Debugging in CPU Rewrite Mode To debug a program in CPU rewrite mode select the check box Debug the program using the CPU Rewrite Mode in the MCU tab of the Init dialog box When you do not debug a program in CPU rewrite mode clear the check box When you debug a program in CPU rewrite mode the block 0 area FF0000h FFFFFFh must not be rewritten Otherwise the emulator will be out of control When debugging in CPU rewrite mode is enabled you cannot use the following functions 1 Sett
53. converter board and other devices are used between the evaluation MCU and the user system some characteristics are slightly different from those of an actual MCU 7 Port P15 As one of I O ports P15 is connected to the user system through the analog switch circuit electric characteristics slightly differ from those of an actual MCU 8 When the SW4 is set to XOUT in stop mode a clock is output from the XOUT pin Note on RESET Input e 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 e 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 stopping may cause a malfunction of the emulator Note on HOLD Input e 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 e 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 C7501 s upper panel is lit R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 75 of 98 ROE3308BOEPBO00 User s Manua
54. csdchaleds casnepuwecdananaccdnse aadA ananipa ataia aidaa 25 2 6 1 Checking the Connections of the Emulator SyStem 0 cccccccceeceeeeeeeeeeeeeeeeeeseaeeeeaeeseeeeeesaeeeeeeeeaees 25 2 6 2 Turning ON OFF the Power cccccceceeeeeeeeeeeeeee cee eeceaeeeceeeeeeaeeseaaeedeaeeseeeeesaaeeeseaeeseeeesaeesaeeseaeeesaees 25 2 6 3 Power Supply to the User System cccccceseeeeceececeeeeeeeeeeeeeceaeeeeaaeeseaeeseaeeesaaeseeaaeseceeesaeeseaeeseneeesaees 25 2 6 4 LED Display When the Emulator Starts Up Normally 0 00 eccceccseeeeeeeeeeeeeceeeeeeeaeeeeeeeeseaeeesaeeeeneeeeaees 26 2 1 Downloading FirWAle isis cs sat ehdenci neal ey indies sa ses a a aaa a aaae 27 2 7 1 When It is Necessary to Download Firmware ccccccccesceeeeeeeeeeaeeeeaeeseeeeceaeeseaaeseeeeeseaeeesaeeseeneeenees 27 2 7 2 Downloading Firmware in Maintenance Mode cccscceesceceeeeeeeeeeeaeeeeeeeeceaeeseaaeseeeeeseaeeesaeeneneessaees 27 2 8 SOM CNECK rangeren siia E EEA RA AA A EE AE a E a E iaa a Ea E AAEE 28 2 8 1 Selfeheck Proced re nyansan a a a a a a a E 28 2 8 2 If an Error is Detected in the Self CheCK 0 ccccccecceeceeeeeenceeecneeeeeaeeeeaeeseeeeseaeeeeaaeseeeeeesaeeseaeeseaeeesaees 29 2 9 Connecting the User SyYStem ccccceceeeeeeceeeeeeeaeeeeeee eee aeeeeaaeeeceee sae eeeaaeeseaeeseeeesaeeeeaaeeseeeseeeeessaeeeeneeseeeee 30 2 9 1 Connecting to a 100 pin 0 5mm pitch Foot Pattern Part 1 c ccceeseeeeseeeeeeeeeeeeeeee
55. ction and using AN20 to AN27 for analog input pins When using AB OND oo0o00o0 Z Set the analog input pins to ON AN20 to AN27 S Foo With this setting set the direction registers of ports P150 to P157 to RARE F input Pins P150 to P157 cannot be used for I O port ISTxD0 orFo tt tit tt 7 ISCLKO and ISRxDO0 AD04 to ADO7 used ON This is a setting when using the analog input port selection function and using AN04 to ANO7 for analog input pins When using Set the analog input pins to ON ANO04 to ANO7 With this setting set the direction registers of ports P154 to P157 to orro ttt ttt ty input Pins P150 to P153 can be used for I O port ISTxDO ISCLKO and ISRxDO ADOO to ADO3 unused OFF ADO03 to AD05 used ON AD25 to AD27 used ON m This is a setting when using the analog input port selection function When using AD ONO oooggo f and using ANO3 to ANOS and AN25 to AN27 for analog input pins ANO3 to ANO5 Ses tei Set the analog input pins to ON and E E E F F F With this setting set the direction registers of ports P153 to P157 to WU UY E UU input Pins P150 to P152 can be used for I O port ISTxDO ISCLKO and ISRxDO R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 37 of 98 ROE3308BOEPBO0 User s Manual 2 Setup IMPORTANT Notes on Switch JP1 e If using this product when the voltage of VCC1 is higher than that of VCC2 set the JP1 to VCC1 gt 2 IMPORTANT Notes on Switch SW5 When selecting the MCU fi
56. ctronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics Regulatory Compliance Notices European Union regulatory notices This product complies with the following EU Directives These directives are only valid in the European Union CE Certifications Electromagnetic Compatibility EMC Directive 2004 108 EC EN 55022 Class A WARNING This is a Class A product In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures EN 55024 Information for traceability Authorised representative Name Renesas Electronics Corporation Address 1753 Shimonumabe Nakahara ku Kawasaki Kanagawa 211 8668 Japan e Manufacturer Name Renesas Solutions Corp Address Nippon Bldg 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan Person responsible for placing on the market Name Renesas Electronics Europe Limited Address Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Trademark and Type name Trademark Renesas Product name M32C 8B Group Emulation Probe Type name ROE3308BOEPB00 Environmental Compliance and Certifications Restriction of the Use of Cer
57. d Normal EMEM dialog box of 1 Check the operating environment etc of the emulator debugger See the user s manual of the emulator debugger 2 Reinstall the emulator debugger Not normal Error displayed emulator debugger Program window of emulator See 5 2 2 EMEM Dialog Box Does Not Appear at Debugger Startup Error displayed debugger displayed Normal See 5 2 3 Errors Occur at Debugger Startup Emulator debugger startup completed Figure 5 1 Flowchart to remedy the troubles R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 88 of 98 ROE3308BOEPBO00 User s Manual 5 Troubleshooting 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 Error 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 The POWER LED of STATUS OF TARGET does not light up Connected Check that power Vcc is properly supplied to the user system and that the user system is properly grounded The CLOCK LED of
58. d M3T 100LCC DMS not included and M3T FLX 100NSD not included and here following is its procedure For details on the M30800T PTC M3T 100LCC DMS and M3T FLX 100NSD 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 M30800T PTC to the ROE3308BOEPBOO 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T FLX160 EPB ROE3308BOEPB00 CN2 side M30800T PTC not included M8T 100LCC DMS 4 not included n M3T FLX 100NSD 2 not included On board evaluation O e Vv HQPACK100SD l YQ GUIDE x4 not included TaT YQPACK100SD These corners are not round Sl a f 7 NQPACK100SD ELASH MCU etc kei ia lt e o 100 pin 0 5mm pitch 100P6Q foot pattern These four items are available in one package User system Figure 2 9 Connecting to a 100 pin 0 5mm pitch foot pattern 2 3 A CAUTION Notes on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator and user system The small connectors of the M3T 100LCC DMS and M3T FLX 100NSD are guaranteed for only 20 insertion removal iterations The small connectors of the R0E3308BOEPBOO and M30800T PTC are guaranteed for only 50 insertion removal iterations NQPACK YQPACK YQ GUIDE HQPACK are products of Tokyo Eletech Co
59. d that the user system is properly grounded R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 90 of 98 ROE3308BOEPBO00 User s Manual 5 Troubleshooting 3 Errors Occur at Debugger Startup Table 5 3 Checkpoints of errors at debugger startup Error Checkpoint Target MCU is uncontrollable 1 Check that the NQPACK etc mounted on the user system is soldered properly 2 Check that the connector is installed properly to the user system 3 Check pin NMI is held high 4 If in memory expansion mode or microprocessor mode check pins RDY and HOLD are held high 5 The program may be uncontrollable in areas where memory is not allocated Recheck the map setting R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 91 of 98 ROE3308BOEPBO00 User s Manual 5 Troubleshooting 5 3 How to Request for Support After checking the items in 5 Troubleshooting fill in the text file which is downloaded from the following URL then send the information to your local distributor http tool support renesas com eng toolnews registration support txt For prompt response please specify the following information 1 Operating environment Operating voltage V Operating frequency MHz Clock supply to the MCU Internal oscillator External oscillator 2 Condition The emulator debugger starts up does not start up The error is detected not detected in the self check Frequency of e
60. del ccsedannuddeveacens 14 1 2 Other Tool Products Required for Development ccccceeeeceeceeceeeeeeeaeeeeeeeeceaeeesaaeeeeaeeseeeeesaeeeseensneeseeaees 15 1 3 System Configuration cccecccccesceeneeeeeeeceaaeceeaeeeeeeeeceaeeeeaaesaaaeessaeeecaaessaaesaeeesaeeecaaeseeaaeseeeeesaeeseaaesseneeesaees 15 13 1 System Configurations essai eee nl aah ein tle ian ee ie Ait 15 1 3 2 Names and Functions of the PC7501 Upper Panel LEDS cccseseeeeeeeceeeeeeeeeeeeeeeeeeeeeetaeeneeeeees 16 14 SPOCII CATIONS gis ses etic vce ce seg eSek ceasci a a a dees adepes e E begs 18 15 Operating EMViro mim eN ssena aaa aaea ea dyads e a ia AE e aaea a aa a Eia aaa e ia 19 2 oeU acess tases E E E E E E E N 20 2 1 Flowchart of Starting Up the Emulator 0 cc ceeeeeeeeeeneeeeeeeeeeeeee cee ee eaaeeeeaee scenes eeaaeseeaeeseeeeeeaeesaeeseeeeeeeeee 20 2 2 Installing the Emulator Debugger cccccceeeceeeeeeeee tees eeeaaeeeeeeeseaeeecaaeeeceeeeseaeeseaaeseeaeeseeeeseeeessaeeseeeeeeeeens 21 2 3 Connecting the Host Machine ivvszdedacisececevsadedanven dace anie EA AEE A AA aa ENEA E aa e edna ener 22 24 Connecting the PG LO04 wsisct cczcst ccczcceehdcdsten seazazedaees nieas aiad eadi aiaiai hiaan aaiae 23 2 5 Connecting the Power Supply for the Emulator ccccceceeeeeeeee cece eeeaeeeeaeeeeeeee eae eeeaaeeeeeeesecaeeeeaeseeeeeneeee 24 2 6 TUFMING ON the POWER ccisseieccecectccvcse clvccetescecaucd ccvecesa dacucanes cd cccess
61. e port P15 cannot be used as an I O port even if A D conversion is halting e Because a converter board and other devices are used between the evaluation MCU and the user system the A D converter operates differently from an actual MCU Make the final evaluation of the A D converter using an actual MCU eo Rev 2 00 RENESAS Page 38 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 2 10 2 Selecting Clock Supply There are two ways to supply a clock to the MCU using the oscillator circuit of the emulator or using the oscillator circuit on the user system Table 2 4 lists the factory settings of each clock supply Table 2 4 Clock supply to the MCU and default settings Clock Display of emulator debugger Description Default setting Tatem Internal oscillator circuit Yes OSC 3 or OSC 2 Main Xmn Xour External Oscillator of user system Internal generator circuit onera 1 0 to 16 0 MHz i Tatem Internal oscillator circuit Sub Xcm Xcour 32 768 kHz External Oscillator of user system Yes IMPORTANT Notes on Changing the Clock Supply e 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 The clock supply should be set tol6MHz or less e For XCIN XCOUT it is necessary to set switches in the emulator For details refer to 2 10 1 Setting Switches of Emulation Probe page 35 1 Using an Internal O
62. e business of both companies Therefore although the old company name remains in this product it is a valid Renesas Electronics product We appreciate your understanding April 1st 2010 Renesas Electronics Corporation R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 14 of 98 ROE3308BOEPBO00 User s Manual 1 Outline 1 2 Other Tool Products Required for Development To bring forward programs development on the M32C 8B Group MCUs 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 M3T PD308F V 3 20 Release 1 Product name Notes Emulator main unit PC7501 Required Emulator debugger M32C PC7501 Emulator Debugger Required 144 pin 0 5mm pitch LQFP PLQP0144KA A M3T FLX 144NSD 100 pin 0 5mm pitch LQFP PLQP0100KB A M30800T PTC M3T 100LCC QSD M30800T PTC M3T 100LCC DMS M3T FLX 100NSD Required according to the foot pattern of the user system see 2 9 Connecting the User System on page 30 Converter board M3T F160 100NSD To purchase these products contact your local distributor 1 3 System Configuration 1 3 1 System Configuration Figure 1 1 shows a configuration of the ROE3308BOEPBO0 system 1 Emulation probe ROE3308BOEPB00 Aly Aay Aly At BM ag gh ag be age ah A Tidy say ay bay Paty tal AD ata ia aia la aa
63. e cable Set the interface selection switch on the rear panel of the PC7501 to the using interface y Conneot te power supply for tie emulator Connect a power supply for the emulator v comecrtnensersysem Connect the user system as occasion demands Connect the host machine M Turn ON the power to the emulator and the user system as Turning on the power supply simultaneously as possible y Check that the system status LED and POWER CLOCK RESET Check the LED display of the emulator and WARNING of target status LED are lighting When the user system is not connected the POWER LED does not light up y Start up the emulator debugger Start up the emulator debugger y Set the operating environment Set the INIT dialog box and EMEM dialog box of the emulator of the emulator debugger debugger v Debug a program with various functions of For how to use the emulator debugger refer to the emulator the emulator debugger debugger s online manual Figure 2 1 Flowchart of starting up the emulator R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 20 of 98 ROE3308BOEPBO00 User s Manual 2 Setup 2 2 Installing the Emulator Debugger If the OS used in your host machine is Windows XP or Windows 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 debugge
64. e method for storing debug information Cancel Hel Next Hidi cane P Bj Dani 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 On Memory This method helps to speed up processing if your computer has sufficient memory On Demand This method helps to reduce the amount of memory needed To use this method select the On Demand check box 3 Reset tab 1 Resetting the target after downloading Resetting the target after downloadin ie O O ag Fesettina the target after downloading MCU Debugging Information Reset Emulator Resume Specify whether or not to reset the target immediately after downloading the user program Do Reset C Do Not Reset Resets the target default Do Not Reset Does not reset the target The option you have specified here remains effective the next time you start up R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 49 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 4 Emulator tab 1 Specifying the target clock nit OOOO Specifying the target clock Specify the clock sources supplied to the MCU main clock MCU Debugging Information Reset Emulator Resume and sub clock Select the appropriate clock sources Glock Main Internal according to the clock used by your target MCU
65. eeeseeeeseaeeeeeeeeaees 31 2 9 2 Connecting to a 100 pin 0 5mm pitch Foot Pattern Part 2 c ccccseeeseeceeeeeeeeeeeeeeeeseeeeseaeeseeeesaees 32 2 9 3 Connecting to a 100 pin 0 5mm pitch Foot Pattern Part 3 cccceeeeeeeeeeeeeeeeeeeeeeeseeeeseaeeseeeesaees 33 2 9 4 Connecting to a 144 pin 0 5mm pitch Foot Pattern 0 cccccccceceeeeeeeeeeeeeeesecaeeeseaeseeeeeseaeeesaeeseeeesaees 34 ZAO Setting SWINE S iniii aaa ieben shed a a sauces teuceaasdng a cascevdvadeasideeasd 35 2 10 1 Setting Switches of Emulation Probe eccceceeeeeeeeeeeeeeee cee eeeaaeeeeaeeseeeeeeeaaeseeaeeseeeeesaaeeseaeeeeaeeseaees 35 210 2 Selecting Clock SUP ply scvacensasessetg eevee Sepel cchcagi sadeeaecvavisn Gay egiehSeceaia bey gatuna cccente ey wcates deste auiay inivteadceresiey 39 2 10 3 A D Conversion Bypass Capacitors ccccceccceceeeeeceeeeeeeeeeeeeeeceaeeeeaaeeseeeeeseaeeeeaaeseeeeeseaeeesaeenaeessaees 44 3 Usage Emulator Debugger eecccccescceeseeesenceceeeeeeeaeeeeaeeeaeaeeeeaaeseaaesaeeeceaeseeaaesaaeeeseaesseaaesaaaesgeeeseaeeseaaeseeneeesaees 45 3 1 Starting Up the Emulator Debugger Init Dialog BOX ecceeseeeseeeee teen eeeaeeeeeeeeesaaeeeeaeeseeeeesaeeeeaeseaeeeeeas 45 3 2 Starting Up the Emulator Debugger EMEM Dialog Box cceccccceeeeeeeeeeeeee cece eeeaaeeeeeeeseeeesaeeseeeeeeeeeed 52 3 3 Program WINdOW sireci ai tie evict en esis eign deeds ei dai hin ie ee 57 3 4 Hardware Breakpoint Setting WiI
66. em Processor Mode Single chip Mode Memory Expansion 8 Bit MCU Status Memory Expansion 16 Bit CNVss Microprocessor 8 Bit Microprocessor 16 Bit Cancel Help P Next Hide IMPORTANT Notes on Selecting a Processor Mode e 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 e When setting microprocessor mode the level of pin CNVSS of the MCU status should be H e When setting memory expansion mode or microprocessor mode pins RDY and HOLD of the user system should be H e When the user system is not connected all modes are available R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 52 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 2 Referring to the MCU Status Emulation Memory Flash Clear Processor Mode Memory Expansion 16 Bit r MGU Status CNVss BYTE NEk RDY HOLD MS tie gt gt em me T Referring to the MCU Status Lo EE It shows the status of each MCU pin Check it to see if the MCU status matches the selected processor mode If a slider of any pin is at the center it means that the pin status is indeterminate Cancel Help J Next Hide IMPORTANT Notes on Selecting a Processor Mode e The MCU status is shown in MCU Status of the EMEM dialog box Check that it is matching the specified processor
67. er certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Ele
68. es on Connecting the User System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator e The small connectors of the ROE3308BOEPBOO and M3T FLX 144NSD are guaranteed for only 50 insertion removal iterations e NQPACK YQPACK YQ GUIDE HQPACK are products of Tokyo Eletech Corporation R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 34 of 98 ROE3308BOEPBO00 User s Manual 2 Setup 2 10 Setting Switches 2 10 1 Setting Switches of Emulation Probe Set the switches of the emulation probe according to the condition Figure 2 12 shows the positions of the switches of the ROE3308BOEPBMO REV C RENESAS MADE IN JAPAN Hos ooocssooosccoeossoossooossoossoocas Ty i Cl C2 l l
69. eset an Addr Load z trace measurements It has the following four display 7A Trace Window E l modes ree sous wemix Vois B S5ource pron ed Fr 1 Bus mode Fe 2028 100000 faren Break lex Eyele 262153 ress P0038 Tine 0000 00 918 Bus information per cycle can be inspected The contents Label Address Data BUS BHE h 7 MAIN F80038 3BB8 ac R CP are displayed in order of execution paths F8003A 3001 F R j F8003C 0018 F R cP Disassemble data access mixed mode CNT 003001 RB R CPI ets F R A The executed instruction and the content of the accessed LOOPCNT eaa RB e data can be inspected together Contents are displayed in WORKRAM_END 003002 ba CP order of the execution paths F80044 F R CPI Disassemble mode Eee a R cpu The execution paths of the executed instructions can be F80044 F R CPU inspected The contents are displayed in order of FRNNRF RRQ IRh ar R PPI execution paths Source mode LPT ECP 00 h 00 m 00 sec 796 801 MCU STOP BREAK Forced p EA 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 Rees oo Rev 2 00 RENES AS Page 66 of 98 ROE3308BOEPBO00 U
70. f this check box is selected the watchdog timer starts after the user program has stopped so that if the user program is reexecuted the watchdog timer underflows generating a watchdog timer interrupt or a reset R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 47 of 98 ROE3308BOEPB00 User s Manual 3 Usage Emulator Debugger 7 Using or not using the CPU rewrite mode MCU Debugging Information Reset Emulator Resume Using or not using CPU rewrite mode Specify whether or not to debug in CPU rewrite mode To Ret debug the user system that uses CPU rewrite mode select ee 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 VO Address following functions cannot be used Setting the address match breakpoint Resource IV Enable the Addre Software breakpoint setting in the internal ROM area f a Execution of COME in the internal ROM area Debuethe program using the Watchdog Timer J Debug the program using the CPU Rewrite Mode sey Ad T Next Hide 8 Executing the self check a E Executing the self check MOU Debugging Information Reset Emulator Resume Enable this function when you want the emulator to be self checked at startup Be sure to select the check box only Peter when you want the emulator to be self checked at s
71. ffice equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions und
72. ick OK R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 63 of 98 ROE3308BOEPBO00 User s Manual 3 Example Data Settings Event setting for even address word access MOV W_ RO 512h RO 0203h 000512 0203 High order and low order data effective Event setting for odd address word access MOV W_ R0 519h RO 0203h Cycle Label Address Data BUS BHE BIU Label Address Data BUS BHE a Bf RWT Hpi 00026 000519 0302 4l 00025 000514 0302 Odd address high order data effective Even address low order data effective Event setting for even address byte access MOV B ROL 516h ROL 03h Cycle Label Address Data BUS BHE BIU 00033 000516 0503 465 Low order data effective Event setting for odd address byte access MOV B ROL 515h ROL 03h Cycle Label Address Data BUS BHE BIU R W RWT CPU 00046 000515 0315 16b 0 DB W 0 RW High order data effective 3 Usage Emulator Debugger Setting a break event A1 Address 1 000512 Data 1 0203 MASK FFFF Access WRITE Setting a break event using 2 events Al A2 Address 1 000519 Address 1 00051A Data 1 0300 Data 1 0002 MASK FF00 MASK OOFF Access WRITE Access WRITE Set the combinatorial events to AND Setting a break event A1 Address 1 000516 Data 1 0003 MASK OOFF Access Setting a break event Al Address 1 000515 Data 1 0300 MASK FFOO Access WRITE R20UT0210EJ0200_ Rev 2
73. indicate the target MCU s operating status and target board s power supply Table 1 4 lists the definition of each target status LED Table 1 4 Definitions of the target status LEDs Name Status Meaning POWER ON Power is supplied to the target MCU OFF Power is not supplied to the target MCU CLOCK ON Target MCU clock is oscillating OFF Target MCU clock is not oscillating RESET ON Target MCU is being reset OFF Target MCU is not being reset RUN ON User program is being executed OFF User program has been halted WARNING ON Target MCU internal clock is not oscillating OFF Target MCU internal clock is oscillating A CAUTION Caution for Target Status POWER LED e If your MCU has two or more power supply terminals VCC you need to supply power to all the terminals R20UT0210EJ0200 Rev 2 00 Se oe RENESAS Page 17 of 98 ROE3308BOEPBO00 User s Manual 1 4 Specifications 1 Outline Tables 1 5 and 1 6 list the specifications of the ROE3308BOEPBO00 Table 1 5 ROE3308BOEPBO0 specifications 1 2 Applicable MCUs M32C 8B Group Evaluation MCU M308B8FGGP ROM size 256 KB 8 KB RAM size 32 KB Usable mode Single chip mode Memory expansion mode Microprocessor mode Maximum operating frequency VCC1 VCC2 3 0 to 5 5 V 32 MHz Dual power supply specification 4 8 V lt VCCI lt 5 2 V and 3 0 V lt VCC2 lt VCC1 32MHz Applicable power supply
74. ing an address match breakpoint 2 Setting a software breakpoint to the internal ROM area 3 Executing COME to the internal ROM area Do not use the following functions to the rewrite control program area from setting CPU rewrite mode select bit to releasing it If any of these are used malfunctions may occur e g The emulator cannot shift to CPU rewrite mode or contents of ROM cannot be read out properly 1 Single stepping 2 Setting a software breakpoint 3 Setting a hardware breakpoint 4 Executing COME When CPU rewrite program is allocated to the expansion emulation memory the program may run out of control For the CPU rewrite program use an internal RAM area or external resource on the use system These precautions only need to be observed when using an emulator and do not apply for the actual MCU Note on Software Break e A software break generates a break interruption by forcibly inserting a BRK instruction 08h instead of an instruction code Therefore when referencing the result of a trace in bus mode 08h is displayed for the instruction fetch address where a software break is set Notes on Service Life of the MCU s Internal Flash ROM e With the ROE3308BOEPBO00 programs are downloaded to the MCU s flash ROM when debugging in single chip mode or memory expansion mode Because the number of write erase cycles of this ROM is limited the ROM must be replaced when at the end of its service life e If the
75. ipt 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 Restoring the last window state To restore the window state window position and window size in which you last closed the debugger select the Resume check box This check box is by default selected Downloading the load module again To download the load module user program again select the AutoDownLoad check box This check box is by default deselected R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENESAS Page 51 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 3 2 Starting Up the Emulator Debugger EMEM Dialog Box 1 Status tab 1 Specifying the processor mode Specifying the processor made Select the appropriate processor mode that suits your Status Emulation Memory Flash Clear ee p 7 syst
76. l 4 Hardware Specifications IMPORTANT Notes on Reset Vector Area e For a reset vector area memory of the emulator is always selected regardless of the setting of the EMEM dialog box Therefore when setting a microprocessor mode to use a ROM of the user system etc as an area including a reset vector area set a reset vector using a dump window etc e A reset vector area can be changed only when a program is stopped Notes on Stack Area e With this product a maximum 20 bytes of the user stack is consumed as a work area Therefore ensure the 20 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 e 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 e 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 emulator so the function such as timer is operated 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 Notes on Access Prohibited Area e The emulator contro
77. l register 000020h 00003Fh in the SFR is read and write protected When this register is accessed emulator control cannot be utilized e With this product address FFFFFFh cannot be read or written in correctly Note on DMA Transfer e With this product the user program is stopped with a loop program 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 DCTO 2 DMAI transfer count register DCT1 3 DMAO memory address register DMAO 4 DMAI memory address register DMA1 5 DMA2 transfer count register DCT2 RO 6 DMA3 transfer count register DCT3 R1 7 DMA2 memory address register DMA2 A0 8 DMA3 memory address register DMA3 A1 eee Rev 2 00 RENESAS Page 76 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications IMPORTANT Note on DMAC II Transfer Completion Interrupts e You can use DMAC II transfer completion interrupts during program execution only Do not generate DMAC II transfer completion interrupts when you use any function but program execution Note on Final Evaluation e Be sure to evaluate your system with an e
78. le m308b0_ad mcu in the Init dialog box of the emulator debugger to execute the A D conversion debug note the following e When using this product in memory expansion mode or microprocessor mode be sure to set the all SW5 to ON e When setting the register below to use the analog input port selection function you need to set the direction register of port P15 for a pin that performs A D conversion to input And you need to set the function selection register of port P15 for a pin that performs A D conversion to I O port A DO control register 2 address 394h b2 bl 1 0 ANOO to ANO7 1 1 AN20 to AN27 Also when the PO group and P2 group are selected for A D input port P15 cannot be used as an I O port When setting the register above port P15 cannot be used as an I O port even if A D conversion is halting e When using the A D converter in multi port sweep mode be sure to set the all SW5 to ON When setting the register below to use multi port sweep mode you need to set the direction register of port P15 for a pin that performs A D conversion to input And you need to set the function selection register of port P15 for a pin that performs A D conversion to I O port A DO control register 4 address 392h b3 b2 1 0 ANO to AN7 ANOO to ANO7 1 1 ANOto AN7 AN20 to AN27 Also when the PO group and P2 group are used for multi port sweep mode port P15 cannot be used as an I O port When setting the register abov
79. le for when using this product with the M32C PC7501 Emulator Debugger Please use one of them as occasion demands 1 Using the MCU file m308b0 mcu When selecting ANOO ANO7 or AN20 AN27 for analog input port select bits bit2 and bitl of 0394h port P15 can be used as an I O port However external trigger mode ADtrg and three phase timer B2 cannot be used When using the m308b0 mcu set all the SW5 switches of the ROE3308BOEPBMO0 to OFF 2 Using the MCU file m308b0_ad mcu For external trigger mode use the m308b0_ad mcu In this case set analog input port select bits bit2 and bit1 of 0394h as follows To select ANO AN7 or AN150 AN157 for analog input port select bits Set all the SW5 switches of the ROE3308BOEPBMO to ON To select ANOO ANO7 or AN20 AN27 for analog input port select bits Setting the SWS switches of the ROE3308BOEPBMO enables to set analog input pin by each individual pin Set the pins used for the A D conversion to ON and the pins not used to OFF Port P15 corresponding to a selected bit needs to be set to input When using this product with the M3T PD308F the notes are the same as above Use one of the two files as occasion demands Note on Voltage Detect Circuit e As the power voltage cannot be changed after powering on the user system the voltage detect circuit voltage down detect interrupt cannot be used with the ROE3308BOEPBOO Seoda 20 oo Rev 2 00 RENES AS Page 86 of 98
80. ltaneously as possible e Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged e 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 Static electricity may damage the internal circuits Do not pull this product by the flexible cable for connecting to the emulator main unit and emulation probe The cable may cause a break Do not flex the flexible cable for connecting to the emulator main unit and emulation probe excessively The cable may cause a break Do not use inch size screws for this equipment The screws used in this equipment are all ISO meter size type screws When replacing screws use same type screws as equipped before Caution to Be Taken for System Malfunctions If the emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Press the RESET switch on the emulator upper panel 2 If normal operation is not restored after step 1 shut OFF power to the emulator once and then reactivate it Cautions to Be Taken for Disposal Penalties may be applicable for incorrect disposal of this waste in accordance with your national legislation
81. ly reserved areas all areas other than the set area are externally accessible e MCU internal resources are automatically selected as SFR and RAM areas regardless of settings e When No Use is selected or nothing is selected in Map the specified area is allocated to an external area The difference between these cases and selecting EXTERNAL is a download speed only R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 55 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 3 Flash Clear tab 1 Setting to clear the MCU s internal flash ROM a Setting to clear the MCU s internal flash Status Emulation Memory Flash Clear ROM Specify whether or not you want the MCU s internal flash Flash ROM Block ROM to be cleared when downloading the user program or OOE0O0 OOEFFF OOFOOO OOFFFF i EEE FCo000 FCFFFF initialized to OxFF The MCU s internal flash ROM is FD0000 FDFFFF Clear All listed in block units FE0000 FEFFFF Any block which has had its check box selected is not FF0000 FFFFFF data When cleared the content of the flash ROM is cleared when downloading The memory content of this block remains intact unless overwritten by downloading Any block which has had its check box deselected is cleared when downloading The selected blocks are over written not erace on download Click the Select All button and
82. m stepping subroutines OVER Single steps the program skipping over subroutines RETURN Executes the program up to the high order subroutine 3 Stopping the user program STOP Stops the program 4 Program window screen after the user program has stopped Program window screen The program position at which the program has stopped is identified by the yellow background color Ep View E Source By Mix Vois z Line BRK Source 0035 int cnt 0036 volatile int i 0 0037 0038 0039 0040 0041 0042 0043 for cnt 0 cnt lt looper oo coo oc sSs o R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENESAS Page 58 of 98 ROE3308BOEPBO0 User s Manual 3 Usage Emulator Debugger 3 Setting breakpoints 1 Screen after breakpoint setup Breakpoint setup screen E Program Window Exe c There are three types of breakpoints as described below Eh View Care By Pie V Dis 7 Address match breakpoint A This breakpoint can be set only when you chose to use Lis Assemble the address match break function on the MCU tab of the Init dialog box void Func_Exe void A breakpoint can be set or cleared by double clicking in the breakpoint display area 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 breakpoi
83. may be changed without prior notice About the rights 1 We assume no responsibility for any damage or infringement on patent rights or any other 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 6 of 98 ROE3308BOEPBO00 User s Manual Precautions for Safety Precautions for Safety This chapter describes the precautions which should be taken in order to use this product safely and properly Be sure to read and understand this chapter before using this product Contact us if you have any questions about the precautions described here WARNING indicates a potentially dangerous situation that will cause death or A WARNING heavy wound unless it is avoided CAUTION indicates a potentially dangerous situation that will cause a slight A CAUTION injury a medium degree injury or a property damage unless it is avoided In addition to the two above
84. n the operating range of the evaluation MCU into pin X as shown in Figure 2 17 Pin Xour should be open Choose External in the emulator debugger to use this clock Evaluation MCU Oscillator circuit Oscillation output Figure 2 17 External oscillator circuit In the oscillator circuit shown in Figure 2 18 where a resonator 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 Xcm and Xcour Evaluation MCU Figure 2 18 Circuit in which oscillation does not occur 3 Using the Internal Oscillator Circuit The dedicated circuit in the PC7501 can generate any arbitrary frequency specified by the emulator debugger and it is 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 preparing an oscillator If you want to use the internal oscillator circuit of the PC7501 as a main clock choose Generated in the emulator debugger and specify a frequency you like to use for this clock supplied to an MCU 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 X of the MCU IMPORTANT Notes on
85. nd faulty fill in a Repair Request Sheet downloadable from the following URL And email the sheet and send the product to your local distributor http www renesas com repair A 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 94 of 98 ROE3308BOEPBO00 User s Manual Publication Date Sep 16 2010 Rev 2 00 Published by Renesas Electronics Corporation Microcomputer Tool Development Department 2 Edited by Renesas Solutions Corp tENESAS SALES OFFICES Renesas Electronics Corporation http www renesas com Refer to http www renesas com for the latest and detailed information Renesas E 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Te Renesas E 11 Te Renesas E Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Te Renesas E Arcadiastrasse 10 40472 D sseldorf Germany Te Renesas E 7th Floor Quan
86. nt is set Software breakpoint B A software breakpoint can be set or cleared by double clicking the breakpoint display area 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 H 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 59 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 4 Executing up to the cursor position Come command 1 Specifying the Come command PD308F C demo demo x30 Setup procedure for executing COME File Edit View Environment Debug Option BasicWindows OptionalWindows Help command 1 Click the line in the program display area at which you want the program to execute 2 Click the Come button RIL 0H if ROH 0H do AND B 0FH ROL AND B 0FOH RIH OR B RIH ROL MOY B ROL CA0 ROL R L q ADD L 01H A0 AQ 40 RIL 4RIL LPT ECP 00 h 00 m 00 sec 683 msec 432 use
87. o radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense This device complies with Part 15 of the FCC Rules Operation is subject to the following two conditions 1 this device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation CAUTION Changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment ROE3308BOEPBO00 User s Manual Preface Preface The ROE3308BOEPBO00 is an emulation probe for M32C 8B Group MCUs The ROE3308BOEPBO0 is used by connecting to the PC7501 emulator main unit This user s manual mainly describes specifications of the ROE3308BOEPBO00 emulation probe and how to setup it For details on the following products which are used with the ROE3308BOEPBO0 refer to each product s user s manual All components of this product are listed under 1 1 Package components page 14 If you have any questions about this product contact your local distributor The manuals relevant to usage of this product are listed below You can download the latest manuals from the Renesas Tools homepage http www renesas com tools Related manuals Item Manual Accessory Tools M3T 100LCC DMS User s Manual
88. ollowing range 4 8V lt VCCI lt 5 2V 3 0V lt VCC2 lt VCCI R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 82 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications IMPORTANT Notes on Clock Supply to an MCU e Clock can be supplied to the evaluation MCU in one of the following three ways This is determined by emulator debugger clock selection 1 When Internal is selected The clock generated by the oscillation circuit in the PC7501 is supplied to the evaluation MCU The clock is continually supplied to the evaluation MCU regardless of user system clock status and user program execution status 2 When External is selected The clock oscillating on the user system is supplied to the evaluation MCU Clock supply to the evaluation MCU depends on oscillation status oscillate off of the user system 3 When Generate is selected A clock generated by the dedicated circuit in the PC7501 is supplied to the evaluation MCU The clock is continually supplied to the evaluation MCU regardless of user system clock status and user program execution status e When operating this product with a sub clock be sure to set the SW2 and SW3 to XCIN and NC respectively Notes on Using the CPU Clock at Less than 10 MHz e To use the CPU clock at less than 10 MHz execute the command shown below in the Script Window after starting the emulator debugger Command _settimeout 600 Once this command is e
89. or in the reverse assemble area of the program source windows the content of this area is not displayed correctly though it can be displayed e The below bank addresses cannot be set for the debug monitor 1 MCU internal resources ROM RAM and SFR areas 2 Multiplex areas 3 Interrupt vector area R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 54 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 2 Emulation Memory Allocation as Expansion Area cao as Expansion Area Status Emulation Memory Flash Clear When selecting the memory expansion mode and microprocessor mode it is possible to allocate the emulation Debug Monitor Bank Address D0 memory at the expansion area for debugging max 4 areas In this dialog box set the memory allocation at the area for Internal ROM Area E000 FFFF FCOOO0 FFFFFF is debugging and specify the mapping information Setting bank address Bank Specify the bank address of the area to be allocated for Emulation Memory Allocation Po leia AD expansion as a hexadecimal number Area 1 fio 256KB 7 No Use For example specifying CO allocates the bank from address CO0000h frea 2 X x a auli No Usa Specifying area size Length Area 3 joo fi MB No Use Specify the size of the specified expansion area 256 KB or 1 MB When 256 KB is specified for Length 00 frea 4 E0 fi MB 7 No Use 04 08 and FC by
90. ow 21 RAM Monitor Area Setting Window ioj x RAM Monitor Area Setting Window in initial state By default the monitor area is set to 000400h through 0007FFh To change it click the line you want to set Remove Remove 4ll View 12 blocks 3072 bytes are available lt 1 block 256 bytes gt Save Load Close R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 72 of 98 ROE3308BOEPBO0 User s Manual 3 Usage Emulator Debugger 3 RAM monitor area setting dialog box Specifying the start address You can set the start address of the RAM area to be monitored Specifying the size Area 000400 OO07FF You can set the size to be monitored by specifying the Cancel number of blocks from the start address One block is 256 bytes in size 4 RAM monitor area setting dialog box when RAM monitor area is changed from 400h to 1 block A RAM Monitor rea Setting Window Specifying the start address You can set the start address of the RAM area to be Current Assigned Area monitored To add a RAM monitor area click the Add Start Area i i button The RAM Monitor Area Setting Window will be 000400 1 000400 0004FF as nae Remove All IEW 2 3 blocks 768 bytes are available lt 1 block 256 bytes gt Saye Load Close 5 RAM monitor area setting dialog box Changing the RAM monitor display area Clear 1 1Byte 1 2By
91. r M32C PC7501 Emulator Debugger or M3T PD308F following the procedure described below a 2 3 4 5 Downloading the emulator debugger as occasion demands Download the emulator debugger from the URL below free of charge http Awww renesas com download Launching the installer Start the emulator debugger install 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 21 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 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
92. r M3T PD308F This means a software tool to control the PC7501 emulator and this product and enable debugging e 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 e Host machine This means a personal computer used to control the emulator main unit and emulation probe e Software break A software break is a function to break the program before the system executes an instruction at the specified address The instruction at the preset address will not be executed e 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 e Target MCU This means the MCU to be debugged e User system This means a user s application system in which the MCU to be debugged is used e User program This means the program to be debugged e Evaluation MCU This means the MCU mounted on the emulator which is ope
93. rated in a dedicated mode for use with tools o This symbol indicates that a signal is active low e g RESET R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 13 of 98 ROE3308BOEPBO00 User s Manual 1 Outline 1 Outline This chapter describes the package components the system configuration and the preparation for using this product for the first time 1 1 Package Components The ROE3308BOEPBO00 package consists of the following items When unpacking it check to see if your ROE3308BOEPB00 contains all of these items Table 1 1 Package components Description Quantity ROE3308BOEPBO0 Emulation probe OSC 3 16MHz Oscillator circuit board OSC 2 Oscillator circuit bare board ROE3308BOEPBO0 Supplementary Document English ROE3308BOEPBO0 Supplementary Document Japanese ROE3308BOEPBO0 User s Manual This manual ROE3308BOEPBO0 User s Manual Japanese CD ROM MCU file firmware installer Please keep the ROE3308BOEPBO00 s packing box and cushion material in your place for reuse at a later time when sending your product for repair or other purposes Always use these packing box and cushion material when transporting this product Tf there is any question or doubt about the packaged product contact your local distributor Note To our customers On April 1st 2010 NEC Electronics Corporation merged with Renesas Technology Corp and Renesas Electronics Corporation took over all th
94. rea size 256 KB XOh X4h X8h XCh banks e g 20 bank 64 bank A8 bank EC bank etc For area size 1 MB XOh hank e g 20 bank 40 bank 80 bank AO bank etc Note on Using This Product e If using this product when the voltage of VCCI is higher than that of VCC2 VCCI and VCC2 should be within the following range 4 8V lt VCCI lt 5 2V and 3 0V lt VCC2 lt VCCI This precaution only need to be observed when using an emulator and does not apply for the actual MCU R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 18 of 98 ROE3308BOEPBO00 User s Manual 1 Outline Table 1 6 ROE3308BOEPBO0 specifications 2 2 Host machine interface LPT parallel ECP EPP Byte compatibility and Nibble compatibility modes USB USB 1 1 full speed LAN CLOBASE T Power supply to emulator Supplied from included AC adapter power supply voltage 100 240 V 50 60 Hz Connection to user system 144 pin 0 5mm pitch LQFP M3T FLX 144NSD not included see 2 9 Connecting the User System PLQP0144KA A on page 30 100 pin 0 5mm pitch LQFP 1 M30800T PTC not included PLQP0100KB A M3T 100LCC QSD not included 2 M30800T PTC not included M3T 100LCC DMS not included M3T FLX 100NSD not included 3 M3T F160 100NSD 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 7 and
95. rporation eo Rev 2 00 RENESAS Page 32 of 98 ROE3308BOEPBO00 User s Manual 2 Setup 2 9 3 Connecting to a 100 pin 0 5mm pitch Foot Pattern Part 3 Figure 2 10 shows how to connect the emulation probe to a 100 pin 0 5mm pitch foot pattern on the user system with the M3T F160 100NSD not included and here following is its procedure For details on the M3T F160 100NSD refer to its user s manual 1 Mount the NQPACK100SD included with the M3T F160 100NSD to the user system 2 Attach the YQPACK100SD included with the M3T F160 100NSD to the NQPACKI00SD 3 Insert the YQ GUIDE s included with the YQPACK100SD to the YQPACK100SD 4 Attach the M3T F160 100NSD to the YQPACKI00SD 5 Attach the ROE3308BOEPBO00 to the M3T F160 100NSD M3T FLX160 EPB ROE3308BOEPBO0 CN2 side M3T F160 100NSD not included On board evalution HQPACK100SD YQ GUIDE x4 not included YQPACK100SD x Sod 3 e FLASH MCU etc NQPACK100SD These corners are not round 100 pin 0 5mm pitch 100P6Q foot pattern These four items are available in one package User system Figure 2 10 Connecting to a 100 pin 0 5mm pitch foot pattern 3 3 A CAUTION Notes on Connecting the User System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator e The small connectors of
96. rrors always frequency 3 Problem R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 92 of 98 ROE3308BOEPBO00 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 12 of this user s manual 6 2 Maintenance 1 If dust or dirt collects on this product wipe it off with a dry soft cloth Do not use thinner or other solvents because these chemicals can cause the surface coating to separate 2 When you do not use this product for a long period remove the power supply the host machine and the user system 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 Inadequate user s system or misuse of it Fires earthquakes lightning storm flood and other unexpected disasters and damages In the
97. scillator 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 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 When using this product please make sure that an oscillator circuit board whose frequency is 16 MHz or less is mounted on the PC7501 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 39 of 98 ROE3308BOEPBO00 User s Manual 2 Replacing an Oscillator Circuit Board Remove the four screws of both sides of this product and lift off the upper cover see Figure 2 13 2 Setup Figure 2 13 Removing the upper cover R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 40 of 98 ROE3308BOEPBO00 User s Manual 2 Setup Unscrew the screw of the oscillator circuit board of the PC7501 and replace it see Figure 2 14 The oscillator circuit board of the PC7501 is in the lower right corner of the board Oscillator circuit board Unscrew the screw securing the oscillator circuit board Lift off the oscillator circuit board Attach another oscillator circuit board to the connector Secure the new oscillator circuit board with
98. ser s Manual 3 Usage Emulator Debugger 2 Trace window bus display Explanation of the trace window bus display Bus display The following explains the displayed contents from left to right us Nix Voi 0 Source E A Dot Step Co Address Shows the status of the address bus Data Shows the status of the data bus BUS Shows the width of the external data bus In the present 003360 F801E6 003360 003362 Fag les 003362 Feo 10a F8010C emulator only 16b for 16 bits wide bus is displayed BHE Shows the status 0 or 1 of the BHE Byte High Enable signal If this signal 0 the odd address data is valid BIU Shows the status between the BIU Bus Interface Unit and oooocooeocoeoce SE 2ZE 2 DREDD EDADD i memory or I O Disassemble display Sembal Status No change Fr maus aeni PY de cE vr AE h eat WAIT Executing the wait instruction Range 66536 00000 Ares Break File Cycle O0042 Address FONDA Time Cycle Address Obj code Label Hnemonic RBML Read bytes ML on 00042 FS0IDA S3F6FAFE CHPH 6HLFB 2H F8 Fetch 00087 F80IDE BANS FR01ERH we M035 F201E0 ESFIFC HIH ae Discontinuous fetch 00033 FS0iIE3 ESFIFE i HIH 2HLFB 03 F201EG EBF We F80IDAH Read words ML on 00027 1 F801D4 3 ls 6HCFB 2H FB Interrupt acknowledge cycle 00023 F8010E J J F801E8H 00022 F801E 5 H1H 4HCFB Read bytes TEE i 1O Ma y we k Read bytes by
99. t Setting Description When not using the analog input port selection function AD ON 7 4 el y4 cel MNE os M E cal E os E Cel chy OFF 0 This is the setting when not using the analog input port selection function When using this product with the conditions below use this setting When using the memory expansion mode When using the microprocessor mode When using the multi port sweep mode When selecting ANO to AN7 for analog input port select bits When selecting AN150 to AN157 for analog input port select bits AD23 to AD27 used ON 4 4 4 4 LIN This is a setting when using the analog input port selection function AN25 to AN27 t o OFF 0 UU 7 LC ADO0 to AD02 unused OFF AD20 to AD22 unused OFF AD ONO p and using AN23 to AN27 for analog input pins When using c Set the analog input pins to ON AN23 to AN27 With this setting set the direction registers of ports P153 to P157 to orro tt ttt tz input Pins P150 to P152 can be used for I O port ISTxDO ISCLKO L and ISRxDO AD20 to AD22 unused OFF ADEO ene Uso ON This is a setting when using the analog input port selection fun
100. t 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 e 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 e Make sure nothing falls into the cooling fan on the top panel especially liquids metal objects or anything combustible Warning for Installation X e Do not set this product in water or areas of high humidity Make sure that the product does not get wet Spilling iS water or some other liquid into the product may cause unrepairable damage Warning for Use Environment e 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 8 of 98 ROE3308BOEPBO00 User s Manual Precautions for Safety A CAUTION Cautions to Be Taken for Turning On the Power e 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 simu
101. t can be used by simply turning on the power e Do not shut off the power while downloading the firmware If this happens the product will not start up properly If power is shut off unexpectedly redownload the firmware e Except when a target status error occurs if the self check is not completed successfully there may be trouble with the product In such case contact your sales representative e Perform the self check while not connecting the user system Note on Quitting the Emulator Debugger e To restart the emulator debugger after it ends always shut power to the emulator module off once and then on again Notes on Power Supply to the User System e Pin Vcc of the emulator is connected to the user system to observe the voltage of the user system Therefore design your system so that the user system is powered separately e The voltage of the user system should be within the following 1 When JP1 is set as VCC1 2 3 0 V lt VCCI VCC2 lt 5 5 V 2 When JP1 is set as VCC1 gt 2 48V lt VCC1 lt 5 2V 3 0 V lt VCC2 lt VCC1 e Do not change the voltage of the user system after turning on the power Notes on Using This Product When the Voltage of VCC1 is Higher than That of VCC2 e If using this product when the voltage of VCC1 is higher than that of VCC2 set the JP1 to VCC1 gt 2 For the switch JP1 refer to 2 10 1 Setting Switches of Emulation Probe page 35 e The voltage of the user system should be within the f
102. tain Hazardous Substances in Electrical and Electronic Equipment RoHS Directive 2002 95 EC e Waste Electrical and Electronic Equipment WEEE Directive 2002 96 EC WEEE Marking Notice European Union Only Renesas development tools and products are directly covered by the European Union s Waste Electrical and Electronic Equipment WEEE Directive 2002 96 EC As a result this equipment including all accessories must not be disposed of as household waste but through your locally recognized recycling or disposal schemes As part of our commitment to environmental responsibility Renesas also offers to take back the equipment and has implemented a Tools Product Recycling Program for customers in Europe This allows you to return equipment to Renesas for disposal through our approved Producer Compliance Scheme To register for the program click here http www renesas com weee United States Regulatory notices on Electromagnetic compatibility FCC Certifications United States Only This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference t
103. tartup This function may be enabled in the following cases When you are using the emulator you have just Type purchased VO Address When you fail to download the firmware Resource When you successfully download the firmware but fail JV Enable the Address Match Interrupt Break Function to start up the emulator Debug the program using the Watchdog Timer J Debug the program using the GPU Rewrite Mode 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 Seb AN Next Hide results This function can be enabled only when you are starting up the emulator debugger R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 48 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 2 Debugging Information tab 1 Specifying the compiler used and the object format Specifying the compiler used and the object format Specify the compiler you are using and the format of the Compiler NCGSOBWA object file output by the compiler Compiler Object Format IEEE 695 Select the compiler you are using By default the C compiler from Renesas is selected On Demand Directory Object Format nSlemporary Files Select the format of the object file that is output by the CANIM DOWS temp compiler you are using Specifying th
104. tes mi48ytes HHex Docc Bein Register 10 2 3 5 6 7 3 9 A B C D E ASOT al You can change the manner in which the RAM monitor area you have set in the above dialog box is displayed Up Shows the blocks at the preceding addresses Down 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 R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENES Page 73 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications 4 Hardware Specifications This chapter describes specifications of this product 4 1 Target MCU Specifications Table 4 1 lists the specifications of target MCUs which can be debugged with this product Table 4 1 Specifications of target MCUs for the ROE3308BOEPB00 Applicable MCU M32C 8B Group Applicable MCU mode Single chip mode memory expansion mode microprocessor mode Maxi ROM RAM capacity 1 Internal flash ROM 256 KB 8 KB OE000h OFFFFh FCO000h FFFFFFh 2 Internal RAM 32 KB 00400h 083FFh Operating voltage frequency VCC1 4 8 to 5 2 V VCC2 3 0V to VCC1 f CPU 32KHz to 32MHz VCC1 VCC2 3 0 to 5 5 V f CPU 32KHz to 32MHz The operating voltage specification of the MCU is 3
105. the screw Figure 2 14 Replacing oscillator circuit boards Reinstall the upper cover once removed and secure the four screws of the PC7501 A CAUTION Note on Removing the Upper Cover e Always shut OFF power when removing the upper cover or changing the oscillator circuit board Otherwise the internal circuit may be damaged R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 41 of 98 ROE3308BOEPBO00 User s Manual 2 Setup 3 Using the Oscillator Circuit Bare Board To use this product at a frequency you like build a desired oscillator circuit on the included OSC 2 oscillator circuit bare board Figure 2 15 shows an external view of the OSC 2 oscillator circuit bare board and the connector pin locations Figure 2 16 shows the circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillation output J1 2 GND J1 1 VCC X1 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 Figure 2 16 Circuit of the oscillator board OSC 2 bare board R20UT0210EJ0200_ Rev 2 00 Sep 16 2010 RENESAS Page 42 of 98 ROE3308BOEPBO0 User s Manual 2 Setup 2 Using the Oscillator Circuit on the User System To operate this product with an oscillator circuit of the user system input the oscillator output at 50 duty withi
106. the specified Start event occurred to when the specified Start event became nonexistent N A range of cycles from when the specified Start event occurred to when the specified End event occurred R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENES Page 70 of 98 ROE3308BOEPBO00 User s Manual 3 6 RAM Monitor Window 1 RAM monitor window 1 RAM monitor window Menu Menu item Function 3 Usage Emulator Debugger BasicWindows RAM Monitor Window _ Opening the RAM monitor window 10 ti Down Biase Esan cier 1 Byte 11 2Bytes um4Btes Hiex D Address Label Register 0 1 2 3 4 5 6 7 8 9 8 F ASCII 0010 000160 l RAM monitor window This window shows changes of memory contents while the user program is executed This is accomplished by using the real time RAM monitor function and the memory contents corresponding to the RAM monitor area are displayed in dump form The memory contents displayed here are updated at given intervals by default every 100 ms during user program execution R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 71 of 98 ROE3308BOEPBO00 User s Manual 3 Usage Emulator Debugger 2 RAM monitor area setting window 1 Opening RAM monitor area setting window Base Bass p er Bye E Huex Docc Ban a A Register 071s 2 eg AE E SOI Clicking this toolbar button opens the RAM monitor area setting wind
107. 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 When disposing of the emulator Penalties may be applicable for incorrect disposal of this waste in accordance with your national legislation R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 5 of 98 ROE3308BOEPBO00 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
108. tion mode at the Type area Specify the I O address of the parallel port at the I O address area For BIOS aN JSE auTO x Target setup the following addresses are available 378h VO Address _ 378h F sett check 278h Resource IV Enable the Address Match Interrupt Break Function Debug the program using the Watchdog Timer Debug the program using the GPU Rewrite Mode ut AJV J Next Hide R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 45 of 98 ROE3308BOEPBO00 User s Manual 3 Specifying the communication interface LAN communication Init MOU Debugging hformation Reset Emulator Resume MCU LAN C USB IP Address 101563160 SEEN Port 7500 I Self Check m Resource IV Enable the Address Match Interrupt Break Function J Debug the program using the Watchdog Timer J Debug the program using the CPU Rewrite Mode zesto aw J Next Hide 4 Specifying the communication interface USB communication Init MCU Debugging Information Reset Emulator Resume MCU Refer wey o Serial No fi HMO05 7 Target J Self Check m Resource IV Enable the Address Match Interrupt Break Function J Debug the program using the Watchdog Timer J Debug the program using the CPU Rewrite Mode T Next Hide es AW 3 Usage Emulator Debugger Specifying the communication interfa
109. tum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 PR China Te Renesas E Unit 204 205 AZIA Center No 1233 Lujiazui Ring Rd Pudong District Shanghai 200120 China Te Renesas E Unit 1601 1613 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Te Renesas E 7F No 363 Fu Shing North Road Taipei Taiwan Te Renesas E 1 harbour Te Renesas E Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 JIn Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Te Renesas E 11 Te lectronics America Inc 1 408 588 6000 Fax 1 408 588 6130 ectronics Canada Limited 01 Nicholson Road Newmarket Ontario L3Y 9C3 Canada 1 905 898 5441 Fax 1 905 898 3220 lectronics Europe Limited 44 1628 585 100 Fax 44 1628 585 900 lectronics Europe GmbH 49 21 1 65030 Fax 49 211 6503 1327 lectronics China Co Ltd 86 10 8235 1155 Fax 86 10 8235 7679 lectronics Shanghai Co Ltd 86 21 5877 1818 Fax 86 21 6887 7858 7898 lectronics Hong Kong Limited 852 2886 9318 Fax 852 2886 9022 9044 lectronics Taiwan Co Ltd 886 2 8 175 9600 Fax 886 2 8175 9670 lectronics Singapore Pte Ltd Front Avenue 06 10 keppel Bay Tower Singapore 098632 65 6213 0200 Fax 65 6278 8001 lectronics Malaysia Sdn Bhd 60 3 7955 9390 Fax 60 3 7955 9510 lectronics Korea Co Ltd
110. uetgedcgeees 76 Notes on Maskabl Interrupts seacciccissscscivesceacahocenterssecdebtanecnveg ecdeete ane E AEE aaa a aaae a REE 76 Notes on Access Prohibited Area ssssssssssnssssssssrsssrrnssenssrnssrenstenstenstenstnnstnnsstenstenstenstenateoennnennnenn nenn 76 Note OmDMA Transient cis cc cidntcti decid ae Ba a aaa a aie oldies nein 76 Note on DMAC II Transfer Completion Interrupts 0 ccceesceceeeee cece eeeeaeeeeeeeeeaaeeeeaaeeeeeeeseeeesaeeseeeeeeees 77 Note on Final EVAIWAUOM aoaia aa E A AR A E 77 4 3 C nnection Didaga MS irinse anana aaa aaa aad aeania aaa ian Naiada 78 4 4 External DIMENSIONS ss scsi Aes sists anaana aaa i aaa ad ad ele nis Reine eed eee 80 4 4 1 External Dimensions of the Emulation Probe cccccecececeeeeeeeeeeeaeeceeeeceaeeseaaeeeeeeeseaeeesaaeeseeneeenees 80 4 4 2 External Dimensions of the M3T F160 100NSD cccecccccssescecesseeeeeeceeeeeeeeseneeeeeseneaeeesensaeensenaaees 81 4 4 3 External Dimensions of the M3T FLX 144NSD cece ccccceccecesseeeeeeceeeeeeeseeeeeeuseeeeeeeuseneaeesseesaeessesaaees 81 4 5 Notes om Using This ProQuet sic cccSsiecs ste eceassa cy cnet sdeves a a E Aaa EE E Ai 82 Notes on Downloading Firmware cccccccceeeseceeeeeceeeeeeaaeseeneeceaeeeceaaeseaeeseaeeeceaeseeaaesseeeeseaeeseaeseeaeeeseeeess 82 Note on Quitting the Emulator Debugger cceecceceeeeeeeeeeeeeeeceeeeeeeaaeeeeaeeceeeeeseaeeeeaaeseeeeeseaaeeeeaaeenaaeeeeeeess 82
111. 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 In no 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 Therefore
112. valuation MCU Before starting mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 77 of 98 ROE3308BOEPBO00 User s Manual 4 3 Connection Diagrams 4 Hardware Specifications Figures 4 1 and 4 2 show the connection diagrams of the ROE3308BOEPBO0 These connection diagrams mainly show the interface section The signals not shown in Figures 4 1 and 4 2 connect the evaluation MCU and the user system directly The circuits not connected to the user system such as the emulator s control system are omitted in Figures 4 1 and 4 2 Table 4 2 shows IC electric characteristics of this product for reference purposes 115 IC1 P87 Xcin Vcont P86 Xcout I O Emulate MCU AVcc AVss Vref P85 NMI O Vcc c4 GND Vcc C3 O JP1 gt lt Vref OS 1 XCIN_ SW2 XCIN_ s O P87 O gt X lt P87 Xcin 17 NC OX NC SWs 18 030 NC o P86 gt P86 Xcout Vog 143 SWio AVS pa AVcc O 140 Lo AVSS S lt AVss J GND C1 142 gt lt Vref Vcc R17 R18 100k 24 gt I P85 NMI 20 pgs XOUT gt XOUT ie NC o X NC NOX O S X No R14 Vec RESET Rig Vee RRA i P55 RDY R15 Vee RA P57 HOLD p XIN CNVss a BYTE Connected to the inside of the emulator User system Figure 4 1 Connection diagram of the ROE33 O8BOEPBOO 1 2
113. xecuted it remains effective the next time you start the emulator debugger Therefore you do not need to execute this command again e When you use the CPU clock at less than 1 MHz contact your local distributor Notes on Address Match Interrupt e Do not single step an address where an address match interrupt occurs e When using an address match interrupt do not select the check box of Enable the Address Match Interrupt Break Function in the MCU tab of the Init dialog box When not using an address match interrupt select the check box e When you use address match breaks if a low reset is input during a user program execution a debug monitor program about 100 cycles is executed after a reset is released Take note that it has effects on the user program execution time and the result of a trace Seoda ai oo Rev 2 00 RENES AS Page 83 of 98 ROE3308BOEPBO00 User s Manual 4 Hardware Specifications IMPORTANT Notes on EMEM Dialog Box Observe the following when setting up EMEM dialog box of the emulator debugger 1 Debug Monitor Bank Address e The default value of Debug Monitor Bank Address is FO To set single chip mode or memory expansion mode internal flash memory is automatically allocated in EOOOh FFFFh and FC0000h FFFFFFh Therefore change the Debug Monitor Bank Address to the area which does not start from FO The specified value becomes effective after restarting the system e When DO is specified
114. z or less If the PC7501 comes with an oscillator circuit board OSC 3 30 MHz replace it with the oscillator circuit board OSC 3 16 MHz included in this product eee Rev 2 00 RENESAS Page 23 of 98 ROE3308BOEPBO0 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 A 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 R20UT0210EJ0200 Rev 2 00 Sep 16 2010 RENESAS Page 24 of 98 ROE3308BOEPBO0 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 PC
Download Pdf Manuals
Related Search
Related Contents
艦 とアフターサービス 安全衛生設備等設置助成要綱 Oregon Scientific EW96 Clock User Manual superserver 5015m-mr superserver 5015m-mr+ Aérosol Special Fourmis 400ml (voir la fiche produit) fichier 1 - CRDP de Montpellier REMstar® Dell Projector 1220 User's Manual 無線 LAN 及びルーターを接続する場合のご注意 Copyright © All rights reserved.
Failed to retrieve file