s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 341

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
16.9.8 Simulated I/O
The db33's simulated I/O function allows you to evaluate external input/output functions such as a serial
interface by means of a standard input/output (stdin, stdout) or file input/output.
Input by stdin
Output by stdout
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Use the stdin command to set the following conditions:
After setting these conditions, execute the program in continuous mode.
When [Simulated I/O] window is selected
When a set break address is reached, the db33 opens the [Simulated I/O] window and waits for data to be
input from the keyboard. When input data and hit the [Enter] key, the db33 writes the input data to a
specified buffer, then restarts program execution at the address where it left off.
When a file is selected
If a file is selected, the db33 inputs data from the specified file to a specified buffer when it breaks. Then
the db33 restarts program execution at the address where it left off. In this case, the [Simulated I/O]
window is not opened.
Use the stdout command to set the following conditions:
After setting these conditions, execute the program in continuous mode.
When [Simulated I/O] window is selected
When a set break address is reached, the db33 opens the [Simulated I/O] window and displays the contents
set in the buffer in the [Simulated I/O] window. Then the db33 restarts program execution at the address
where it left off.
When a file is selected
If a file is selected, the db33 outputs the buffer contents to a specified file. Then the db33 restarts program
execution at the address where it left off. In this case, the [Simulated I/O] window is not opened.
Data can be output to both the [Simulated I/O] window and the file.
Break address
Input buffer address (buffer size fixed to 65 bytes)
Input device – [Simulated I/O] window or a file
Break address
Output buffer address (buffer size fixed to 65 bytes)
Output device – [Simulated I/O] window or a file or both
Table 16.9.8.1 Commands to set simulated I/O
Input setting
Output setting
Function
EPSON
Command
stdout
stdin
CHAPTER 16: DEBUGGER
325

Related parts for s5u1c33000c