# US 2013/0232286 A1 · Output input control apparatus and control method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0232286 A1
- Document ID: US20130232286A1
- Status: Published application
- Kind: A1
- Application number: 13/762,375
- Filed: 2013-02-08
- Published: 2013-09-05
- Earliest claimed: 2012-03-03
- Assignees: Nuvoton Technology Corporation
- Applicants: Nuvoton Technology Corporation
- Inventors: Kuo-Feng Li; Yueh-Yao Nain
- Web page: https://patentgrep.com/patent/US20130232286A1

## CPC

- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An output input (I/O) control apparatus and a control method thereof are provided. The I/O control apparatus includes an interface control unit, a read-only memory, a random access memory, a multiplexer and a micro-process unit. The interface control unit is coupled to a memory apparatus through a bus, and the memory apparatus is external to the I/O control apparatus. The read-only memory stores judgment codes. The multiplexer is controlled by the micro-process unit to switch to the interface control unit, the read-only memory or the random access memory. When the bus is not busy, the micro-process unit can read data from the memory apparatus. When the bus is occupied and busy, the micro-process unit can read and execute codes from the read-only memory or the random access memory so as to avoid computer system instability or thermal damage.

## Claims

### Claim 1

An output input (I/O) control apparatus, comprising:
an interface control unit, externally coupled to a memory apparatus through a bus;
a read-only memory, storing judgment codes;
a random access memory;
a multiplexer, configured to switch to the interface control unit, the read-only memory or the random access memory; and
a micro-process unit, coupled to the interface control unit and the multiplexer, and the micro-process unit controlling where the multiplexer is switched to.

### Claim 2 (depends on 1)

The I/O control apparatus according to claim 1, wherein when the I/O control apparatus is powered on, the multiplexer is switched to the read-only memory by default, the micro-process unit reads and executes the judgment codes so that the multiplexer is switched to the memory apparatus by the micro-process unit through the interface control unit, and the micro-process unit reads a data stored in the memory apparatus.

### Claim 3 (depends on 2)

The I/O control apparatus according to claim 2, wherein when the interface control unit is aware that an electronic apparatus from the external is about to occupy the bus, the interface control unit sends a stopping signal to the micro-process unit so that the micro-process unit stops reading the data from the memory apparatus.

### Claim 4 (depends on 3)

The I/O control apparatus according to claim 3, further comprising:
a watchdog timer, coupled to the interface control unit and the micro-process unit,
wherein when the electronic apparatus occupies the bus, the interface control unit sends a busy signal to the watchdog timer, and if the watchdog timer continuously receives the busy signal during a predetermined period, the watchdog timer sends a resetting signal to the micro-process unit.

### Claim 5 (depends on 4)

The I/O control apparatus according to claim 4, wherein when micro-process unit receives the resetting signal, the micro-process unit is reset and the multiplexer is switched to the read-only memory by the micro-process unit, and the micro-process unit reads and executes the judgment codes.

### Claim 6 (depends on 5)

The I/O control apparatus according to claim 5, wherein when the reset micro-process unit completes executing the judgment codes, the micro-process unit further proceeds with switching according to whether the busy signal is still received, and if the busy signal is received, the multiplexer is switched to the random access memory so that the micro-process unit reads and executes basic hardware operation codes previously loaded into the random access memory, and if the busy signal is not received, the multiplexer is switched to the memory apparatus by the micro-process unit so that the micro-process unit reads the data from the memory apparatus.

### Claim 7 (depends on 6)

The I/O control apparatus according to claim 6, wherein when the multiplexer is switched to the random access memory, and the micro-process unit completes executing the basic hardware operation codes, the micro-process unit further proceeds with switching according to whether the busy signal is still received, and if the busy signal is received, the multiplexer is switched to the read only memory, and if the busy signal is not received, the multiplexer is switched to the memory apparatus so that the micro-process unit reads the data from the memory apparatus.

### Claim 8 (depends on 1)

The I/O control apparatus according to claim 1, wherein the bus is a serial peripheral interface (SPI) bus.

### Claim 9 (depends on 1)

The I/O control apparatus according to claim 1, wherein the basic hardware operation codes are associated with hardware monitoring or fan controlling.

### Claim 10 (depends on 1)

The I/O control apparatus according to claim 1, wherein the memory apparatus coupled to the interface control unit is a flash memory.

### Claim 11 (depends on 3)

The I/O control apparatus according to claim 3, wherein the I/O control apparatus is integrated with the electronic apparatus on a single chip.

### Claim 12 (depends on 3)

The I/O control apparatus according to claim 3, wherein the I/O control apparatus is integrated with the electronic apparatus and the memory apparatus on a single chip packaging structure.

### Claim 13

A control method, adapted to an I/O control apparatus, the control method comprising:
the I/O control apparatus being externally coupled to a memory apparatus through a bus;
when the I/O control apparatus is powered on, a micro-process unit therein reading judgment codes from a read-only memory and executing the same; and
when the micro-process unit completes executing the judgment codes for the first time, the micro-process unit reading a data from the memory apparatus.

### Claim 14 (depends on 13)

The control method according to claim 13, wherein when the I/O control apparatus is aware that an electronic apparatus from the external is about to occupy the bus, the micro-process unit stops reading the data from the memory apparatus.

### Claim 15 (depends on 14)

The control method according to claim 14, wherein when the bus is occupied by the electronic apparatus, and if the bus is continuously occupied for a predetermined period, the micro-process unit is reset.

### Claim 16 (depends on 15)

The control method according to claim 15, wherein when the micro-process unit is reset due to the bus being occupied, the micro-process unit reads the judgment codes from the read-only memory and executes the same.

### Claim 17 (depends on 16)

The control method according to claim 16, wherein when the reset micro-process unit completes executing the judgment codes, the micro-process unit further proceeds with switching according to whether the bus is still occupied, and if the bus is occupied, the micro-process unit reads basic hardware operation codes from a random access memory in the I/O control apparatus and executes the same, and if the bus is not occupied, the micro-process unit reads the data from the memory apparatus.

### Claim 18 (depends on 17)

The control method according to claim 17, wherein when the micro-process unit completes executing the basic hardware operation codes, the micro-process unit further proceeds with switching according to whether the bus is still occupied, and if the bus is occupied, the micro-process unit reads the judgment codes from the read-only memory, and if the bus is not occupied, the micro-process unit reads the data from the memory apparatus.

### Claim 19 (depends on 14)

The control method according to claim 14, wherein the I/O control apparatus is further integrated with the electronic apparatus on a single chip.

### Claim 20 (depends on 14)

The control method according to claim 14, wherein the I/O control apparatus is further integrated with the electronic apparatus and the memory apparatus on a single chip packaging structure.
