Home
[S3062PT-CPE-2] User`s Manual(First Edition): CPE62PSUE_2
Contents
1. Figure 2 7 Package conversion unit on the lower board of the emulator S 3062PT CPE 2 30830T PTC1 100pin package converting unit LCC socket 100 pin 0 65mm pitch LCC Manufactured by Yamaichi Electronics IC61 1004 051 User s target Indicates the No 1 pin position Figure 2 8 Connecting 100 pin LCC socket 21 51 S3062PT CPE 2 User s Manual CAUTION Notes on Connecting Target Systems Be cautious not to attach the converter board in a wrong direction It will cause a fatal damage to the compact emulator eAlways shut OFF power of the emulator and the target system when connecting and disconnecting the target system 2 6 Turning On the Power 1 Checking the Connection of the Emulator System Before turning the power ON check the connection of the host machine and the emulator main unit 2 Turning On the Power Power ON the target system and the emulator main unit Power ON OFF the target system and the emulator main unit should be done as simultaneously as possible N CAUTION Notes on Power Supply eAs this emulator cannot supply power to the target system provide the target system with a separate power supply from that of the emulator Do not change target system power supply voltage after power has been activated The emulator is turned on by supplying D
2. 5 3 When the Operation of the Emulator is Abnormal Self check is a function to check the memory etc mounted in the emulator Self check is executed when the emulator starts up and detailed check is executed by following the procedure below For this self check be sure to disconnect the target system a Set thedip switch of the emulator as factory setting b Ifthe target system is connected disconnect it c Usea main clock mounted as the factory setting 6M Hz oscillator 1 Self check Procedure in the Self check Mode System Error Halt Run Reset Clock Power amp QO 1 Within 2 seconds of activating power LD6 LD5 LD4 LD3 LD2 LD1 to the emulator press the RESET switch 2 Status LEDs repeat blinking simultaneously Error Halt Run Reset Clock Power System 3 Press the system reset switch again after checking Status LD6 LD5 LD4 LD3 LD2 LD1 LEDs blink System R Error Halt Run Reset Clock Power eset Seeeec LD6 LD5 LD4 LD3 LD2 LD1 IS 9 4 Status LEDs repeat blinking in succession Error Halt Run Reset Clock Power LD6 LD5 LD4 LD3 LD2 LD1 Appro inutes When error detected One or more Status LEDs repeat blinking depending on the content of the error When self checks terminated normally Error Halt Run Reset Clock Power LED display LD6 LD5 LD4 LD3 LD2 LDI B O For starting up the emulator after self check shut off the power of the emulator ON Blinking OFF and
3. 4 Single step interrupts cannot be used Single step interrupts cannot be used The vector address of the single step interrupts is always indicated in the emulator work area and the vector address value cannot be changed 5 Software resets cannot be used Do not use software resets 6 Flash memory and EPROM modes are not emulated This emulator does not emulate the flash memory and EPROM modes Also the emulator does not emulate the CPU rewrite mode in the flash memory mode 10 51 S3062PT CPE 2 User s Manual IMPORTANT Notes on Restrictions in Using the Emulator The following restrictions apply to this emulator 1 Debug command execution when the BCLK is stopped When the BCLK is stopped debug commands break dump single step program forced stop etc cannot be executed The BCLK can stop in the following cases When the target clock is not oscillating When the target MCU is on hold When the target MCU is in the stop mode 2 MCU status during program hold With this emulator putting the MCU on hold can stop the loop program at the specified address Note that in this case peripheral circuits are still operating 3 Interrupts during single step execution Interrupts are disabled during single step execution Accordingly interrupt processing is not performed even if an interrupt request is sent 4 Address matched interrupt Do not set software breaks for an address for which
4. Then turn on the power to each equipment following the procedure below 1 Turn ON OFF the target system and the emulator as simultaneously as possible 2 When the emulator debugger starts up check the target Status LEDs on the emulator to see if this product is ready to operate Is the power supplied Check that target Status LED Power is ON 1 Is the clock supplied Check that target Status LED Clock is ON 2 1 Itis lit when the emulator is turned on 2 It is lit when the main clock is supplied to the emulator it is not lit when the sub clock is supplied from the target Xcm 13 51 S3062PT CPE 2 User s Manual Chapter 2 Usage This chapter describes how to operate this product 2 1 Name of Each Part 2 2 Starting Up the Emulator 2 3 Emulator Initial Setup 2 4 Connecting the Emulator System 2 5 Connecting Target system 2 6 Turning On the Power 2 7 LED Display When the Emulator Starts Up Normally 2 8 Starting Up Emulator Debugger PD30S 2 9 Setting the Operating Environment of Emulator Debugger PD30S 2 10 When Emulator Debugger PD30S Starts Up Normally 15 18 19 20 21 22 23 24 24 25 14 51 S3062PT CPE 2 User s Manual Chapter 2 Usage 2 1 Nameof Each Part 1 System Configuration Figure 2 1 shows the system configuration for this emulator c AC adapter Prepared by users e Power supply for target syste Prepared by users d Target system Prepared by
5. micro processor mode Check the CNVSS pin is L level Not Emulator does not work properly connected The emulator may be damaged Contact your nearest distributor Reset control Enor Halt Run Reset Clock Power Emulator does not work properly gt Check power is being supplied to the emulator gt The emulator may be damaged Contact your ae ELT JO nearest distributor E mulation Eror Halt Run Reset Clock Power m Emulator does not work properly memory gt The emulator may be damaged Contact your initialization S O O S nearest distributor error Explanatory note ox Blinking OFF 41 51 S3062PT CPE 2 User s Manual 2 Troubleshooting When Emulator Debugger PD30S Starts Up Table 5 2 lists error messages and how to remedy them when starting up PD30S Table 5 2 Error message and how to remedy it when starting up PD30S Connection to Error the Checkpoint target system gt Check the emulator s Status LEDs If flashing the emulator is not working properly Communication ERROR Check settings as explained in Can t accept data 1 Troubleshooting When the Emulator Starts Up gt Check the connection of the PC connecting cable gt Check if any equipment other than emulator is Net compact Emulator Pianeta eres Ae Ben amalat 15 Target MCU isnot given dock Check if the emulator system s oscillation circuit works properly romeus The version of PD30S and th
6. the actual chip Its output drive characteristics are shown in Figure 4 2 The input threshold is all TLL level m0 150 Cc cof LO0 O S 50 vwu l 3 4 F Vo Output Voltage V Figure4 2 PO P5 Output Drive Characteristics Common 1 P1 P3 P5 Setting a pull up control register is possible but for actual signals there is 510K ohm resistance for both input and output automati cally 2 PO P2 Setting a pull up control register is possible but for actual signals there is 510K ohm resistance for both input and output automatically However only when the analog input is set the pull up circuit is disabled 3 P10 Regardless of input output pull up control register sets the 510K ohm resistance automatically However only when the analog input is set the pull up circuit is disabled Note that once you set the analog input pull up circuit will remain disabled unless analog port is switched to another port or RESET button of the program is pressed on GUI CAUTION Notes on Other Characteristics eThe input threshold of above pins is all TTL level eWhen using A D converter Analog data will be input into A D port via analog switch For ports other than P10 the output voltage may become less than the actual 35 51 S3062PT CPE 2 User s Manual 4 4 External Dimensions of the Emulator External dimensions of the emulator External dimensions of package conversion unit 10
7. OFF power of the emulator when mounting the oscillation circuit board Be careful about the direction you mount the oscillation circuit board Physically the oscillation circuit board can be mounted in the reverse direction In this case power source and grounding will be connected in the wrong direction thus it may cause breakage eThe emulator case is conductive Make sure that pins on solder side of the oscillation board do not come in contact with the case 29 51 S3062PT CPE 2 User s Manual lt 3 gt Using the oscillation circuit on the target system When operating this product on the oscillation circuit of the target system configure the oscillation circuit as indicated in figure 3 5 and input the oscillation output of 50 duty within the operating rage of the emulate MCU into Xcn Emulator Emulate MCU Xin Xout Oscillation Circuit Figure 3 5 Target system Oscillation Circuit Oscillation Output As shown in the figure 3 6 in the oscillation circuit board where a resonator is connected between Xin pin and Xour pin there are parts such as an emulation circuit board between emulate MCU and the target system it will not oscillate Emulator Emulate MCU Figure 3 6 Circuit that does not asdilate in the emulator 2 Changing MCU sub clock How to change the sub clock supply is shown below a Using the oscillator circuit on the emulator An oscillator for 32 768K Hz is mounted inside the emu
8. Setting the selection switch SW No Selection Switch Setting T X n T XIN T XIN Clock input from oscillator Clock input from the target circuit board option circuit board oscillation device only Xan P8 Xon E P87 Using internal emulator sub clock Using P8 pin or target Xan 32 768kHz factory setting Internal clock input 6MHz standard factory setting Xcin P 87 Connecting Xour pin to the target Leaving Xourpin OPEN system factory setting A CAUTION Notes on Setting Switches and Jumper Switches eAlways shut OFF the power when changing the settings of the switches and jumper switches and connecting the cable eT xm Xcin are used only when the target clock is output from oscillation device They cannot be used for oscillators such as quartz or ceramics 19 51 S3062PT CPE 2 User s Manual 2 4 Connecting the Emulator System How to connect the emulator system is shown in Figure 2 4 below Connect the DC cable to DC IN connector lt lt a To power supply for emulator To host machine P YUS S Oo Connect the PC connecting cable to USB connector PH ny asn O O Jesed u O PAD O BMOd Figure 2 4 Connecting the emulator system 1 Connecting the PC Connecting Cable Connect the PC connecting cable included to the USB connector and the USB port of the host machine see Figure 2
9. box select the mode to be used when following sceen appears Select Single Chip for single chip mode Select Memory Expansion 16Bit for memoery expansion mode data bus 16 bit Select Memeory Expansion 8Bit for memory expnsion mode data bus 8 bit Single Chip Memory Expansion 16Bit Memory Expansion 8Bit Cancel Help I Next Hide Figure2 11 EMEM dialog setting 2 10 When Emulator Debugger PD30S Starts Up Normally Figure 2 12 shows the screen when PD30S starts up normally If an error has been detected and PD30S has not started up refer to 5 1 Troubleshooting Until the Emulator Starts Up page 39 Figure 2 12 Screen of PD30S when it starts up normally 25 51 S3062PT CPE 2 User s Manual Chapter 3 Changing the Settings This chapter describes how to change the settings of this product 3 1 Changing Clock Supply 27 26 51 S3062PT CPE 2 User s Manual Chapter 3 Changing the Settings 3 1 Changing Clock Supply There are three ways to supply a clock to the MCU using the oscillator circuit of the emulator the oscillator circuit on the target system only for oscillator output or the oscillator circuit board option Table 3 1 lists the factory settings of each clock supply Table 3 1 Clock supply tothe MCU Xin Xout Internal oscillator circuit SW1 Xin Side Main clock of emulator 6MHz Selection switch SW2
10. debugging etc Basic debugging functions e 1K cycle bus information is recordable Real time tracing function Address 20 bits Data 16 bits MCU status 2 trace modes are supported Before Break mode After Go mode Real time RAM monitor 1K size Mappable in SFR Internal SRAM area Hardware Break Function 1 point Command fetch Data Read Write Data comparison Execution Time Measurement Function Host Operating Environment PC interface USB 1 1 compatible F ull speed mode Connect using package conversion unit including 100P6S A compatible as standard equipment Package conversion units for100P6Q A and 128P 6Q A are sold separately Power Supply for Emulator DC 9V supplied from external prepare the power supply separately Time between program start to stop is measurable IBM PC AT compatible Windows 98 M e 2000 XP Connection to Target System Power Voltage for MCU and VCC1 5 0V 45 3 3V 45 VCC2 5V 45 3 3V 45 Power supply It should be VCC1SVCC2 Temperature 5 35 degrees centigrade Humidity 20 80 non condensing Amount of dust should be around the same level as in general office environment Temperature 10 60 degrees centigrade Humidity 0 90 non In Storage condensing Amount of dust should be around the same level as in general office environment When Environmental Operating Dimensions Weight Approx 105 W x 34 H x 85 D mm not indudin
11. directly Static electricity may damage the internal circuits Do not pull the compact emulator main unit with the PC cable for connecting to the target system The cable may be caused a break Do not apply a voltage other than the specified voltage of the product because it may cause burns by abnormal heat generation and the failure of internal circuits IMPORTANT Note on Malfunctions in the System eIf the emulator malfunctions due to the interference like external noise please shut OFF power to the emulator once and then reactivate it 8 51 S3062PT CPE 2 User s Manual IMPORTANT Notes on Differences between the Actual MCU and Emulator Operations of the emulator differs from those of flash memory version MCUs as listed below 1 Reset condition Set the time for starting up 0 2 to 0 8Vcc 1 us or less 2 Data values of RAM and ROM areas at power on When power is turned on the RAM and ROM areas of the emulator are defaulted to FFh 3 Register values when power is turned on When power is turned on the emulator s register values are defaulted to 0 However the program counter and ISP are defaulted to FFFFFh and 500h respectively 4 MCU Functions On the emulator system some of the MCU functions cannot be used Please refer to the page 10 Notes on MCU Functions That Cannot Be Used with This Emulator for details 5 Port Emulation PO P5 P10 are implemented by emulate circuit their electric
12. reactivate it Figure 5 2 Self check procedure 44 51 S3062PT CPE 2 User s Manual 2 If an Error is Detected in Self checks Table 5 4 lists how to remedy the troubles if the Status LED display is abnormal in self checks When an error is detected shut off the power of the emulator and the target system and follow the steps in the Table 5 4 Then reactivate the power of the emulator and the target system CAUTION Notes on Self checks Be sure to disconnect the target system before executing self checks eIf self checks do not result normally the emulator may be damaged Please contact your nearest distributor eWhen an oscillator installed in the emulator is changed self checks may not terminate normally Use the oscillator of 6MHz when executing self checks 45 51 S3062PT CPE 2 User s Manual Table 5 4 Error display in self checks and how to remedy it LED display Checkpoint Eror Hat Run Reset ClckPowr Emulator does not work properly S O O Check if power is being supplied to the emulator gt If power is being supplied to the emulator the emulator may be damaged Report the LED status to your nearest distributor OOS Error Hat Run Reset Clock Power Explanatory note On Seb linking CFE 46 51 S3062PT CPE 2 User s Manual MEMO 47 51 S3062PT CPE 2 User s Manual Chapter 6 Maintenance This chapter describ
13. starts up Trouble shooting before sang ____ Self check Sequence When the Emulator Starts Up _ a up the Emulator Pa p Self checks start automatically after Turning on the Emulator turning on the emulator Self check executes for approximately 8 seconds after turning on Result of checking the emulator emulator function s the powe supplied to the target CNVOD pin0 L fs RESET control emulator possible Is ICLK being output If check E Self check terminated normally Setene LED oaeee Status LED displays normally abnormally Error detected in self check Result of checking emulator function Self check terminated normally Refer to Troubleshooting When the Emulator Starts Up Error detected Starting up PD30S Started up normally Program Window Displayed Refer to Troubleshooting When PD30S Starts Up y Emulator system started up normally Figure 5 1 Flowchart to remedy the troubles 39 51 S3062PT CPE 2 User s Manual 1 Troubleshooting When the emulator Starts Up Table 5 1 lists how to remedy the troubles when the Status LED of the emulator display is abnormal after powering on the emulator When the error is detected shut off the power of the emulator and the target system and follow the steps in Table 5 1 Then reactivate the power of the
14. users gt a Emulator S3062PT CPE 2 l f Host machine Prepared by users b PC connecting cable Figure 2 1 System configuration a Emulator S3062PT CPE 2 included This is a compact emulator with the real time trace function for the M16C 62P group and M16C 30P group Herein after referred as emulator b PC connecting cable included This is a USB interface cable for the host machine and the emulator c Power supply for emulator Prepared by users This is a power supply for the emulator Prepare the power supply separately The DC cable is included with this product d Target system Prepared by users This is your application system This emulator can be used without a target system e Power supply for the target system Prepared by users This is a power supply for the target system As this emulator cannot supply the power to the target system supply the power to the target system separately from the emulator f Host machine Prepared by users This is a personal computer for controlling the emulator Prepare operation environment in which Windows98 M e 2000 XP OS can operate 15 51 S3062PT CPE 2 User s Manual 2 Name of Each Part of Emulator Figure 2 2 shows the name of each part of the emulator Power connector System Reset Switch USB cable connecting yes yuaiss o asn o Status LED LED1 Power Los LD3 LD1 LED2 Clock Oscillator Circuit Board Connec
15. when the register to be protected is set 3 When PRC2 is set to l in the Dump or Script windows 9 Debug command execution during user program execution The real time aspect of the user program is not guaranteed when debug commands such as dump are executed during user program execution 11 51 S3062PT CPE 2 User s Manual IMPORTANT 10 Debugging during Xcmw execution In the emulator system internal memory ROM Flash memory RAM is used for the emulation memory Note that debugging may not be able to continue if debug command is executed in a slow clock cycle in Xqy such as 32 768kHz due to the PD30S timeout 11 Response during user program execution User programs and data to the emulation memory are updated just before user program execution Therefore it may take several seconds before the user program execution if it needs to load a large program or to rewrite software breakpoints 12 Hardware break Break will occur after the execution however as operations such as the emulator s conditional judgment and MCU prefetch will accompany it will be halted after processing a few instructions 13 Data Rom area from FOOOH to FFFFH This ROM area can be rewritten only by downloading target programs Rewriting by DUMP window and debugging by placement of execution codes are not possible 14 Debugging during DMA Operation The debugger does not stop repeat transfer of the DMA during the operation of DMA re
16. 0P 6S and External dimensions when connecting to target system are shown in Figure 4 3 4 4 and 4 5 respectively li 3 gsn eS yUaNSAS O ma Ow O m O ss O va O amoa LION pom los m m Lugs are not included Figure4 3 External dimensions of emulator Figure 4 4 External dimensions of package conversion unit 36 51 S3062PT CPE 2 User s Manual S3062PT CPE 2 HT TTA ui Figure4 5 External dimensions when connecting to target system 37 51 S3062PT CPE 2 User s Manual Chapter 5 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 5 1 Troubleshooting Until the Emulator Starts Up 39 5 2 Troubleshooting When Using Emulator Debugger PD30S 42 5 3 When the Operation of the Emulator is Abnormal 43 38 51 S3062PT CPE 2 User s Manual Chapter 5 Troubleshooting 5 1 Troubleshooting Until the Emulator Starts Up Figure 5 1 shows the flowchart to remedy the troubles from the time when power to the emulator is activated until the emulator debugger
17. 4 2 Connecting the DC Cable Connect the DC cable for the emulator to the DC IN connector The specifications of the power supply for the emulator are listed in Table 2 4 Table 2 4 Specification of power supply of emulator Power supply voltage DCOV 1 1A Figures 2 5 shows the specifications of the applicable plug respectively 1800mm 0 DO pb ae Wire color er BLACK and WHITE DC 9V center pL en ae diameten BLACK GND out side Figure2 5 Spedrfication of DC cable Figure2 6 Specification of applicable plug A CAUTION Note on Connecting the Power Supply of Emulator Be cautious about the polarity of the power supply Connecting to the wrong electrode could destroy internal circuits Do not apply a voltage other than the specified voltage of the product 9V 1 1A since it may cause burn injuries and the failure of internal circuits Be cautious when connecting the target system as there is no power switch on the emulator and the emulator is turned on when DC9V is supplied from power unit 20 51 S3062PT CPE 2 User s Manual 2 5 Connecting the Target System as occasion demands 1 Standard Connection Connect the package S30830T PTC1 conversion unit on the lower board of the emulator to a LCC socket option on the target system Make sure the position of No 1 pin before connecting The emulator can be used without a target system No 1 pin position
18. A OA A A E AE S D 41 Specifications sernir ea ara a eae eres area 33 4 2 Memory Map useccar anena e T Bae ak A e E E A a rA a E a 34 AB 7 D BE Ciee REA B TESA EATE EAE ET T E A E E E OE E E E E T 35 ASRS PR EP eaea E E ATE E A T AA TE A T R Le 35 QZ PO Po ia a AE ANA AN TEL AAA A EAR ATEA bd aR iE 35 BYP IU menini a a E A n aR EERIE e N REELED A ERR 35 4 4 External Dimensions of the Emulatol 0cccccccccssscccccceceesensececeseceesessaececesecsesesesaeeeeececsesesssaeeeeeeeeeenea 36 Chapter 5 Troubleshooting PEE E SE EE E EE h 5 1 Troubleshooting Until the Emulator Starts Up cece cesceseceseceseceseeeseeeseecaecaecsaecsseceseesseesseesseeeeeeeeaes 39 1 Troubleshooting When the emulator Starts Up essesesseeseesssseeseeressesressrssrssresrestessesrresesrrssrenrestensesressese 40 2 Troubleshooting When Emulator Debugger PD30S Starts Up eee eeeeeeseeeneeereeereeeaecsaecsaecnaeenseenes 42 5 2 Troubleshooting When Using Emulator Debugger PD30S 000 eee eeeeeeeeeeeeeeeeseecaeecaaecnaecnaecneeeeneeeaes 43 5 3 When the Operation of the Emulator is Abnormal 0 ce eeeeeseeseeeseeeseeescecaeceaecaeceaecsseeeeeeseesseeeeneeeaes 44 1 Self check Procedure in the Self check Mode 0 c cc ceccsccccesssececeesececeesnececsesececeeseeeeseaeeecseseeeesesseeeeees 44 2 If an Error is Detected in Self CheckS cece ccccsscceceessececeesnececeesceecseaececsesaeeecsssaeeeesesaeeeeseaeeeseeaeeeenes 45 Chapter 6 M
19. C9V from the power source unit after connecting power source unit and emulator with DC cable 22 51 S3062PT CPE 2 User s Manual 2 7 LED Display When the Emulator Starts Up Normally After the emulator starts up check the status of the LED to see if the emulator can be operated Status LED LED1 Power LED 2 Clock LED3 Reset LED4 Run LEDS Halt LED6 Error Figure2 9 Positions of Status LED Check to see if the POWER of the Status LED is lit immediately after the power is turned on If it is not lit shut off the power for the emulator and check if the power supply for the emulator is properly connected After the power is turned on Status LEDs LD1 6 will light for 12 seconds Make sure that the display of the Status LEDs becomes normal after that If the Status LEDs do not light as shown in Table 2 5 see 5 1 Troubleshooting Until the Emulator Starts Up page 39 Table 2 5 LED display when the emulator starts up normally ON C OFF Note This can be applied when operating with or without connection to a target system 23 51 S3062PT CPE 2 User s Manual 2 8 Starting Up Emulator Debugger PD30S After checking the emulator has started up normally start up the emulator debugger PD30S 2 9 Setting the Operating Environment of Emulator Debugger PD30S After starting up PD30S as the I nit dialog box will open set as shown in Figure 2 11 For details of the ni
20. M16C 62P Compact Emulator S3062P T CPE 2 Compact Emulator with Real time Trace User s Manual Sunny Giken Inc S3062PT CPE 2 User s Manual Keep safety first in your circuit designs e Sunny Giken Inc puts the maximum effort into making semiconductor products better and more reliable but there is always the possibility that trouble may occur with them Trouble with semiconductors may lead to personal injury fire or property damage apena to ogv due consideration to safety when making your circuit designs with appropriate measures such as i placement of substitutive auxiliary circuits ii use of non flammable material or iii prevention against any maituneton or mishap Precautions to be taken when using this manual e These materials are intended as a reference to assist our customers in the selection of the Sunny Giken Inc product best suited to the customer s application they do not convey any license under any intellectual property rights or any other rights belonging to Sunny Giken Inc Sunny Giken Inc assumes no responsibility for any damage or infringement of any third party s rights originating ih the use of ay product data diagrams charts programs algorithms or circuit application examples contained in these materials All information contained in these materials induding product data diagrams charts programs and algorithms represents information on products at the time of publication of
21. P87 Side Leave Xcout open Xcin Xcout Internal oscillator circuit Sub clock of emulator 32 768kKH z 1 Changing MCU main clock Following is the procedure how to change the MCU main clock lt 1 gt Using oscillation circuit of the emulator In the emulator 6MHz internal clock is built in Standard Set SW1 on Xin side lt 2 gt Using oscillator circuit board option If the emulator is going to be used in your desired oscillation frequency please configure desired oscillation circuit using oscillation circuit printed board option The figure 3 1 shows the oscillator circuit board contour and pin locations The circuit of the oscillator circuit board S30830T OCS1 is shown in figure 3 2 For mounting instructions refer to page 29 How to mount the oscillator circuit board S30830T OSC1 ple of a unit with oscillator Figure 3 1 Outer shape of the oscillator circuit board S30830T OSC1 27 51 S3062PT CPE 2 User s Manual The figure 3 2 shows the circuit of the oscillator circuit board S30830T OCS1 VCC GND To Oscillation output GND EXT Factory Setting INT Side U1 U1 2 3 gt 4 74VHCU04 74VHCU04 C2 NW 7 LIT Changing the oscillator When changing the frequency by the oscillator be sure to use 3 3V power source JP1 has to be set on INT side C
22. aintenance EEEIEE AAEE E AEE EA anneal ae eee G MaA E a a a r ath ele e EI 49 4 51 MEMO 5 51 S3062PT CPE 2 User s Manual Chapter 1 Precautions for Safety This chapter describes precautions for using this product safely and properly For precautions for the emulator debugger please refer to User s Manual included with your product 1 1 Safety Symbols and Meanings 7 WARNING Warning for Installation 8 Warning for Operating Environment 8 CAUTION Caution to Be Taken for Modifying This Product 8 Cautions to Be Taken for This Product 8 IMPORTANT Noteon Malfunctions in the System 8 Notes on Differences between the Actual MCU and Emulator 9 Note on MCU Functions That Cannot Be Used with This E mulator 10 Note on Restrictions in Using the Emulator 11 Note on Controlling MCU Pins 13 Notes on the Target System power supply order of powering on 13 6 51 S3062PT CPE 2 User s Manual Chapter 1 Precautions for Safety In both the User s Manual and on the product itself several icons are used to ensure proper handling of this product and also to prevent injuries to you or other persons or damages to your properties This chapter describes the precautions which should be taken in order to use this product safely and properly Be sure to read and understand this chapter before using this product 1 1 Safety Symbols and Meanings If the requirements shown in the WARNING VAN WA R N N G sentences a
23. al characteristics are different P1 P3 P4 P5 The pull up control register can be set but actual signals will have 510KQ resistance automatically at input output PO P2 The pull up control register can be set but actual signals will have 510KQ resistance automatically at input output However only when the analog input is set the pull up circuit is disabled Regardless of input output pull up control register sets the 510KQ resistance automatically However only when the analog input is set the pull up circuit is disabled Note that once you set the analog input pull up circuit will remain disabled unless analog port is switched to another port or RESET button of the program is pressed on GUI When using A D converter input is sent through the analog switch to A D port For ports other than P10 output voltage may be lower than actual chip depending on the connecting circuits 6 Bus Timing Delay in Memory Expansion Mode In the Memory Expansion Mode occurrences of signals such as address data RD and WR may delay against the BCLK for the maximum of half of the BCLK time 7 BCLK The BCLK output forbidden bit is disabled during the memory expansion mode Note that output is done regularly 8 PLL Circuit This product has a built in external PLL circuit of the PLL synthesizer and when using PLL the internal circuit will be operating eAs items such as a package conversion unit are used between the emulate MCU an
24. an address matched interrupt is set In step execution do not execute addresses that generate address matched interrupts 5 Stop and wait modes Do not use a single step for the command that shifts to the stop mode Operation does not shift to the wait mode when the command that shifts to the wait mode is executed as a single step 6 Stack area This emulator consumes 16 bytes of user stacks specified by ISP If there is not enough user stack area it uses other areas not usable as stacks SFR area RAM area that stored data or ROM area which may damage the user program or destabilize emulator control Therefore ensure the maximum 16 bytes of the area used by the user program for user stack area 7 Trace results for addresses that set software breaks Software breaks replace the original command with the BRK command that generates the BRK interrupt When trace results are viewed in the bus display 0016 is displayed by fetching by command the address that sets the software break however in the reverse assembly display the BRK command is displayed 8 Protect register PRC2 When the protect register PRC2 that enables writing in the port P9 direction register and the menu key registers A3 is changed in the following way the protect is not cancelled 1 When the command that sets PRC2 to 1 is executed step execution 2 When the program is executed with a break point set between the commands that set PRC2 to 1 and
25. ator Check the LED of emulator Start up the emulator debugger Specify the operating environment Debug the program using PD30S Select the selection Figure 2 3 Procedure for starting up the emulator Set the switch according to each usage E Xqy T Xqn Xn SW1 Xcn P87 SW2 Xour SW3 Connect the PC connecting cable to the connector of emulator and the USB port of the host machine Connect the DC cable to the power connector Connect the target system to the package converting unit at the bottom of emulator when necessary Recheck the connection and turn on the emulator When the target system is connected turn on the target system too Turn them on as simultaneously as possible Check Power and Clock of the Status LEDs are lit Even if the target system is not connected Power LED is lit Start up the emulator debugger PD30S In the INIT dialog box of emulator debugger PD30S select a MCU file and press OK Emulator debugger PD30S offers various debugging functions For details on PD30S refer to the online manual of PD30S 18 51 S3062PT CPE 2 User s Manual 2 3 Emulator Initial Setup Set the selection switches of the emulator according to purposes of use 1 Selection Switches They are the switches to select the function of E Xin T Xin Xin Xcin P87 and Xout pins As shown in Table 2 3 below set the switch according to the usage of the pins Table 2 3
26. contents of the product and manual For inquiries about the contents of the product or this manual fill in the Technical Support Application Form included in the manual and fax it to our dealer Renesas Technology Corporation s technical support desk When sending an email write the same items of the Technical Support Application Form and send it to Renesas Technology Corporation s support desk support_apl renesas com Maker Sunny Giken Inc Technical Support support sunnygiken co jp User Registration info sunnygiken co jp Homepage http www sunnygiken co jp english 1 51 S3062PT CPE 2 User s Manual Preface Thank you for purchasing the S3062PT CPE 2 S3062PT CPE 2 is a compact emulator with the real time trace function for M16C 62 group and M16C30P group This User s Manual mainly describes specifications of the S3062PT CPE 2 how to set up and operate it For details of the following products which are used with the S3062PT CPE 2 please refer to online manuals attached to each product e Emulator debugger PD30S e C compiler NC30WA Entry Version e Integrated development environment TM If you have any question or doubt about this product please contact Sunny Giken Inc To use the product properly Precautions for Safety eIn both this User s Manual and on the product itself several icons are used to ensure proper handling of this product and also to prevent injuries to you or other perso
27. ctiOn Aerenea krae ea ERAR E EAR eea Ra aee n ere aA ke EE Ta UERR 21 26 T m On the POwer erd ienie e a e E a E E E ee aaa eva teas Se tees 22 1 Checking the Connection of the Emulator System seseeseseseeesesresresressesrtssesrisstsrtestestesessrenrestessesressete 22 2 Turning On the Powers cic ete site seeded a a a feta A a ted a ae I a eee 22 2 7 LED Display When the Emulator Starts Up Normally eee eeeeeeceeeeecneeceseceaeceaeceseeeseesseeseeeeeneeeaes 23 2 8 Starting Up Emulator Debugger PD30S cece cesceeseeseeceeeeeceaeeeeaaeceeaeeceaeeesaaeceeaaeceeeeeeaeeseaaeeseeeeens 24 2 9 Setting the Operating Environment of Emulator Debugger PD30S 00 eee cece ceseceneceneceneceteeeeeeeeeeeees 24 EONDU U S e RIARI A EEEE N E E lacdbbsladebaniteceustasackubnsadedbbcaccesta 24 U FEMEM SOCEM aens a eree ee e E AE ate de E E tats a A e hesitant knees 25 2 10 When Emulator Debugger PD30S Starts Up Normally 000 0 eee eee eeeeeeseeeeeeseecaeecaaeeeceeeeseeseeeeeneeeaes 25 Chapter 3 Changing the Settings OR E See PE Mer OTTER ea Ber EE RW ROLE RE SE RPE re PORES A 3 1 Changing Clock Supply sis rennene e eeii a E hadron lentes be secede ata 27 1 Changing MCU main Clock scsi s ieci slesacctii ts iesescsdigee bal aes rests lecceaebatetedl slaneestsdte eaea eiit 27 2 Chansins MCU sub clock moine teen tieees fo ee de ente ban Ueto tee EE ieee dan es tec R E Bh boeels 30 Chapter 4 Specifications NE S OEE Ole E A Aad vlc shad
28. d the target system some characteristics are slightly different from those of the actual MCU Therefore be sure to evaluate your system with an evaluation MCU Before starting mass mask production evaluate your system and make final confirmation with an ES Engineering Sample version MCU 9 51 S3062PT CPE 2 User s Manual IMPORTANT Notes on MCU Functions That Cannot Be Used with This Emulator The following MCU features cannot be used with this emulator 1 Debugging cannot be done with this emulator in the micro processor mode eWhen using this emulator always set the processor mode bit in the processor mode register to the single chip mode or memory expansion mode When using this emulator fix the CNVSS pin at L level Only a separate bus can be used in the memory expansion mode A multiplex bus cannot be used 2 Oscillation circuits that use an oscillator cannot be used Because a package converter board is situated between the emulate MCU and the target system oscillation circuits in which an oscillator is connected between the Xm and Xour pins will not oscillate 3 Watchdog timers cannot be used MCU watchdog timers can only be used during program execution free running Disable watchdog timers in all other program operations break dump program forced stop etc Also if the target system has a watchdog timer in its reset circuit disable it too when using the emulator
29. e gt Contact your nearest distributor firmware on the target are not poe compatible Please download the firmware to the target 42 51 S3062PT CPE 2 User s Manual 5 2 Troubleshooting When Using Emulator Debugger PD30S After PD30S has started up normally in case errors occurred while using it remedy the troubles referring Table 5 3 Table 5 3 Error message and how to remedy it when using PD30S Error Connection to Checkpoint the target system Target MCU is not given clock gt Check if the emulator system s oscillation currently circuit works properly Also please refer to 2 3 1 Selection Switch on page 19 Target MCU is unable to reset gt Check if the emulator system s oscillation circuit works properly Also please refer to 2 3 1 Selection Switch on page 19 Target MCU is reset state Connected gt The target MCU has been reset Cancel the Please reset target systems reset Target MCU is HOLD state gt Check if the emulator system s oscillation circuit works properly Also please refer to 2 3 1 Selection Switch on page 19 gt The MCU may bein the stop or wait mode Either reset the MCU or cancel the mode with an interrupt Target MCU is not given power Connected gt Check the power supply and GND are connected properly gt If there is no problem found with the target system please contact your nearest distributor 43 51 S3062PT CPE 2 User s Manual
30. emulator and the target system 40 51 S3062PT CPE 2 User s Manual Table 5 1 Error display and how to remedy it when starting up the emulator Connection tothe Item LED display target Symptoms amp Checkpoints system E mulator Error Halt Run Reset Clock Power Emulator does not work properly function oO BOeO Check power is being supplied to the emulator check gt The emulator may be damaged Contact your nearest distributor Error Halt Run Reset Clock Power S0080 Eror Halt Run Reset Clock Power OSS 000 Enor Hat Run Reset Clock Power T Power supply for Ero ma Run Reset Cock Power Connected Emulator does not work properly because power is not being supplied to the target system gt Check power is being supplied to the target system Not Emulator does not work properly connected Check power is being supplied to the emulator gt The emulator may be damaged Contact your target system O O check nearest distributor NMI pin check Eror Halt Run Reset Clock Power Connected Emulator does not work properly eai Te IE 00800 pin is L level gt Check the NMI pin is H level Not Emulator does not work properly connected gt The emulator may be damaged Contact your nearest distributor CNVss pin check eno mat Run Reset Clock Powe Connected Emulator does not work properly because the CNVSS 08800 PE Nein Debugging cannot be done with this emulator in the
31. er a signal name is used to show active LOW signal e g RESET Reset signal e Vccl Vcc2 pins For both Vccl and Vcc2 pins Vcc indicates the power supply voltage of the target MCU 3 51 Contents Chapter 1 Precautions for Safety ER PO OREIRO PASEET ASE SEE IA E EE S OTE 11 Safety Symbols and Meanings sionn ononon eea a ree sari angist 7 Chapter 2 Usage 000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 14 2t Name Of Fach Partissticc c sseseteeses fetes tescuesthinscche sed soeetats cadet bad EARNE ETA EE A Ea e eet 15 1 System Conf puration ress e eaa a a Lee E a enn ee eed ele een ed 15 2 Name of Each Part of Emulator oSer reire EE EAE E E EEE E AAE aR 16 2 2 Starting Up the Emulator esmo wie iladais sles pinta aia ei aretin a ei erie essa 18 23 Em lat r mtia Setup teiiscsrcn settee essed E EA eR EEE A ees air a a M 19 Sekcion Swie hes iiie eta NA E EA EAEE EREE E EEEE NAE RREA 19 2 4 Connecting the Emulator System 0 0 nereiidi ne a a ia oeae a e iieri ia ioiei 20 1 Connecting the PC Connecting Cable eee eeceesceeseeeseesseesseceseceecsseeseneseaeseaeeeaeecaaecaaecsaecsaeenaeeaeenes 20 2 Connecting the DC Cable iis a a e ea wi aura acini eau eel ed arla atau ee aeceat 20 2 5 Connecting the Target System as occasion demandsS cccceeccessseceesceceeeeeceeceeaaeceeaeeceeeeeueceeaeeceeeeees 21 CD Standard COnne
32. es how to maintenance repair provisions and how to request for repair 6 1 Maintenance 49 48 51 S3062PT CPE 2 User s Manual Chapter 6 Maintenance and Guarantee 6 1 Maintenance If dust or dirt collects on any equipment of your emulation system wipe it off with a soft dry cloth Do not use thinner or other solvents because these chemicals can cause the equipment s surface coating to separate Z N CAUTION Note on Shipping the Product eWhen sending your S3062PT CPE 2 for repair use the packing box and cushion material supplied with the S3062PT CPE 2 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 the S3062PT CPE 2 usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity 49 51 Technical Support Communication Sheet Date Total Pages Contact Address Product Information Company Emulator Serial number Department Emulator debugger PD30S Responsible person Version Phone Host machine FAX OS amp version E mail Target MCU Address Pleasefill in within heavy lineframe Date received Datereplied Person in charge MEMO Con
33. g lugs Approx 200g 1 Ring oscillators are not applicable 33 51 S3062PT CPE 2 User s Manual 4 2 Memory Map Figure 4 1 shows memory maps when using the emulator For the memory map of the actual MCU refer to the User s Manual of your MCU Make note of the fact that the memory map of the actual MCU differ from that of emulator Do not access to the area noted Do Not Access in the memory map when using the emulator Otherwise the emulator may malfunction Actual MPU When using Emulator 00400 es ai area Internal RAM area O7FFF ie OFO00 Data ROM area Data T3 A 3 1 OFFFF 27000 Internal reserved Unusable area area Bice work 27FFF area External area External area XXXxx 2 Internal ROM area Emulation Memory FFFFF FFFFF Not possible to write while executing programs This ROM area can be rewritten only by downloading the target program Not possible to rewrite in DUMP window or debug by locating execution codes Beginning address of ROM area will depend on MCU file settings 30000H FFFFFH Setting 1 in the PM10BIT makes this area DATA ROM area Setting 0 in the PM13BIT makes 4000H 7FFFH and 80000H CFFFFH become external area Figure4 1 Memory map when using emulator 34 51 S3062PT CPE 2 User s Manual 4 3 DC Characteristics PO P5 and P10 are actualized by emulate circuit and have different electric characteristics from
34. hanging the frequency by using an oscillator 74VHCU04 is implemented on U1 Mount an oscillator on X2 resistor on R1 amp R2 and electrical condenser on C1 C2 Set the values according to the manufacturer s recommended values as they differ depending on resistors and electrical condenser oscillation drive capacity Set JP1 on EXT side when using an oscillator Figure 3 2 The drat of Oscillation circuit board S30830T OSC1 IMPORTANT Notes on Replacing Internal Oscillator Circuit of Emulator Soldering is required to replace the emulator s internal oscillation circuit Generally the oscillator can be replaced only twice removal and installation count as one time Replacing it more than twice is not recommended since it will affect board pattern durability Be cautious not to damage other devices when replacing the oscillator Repairing damages incurred during oscillator replacement can be subject to billing even during the warranty period 28 51 S3062PT CPE 2 User s Manual Figure 3 3 shows the mounting position of the oscillation circuit board gsn jeseyWarshs Figure 3 3 Oscillation drauit board S30830T OSC1 mounting position Mount it to the oscillation circuit board connector Oscillation circuit board Figure 3 4 How to mount Oscillation circuit board S30830T OSC1 N CAUTION Notes on Mounting Oscillation Circuit Board eAlways shut
35. lator Set SW2 to Xcin 30 51 S3062PT CPE 2 User s Manual b U sing the oscillator circuit on the target system When operating the emulator by the oscillator circuit on the target system construct the circuit as shown in Figure 3 7 in the target system and input the oscillator output at 50 duty within the operating range of the emulate MCU into the XCIN pin Set SW2 to P87 The XOUT pin should be open Emulator Emulate MCU XCIN XCOUT Oscillation Oscillation output circuit Figure 3 7 Oscillation Circuit on the target system Note that in the oscillator circuit shown in Figure 3 8 where a resonator is connected between the Xin and Xour pins oscillation does not occur because devices such as LCC socket are used between emulate MCU and the target system Emulator Evaluation MCU XCIN XCOUJ Figure3 8 Circuit in which oscillation does not occur IMPORTANT Notes on Changing the Clock Supply e Xcm Xour main clock pins cannot be changed in the oscillator circuit on the emulator When changing the main clock use an oscillation circuit board optionally sold Note that oscillation circuit on the target system can be used only for the oscillator output e For using Xci Xcour sub clock pins it is necessary to change SW2 Xcin P87 selection switch of the emulator For how to set it refer to 2 3 1 P87 Xcw selection switch page 19 31 51 S3062PT CPE 2 User s Manual Cha
36. ns or damages to your properties The icons graphic images and their meanings are given in Chapter 1 Precautions for Safety Be sure to read this chapter and understand it before using the product IMPORTANT Checking the Emulator eFor checking whether the S3062PT CPE or S3062PT CPE 2 is supported see the Rev number on the back of the emulator Rev l Rev A S3062PT CPE Internal ROM 384K version Rev B or later S3062PT CPE 2 Internal ROM512K version 2 51 S3062PT CPE 2 User s Manual Terminology Some specific words used in this User s Manual are defined as follows e Emulator This means the S3062PT CPE 2 this product e Emulator system This means the emulator system built around the S3062PT CPE 2 emulator The minimum S 3062PT CPE 2 emulator system is configured with an emulator host machine and emulator debugger e Host machine This means a personal computer used to control the emulator e Emulator debugger This means a software tool PD30S to control the emulator from the host machine through an communications interface e Emulate MCU This means the internal microcomputer mounted on the emulator which is operated in the specific mode exclusively for tools e Target MCU This means the microcomputer you are going to debug e Target system This means an operation application system using the microcomputer to be debugged after a signal name The symbol that is put aft
37. peat transfer even when the debugger is abeyant However it may cause an abnormal operation of the target program when you re execute the program Follow either one of the following instructions when you are to debug the target program which operates the DMA repeat transfer Before re executing the target program change the register directly to stop the DMA Then execute it Set it to break with the DMA repeat transfer in abeyance 12 51 S3062PT CPE 2 User s Manual IMPORTANT Notes on Controlling MCU Pins Some MCU pins controlled by the emulator 1 RESET input The RESET input from the target system is accepted only the time during a user program is being executed only when the RUN Status LED of the emulator is lit 2 NMI input The NMI input from the target system is accepted only the time during a user program is being executed only when the RUN Status LED of the emulator is lit Notes on the Target System power supply requirements order of powering on On this emulator Vcc pins are connected in order to monitor the power voltage and it cannot supply the power to the target system Therefore design your system so that the target system is powered separately The voltage of the target system should be within the range of MCU specifications Before powering on your emulator system check that the host machine the emulator the converter board and the target system are all connected correctly
38. pter 4 Specifications This chapter describes specifications of this product 4 1 Specifications 4 2 Memory Map 4 3 DC Characteristics 4 4 External Dimensions of the Emulator 33 34 35 36 32 51 S3062PT CPE 2 User s Manual Chapter 4 Specifications 4 1 Specifications Table 4 1 Specifications of S3062PT CPE 2 Function Specifications Applicable MCUs Renesas Technology M16C family M16C 62 group and M16C 30P group Clock mounted on emulator 6M Hz Multiply PLL by 4 24MHz Clock can be changed using osdllation circuit board option Sub clock Xcin Clock mounted on emulator 32 768kH z Frequency can be changed from the target system Clock supply 1 Main clock Xin Maximum Operating frequency Minimum Operating Frequency 24M Hz Power voltage 5 0V 3 3V 0 wait 32 768kHz Single chip mode Usable MCU modes Memory expansion mode normal mode separate bus Emulate MCU M30627F HPGP Emulate chip M 30624F GMFP Control MCU Internal Emulation Internal RAM area Using SRAM inside emulate chip 31K bytes Memory Internal ROM area Using flash memory inside flash memory 512K bytes Download S W break 64 points Program execution stop allows free run execution supporting S W breaks Hardware break 1 point Memory reference Setting reference setting C variables run time execution Register reference setting Disassemble display C source level
39. re ignored the equipment may cause serious personal injury or death If the requirements shown in the CAUTION AN C A U T O N sentences are ignored the equipment may cause personal injury or damages to the products M P O RT A N T er other important notes for using this Tn addition to the three ahove the following svmhbols are also used means WARNING or CAUTION ee CAUTION AGAINST AN ELECTRIC D means PROHIBITION Example Y DISASSEMBLY PROHIBITED Ss means A FORCIBLE Example Z UNPLUG THE POWER CABLE FROM THE RECEPTACLE The following pages describe the symbols WARNING CAUTION and IMPORTANT 7 51 S3062PT CPE 2 User s Manual AN WARNING Warning for Installation Do not set this product in water or areas of high humidity Spilling water or some other liquid S into the main unit can cause an unrepairable damage Warning for Operating Environment eThis equipment is to be used in an environment with a maximum ambient temperature of 35 degrees C Care should be taken that this temperature is not exceeded CAUTION Modifying This Product void your warranty D Do not disassemble or modify this product Disassembling and modifying the product will Cautions to Be Taken for Handling This Product AN 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
40. roducts or technologies are subject to the J apanese export control restrictions they must be exported under a license from the J apanese government and cannot be imported into a country other than the approved destination Any diversion or reexport contrary to the export control laws and regulations of J apan and or the country of destination is prohibited Please contact Sunny Giken Inc for further details of these materials or the products contained therein Precautions to be taken when using this product This product is a development support tool you can use in your program development and evaluation steps When development of your program is completed always be sure to verify its operation by board based evaluation and test before putting it into mass production Sunny Giken Inc will not assume any responsibility for the results arising from the use of the product e Sunny Giken Inc will respond to customer requests for the product with expenses borne by Sunny Giken Inc or the customer as follows 1 Repair or replacement of the product when it is found faulty 2 Modification of nonconformity when the product contains nonconformity This product has been developed by assuming its use for program development and evaluation in laboratories Therefore it does not fall under the application of electrical equipment control laws and protection against electromagnetic interference when used in J apan Contact point for inquiries of the
41. secutive No 50 51 Inquiries Attach a list of your inquiries if necessary 51 51 Overseas Specifications e Obtaining the CE Mark EMI EN55011 Group1 Class A EMS EN61000 6 2 e FCC Compliance 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 S3062PT CPE 2 User s Manual Date of Issue May 2005 First Edition Editor f Sunny Giken Inc Published by f Sunny Giken Inc 3 1 9 Nishidai Itami Hyogo J APAN 664 0858 E mail info sunnygiken co jp
42. t dialog box refer to User s Manual of PD30S 1 INIT Screen After starting up PD30S Init dialog box will open Set as per figure 2 10 Please refer to the PD30S User s manual for details of I nit dailog box nit MU Debugging Information Flesst Rezume HECU MHIEZP meu 1 Press Refer button and select a MCU file 1 MCU file is saved in the directory where PD30S is installed 2 After completing E E He Hi the setting press OK Stk em Met Hide Figure2 10 Init dialog setting MCU file to be selected Se ect M3062PC_512K MCU when using in single chip mode Select M3062PC_512K MCU when using 80000H CFFFFH as internal ROM in memory expansion mode Select M3062PC_192K MCU when using 80000H CFFFFH as external memory in memory expansion mode Note When using S3062PT CPE Seect M3062PC_384K MCU when using in single chip mode Select M3062PC_384K MCU when using AOOOOH CFFFFH as internal ROM in memory expansion mode Select M3062PC_192K MCU when using AOOOOH CFFFFH as external memory in memory expansion mode IMPORTANT Checking the Emulator For checking whether the S3062PT CPE or S3062PT CPE 2 is supported see the Rev number on the back of the emulator Rev 1 RevA S3062PT CPE Internal ROM 384K version Rev B or later S3062PT CPE 2 Internal ROM512K version 24 51 S3062PT CPE 2 User s Manual 2 EMEM Screen After pressing OK in the Init dialog
43. these materials and is subject to change by Sunny Giken Inc without notice due to product improvements or other reasons It is therefore recommended that customers check the n Hre information and pay attention to the information published by Sunny Giken Inc in various means including Sunny Giken Homepage http www sunnygiken co jp english before purchasing a product listed herein Sunny Giken Inc assumes no responsibility for any damage liability or other loss resulting from the information contained herein When using any or all of the information contained in these materials including product data diagrams charts programs and algorithms please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products Sunny Giken Inc assumes no responsibility for any damage liability or other loss resulting from the information contained herein All products of Sunny Giken Inc are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake Please contact Sunny Giken Inc when considering the use of a product contained herein for any specific purposes such as apparatus or systems for transportation vehicular medical aerospace nuclear or undersea repeater use The priar written approval of Sunny Giken Inc is necessary to reprint or reproduce in whole or in part these materials If these p
44. tor LD6 LD4 LD2 LED3 Reset LED4 Run LEDS Halt LED6 Error E XIN T XIN XIN SELECTION SWITCH SW1 XCIN P8 SELECTION SWITCH SW2 Swi SWw2 SW3 XOUT SELECTION SWITCH SW3 Figure 2 2 Name of each part of emulator upper side of S3062PT CPE 2 a Status LED The Status LEDs indicate the target MCU s power supply and operating status Table 2 1 Definition of Status LED Power Green ON Power is supplied to the target MCU rove pret om Power is not supplied to the target MCU Clock Green ON Main dock is supplied to the target MCU r pou Han dock is not supplied to the target MCU OFF Reset ON Target MCU is resetting Target MCU setting is canceled lel a User program is being executed OFF O User program has been halted 7 Target MCU halts operation due to either command or conditions of hardware OFF O Target MCU is operating Error oN JE mulator system has error one mulator system has no error 16 51 S3062PT CPE 2 User s Manual b System reset switch By pressing the system reset switch you can initialize the emulator system Table 2 2 shows the functions of the system reset switch depending on the state of emulator Table 2 2 Functions of system reset switch Status of E mulator F unction When the system reset switch is Changes into a special mode All indicators other than Power ON pressed within 2 seconds of turning and Clock of the Stat
45. us LED flash on the power Then when the emulator debugger PD30S is started changes into a mode to force downloading a firmware When the system reset switch is Executes self check pressed during the special mode All indicators other than Power ON and Clock of the Status LED shift flash When the system reset switch is pressed while the user program is being halted debugger When the system reset switch is Halts the user s program initializes the emulator and waits for pressed while the user program is commands from the emulator debugger being executed Initializes the emulator and waits for commands from the emulator CAUTION Notes on System Reset Switch eAfter pressing the system reset switch reboot the emulator debugger PD30S otherwise the display of emulator debugger and the actual value in the emulator may not match When the emulator debugger does not start up normally even after rebooting turn off the emulator and then turn on again 17 51 S3062PT CPE 2 User s Manual 2 2 Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2 3 For more details refer to each section hereafter And when the emulator does not start up properly refer to Chapter 5 Troubleshooting page 38 E XIN T XIN XIN XCIN P87 Xour switch Connect the PC connecting cable Connect the DC cable for emulator Connect the target system Turn on the emul
Download Pdf Manuals
Related Search
Related Contents
Straightener 11MB PDF BX表1.eps mode d`emploi Pelican Water Dispenser WHWF 1354 User's Manual Téléchargement FDR - Ramsar Sites Information Service Samsung SGH-E710 Brugervejledning Bedienungsanleitung Operating instructions Instrucciones de Fixapart W9-20092N Copyright © All rights reserved.