background image

M306H7T3-RPD-E User’s Manual 

3. Usage (How to Use the Emulator Debugger)   

REJ10J0964-0100 Rev.1.00 August 01, 2005 

 

Page 56 of 88 

 

 

3.4 Downloading Program 

Download the user program to be debugged. 

 

1) Downloading from the work space window 

 

 

   

 

Downloading the program

 

Download the object program you want to debug. 
Select Download from “xxx.x30” of “Download module”. 
Or you can select “Download” from the “Debug” menu for the same 
effect.

 

 

 

2) Showing the source program 

 

 

 

Editor (Source) window

 

The editor (source) window is a window that always shows the content 
of the source file corresponding to the current position of the program 
counter (hereafter, PC). 
 
The position of the PC at which the user program has stopped is 
marked by a yellow arrow. 
The operation up to the cursor position can be executed, and the 
software break point can be set up and reset, etc.

 

 

 

Содержание Emulation Pod M306H7T3-RPD-E

Страница 1: ...ook over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1st 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry ...

Страница 2: ...ct 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 office equipment communications equipment test and meas...

Страница 3: ...M306H7T3 RPD E User s Manual User s Manual Rev 1 00 2005 09 Emulation Pod for M16C 6H Group M306H7 ...

Страница 4: ...al inaccuracies or typographical errors Renesas Technology Corp assumes no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corp by various means including the Renesas Technology Corp Semiconductor home page http www renesas com 4 When using any or all of the information contained...

Страница 5: ...n 1 1 Package components page 13 If there is any question or doubt about this product contact your local distributor The related manuals for using this product are listed below You can download the latest manuals from the Renesas Tools homepage http www renesas com en tools Related manuals Item Manual Emulator main unit PC4701U User s Manual PC4701M User s Manual PC4701HS User s Manual Integrated ...

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

Страница 7: ...constantly making efforts to improve the design and performance of this emulator Therefore the specification or design of this emulator or its user s manual may be changed without prior notice About the rights 1 We assume no responsibility for any damage or infringement on patent rights or any other rights arising from the use of any information products or circuits presented in this user s manual...

Страница 8: ...tes an imminently dangerous situation that will cause death or heavy wound unless it is avoided However there are no instances of such danger for the product presented in this user s manual WARNING WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION CAUTION indicates a potentially dangerous situation that will cause a slight injury ...

Страница 9: ...ure that a reliable ground connection is maintained If you smell a strange odor hear an unusual sound or see smoke coming from this product then disconnect power immediately by unplugging the AC power cable from the outlet Do not use this as it is because of the danger of electric shock and or fire In this case contact your local distributor Before setting up this emulator and connecting it to oth...

Страница 10: ...communications interface cable or the flexible cable for connecting the user system And excessive flexing or force may break conductors Do not flex the flexible cable FLX120 RPD for connecting to the emulator main unit and the flexible cable M3T FLX160C for connecting the user system excessively The cable may cause a break Do not use inch size screws for this equipment The screws used in this equi...

Страница 11: ...4701 and Emulation Pod Arrangement 25 2 5 Turning ON the Power 26 2 5 1 Checking the Connections of the Emulator System 26 2 5 2 Turning ON OFF the Power 26 2 5 3 LED Display When the Emulator Starts Up Normally 27 2 6 Downloading Firmware 28 2 6 1 When It is Necessary to Download Firmware 28 2 6 2 Downloading Firmware in Maintenance Mode 28 2 7 Self check 29 2 7 1 Self check Procedure 29 2 7 2 If...

Страница 12: ...r Window 68 4 Hardware Specifications 69 4 1 Target MCU Specifications 69 4 2 Differences between the Actual MCU and Emulator 70 4 3 Connection Diagram 72 4 4 External Dimensions 74 4 4 1 External Dimensions of the Emulation Pod 74 4 4 2 External Dimensions of the M30800T PTC 75 4 5 Notes on Using This Product 76 5 Troubleshooting 80 5 1 Flowchart to Remedy the Troubles 80 5 2 When the Emulator De...

Страница 13: ...t fill it in and FAX it to your local distributor or email the same contents to the following address Your registered information is used for only after sale services and not for any other purposes Without user registration you will not be able to receive maintenance services such as a notification of field changes or trouble information So be sure to carry out the user registration For more infor...

Страница 14: ...ns a software tool starting up from the High performance Embedded Workshop to control the emulator and this product and enables debugging Firmware Program that analyzes 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 ...

Страница 15: ...ard for main clock preinstalled 1 OSC 2 oscillator circuit board bare board 1 Network resistors for pulling up ports P0 P5 51kΩ x 8 6 H W Tool Customer Registration Sheet English 1 H W Tool Customer Registration Sheet Japanese 1 Repair request sheet English 1 Repair request sheet Japanese 1 M306H7T3 RPD E User s Manual This manual 1 M306H7T3 RPD E User s Manual Japanese 1 M306H7T3 RPD E Supplement...

Страница 16: ...ckage above Get them separately Table 1 2 Other tool products required for development Product Product name Notes Emulator main unit PC4701 M16C PC4701 Emulator Debugger Emulator debugger M3T PD30 Included with the PC4701 M3T 100LCC DMS M3T DIRECT100S M3T 100LCC DMS M3T DUMMY100S Pitch converter board 100 pin 0 65 mm pitch QFP PRQP0100JB A M3T 100LCC DMS M3T FLX 100NRB Required according to a foot...

Страница 17: ...pod and the user system 4 Converter board M30800T PTC included This is a converter board for connecting to 100 pin 0 65 mm pitch LCC socket IC61 1004 051 on the user system For details refer to 2 8 Connecting the User System page 31 5 Emulator main unit PC4701 The emulator main unit for the M16C 7700 and 740 families to be used with this product 6 Host machine A personal computer to control the em...

Страница 18: ...ons of the system status LEDs Name Status Meaning ON Emulator system power supply is turned ON POWER OFF Emulator system power supply is turned OFF ON Emulator system is operating normally Flashing Special mode maintenance mode for downloading firmware The emulator system does not operate except for downloading firmware and the self check SAFE OFF Emulator system is not operating normally system s...

Страница 19: ... Target MCU is not being reset ON User program is being executed RUN OFF User program has been halted ON CPU clock of target MCU is not oscillating HALT OFF CPU clock of target MCU is oscillating IMPORTANT Note on the Target Status POWER LED If your MCU has two or more power supply terminals Vcc you need to supply power to all the terminals Note on the Target Status CLOCK LED If the LED is not tur...

Страница 20: ...ariables run time execution Register reference setting Disassemble display C level debugging etc Real time trace function 32K cycle bus information recordable Bus external trigger time stamp 5 trace modes supported Break Before About After Full Can be recorded ON OFF by events Real time RAM monitor function 1 024 bytes Data last access result Hardware break function 6 points Bus detection interrup...

Страница 21: ...to use this emulator with the operating environmental of the emulator and host machine listed in Tables 1 7 and 1 8 Table 1 7 Operating environmental conditions Item Description 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 Item Description Host machine IBM PC AT compatibles OS Windows 98SE Windows Me Windows XP Win...

Страница 22: ...mulator Connect the emulation pod M306H7T3 RPD E using the FLX120 RPD to the PC4701 Be sure to see 2 4 3 PC4701 and Emulation Pod Arrangement on page 25 Connect the power supply for the emulator Connect a power supply for the emulator Connect the user system Connect the user system as occasion demands Turning on the power supply Turn ON the power to the emulator and the user system as simultaneous...

Страница 23: ...Downloading the M16C PC4701 Emulator Debugger as occasion demands Download the latest M16C PC4701 Emulator Debugger from the URL below free of charge http download renesas com eng mpumcu upgrades in_circuit_emulators m16c index html 2 Launching the installer Start the setup exe program 3 Entering the user information In the user information dialog box enter the user information contractor section ...

Страница 24: ...board PCA4202G02 discontinued product is required on the host machine side Serial RS232C The RS232C interface cable 25 pin female 25 pin female conversion cable and 25 pin female 9 pin female conversion cable are supplied with the PC4701HS PC4701HS LAN 10BASE 2 5 The LAN interface cable 10BASE 2 5 is supplied with the PC4701HS LPT parallel The LPT parallel interface cable is supplied with the PC47...

Страница 25: ...701 and FLX120 RPD Figure 2 2 Connecting the cable to the PC4701 CAUTION Note on Connecting the PC4701 and FLX120 RPD Always shut OFF power before connecting the cable Otherwise the internal circuits may be damaged IMPORTANT Notes on Connecting the Cable and Securing the Screws To connect the FLX120 RPD be sure to hold the both sides of the PC4701 side connector horizontally with the UPSIDE facing...

Страница 26: ...3 Connecting the FLX120 RPD to the emulation pod CAUTION Note on Connecting the Cable Always shut OFF power before connecting the emulation pod and the FLX120 RPD Otherwise the internal circuits may be damaged IMPORTANT Note on Securing the Screws After connecting the emulation pod and the FLX120 RPD be sure to secure the screws mounted in both sides of the connector cover FLX120 RPD Secure with t...

Страница 27: ... the slit it is impossible to comply with the overseas applicable standards U S FCC and CE Marking to be satisfied by this product Figure 2 4 PC4701 and Emulation Pod Arrangement CAUTION Note on PC4701 and Emulation Pod Arrangement The PC4701 and emulation pod should be laid out in accordance with the explanation herein In case where these arrangements were carried out without following the explan...

Страница 28: ...mulator or user system powered on because of leakage current the internal circuits may be damaged When turning ON the power again after shutting OFF the power wait for about 10 seconds IMPORTANT Notes on Power Supply The emulator s pin Vcc is connected to the user system in order to monitor user system voltage For this reason the emulator cannot supply power to the user system Therefore provide th...

Страница 29: ...rminals Note on the Target Status CLOCK LED If the LED is not turned on check the following 1 After powering on the PC4701 before starting up the emulator debugger Make sure that the oscillator circuit board is properly installed in the PC4701 and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are complete Make sure that the oscillator sel...

Страница 30: ... may not be downloaded in maintenance mode correctly with the USB interface 2 Within 2 seconds of activating power to the emulator press the RESET switch on the PC4701 upper panel to switch to 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 fir...

Страница 31: ...starts blinking and then press the system reset switch again 5 The self check will start If the normal result is displayed in about 30 seconds the self check has terminated normally Figure 2 7 LED display in the self check procedure Immediately after turning on the power POWER SAFE ERROR S T AT US O F SYSTEM RESET POWER CLOCK RESET RUN HALT POWER SAFE ERROR S T A TU S OF SYSTEM RESET POWER CLOCK R...

Страница 32: ...pod and PC4701 are connected properly Whether the proper firmware has been downloaded Whether the switch settings of this product are the factory settings IMPORTANT Notes on Self check Perform the self check while not connecting the user system If the self check does not result normally excluding user system error the emulation pod may be damaged Then contact your local distributor SW1 SW2 SW4 SW3...

Страница 33: ...a wrong direction It may cause a fatal damage to the emulator or user system NQPACK YQPACK YQSOCKET YQ GUIDE HQPACK TQPACK and TQSOCKET are trademarks of Tokyo Eletech Corporation M3T 100LCC DMS not included M3T FLX100 T not included M3T FLX100 R not included No 1 pin These three products are available in one package 1 LCC socket 100 pin LCC included M3T DIRECT100S 100 pin QFP not included M3T DUM...

Страница 34: ...he FLX160 PRB 3 Attach the M30800T PTC to the 100 pin LCC socket Figure 2 10 Connecting to a 100 pin LCC socket CAUTION Note on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator or user system IMPORTANT Notes on Connectors of Converter Boards The connectors of the M30800T PTC are guaranteed for only 50 insertion ...

Страница 35: ...e M30800T PTC to the CN2 side of the FLX160 PRB 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 11 Connecting to a 100 pin 0 65 mm pitch foot pattern 1 3 CAUTION Note on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator or user system IMPORTANT Notes on Connectors of Converter Boards The connectors of the...

Страница 36: ...the CN2 side of the FLX160 PRB 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 12 Connecting to a 100 pin 0 65 mm pitch foot pattern 2 3 CAUTION Note on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator or user system IMPORTANT Notes on Connectors of Converter Boards The connectors of the M30800T PTC are ...

Страница 37: ...f the M30800T PTC to the CN2 side of the FLX160 PRB 6 Attach the M30800T PTC to the M3T 100LCC DMS Figure 2 13 Connecting to a 100 pin 0 65 mm pitch foot pattern 3 3 CAUTION Note on Connecting the User System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator or user system IMPORTANT Notes on Connectors of Converter Boards The connectors of...

Страница 38: ...er remove the four screws of both sides of this product and lift off the upper cover see Figure 2 14 2 Attaching he upper cover To close the upper cover attach the upper cover and secure the four screws of both sides of this product Figure 2 14 Removing the upper cover CAUTION Note on Removing and Attaching the Upper Cover Always shut OFF power when removing attaching the upper cover or changing t...

Страница 39: ...f each part MCU dependent board Common board M30620T3 RPDC 1 Oscillator circuit board 2 Switches 2 Switches 3 Socket for mounting network resister for pullup 4 Bypass capacitor for A D converter SW1 START CNVss JP2 CVIN1 JP3 SYNCIN JP4 SVREF JP5 TEST3 ADDAna V50 TVDD 2 Switches JC1 P87 Xcin Xout P86 Xcout VCC1 M306H7T3 PRT M306H7T3 PRT REV A SW2 SW3 SW4 SW5 JP1JP2 JP3 JC1_R JP6 JP4 JP5 JP7 C7 ...

Страница 40: ...N XOUT External User system Internal Internal oscillator circuit of emulation pod 32 768 kHz Sub XCIN XCOUT External User system Yes IMPORTANT Note on Changing the Clock Supply The clock supply can be set in the Init dialog box when starting up the emulator debugger or inputting CLK command on the script window For pins XCIN XCOUT it is necessary to set the switches in the emulation pod For detail...

Страница 41: ...e screw securing the oscillator circuit board 2 Lift off the oscillator circuit board 3 Insert the connector of a new oscillator circuit board to the connector of the main board 4 Secure the new oscillator circuit board with the screw Figure 2 16 Replacing oscillator circuit boards CAUTION Note on Replacing the Oscillator Circuit Board Always shut OFF power when removing the upper cover or replaci...

Страница 42: ...located Figure 2 18 shows the circuitry of the OSC 2 oscillator circuit board bare board Use the number of oscillator circuits recommended by the oscillator manufacturer Figure 2 17 External view of the OSC 2 oscillator circuit board and its connector pin positions Figure 2 18 Circuits of the OSC 2 oscillator circuit bare board IC1 R1 C2 C1 X1 X2 CLK Vcc GND R2 J1 3 10 11 8 9 2 1 4 3 6 5 12 13 IC1...

Страница 43: ...e of the evaluation MCU into pin XIN And pin XOUT should be open Choose External in the emulator debugger to use this clock Figure 2 19 External oscillator circuit Make note that in the oscillator circuit shown in Figure 2 20 where a resonator is connected between pins XIN and XOUT oscillation does not occur because a flexible cable buffer IC and other devices are used between the evaluation MCU a...

Страница 44: ...ock after releasing reset Factory setting H OPEN L Does not pull up down pin START of the MCU Be sure to use this setting when the user system is connected START SW1 H OPEN L Xcin Xcout is selected as an operation clock after releasing reset Factory setting L OPEN H Pulls down pin CNVSS of the MCU with a resistance of 1 kΩ Be sure to use this setting when the user system is not connected Factory s...

Страница 45: ...itch Settings Switch settings of the START and CNVSS are for debugging without the user system connected 2 Jumper Switches JP1 to JP7 on the M306H7T3 PRT Board MCU dependent Table 2 5 Switch settings of the M306H7T3 PRT 3 Signal Switch Setting of jumper switches FLX FLX INT INT SYNCIN JP1 Connects pin SYNCIN to internal circuit of the M306H7T3 PRT Connects pin SYNCIN to the user system via the M3T...

Страница 46: ...ing when the potentials of VCC1 and VCC2 are different Factory setting VDD2 V50 TVDD VDD2 V50 TVDD VDDAna JP5 Do not use this setting Be sure to use this setting Factory setting JC1_R JC1_R JC1_R JP6 Does not pull down video input signal RCA connector Pulls down video input signal RCA connector with a resistance of 75 Ω Factory setting V50 TVDD V50 TVDD TVDD JP7 Do not use this setting Be sure to ...

Страница 47: ...quired For the mounting location refer to Figure 2 21 below And for the positions of each part refer to Figure 2 15 Figure 2 21 Position for mounting network resistors for pullup CAUTION Note on Installing and Removing Network Resistors for Pullup Always shut OFF power before installing or removing network resistors for pullup Also install network resistors for pullup properly Otherwise internal c...

Страница 48: ...nt suitable bypass capacitors as occasion demands Figure 2 15 shows where they are installed and Figure 2 22 shows their connection Figure 2 22 Foot patterns of bypass capacitors for A D converter IMPORTANT Note on the A D Converter Function Because a flexible cable and other devices are used between the evaluation MCU and the user system the A D converter operates differently from that of the act...

Страница 49: ...n in Figure 2 23 and Figure 2 24 respectively Figure 2 23 Connection diagram of circuits connected to the data slicer Figure 2 24 Arrangement of the parts used for each circuit C15 C8 R5 C9 C10 C11 R6 SYNCIN CVIN LP3 LP4 PER E 109 108 112 103 JP1 JP2 C14 C12 R13 R7 Q1 R11 R8 VR1 R10 VDDAna VDDAna R12 JC1 JP6 C12 C15 C14 560pF 47μF 47μF 470Ω R7 75Ω R12 C10 C11 C9 C8 47pF 0 1μF 0 1μF 47pF R13 R11 R8...

Страница 50: ...01 emulator debugger on the High performance Embedded Workshop C Program Files Renesas Hew Tools Renesas DebugComp Platform PDTarget PD30 McuFiles When using the M3T PD30 C mtool PD30 McuFiles The MCU file contains information such as SFR area internal RAM area internal ROM area firmware file name The contents of the MCU file when using the M306H7FGFP 8KB RAM 256KB ROM are as follows 0 SFR area St...

Страница 51: ...Emulator 3 3 1 Init Dialog Box After specifying the session an Init dialog box to connect the target is displayed The Init dialog box is used to set the items that need to be set when the emulator debugger starts up The contents set in this dialog box remain effective the next time you start the debugger 1 MCU tab 1 Specifying the MCU file Specifying the MCU file Specify the MCU file for the targe...

Страница 52: ...g of PCA4202G02 refer to the PCA4202G02 Instruction Manual Specifying the communication interface Serial communication For connection with serial communication click the radio button Serial of MCU tab Specify the communication port of serial interface used to the port area and the baud rate to the baud rate area Specifying the communication interface LAN communication For selecting the LAN communi...

Страница 53: ... the emulator you are going to connect 3 Executing the self check Executing the self check Enable this function when you want the emulator to be self checked at startup Be sure to select the check box only when you want the emulator to be self checked at startup Note In case where self checking was normally completed terminate the emulator debugger once then start operation with no self checking c...

Страница 54: ...r you are using and the format of the object file output by the compiler To make this setting use the dialog box that is brought up by selecting Debug and then Debug Settings from the menu Specifying the method for storing debug information There are two methods for storing debug information on memory method and an on demand method Select the compiler you are using By default the on memory is sele...

Страница 55: ...group box With the M306H7T3 RPD E set the work area address at 10000h The top address of the work area is set to 2C00h by default 4 Memory space expansion tab Specifying the memory space expansion mode Because the M306H7T3 RPD E supports single chip mode only the radio button Normal can be selected 5 Clock tab Specifying the target clock Specify the clock sources supplied to the MCU main clock and...

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

Страница 57: ...System Check to see that the emulator debugger has been connected correctly to the emulator Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator after you have finished setting up the Init dialog box and the MCU Setting dialog box you will see a message Connected displayed on the Debug tab of the Output window ...

Страница 58: ...oad from xxx x30 of Download module Or you can select Download from the Debug menu for the same effect 2 Showing the source program Editor Source window The editor source window is a window that always shows the content of the source file corresponding to the current position of the program counter hereafter PC The position of the PC at which the user program has stopped is marked by a yellow arro...

Страница 59: ...ns the program after resetting the target MCU Step In Single steps the program executing each statement including those in functions Step Over Single steps the program executing each function call as one step Step Out Exists a function and stops at a statement in the program next to the one that called the function STOP Stops the program Go Free Runs the program beginning with the current PC posit...

Страница 60: ...he break point setting line on the software break point setting column in the editor source window the break point can be set up and released In this case the red circle is displayed on the setting line as shown in the window on the left 2 Click the execution button 2 Execution completed with software break The cursor stops in the position where the software break was set up The statement in which...

Страница 61: ...Come command 1 Specifying the Come command Setup procedure for executing COME command 1 Click the line in the editor source window at which you want the program to execute 2 Click the Come button 2 After the Come command has finished The cursor stops in the position where the come command was executed The statement specified with the come command is not executed ...

Страница 62: ...tup dialog box 2 Hardware Break Point Setting Window in initial state Hardware break point 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 break points Setting Break Event Click the event line at which you want set a break event 3 Break event setting dialog box Specifying the event type Click to select the e...

Страница 63: ...ger REJ10J0964 0100 Rev 1 00 August 01 2005 Page 61 of 88 2 When FETCH is selected 1 Window for setting addresses Setting the address You can set eight conditions e g a specified address a specified address range etc When you have finished setting the address click OK ...

Страница 64: ...ts the address by Address tab You can set eight conditions e g a specified address a specified address range etc 2 Window for setting data Setting data Sets the address by Data tab You can set eight conditions e g specified data specified data range etc Setting the access condition You can set three conditions e g read write and read write When you have finished setting the data and access conditi...

Страница 65: ...A1 0000h A0 20E2h Low order data effective Setting events for wordwise accesses to the odd addresses STE B R0L A1A0 R0L E6h A1 0000h A0 20E3h High order data effective Setting a break event A1 Address 1 0020E3 Data 1 E600 MASK FF00 Access WRITE 4 Setting the combinatorial event condition for the hardware break point 1 Window for setting the combinatorial event condition Setting the combinatorial e...

Страница 66: ...l time trace measurements It has the following four display modes Bus mode Bus information per cycle can be inspected The contents are displayed in order of execution paths Disassemble mode The execution paths of the executed instructions can be inspected The contents are displayed in order of execution paths Data access mode Data read write cycles can be inspected Source mode The execution paths ...

Страница 67: ... memory or I O Symbol Status No change non active DMA Data access except for CPU INT Interrupt acknowledge cycle IB Instruction code read bytes by CPU DB Data access bytes by CPU IW Instruction code read words by CPU DW Data access words by CPU R W Shows the status of the data bus Displayed as R for Read W for Write and for no access RWT This is the signal to indicate a valid bus cycle When valid ...

Страница 68: ...00 August 01 2005 Page 66 of 88 2 Suspending and resuming trace measurement 1 Suspending trace measurement Suspend Click this toolbar button to suspend the trace measurement in progress 2 Resuming trace measurement Re Start Click this toolbar button to resume the trace measurement in progress ...

Страница 69: ...trace point condition was met is recorded Full 32K cycles of instruction execution after a trace began is recorded 2 Setting the trace write condition Setting the trace write condition You can specify a condition for the cycles to be written into the trace memory Total All cycles are written into memory Pick up Only the cycles in which the specified condition was met are written into memory Exclud...

Страница 70: ...hows 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 The background colors of the data display and the code disp...

Страница 71: ...cations of target MCUs for the M306H7T3 RPD E Item Description Applicable MCU M16C 6H Group M306H7 Evaluation MCU M306H3FCFP M306H7FG TOOL Applicable MCU mode Single chip mode Emulation Memory 1 MB Operating voltage VCC2 4 0 5 5 V VCC1 3 0V VCC2 Xin when operating without division VCC2 2 9 5 5 V VCC1 2 9V VCC2 Xin when operating in a divide by 16 or 8 mode VCC2 2 0 5 5 V VCC1 2 0V VCC2 Xcin when o...

Страница 72: ...em page 41 A D converter function Because a converter board flexible cable and other devices are used between the evaluation MCU and the user system the A D converter operates differently from that of the actual MCU Characteristics of ports P0 to P5 This product emulates some I O ports P0 to P5 Therefore the electrical characteristics of these ports differ from those of an actual MCU DBC single st...

Страница 73: ...ote on Setting 1 to Protect Bit 2 PCR2 with Sub Clock When the CPU clock is set to the sub clock low speed mode or low power dissipation mode even if you enable the PRC2 bit writing to the register protected by the PRC2 bit PD9 S3C and S4C registers cannot be done properly When you enable the PRC2 bit and write to the register protected by the PRC2 PD9 S3C and S4C registers do not set the CPU cloc...

Страница 74: ...aracteristics of this product for reference purposes Figure 4 1 Part of the connection diagram of the M306H7T3 RPD E M306H7FG TOOL IC8 I O Emulate MCU P60 P67 P70 P77 P80 P84 P90 P97 P85 NMI 100Ω P86 Xcout P85 NMI P86 Xcout OPEN SW5 P86 Xcout SW3 P87 P87 Xcin P87 Xcin Xcin SW4 OPEN Xout Xout CNVSS 1KΩ SW2 P62F2 IC4 Port Emulate FPGA P00 P07 P00 P07 33Ω RM1 Socket mounted 33Ω Socket mounted RM2 P10...

Страница 75: ...urrent On output open Vcc 12 0V 100 nA Table 4 4 Electrical characteristics of the Port Emulation FPGA Standard values Symbol Item Condition Min Standard Max Unit VIH High level input voltage 2 0 5 5 VIL Low level input voltage 0 5 0 8 IOH 8mA DC Vcc 4 75V 2 4 VOH High level output voltage IOH 8mA DC Vcc 3 00V 2 4 IOL 8mA DC Vcc 4 75V 0 45 VOL Low level output voltage IOL 8mA DC Vcc 3 00V 0 45 V I...

Страница 76: ... August 01 2005 Page 74 of 88 4 4 External Dimensions 4 4 1 External Dimensions of the Emulation Pod Figure 4 2 shows external dimensions of the M306H7T3 RPD E Unit mm Figure 4 2 External dimensions of the emulation pod 40 0 10 5 437 0 140 0 3 0 52 0 193 0 189 0 11 0 33 0 3 0 11 0 ...

Страница 77: ... M30800T PTC Figure 4 3 shows external dimensions of the converter board M30800T PTC for a 100 pin LCC included with the M306H7T3 RPD E Figure 4 3 External dimensions of the M30800T PTC 1 30 31 50 C N 2 C N 1 100 81 80 51 MADE IN JAPAN 55 0 40 0 13 5 13 5 M30800T PTC 10 8 16 3 External dimension when connecting the 100 pin LCC socket Unit mm ...

Страница 78: ... after step 1 shut OFF power to the emulator once and then reactivate it Notes on Downloading Firmware Before using this product for the first time it is necessary to download the dedicated firmware control software built into the PC4701 Please note that to do this it is necessary to start up the emulator main unit in maintenance mode For firmware download procedures see 2 6 2 Downloading Firmware...

Страница 79: ... stores data or ROM area as a work area Using areas like this is a cause of user program crashes and destabilized emulator control Notes on MAP References and Settings For details on referencing and setting MAP information see the emulator debugger user s manual Make settings as follows 1 MAP INT The emulation memory inside this product becomes effective Set this at MCU internal ROM debugging 2 MA...

Страница 80: ... Execution from the instruction setting 1 to PRC2 where a software breakpoint is set 3 Setting the break point from the instruction for setting 1 PRC2 to when the setting the port P9 direction register and the SI Oi control register 4 Setting 1 PRC2 from the Memory Window or Script Window Note on Breaks The area displaying break points in the program window of the emulator debugger shows the follo...

Страница 81: ...pt processing Note on Accessing Addresses 00000h and 00001h With the M16C 60 Series MCUs when a maskable interrupt is generated the interrupt data interrupt number and interrupt request level stored in addresses 00000h and 00001h are read out Also the interrupt request bit is cleared when address 00000h or 00001h is read out Consequently when the address 00000h readout instruction is executed or w...

Страница 82: ... of PC4701 Not normal PC4701 Front panel LEDs 1 Check emulator system connections See 2 4 Connecting the PC4701 page 23 2 Redownload the firmware See 2 6 Downloading Firmware page 28 3 Restart the PC4701 system Not normal or error displayed Init dialog box of emulator debugger displayed 1 Check the operating environment etc of the emulator debugger See the emulator debugger user s manual online ma...

Страница 83: ...not light up Connected Check that power Vcc and GND is properly supplied to the user system Disconnected 1 Check that both the main sub clocks are not set to External in the emulator debugger See the CLK command of the emulator debugger 2 Check the oscillator circuit board is mounted on this product and it is oscillating properly See 2 9 3 Selecting Clock Supply page 38 The CLOCK LED of STATUS OF ...

Страница 84: ... proper MCU file in the Init dialog box See the emulator debugger user s manual online manual 4 Check that the descriptions in the MCU file are correct See 3 1 Making an MCU File page 48 ERROR 16215 Cannot communicate with the debugging monitor Execute the RESET command 1 Check the connection between the PC4701 and this product See 2 4 Connecting the PC4701 page 23 2 Check that the reset pin of th...

Страница 85: ...01 and this product See 2 4 Connecting the PC4701 page 23 2 Download the proper firmware See 2 6 Downloading Firmware page 28 3 Choose the proper MCU file in the Init dialog box See the emulator debugger user s manual online manual 4 Check that the descriptions in the MCU file are correct See 3 1 Making an MCU File page 48 ERROR 16215 Cannot communicate with the debugging monitor Execute the RESET...

Страница 86: ...tor 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 Operating mode Single chip memory expansion or microprocessor mode Clock supply to the MCU Internal oscillator External oscillator 2 Condition The emulator debugger starts up does not start up The er...

Страница 87: ... Unauthorized repair remodeling maintenance and so on Inadequate user s system or misuse of it Fires earthquakes and other unexpected disasters In the above cases contact your local distributor If your product is being leased consult the leasing company or the owner 6 4 Repair Provisions 1 Repair with extra charge The products elapsed more than one year after purchase can be repaired with extra ch...

Страница 88: ...tor should please send the faulty product along with the Repair Request Sheet to Renesas Solutions Corp Renesas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience CAUTION Note on Transporting the Product When sending your product for repair use the packing box and cushion material supplied with this product when delivered to you and specif...

Страница 89: ...ublication Date Sep 01 2005 Rev 1 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2005 Renesas Technology Corp and Renesas Solutions Corp All rights reserved Printed in Japan ...

Страница 90: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M306H7T3 RPD E REJ10J0964 0100 T User s Manual ...

Отзывы: