KR20010019477A - Universal serial bus device processing exceptional instruction - Google Patents

Universal serial bus device processing exceptional instruction Download PDF

Info

Publication number
KR20010019477A
KR20010019477A KR1019990035903A KR19990035903A KR20010019477A KR 20010019477 A KR20010019477 A KR 20010019477A KR 1019990035903 A KR1019990035903 A KR 1019990035903A KR 19990035903 A KR19990035903 A KR 19990035903A KR 20010019477 A KR20010019477 A KR 20010019477A
Authority
KR
South Korea
Prior art keywords
usb
usb hub
hub module
processing unit
host
Prior art date
Application number
KR1019990035903A
Other languages
Korean (ko)
Inventor
배인호
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019990035903A priority Critical patent/KR20010019477A/en
Publication of KR20010019477A publication Critical patent/KR20010019477A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE: A universal serial bus device for processing an exceptional instruction is provided to process new instructions defined in an updated USB standard in an electronic device having a USB hub and a USB function device by equipping a USB hub module which receives exceptional and new instructions inputted from a USB host, and enables a processing unit to process the languages, by connecting the module to the processing unit. CONSTITUTION: A USB hub(20) is connected to an upstream port through a USB cable(30) in order to connect with a host(10). The USB hub(20) includes a USB hub module(22) and a processing unit(24). The processing unit(24) mutually connects with the USB hub module(22), receives and processes an exceptional instruction or a new instruction. In addition, the unit(24) transmits the instructions to the USB hub module(22).

Description

예외적인 명령어를 처리하는 범용 직렬 버스 디바이스{UNIVERSAL SERIAL BUS DEVICE PROCESSING EXCEPTIONAL INSTRUCTION}Universal serial bus device that handles exceptional instructions {UNIVERSAL SERIAL BUS DEVICE PROCESSING EXCEPTIONAL INSTRUCTION}

본 발명은 USB 디바이스에 관한 것으로, 좀 더 구체적으로 예외적인 명령어 또는 새로운 명령어를 처리할 수 있는 USB 디바이스에 관한 것이다.The present invention relates to a USB device, and more particularly to a USB device capable of processing an exceptional command or a new command.

기존의 하드웨어로 설계된 USB 허브는 USB 호스트로부터 명령어가 전달되면, 하드웨적으로 처리하여 결과를 USB 호스트로 전달한다. 이는 소프트웨어의 부담을 덜어주거나 처리 속도를 빠르게 하기 위함이다.Designed with traditional hardware, the USB hub handles hardware when commands are sent from the USB host and delivers the results to the USB host. This is to ease the burden on the software or to speed up the processing.

현재 USB 규격은 버젼 1.0(Universal Serial Bus Specification Revision 1.0) 또는 버젼 1.1에 의해서 정의되어 있는데, USB 허브는 이들 규격을 만족하도록 설계, 제작되어야 한다. 즉, USB 허브는 이들 규격에 정의되어진 명령어들을 처리하도록 설계되어 있다. 또한 이들 규격 1.0 또는 1.1에 호환되도록 설계된다.The current USB specification is defined by version 1.0 (Universal Serial Bus Specification Revision 1.0) or version 1.1. USB hubs must be designed and manufactured to meet these specifications. In other words, the USB hub is designed to handle the commands defined in these specifications. It is also designed to be compliant with these specifications 1.0 or 1.1.

그러나 설계 당시에 정의된 명령어들 만을 처리함으로서 USB 규격의 버젼이 업데이트되는 경우에는 USB 디바이스들이 변화된 명령어들을 처리할 수 없는 제약이 발생된다.However, when the version of the USB specification is updated by processing only the commands defined at the time of design, USB devices cannot handle the changed commands.

본 발명의 목적은 상술한 문제점을 해결하기 위한 것으로, USB 디바이스의 제품화 이후에 발생되는 새로운 또는 예외적인 명령어들을 처리하는 USB 디바이스를 구현하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problem, and to implement a USB device for processing new or exceptional commands generated after the production of the USB device.

도 1은 본 발명에 따른 USB 호스트와 USB 허브 및 외부 전자 장치들의 연결 상태를 보여주는 블록도이다.1 is a block diagram illustrating a connection state of a USB host, a USB hub, and external electronic devices according to the present invention.

* 도면의 주요 부분에 대한 부호 설명** Explanation of symbols on the main parts of the drawing *

10 : USB 호스트 20 : USB 허브10: USB host 20: USB hub

22 : USB 허브 모듈 24 : 프로세싱 유닛22 USB hub module 24 processing unit

30 : USB 케이블30: USB cable

상술한 목적을 달성하기 위한 본 발명의 일 특징에 의하면, 범용 직렬 버스(USB : Universal Serial Bus) 호스트와 USB 케이블을 통해 연결하여 상호 데이터 통신을 하는 USB 디바이스에 있어서: 상기 호스트로부터 특정 USB 규격에 정의된 명령어들을 받아서 이를 처리하고, 상기 호스트로부터 상기 특정 USB 규격의 업데이트로 인한 예외적 또는 신규한 명령어가 입력되면 인터럽트를 발생하는 USB 허브 모듈과; 상기 USB 허브 모듈과 연결되고, 상기 인터럽트에 응답해서 상기 USB 허브 모듈로부터 상기 명령어를 받아서 처리하고, 처리된 결과에 따른 데이터를 상기 USB 허브 모듈로 전달하는 프로세싱 유닛을 포함하여; 상기 USB 허브 모듈는 상기 데이터를 상기 호스트로 전달한다.According to an aspect of the present invention for achieving the above object, in the USB device for mutual data communication by connecting a Universal Serial Bus (USB) host and a USB cable: from the host to a specific USB standard A USB hub module that receives defined commands and processes them, and generates an interrupt when an exceptional or new command is received from the host due to the update of the specific USB standard; A processing unit coupled to the USB hub module, the processing unit receiving and processing the command from the USB hub module in response to the interrupt, and transferring data according to the processed result to the USB hub module; The USB hub module delivers the data to the host.

이 특징의 바람직한 실시예에 있어서, 상기 USB 허브 모듈과 상기 프로세싱 유닛은 하나의 전자 장치로 구현된다.In a preferred embodiment of this feature, the USB hub module and the processing unit are implemented as one electronic device.

따라서 본 발명에 의하면, 특정 USB 규격에 정의된 명령어들을 처리하는 USB 허브는 USB 허브 모듈과 프로세싱 유닛을 포함한다. USB 호스트로부터 USB 규격의 버젼 업데이트로 인한 예외적 또는 신규한 명령어가 입력되면, USB 허브 모듈은 이를 직접 처리하지 못하게 된다.Therefore, according to the present invention, a USB hub for processing commands defined in a specific USB standard includes a USB hub module and a processing unit. If an unusual or new command is input from the USB host due to a version update of the USB specification, the USB hub module cannot directly handle it.

따라서 예외적 또는 신규한 명령어가 입력되면, 프로세싱 유닛으로 인터럽트를 발생한다. 그리고 프로세싱 유닛은 인터럽트에 응답해서 예외적 또는 신규한 명령어를 처리하고, 그 결과에 따른 데이터를 USB 허브 모듈로 전달한다. 이어서 USB 허브 모듈은 USB 호스트로 데이터를 전송한다.Thus, when an exceptional or new instruction is input, an interrupt is generated to the processing unit. The processing unit then processes the exceptional or new command in response to the interrupt and delivers the resulting data to the USB hub module. The USB hub module then transfers data to the USB host.

(실시예)(Example)

이하 본 발명의 실시예를 첨부된 도면에 의거하여 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 USB 호스트와 신규한 USB 허브의 연결 상태를 보여주는 블록도이다.1 is a block diagram showing a connection state of a USB host and a novel USB hub according to the present invention.

도면을 참조하면, 상기 USB 호스트(10)는 예를 들어, 컴퓨터 시스템, 다른 USB 허브 또는 USB 디바이스가 구비된 홈 오토메이션 시스템 등이 이에 해당된다.Referring to the drawings, the USB host 10 corresponds to, for example, a computer system, another USB hub, or a home automation system equipped with a USB device.

상기 USB 허브(20)는 상기 호스트(10)와 연결하기 위하여 USB 케이블(30)을 통해 업스트림 포트(미도시됨)에 연결된다. 그리고 다수의 USB 기능형 디바이스 또는 다른 USB 허브와 연결하기 위한 다수의 다운스트림 포트(미도시됨)를 구비하고 있다.The USB hub 20 is connected to an upstream port (not shown) through a USB cable 30 to connect with the host 10. It also has multiple downstream ports (not shown) for connecting to multiple USB-enabled devices or other USB hubs.

상기 USB 허브(20)는 USB 허브 모듈(22)과 프로세싱 유닛(24)을 포함한다.The USB hub 20 includes a USB hub module 22 and a processing unit 24.

상기 USB 허브 모듈(22)은 현재 정의된 USB 규격의 버젼에 적합하도록 설계, 제작되어 있다.The USB hub module 22 is designed and manufactured to comply with the currently defined version of the USB standard.

상기 프로세싱 유닛(24)은 예를 들어 마이크로컴퓨터 또는 마이크로컨트롤러로 구비되며, 상기 USB 허브 모듈(22)과 상호 연결되어 현재 USB 규격의 버젼에서 예외적인 명령어 또는 새로운 버젼에 의한 새로운 명령어들을 받아서 처리하고 이를 다시 상기 USB 허브 모듈(22)로 전달한다.The processing unit 24 is provided with, for example, a microcomputer or a microcontroller, and is interconnected with the USB hub module 22 to receive and process new or unusual instructions by a new version of the current USB standard version. This is transferred to the USB hub module 22 again.

예컨대 도 1에 도시된 바와 같이, 상기 USB 허브 모듈(22)과 상기 프로세싱 유닛(24)은 상호 네 가지의 신호 라인들을 통하여 연결된다. 즉, 8 개의 데이터 라인(DATA), 인터럽트 라인(INT), 응답 라인(ACK) 및 검증 라인(PROBE)들로 연결된다.For example, as shown in FIG. 1, the USB hub module 22 and the processing unit 24 are connected to each other through four signal lines. That is, eight data lines DATA, an interrupt line INT, a response line ACK, and a verification line PROBE are connected.

따라서 상기 USB 호스트(10)로부터 상기 USB 허브 모듈(22)이 처리할 수 없는 예외적인 또는 새로운 명령어가 입력되면, 상기 USB 허브 모듈(22)은 상기 프로세싱 유닛(24)으로 인터럽트(INT)를 발생시킨다. 이어서 상기 프로세싱 유닛(24)은 인터럽트(INT)에 응답해서 응답 신호(ACK)를 상기 USB 허브 모듈(22)로 전달한다.Therefore, when an exceptional or new command that is not handled by the USB hub module 22 from the USB host 10 is input, the USB hub module 22 generates an interrupt INT to the processing unit 24. Let's do it. The processing unit 24 then sends a response signal ACK to the USB hub module 22 in response to an interrupt INT.

이어서 상기 프로세싱 유닛(24)은 예외적인 또는 새로운 명령어를 처리한다. 그 결과 상기 프로세싱 유닛(24)은 처리된 데이터들을 다시 상기 USB 허브 모듈(22)로 전달하고, 상기 USB 허브 모듈(22)은 처리된 결과에 따른 데이터들이 이상이 없음을 상기 프로세싱 유닛(24)으로 알려주기 위한 검증 신호(PROBE)를 보낸다. 이어서 상기 USB 허브 모듈(22)은 상기 USB 호스트(10)로 데이터를 전달한다.The processing unit 24 then processes the exceptional or new instruction. As a result, the processing unit 24 transfers the processed data back to the USB hub module 22, and the USB hub module 22 indicates that there is no abnormality in the data according to the processed result. Send a verification signal (PROBE) to inform. The USB hub module 22 then transfers data to the USB host 10.

상술한 바와 같이, 본 발명은 USB 허브에 종래의 USB 허브와 동일한 기능을 갖는 USB 허브 모듈을 구비하고 이를 프로세싱 유닛에 연결한다. 그리고 USB 허브 모듈은 USB 호스트로부터 입력되는 예외 또는 신규 명령어들을 받아서 프로세싱 유닛으로 하여금 그들을 처리하게 한다.As described above, the present invention has a USB hub module having the same function as a conventional USB hub and connects it to a processing unit. The USB hub module then receives exceptions or new commands from the USB host and causes the processing unit to handle them.

따라서 본 발명에 의한 USB 허브 또는 USB 기능형 디바이스를 구비한 전자 장치에서 업데이트된 USB 규격에 정의된 새로운 명령어들을 처리할 수 있다.Therefore, an electronic device having a USB hub or a USB functional device according to the present invention can process new commands defined in the updated USB standard.

Claims (2)

범용 직렬 버스(USB : Universal Serial Bus) 호스트와 USB 케이블을 통해 연결하여 상호 데이터 통신을 하는 USB 디바이스에 있어서:Universal Serial Bus (USB) USB devices that communicate with each other through a USB cable with a host: 상기 호스트로부터 특정 USB 규격에 정의된 명령어들을 받아서 이를 처리하고, 상기 호스트로부터 상기 특정 USB 규격의 업데이트로 인한 예외적 또는 신규한 명령어가 입력되면 인터럽트를 발생하는 USB 허브 모듈과;A USB hub module that receives commands defined in a specific USB standard from the host and processes them, and generates an interrupt when an exception or a new command due to the update of the specific USB standard is input from the host; 상기 USB 허브 모듈과 연결되고, 상기 인터럽트에 응답해서 상기 USB 허브 모듈로부터 상기 명령어를 받아서 처리하고, 처리된 결과에 따른 데이터를 상기 USB 허브 모듈로 전달하는 프로세싱 유닛을 포함하여;A processing unit coupled to the USB hub module, the processing unit receiving and processing the command from the USB hub module in response to the interrupt, and transferring data according to the processed result to the USB hub module; 상기 USB 허브 모듈는 상기 데이터를 상기 호스트로 전달하는 것을 특징으로 하는 USB 디바이스.And the USB hub module transfers the data to the host. 제 1 항에 있어서,The method of claim 1, 상기 USB 허브 모듈과 상기 프로세싱 유닛은 하나의 전자 장치로 구현되는 것을 특징으로 하는 USB 디바이스.And the USB hub module and the processing unit are implemented as one electronic device.
KR1019990035903A 1999-08-27 1999-08-27 Universal serial bus device processing exceptional instruction KR20010019477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990035903A KR20010019477A (en) 1999-08-27 1999-08-27 Universal serial bus device processing exceptional instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990035903A KR20010019477A (en) 1999-08-27 1999-08-27 Universal serial bus device processing exceptional instruction

Publications (1)

Publication Number Publication Date
KR20010019477A true KR20010019477A (en) 2001-03-15

Family

ID=19608964

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990035903A KR20010019477A (en) 1999-08-27 1999-08-27 Universal serial bus device processing exceptional instruction

Country Status (1)

Country Link
KR (1) KR20010019477A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200013970A (en) 2018-07-31 2020-02-10 경북대학교 산학협력단 Natural material vegetation block and slope installation method using it

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200013970A (en) 2018-07-31 2020-02-10 경북대학교 산학협력단 Natural material vegetation block and slope installation method using it

Similar Documents

Publication Publication Date Title
US7797474B2 (en) Method and apparatus for enhancing universal serial bus applications
US6600739B1 (en) Method and apparatus for switching among a plurality of universal serial bus host devices
CA2109682C (en) Multiple bus interface
US5537558A (en) Apparatus and method for communicating multiple devices through one PCMCIA interface
US7337259B2 (en) Smart card virtual hub
EP0073710B1 (en) Data communications network
US6557049B1 (en) Programmable computerize enclosure module for accommodating SCSI devices and associated method of configuring operation features thereof
US9009378B2 (en) Method and apparatus for enhancing universal serial bus applications
JPH07200393A (en) Data processor
US8214571B2 (en) Simple serial interface—method of communication and information exchange, and electronic devices based on this method
KR19990073754A (en) Intelligent input / output controller for switching interface functions
CN114721992B (en) Server and server management system thereof
CN107480085A (en) Multiplex roles integrated test system
US20060190094A1 (en) Coupling device for three bus systems
KR20010019477A (en) Universal serial bus device processing exceptional instruction
JPH0673122B2 (en) Programmable connector device
CN102073607A (en) Server management system
JP2905075B2 (en) Programmable controller and its exclusive control communication method
CN109800198B (en) Circuit for realizing independent switching of hardware by connecting three devices through USB (universal serial bus) ports
US5740452A (en) System for passing Industry Standard Architecture (ISA) legacy interrupts across Peripheral Component Interconnect (PCI) connectors and methods therefor
EP0074300B1 (en) Memory control circuit for subsystem controller
EP0580600B1 (en) Apparatus for driving both single-ended and differential computer buses
KR19980064332U (en) Input device sharing adapter
JPH03251903A (en) Interface module for programmable controller
KR20030045571A (en) Common Board for debugging a Program

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination