background image

M3028BT-EPB User’s Manual 

2. Setup 

REJ10J1459-0200  Rev.2.00  Sep 16, 2006 

 
 

2.7 Downloading Firmware 

 
2.7.1 When It is Necessary to Download Firmware 

It is necessary to download the firmware in the cases listed below. Normally, the following are automatically detected when 
the emulator debugger is started up, and the firmware is downloaded. 
(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 front 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 the firmware is about 
60 seconds. 

 

 

POWER
CLOCK
RESET
RUN
WARNING

POWER

SAFE

ERROR

SYSTEM

STATUS

TARGET

STATUS

POWER
CLOCK
RESET
RUN
WARNING

POWER

SAFE

ERROR

SYSTEM

STATUS

TARGET

STATUS

Maintenance mode

started

POWER
CLOCK
RESET
RUN
WARNING

POWER

SAFE

ERROR

SYSTEM

STATUS

TARGET

STATUS

Downloading firmware

POWER
CLOCK
RESET
RUN
WARNING

POWER

SAFE

ERROR

SYSTEM

STATUS

TARGET

STATUS

: ON
: OFF
: Flashing

POWER
CLOCK
RESET
RUN
WARNING

POWER

SAFE

ERROR

SYSTEM

STATUS

TARGET

STATUS

Download complete

 

 

Figure 2.5 Downloading firmware in maintenance mode 
 

IMPORTANT

 

Note on Downloading Firmware: 

 

z

 

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. 

 

 

 

Page 27 of 86 

Содержание M3028BT-EPB

Страница 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: ...M3028BT EPB User s Manual User s Manual Rev 2 00 2006 09 Emulation Probe for M16C Tiny Series ...

Страница 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: ... 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 PC7501 User s Manual Integrated development environment High performance Embedded Workshop User s Manual M1...

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

Страница 7: ...g 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 2 The informati...

Страница 8: ...y 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 or a medium degr...

Страница 9: ...e ground connection is maintained z If you smell a strange odor hear an unusual sound or see smoke coming from this product then disconnect power immediately by unplugging the AC power 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 z Before setting up this emulator and connecting it to other devices tur...

Страница 10: ...ll this product by the communications interface cable or the cable for connecting to the emulator main unit and emulation probe The cable may cause a break z Do not flex the flexible cable for connecting to the emulator main unit and emulation probe excessively The cable may cause a break z Do not use inch size screws for this equipment The screws used in this equipment are all ISO meter size type...

Страница 11: ...s Necessary to Download Firmware 27 2 7 2 Downloading Firmware in Maintenance Mode 27 2 8 Self check 28 2 8 1 Self check Procedure 28 2 8 2 If an Error is Detected in the Self check 29 2 9 Connecting the User System 30 2 9 1 Connecting to a 42 pin 0 8mm pitch Foot Pattern 31 2 9 2 Connecting to a 48 pin 0 5mm pitch Foot Pattern 32 2 9 3 Connecting to a 64 pin 0 5mm pitch Foot Pattern 33 2 9 4 Conn...

Страница 12: ... the Converter Board M30260T 48FPD 70 4 4 4 External Dimensions of the Converter Board M30291T 64FPD 71 4 4 5 External Dimensions of the Converter Board M30290T 80FPD 71 4 4 6 External Dimensions of the Converter Board M30280T 85LGF 72 4 5 Notes on Using This Product 73 5 Troubleshooting 78 5 1 Flowchart to Remedy the Troubles 78 5 2 When the Emulator Debugger Does Not Start Up Properly 79 5 3 How...

Страница 13: ...u can use a text format for user registration created when installing the software in the following folder 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 ...

Страница 14: ...ogram that analyzes contents of communication with the emulator debugger and controls the emulator hardware This program is installed in the flash memory in the emulator main unit This program is downloadable from the emulator debugger to upgrade the firmware or to support other MCUs Host machine This means a personal computer used to control the emulator main unit and emulation probe Software bre...

Страница 15: ...llator circuit bare board 1 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 M3028BT EPB User s Manual this manual 1 M3028BT EPB User s Manual Japanese 1 M3028BT EPB Supplementary Document English 1 M3028BT EPB Supplementary Document Japanese 1 Please keep the M3028BT EPB s packing box and ...

Страница 16: ... Release1 or later 42 pin 0 8mm pitch SSOP PRSP0042GA B previous code 42P2R E M30263T 42SSB included with the M3028BT EPB 1 48 pin 0 5mm pitch LQFP PLQP0048KB A previous code 48P6Q A M30260T 48FPD included with the M3028BT EPB 2 64 pin 0 5mm pitch LQFP PLQP0064KB A previous code 64P6Q A M30291T 64FPD included with the M3028BT EPB 3 80 pin 0 5mm pitch LQFP PLQP0080KB A previous code 80P6Q A M30290T...

Страница 17: ...oard M30290T 80FPD etc This is a converter board for connecting to the MCU foot pattern on the user system For details refer to 2 9 Connecting the User System page 30 3 Emulator main unit PC7501 The emulator main unit for the M16C family to be used with this product 4 Host machine This is a personal computer for controlling the emulator 5 User system This is your application system This emulator c...

Страница 18: ...us Meaning ON Emulator system power supply is turned ON POWER OFF Emulator system power supply is turned OFF ON Emulator system is operating normally Flashing 1 The self check is being executed 2 Downloaded firmware is being written into memory 3 If the ERROR LED is flashing on at the same time or alternately it indicates that the self check error occurred SAFE OFF PC7501 system is not operating n...

Страница 19: ... starting up the emulator debugger Make sure that the oscillator circuit board is properly installed in the PC7501 and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are completed Make sure that the oscillator selected in the Init dialog box is oscillating normally Note on Accessing Addresses 00000h and 00001h z With the M16C Tiny Series M...

Страница 20: ...t XCIN XCOUT 32 768kHz Internal oscillator circuit Switchable to external oscillator input Operating frequency 2 7 to 5 5 V Power supply to emulator Supplied from DC power supply of the emulator main unit Connection to user system For 42 pin 0 8mm pitch SSOP PRSP0042GA B previous code 42P2R E M30263T 42SSB included with the M3028BT EPB 1 see 2 9 Connecting the User System on page 30 For 48 pin 0 5...

Страница 21: ...rature 10 to 60 C no dew Table 1 7 Operating environment of the host machine Item Description Host machine IBM PC AT compatibles OS Windows 98SE Windows Me Windows XP Windows 2000 CPU Pentium III 600MHz or more recommended Memory 128MB 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 mac...

Страница 22: ...o the using interface Connect the M3028BT EPB to the emulator Connect the M3028BT EPB and the M3T FLX160 EPB of the PC7501 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 simultaneously as possible Check the LED d...

Страница 23: ...tor debugger Download the latest M16C R8C PC7501 emulator debugger from the URL below http download renesas com eng mpumcu upgrades in_circuit_emulators pc7501 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 contact address and host machine The supplied information will...

Страница 24: ...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 Figure 2 2 Outline for interface cable connections Page 22 of 86 ...

Страница 25: ...n probe CAUTION Notes on Connecting the PC7501 z When connecting the emulation probe be sure to hold the both sides of the emulation probe horizontally and insert it directly z Always shut OFF power before connecting the emulation probe Otherwise internal circuits may be damaged IMPORTANT Note on Connectors of the Converter board z The connectors of the emulation probe are guaranteed for only 50 i...

Страница 26: ... power cable to the receptacle CAUTION Notes on AC Adapter z Use only the AC adapter included in PC7501 package z The included AC adapter is for PC7501 Do not use it for other product z Before installing this equipment or connecting it to other equipment disconnect the AC power cable from its outlet to prevent injury or accident z The DC plug on the included AC adapter has the below polarity z The...

Страница 27: ...er system as simultaneously as possible z Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged z When turning ON the power again after shutting OFF the power wait for about 10 seconds IMPORTANT Notes on Power Supply z Pin VCC is connected in order to monitor user system voltage For this reason the emulator cannot supply power to...

Страница 28: ...he voltage of the user system Check that power is supplied to all the power pins When the user system is not connected this LED does not light Figure 2 4 LED display of the PC7501 when the power turned on IMPORTANT Note on the Target Status POWER LED z If your MCU has two or more VCC pins the LED does not light unless power is supplied to all the pins Note on the Target Status CLOCK LED z If the L...

Страница 29: ...ne 2 Within 2 seconds of activating power to the emulator press the RESET switch on the PC7501 front 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 ...

Страница 30: ...CLOCK RESET RUN WARNING POWER SAFE ERROR SYSTEM STATUS TARGET STATUS Maintenance mode started POWER CLOCK RESET RUN WARNING POWER SAFE ERROR SYSTEM STATUS TARGET STATUS Self check terminated normally POWER CLOCK RESET RUN WARNING POWER SAFE ERROR SYSTEM STATUS TARGET STATUS Emulation probe and firmware do not match When the firmware does not support the emulation probe When the emulation probe is ...

Страница 31: ... 4 in Figure 2 6 check the following 1 Recheck the connection of the emulation probe and PC7501 2 Redownload the proper firmware IMPORTANT Notes on the Self check z Disconnect the user system before execute the self check z If the self check does not result normally excluding user system errors the emulation probe may be damaged Then contact your local distributor Page 29 of 86 ...

Страница 32: ...30291T 64FPD package 4 These products are included with the M30290T 80FPD package 5 These products are included with the M30280T 85LGF package Socket frame x2 1 M3T SSOP42B 450 1 M30263T 42SSB 64 pin 0 5mm pitch LQFP 80 pin 0 5mm pitch LQFP 48 pin 0 5mm pitch LQFP 42 pin 0 8mm pitch SSOP M30280T 85LGF 85 pin 0 65mm pitch TFLGA CSSOCKET085B1007RE01 5 Emulation probe M3028BT EPB Socket 1 Figure 2 7 ...

Страница 33: ...B to the M3T SSOP42B 450 No 1 pin These products are included with the M30263T 42 SSB package 42 pin 0 8mm pitch PRSP 0042 GA B foot pattern Socket frame M3T SSOP42B 450 Socket main unit Socket frame MCU with on chip flash memory etc M3T FLX160 EPB M3028BT EPB M30290 T PTCB M30263 T 42 SSB 2 On board evaluation Figure 2 8 Connecting to a 42 pin 0 8mm pitch foot pattern CAUTION Note on Connecting t...

Страница 34: ... M30260T 48FPD to the YQPACK048SD No 1 pin These products are included with the M30260T 48FPD package 48 pin 0 5mm pitch PLQP0048KB A foot pattern YQ GUIDE 4 YQPACK048SD NQPACK048SD HQPACK048SD not included MCU with on chip flash memory etc 1 2 3 4 M3T FLX160 EPB M3028BT EPB M30290T PTCB M30260T 48FPD Figure 2 9 Connecting to a 48 pin 0 5mm pitch foot pattern CAUTION Note on Connecting the User Sy...

Страница 35: ... M30291T 64FPD to the YQPACK064SD No 1 pin These products are included with the M30291T 64FPD package 64 pin 0 5mm pitch PLQP0064KB A foot pattern YQ GUIDE x4 YQPACK064SD NQPACK064SD ND HQPACK064SD not included MCU with on chip flash memory etc 1 2 3 4 M3T FLX160 EPB M3028BT EPB M30290T PTCB M30291T 64FPD Figure 2 10 Connecting to a 64 pin 0 5mm pitch foot pattern CAUTION Note on Connecting the Us...

Страница 36: ...e M30290T 80FPD to the YQPACK080SD No 1 pin These products are included with the M30290T 80FPD package 80 pin 0 5mm pitch PLQP0080KB A foot pattern YQ GUIDE 4 YQPACK080SD NQPACK080SD ND HQPACK080SD not included MCU with on chip flash memory etc 1 2 3 4 M3T FLX160 EPB M3028BT EPB M30290T PTCB M30290T 80FPD Figure 2 11 Connecting to an 80 pin 0 5mm pitch foot pattern CAUTION Note on Connecting the U...

Страница 37: ...1007RE01 LSPACK not included These corners are not round M30290T PTCB M30280T 85LGF 1 2 3 LSPACK085B1007RE01 Top cover Spacer M3028BT EPB A1 pin This product is included with the M30280T 85LGF package These three products are available in one package Connecting tools On board evaluation with actual MCUs PTLG0085JB A foot pattern Figure 2 12 Connecting to an 85 pin 0 65mm pitch foot pattern CAUTION...

Страница 38: ...n of this product Component side of the M3028BT EPBM VREF AVSS bypass capacitor AVSS VREF C2 AVCC AVSS bypass capacitor AVCC AVSS C1 M30290T EPBM REV C Figure 2 13 Foot pattern for A D conversion bypass capacitors and the configuration of this product IMPORTANT Note on the A D Converter Function z Because a package converter board and other devices are used between the evaluation MCU and the user ...

Страница 39: ...0 to 20 0MHz Internal Internal oscillator circuit 32 768 kHz Sub XCIN XCOUT External Oscillator circuit on the user system Yes IMPORTANT Notes on Changing the Clock Supply z The clock supply can be set by the Init dialog box when starting up the emulator debugger or inputting CLK command on the script window 2 11 2 Using an Internal Oscillator Circuit Board 1 Kinds of Oscillator Boards The PC7501 ...

Страница 40: ...tup REJ10J1459 0200 Rev 2 00 Sep 16 2006 Page 38 of 86 2 Replacing an Oscillator Circuit Board 1 Remove the four screws of both sides of this product and lift off the upper cover see Figure 2 14 Figure 2 14 Removing the upper cover ...

Страница 41: ...tor circuit board Lift off the oscillator circuit board Attach another oscillator circuit board to the connector Secure the new oscillator circuit board with the screw Figure 2 15 Replacing oscillator circuit boards 3 Reinstall the upper cover once removed and secure the four screws of the PC7501 CAUTION Note on Removing the Upper Cover z Always shut OFF power when removing the upper cover or chan...

Страница 42: ...uitry 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 Figure 2 16 External view of the oscillator board OSC 2 bare board and connector pin assignments 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 Inverter Unbuffer X1 5 08mm pitch 2 pin oscillator ...

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

Страница 44: ...t To connect to the PC7501 and M16C Tiny emulation probe select SessionM16C_R8C_PC7501_Emulator 3 1 1 INIT Dialog Box After specifying the session an Init dialog box to connect the target is displayed The Init dialog box is used to set the items that need to be set when the emulator debugger starts up The contents set in this dialog box remain effective the next time you start the debugger When th...

Страница 45: ...ing each four bytes with a period Specify the port number at the Port area Note When you are using the LAN communication for the first time connect the emulator through other than LAN communication interface and set the IP address or use the SETIP utility included with your product to set the IP address For details about the SETIP utility refer to the on line manual of your emulator debugger Speci...

Страница 46: ...ot to debug in CPU rewrite mode To debug the user system that uses CPU rewrite mode select the check box This option can be selected or deselected only when you are starting up the emulator debugger Note When debugging in CPU rewrite mode is enabled the following functions cannot be used while executing the user program Software breakpoint setting in the internal ROM area Execution of COME in the ...

Страница 47: ...en the load module user program size is small On Demand Debugging information is stored in a reusable temporary file on the hard disk of your computer Because the stored debugging information is reused the next time you download the same load module it can be downloaded at high speed This method is suitable when the load module user program size is large Specifying the target clock Specify the clo...

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

Страница 49: ...PORTANT Notes on Selecting a Processor Mode z When the user system is connected the level of pin CNVss of the MCU status should be L The MCU status shows the pin level of the user system Specifying the processor mode Select the appropriate processor mode that suits your system For this product you can specify only the following processor mode Single Chip Mode Specifying the PM10 area bit 0 of the ...

Страница 50: ...U Initially this option is deselected If this box is checked the number of write erase cycles of the internal flash ROM will be unlimited and working efficiency downloading software break etc will be improved because the program is downloaded in the emulation memory in the PC7501 However maximum operating frequency is 10MHz Referring to the MCU Status It shows the pin status of the user system If ...

Страница 51: ...ot 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 Click the Select All button and all blocks will be selected marked by a check mark so that none of the blocks is cleared when downloading Click the Clear All button and all blocks will be deselected check marks re...

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

Страница 53: ...Download module from the Debug menu for the same effect 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 PC position is identified by the yellow background color Here you can execute the program up to the cursor position and set or clear software breakpoints Becau...

Страница 54: ...ct Go Free Runs the program beginning with the current PC position The software and hardware breaks set in it are ignored Reset Go Runs the program after reset Or you can select Reset Go from Debug menu for the same effect 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 Exits...

Страница 55: ...the program to stop before executing the address at which a breakpoint is set Software breakpoint A software breakpoint can be set or cleared by double clicking the software breakpoint display area in the editor source window A red circle is displayed at the setting line This is rewritten to a break instruction therefore because of rewriting flash ROM program execution starts with a delay of sever...

Страница 56: ... the Come command 2 After the Come command has finished Setup procedure for executing COME command 1 Click the line in the program display area at which you want the program to execute 2 Click the Come button The cursor stops in the position where the come command was executed The statement specified with the come command is not executed Page 54 of 86 ...

Страница 57: ...box 2 Hardware Break Point Setting Window in initial state H W Break Points 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 Setting Break Event Click the event line at which you want set a break event Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box Page 55...

Страница 58: ...u want to set from the drop down list FETCH Detects an instruction prefetch DATA ACCESS Detects a memory access BIT SYMBOL Detects a bit access INTERRUPT Detects an interrupt occurrence or interrupt termination TRIGGER Detects a signal from the external trace signal input cable Setting the address You can set eight conditions e g a specified address a specified address range etc When you have fini...

Страница 59: ...ng data Setting the address You can set eight conditions e g a specified address a specified address range etc Setting data You can set eight conditions e g a specified data a 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 condition click OK Page 57 of 86 ...

Страница 60: ...s STE B R0L A1A0 R0L E5h A1 0000h A0 20E2h Low order data effective Event setting for odd address byte access STE B R0L A1A0 R0L E6h A1 0000h A0 20E3h High order data effective Setting a break event A1 Address 1 0020E8 Data 1 5423 MASK FFFF Access WRITE Setting a break event using 2 events A1 A2 Address 1 0020E5 Address 1 0020E6 Data 1 7900 Data 1 00AB MASK FF00 MASK 00FF Access WRITE Access WRITE...

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

Страница 62: ...he 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 Source mode The execution paths of the source program can be inspected Operating buttons of the tool bar can reference the execution paths The trace window shows the measurement result when a real time trace ...

Страница 63: ...I O Symbol Status Non active DMA Data access by other than the CPU e g by DMA INT Starts INTACK sequence IB Instruction code read by the CPU in bytes DB Data access by the CPU in bytes IW Instruction code read by the CPU in words DW Data access by the CPU in words 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 b...

Страница 64: ...urement 2 Resuming trace measurement 3 Trace point setup dialog box 1 Opening the trace point setup dialog box Stop Click this toolbar button to suspend the trace measurement in progress Re Start Click this toolbar button to resume the trace measurement in progress Trace Point Clicking this toolbar button opens the trace point setting window Page 62 of 86 ...

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

Страница 66: ...have set in the above dialog box is displayed Shows the blocks at the preceding addresses Shows the blocks at the following addresses The background colors of the data display and the code display sections change with the access attribute as described below Green Addresses accessed for read Red Addresses accessed for write White Addresses not accessed The background colors can be changed as necess...

Страница 67: ... 128KB 4KB RAM 12KB Usable MCU mode Single chip mode Max ROM RAM capacity 1 Internal flash ROM 128KB 4KB 0F000h 0FFFFh E0000h FFFFFh for the maximum operating frequency refer to 1 2 Internal RAM 12KB 00400h 033FFh for the maximum operating frequency refer to 1 Maximum operating frequency Power voltage at 4 2 to 5 5V 24MHz PLL oscillation at 24MHz products Power voltage at 3 0 to 5 5V 20MHz Power v...

Страница 68: ...on does not occur because a package converter board is used between the evaluation MCU and the user system For notes on when using an oscillator circuit on the user system refer to 2 11 3 Using the Oscillator Circuit on the User System page 41 It is same for pins XCIN and XCOUT 6 Xin input when resetting the MCU With the target MCUs an oscillator circuit is initialized during reset execution and a...

Страница 69: ...terrupt stack pointer ISP is set at 00500h and used as a stack area after a reset is released Notes on Maskable Interrupts z Even if a user program is not being executed including when run time debugging is being performed the evaluation MCU keeps running so as to control the emulation probe Therefore timers and other components do not stop running If a maskable interrupt is requested when the use...

Страница 70: ...on MCU P85 NMI P86 Xcout P87 Xcin CNVss RESET Xin Xout 510kΩ VCC 74HC4066 74HC4066 510kΩ VCC 510kΩ VCC 74HC4066 Connected to the inside of the emulator 510kΩ VCC 74HC4066 User system IC11 P00 P07 P10 P17 P20 P27 P30 P37 P60 P67 P70 P77 P80 P84 P90 P93 P95 P97 P100 P107 P86 Xcout P87 Xcin Xout P85 NMI P00 P07 P10 P17 P20 P27 P30 P37 P60 P67 P70 P77 P80 P84 P90 P93 P95 P97 P100 P107 Figure 4 1 Conne...

Страница 71: ...2 00 Sep 16 2006 4 4 External Dimensions 4 4 1 External Dimensions of the Emulation Probe Figure 4 2 shows external dimensions of the M3028BT EPB connected with the M30290T PTCB 85 0 10 0 60 0 26 3 Unit mm Figure 4 2 External dimensions of the emulation probe Page 69 of 86 ...

Страница 72: ...0 1 0 0 80 0 05 0 80 0 05 0 20 0 05 16 00 0 1 Max9 0 Min14 5 0 28 Figure 4 3 External dimensions and a sample foot pattern of the converter board M30263T 42SSB 4 4 3 External Dimensions of the Converter Board M30260T 48FPD Figure 4 4 shows external dimensions and a sample foot pattern of the converter board M30260T 48FPD included with the M3028BT EPB 2 for a 48 pin 0 5mm pitch LQFP 34 0 16 5 32 0 ...

Страница 73: ...5 32 0 0 25 0 5 10 0 14 0 10 0 14 0 Unit mm Figure 4 5 External dimensions and a sample foot pattern of the converter board M30291T 64FPD 4 4 5 External Dimensions of the Converter Board M30290T 80FPD Figure 4 6 shows external dimensions and a sample foot pattern of the converter board M30290T 80FPD included with the M3028BT EPB 4 for an 80 pin 0 5mm pitch LQFP 41 0 32 0 16 5 0 25 0 5 11 1 15 1 11...

Страница 74: ...of the converter board M30280T 85LGF included with the M3028BT EPB 5 for an 80 pin 0 65mm pitch TFLGA Unit mm 0 65 0 65 0 27 0 27 5 85 5 85 1 30 1 30 85 φ0 35 pad diameter 4 φ0 8 0 03 holes for guide pins 25 0 32 0 7 0 M30280T 85LGF REV A MADE IN JAPAN Diameter of recommended metal mask φ0 35 thickness 0 15 Figure 4 7 External dimensions and a sample foot pattern of the converter board M30280T 85L...

Страница 75: ...e 27 Once the firmware has been downloaded the product can be used by simply turning on the power z 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 z Download the firmware with the user system not connected Notes on Self check z If the self check does not result normally exclud...

Страница 76: ...ad execute or single step a program at a low operating frequency a communication timeout error may occur Execute the command shown below in the Script Window after starting the emulator debugger Command _settimeout 300 300 Once this command is executed it remains effective the next time you start the emulator debugger Therefore you do not need to execute this command again It is set to 30 seconds ...

Страница 77: ...cuted after several cycles Notes on Software Breaks z Software breaks change the instruction at a specified address to a BRK 00h Therefore take note that when you reference the result of a trace in bus mode 00h is displayed z The BRK instruction can be used for the emulator only You cannot use it in a user program z You can neither set nor cancel a software breakpoint in the internal ROM area of a...

Страница 78: ...he Init dialog box of the emulator debugger Note on Debugging in CPU Rewrite Mode z When you debug M16C Tiny Series MCUs in CPU rewrite mode do not change the block 0 area FF000h FFFFFh of the flash ROM Otherwise the emulator will be uncontrollable z If you check Debug the program using CPU Rewrite Mode in the MCU tab of the Init dialog box of the emulator debugger you cannot use the following fun...

Страница 79: ...s generated the interrupt data interrupt number and interrupt request level stored in addresses 00000h and 00001h are read out Also the interrupt request bit is cleared when address 00000h or 00001h is read out Consequently when the address 00000h or 00001h readout instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway a malfunction occurs in that th...

Страница 80: ...ee 2 5 Connecting the Power Supply for the Emulator page 24 2 Redownload the firmware See 2 7 Downloading Firmware page 27 3 Restart the PC7501 system Init dialog box of emulator debugger displayed 1 Check the operating environment etc of the emulator debugger See the user s manual of the emulator debugger 2 Reinstall the emulator debugger MCU Setting dialog box of emulator debugger displayed See ...

Страница 81: ...01 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 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 11 Sel...

Страница 82: ...e 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 Check that the reset pin of the user system has changed from Low to High level Target MCU cannot be reset 1 Check that pin NMI is held High 2 If the reset circuit of the user system has a watchdog timer disable the timer 3 Check that power is properly supplied ...

Страница 83: ...rors 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 connecter is connected properly to the user system Page 81 of 86 ...

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

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

Страница 86: ...ke sure that information in the Repair Request Sheet is written in as much detail as possible to facilitate repair CAUTION Note on Transporting the Product z 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...

Страница 87: ...lication Date Sep 16 2006 Rev 2 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2006 Renesas Technology Corp and Renesas Solutions Corp All rights reserved Printed in Japan ...

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

Отзывы: