background image

5  OPERaTIOnS anD FUnCTIOnS OF THE S5U1C63000H6

S5U1C63000H6 ManUal

 

EPSOn 

15 

(S1C63 Family In-Circuit Emulator)

(7) Register (data) break

 

The register (data) value after a break occurs may differ from the value set as a register (data) break condition.  
The following shows an example if a break condition has been set so that a break will occur when the A register 
is set to 5, and when the S1C63000 CPU has executed the sequence in the timing chart shown below to set the A 
register to 5 and 6:

ld %a, 5

ld %a, 6

5

6

ICE monitor command ICE monitor command

CLK

Instruction execution

A register

ICE data judgment point

<1>

<2>

<3>

Figure 5.13.2  Example of Register Break

 

The S5U1C63000H6 judges the register data at the points indicated with a “

.” It judges that the A register is 

“5” at the point of <2>, and the register break condition is met at the same time. However, the S1C63000 CPU 
is executing the following “ld %a, 6” instruction at this point and the break occurs after the A register is set to 
“6.” Therefore, “6” is read from the A register after the break has occurred. This is also applied to the break by 
accessing to undefined area function.

(8) Register (data) break and hardware interrupt

 

If a hardware interrupt occurs when the register (data) break condition described in Item (7) is met, register (data) 
break will occur at the top address of the interrupt handler routine. The following shows an example when a 
hardware interrupt factor occurs while the S1C63000 CPU is executing the sequence in the timing chart shown 
below to set the A register to 5 and 6, if a break condition has been set so that a register break will occur when 
the A register is set to 5:

ld %a, 5

ld %a, 6

5

6

CLK

Instruction execution

A register

Interrupt factor

IACK

ICE data judgment point

<1>

<2>

<3>

Figure 5.13.3  Example When a Register Break and an Interrupt Occur Simultaneously

 

In the timing chart above, if an interrupt factor occurs (falling edge) at the point of <1>, the S1C63000 CPU 
outputs the IACK signal to indicate that an interrupt acknowledgment cycle is executed. The interrupt process-
ing cannot be stopped while IACK is at low level. Therefore, the S5U1C63000H6 cannot disable the interrupt  
even if the register break condition (A register = “5”) is met at the point of <2>, as IACK is at low level. The 
register break will occur after jumping to the interrupt vector address.

 

Summary of Contents for S5U1C63000H6

Page 1: ...CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63 Family In Circuit Emulator S5U1C63000H6 Manual ...

Page 2: ...out notice Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and further there is no representation that this material is applicable to products requiring high level reliability such as medical products Moreover no license to any intellectual property rights is granted by impli...

Page 3: ...tion Package D die form F QFP B BGA Model number Model name C microcomputer digital products Product classification S1 semiconductor Development tools S5U1 C 63000 A1 1 Packing specifications 00 standard packing Version 1 Version 1 Tool type Hx ICE Ex EVA board Px Peripheral board Wx Flash ROM writer for the microcomputer Xx ROM writer peripheral board Cx C compiler package Ax Assembler package Dx...

Page 4: ...C63000H6 8 5 1 Outline of Operation 8 5 2 Break Function 9 5 3 Monitoring Terminals 9 5 4 Display During Execution and During Break 10 5 5 Break Commands 10 5 6 Target Interrupt and Break 11 5 7 Trace Function 11 5 8 Trace Mode 12 5 9 Trace Trigger Point 12 5 10 Coverage Function 12 5 11 Measurement of Execution Time 12 5 12 Self Diagnostic Function 13 5 13 Restrictions on Emulation 13 6 lCD Drive...

Page 5: ...a peripheral circuit board S5U1C63xxxP it provides the development environment of the software using a personal computer as a host computer which re quires Windows 2000 XP This manual describes the operation of the S5U1C63000H6 hardware and connections of the S5U1C63000H6 sys tem Refer to the S5U1C63000A Manual for how to use the control software on the PC debugger Figure 1 1 shows the external vi...

Page 6: ...Warranty card 1 pcs 13 Precautions on using the S5U1C63000H6 1 pcs Note that the items listed below are not included in this package These items need to be provided separately 14 S5U1C63xxxP Board included in the S5U1C63xxxP package 15 S5U1C63xxxP Manual included in the technical manual for each models 16 S1C63 Family Debugger included in the S1C63 Family Assembler package 17 S5U1C63000A Manual in...

Page 7: ...30 mm H Input voltage AC 90 V to 264 V Input frequency 50 Hz to 60 Hz 3 Hz Power consumption 36 W max in main system load Output voltage Current DC 12 V 3 A with over current protection Outside 0 V Inside 12 V 4 AC cable Length 1 8 m Plug type 2 pin 5 Accessories Jig For installing dismounting option boards 2 pcs User connector 3431 6002 LCPL 3M 1 pcs 3433 6002 LCPL 3M 2 pcs Hardware manual Warran...

Page 8: ...or SLEEP status a low level signal is output from this terminal This is used to measure execu tion rate of the CPU Also this terminal goes low in break status 7 Front panel TRCIN Trace input terminal Trace information will be stored in the trace memory by connecting a signal of the target system to this terminal 8 Front panel BRKIN Break input terminal A running program enters break status by inpu...

Page 9: ... line Frame ground line AC cable AC inlet AC adapter dedicated for S5U1C63000H6 POWER CB FG DC 12V DC 12V FG DC cable We recommend to connect between the FG terminal of the S5U1C63000H6 and a frame ground Figure 3 1 1 Connection of AC Line 3 2 DC Cable Connect the DC output cable of the AC adapter to the DC12V connector located at the S5U1C63000H6 rear panel 3 3 Connecting with Host Computer Conne...

Page 10: ...eral circuit board into the slot and push it using the jig attached with the S5U1C63000H6 as shown in Figure 3 4 2 Using this jig as a lever push it toward the inside of the board evenly on the left and right sides After confirming that the peripheral circuit board has been firmly fitted into the internal slot of the S5U1C63000H6 remove the jig Figure 3 4 2 Installing Peripheral Circuit Board 3 Wh...

Page 11: ...ic function 2 Turning the S5U1C63000H6 on Turn the power switch on The power LED green lights The SLP HLT LED yellow lights momentarily and goes out 3 Starting the debugger Launch the debugger on the host computer The SLP HLT LED yellow lights momentarily and goes out 4 Executing the target program Execute the target program from the debugger When the target program starts running the EMU LED red ...

Page 12: ...U LED goes out The target program to be executed with the S1C63000 CPU is stored in the emulation program memory and data RAM area of the S1C63000 CPU is assigned to the emulation data memory In the standby mode the S5U1C63000H6 control processor loads the program from the host computer The trace control unit consists of a memory of 8 192 words 120 bits and records execution bus cycles of the S1C6...

Page 13: ...reak occurs when the target program writes data to the read only memory such as a character generator ROM The memory contents are protected even if this break occurs 5 Break by incorrect stack accessing This break occurs when the target program makes incorrectly stacking operation exceeding the defined stack area in the S1C63000 CPU 6 BRKIn terminal When a signal is input to the BRKIN terminal a b...

Page 14: ...ram counter break This break function is specified by the BP command When the program counter of the S1C63000 CPU coin cides with the specified address a break occurs before executing the instruction Multiple program counter val ues up to maximum size of program memory can be specified as break points 2 Program counter sequential break This break function is specified by the BS command A break occ...

Page 15: ...mation of the S1C63000 CPU program counter instruction code data RAM address data content and CPU register values is stored into the trace memory at every CPU bus cycle The trace memory has a capacity of 8 192 cycles which can store the latest instructions up to 4 096 in 2 bus cycle in struction and 2 048 in 4 bus cycle instruction Free space Trace memory Effective trace Execution of a program Ear...

Page 16: ...nts The trace trigger point is specified as the program counter conditions of the S1C63000 CPU A low level pulse is output from the TRGOUT terminal with the timing of T3 upon coincidence of the specified value and the program counter The information of the trace trigger point is also stored into the trace memory In the single delay trigger mode the trace trigger point becomes a condition for stopp...

Page 17: ...rs command waiting status 5 13 Restrictions on Emulation 1 Timer operation in standby mode In the emulation with a peripheral circuit board connected to the S5U1C63000H6 the S1C63000 CPU ordinar ily idles standby mode as shown in Section 5 1 In the standby mode the S5U1C63000H6 executes the moni tor program and the peripheral circuit board is in stop status The S5U1C63000H6 executes the target pro...

Page 18: ...However it enables interrupts while a sub routine is being executed regardless of whether the MD com mand enables interrupts or not 4 Data read from undefined RaM area When a data RAM ROM area or an I O area that is not available in the actual IC chip is read the read data becomes indefinite Read data from the actual IC is also indefinite however it is different from the S5U1C63000H6 5 Detection o...

Page 19: ...pplied to the break by accessing to undefined area function 8 Register data break and hardware interrupt If a hardware interrupt occurs when the register data break condition described in Item 7 is met register data break will occur at the top address of the interrupt handler routine The following shows an example when a hardware interrupt factor occurs while the S1C63000 CPU is executing the sequ...

Page 20: ... segment memory will be cleared or set after a system reset 2 lCD segment RaM for models in which the memory bit assignment for the LCD segments is fixed In the actual IC when reading a segment memory address that contains both the bits assigned for the LCD seg ments and the bits not assigned the unassigned bits are always read as 0 However in the S5U1C63000H6 the unassigned bits in the segment me...

Page 21: ...20 22 SEG13 22 SEG63 22 COM21 23 SEG14 23 SEG64 23 COM22 24 SEG15 24 SEG65 24 COM23 25 SEG16 25 SEG66 25 COM24 26 SEG17 26 SEG67 26 COM25 27 SEG18 27 SEG68 27 COM26 28 SEG19 28 SEG69 28 COM27 29 SEG20 29 SEG70 29 COM28 30 SEG21 30 SEG71 30 COM29 31 SEG22 31 SEG72 31 COM30 32 SEG23 32 SEG73 32 COM31 33 SEG24 33 SEG74 33 Cannot be connected 34 SEG25 34 SEG75 34 Cannot be connected 35 SEG26 35 SEG76 ...

Page 22: ...at system reset however the S5U1C63000H6 initializes the RAM with 0A Therefore be sure to initialize the RAM in the target program and do not create a program depending on the initial value 2 Initialization of registers In the actual IC the CPU registers are not initialized at power on At initial reset they keep values prior to the reset expect the program counter PC the interrupt flag I and the e...

Page 23: ...it 1 min done 1 Parameter file name Par63xxx par Version xx Chip name xxxxx CPU version x x PRC board version x x LCD board version x x EXT board version x x ICE hardware version x x ICE software version x x DIAG test OK Map done Initialize done When an error is detected in the diagnosis the error message is displayed at the point 1 instead of done If an error message is displayed stop using the S...

Page 24: ...gger Is power of the S5U1C63000H6 on Is the circuit breaker CB off Is the host cable connected correctly Is the target cable connected correctly Is the peripheral circuit board insert firmly 2 The circuit breaker CB trips and the POWER lED goes out when the S5U1C63000H6 is turned on Is the target cable connected correctly Is VDD and VSS short circuited on the target board Refer to the S5U1C63000A ...

Page 25: ...uth 12th Road Hi Tech Park Shenzhen 518057 CHINA Phone 86 755 2699 3828 FAX 86 755 2699 3838 EPSON HONG KONG LTD Unit 715 723 7 F Trade Square 681 Cheung Sha Wan Road Kowloon Hong Kong Phone 852 2585 4600 FAX 852 2827 4346 EPSON TAIWAN TECHNOLOGY TRADING LTD 14F No 7 Song Ren Road Taipei 110 TAIWAN Phone 886 2 8786 6688 FAX 886 2 8786 6660 EPSON SINGAPORE PTE LTD 1 HarbourFront Place 03 02 Harbour...

Page 26: ...First Issue September 2007 L A Revised Decembeer 2012 in JAPAN S1C63 Family In Circuit Emulator S5U1C63000H6 Manual Document code 411189600a ...

Page 27: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Epson S5U1C63000H6600 ...

Reviews: