KR100466635B1 - Apparatus for setting ID of PCI card - Google Patents

Apparatus for setting ID of PCI card Download PDF

Info

Publication number
KR100466635B1
KR100466635B1 KR10-2002-0022025A KR20020022025A KR100466635B1 KR 100466635 B1 KR100466635 B1 KR 100466635B1 KR 20020022025 A KR20020022025 A KR 20020022025A KR 100466635 B1 KR100466635 B1 KR 100466635B1
Authority
KR
South Korea
Prior art keywords
pci
card
switch
buffer
local processor
Prior art date
Application number
KR10-2002-0022025A
Other languages
Korean (ko)
Other versions
KR20030083840A (en
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 KR10-2002-0022025A priority Critical patent/KR100466635B1/en
Publication of KR20030083840A publication Critical patent/KR20030083840A/en
Application granted granted Critical
Publication of KR100466635B1 publication Critical patent/KR100466635B1/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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • 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/0024Peripheral component interconnect [PCI]

Abstract

본 발명은 동일한 종류의 피씨아이 카드를 여러장 실장하여 사용하는 경우 각 보드가 가지고 있는 ID를 설정하면 시스템에서 자동으로 카드 아이디를 체크하여 응용 프로그램에서 사용할 수 있도록 하는 피씨아이(PCI) 카드 아이디(ID) 설정 장치를 제공하기 위한 것으로서, PCI 컴퓨터 시스템에서 각 카드 별로 메모리 영역 할당이 이루어지고 난 후, PCI 제어부(1)를 통하여 PCI 카드의 ID를 로컬 프로세서(2)로 요청하고; 로컬 프로세서(2)에서는 PCI 제어부(1)로부터 요청된 ID를 버퍼(3)로부터 독취(read)하여 PCI 제어부(1)로 전달하며; PCI 카드의 ID가 독취되면 응용 프로그램에서는 요청한 PCI 카드의 ID 순서에 따라 메모리 할당 순서를 재배열하여 카드를 엑세스하도록 이루어진다.In the present invention, when using multiple PC cards of the same type and using IDs set by each board, the system automatically checks the card IDs so that the PC ID (PCI) card ID ( ID) for providing a setting device, after the memory area allocation is made for each card in the PCI computer system, requesting the ID of the PCI card to the local processor 2 through the PCI control unit 1; The local processor 2 reads the ID requested from the PCI controller 1 from the buffer 3 and transfers it to the PCI controller 1; When the ID of the PCI card is read, the application program accesses the card by rearranging the memory allocation order according to the ID order of the requested PCI card.

Description

피씨아이 카드 아이디 설정 장치{Apparatus for setting ID of PCI card}Apparatus for setting ID of PCI card}

본 발명은 피씨아이 카드의 아이디 설정에 관한 것으로서, 더욱 상세하게는 UnPBX 시스템에서 여러장의 PCI 카드를 사용하는 경우 보드의 아이디를 설정하여 응용 프로그램에서 카드에 대한 실장 순서를 확인할 수 있도록 하는 피씨아이 카드 아이디 설정 장치에 관한 것이다.The present invention relates to setting an ID of a PC-I card, and more particularly, in the case of using multiple PCI cards in an UnPBX system, setting an ID of a board so that an application program can check a mounting order for a card. ID setting device.

일반적으로 교환기를 사용하지 않는 UnPBX 시스템에서 여러장의 PCI(Peripheral Component Interconnect) 카드를 사용하게 되는데, 이러한 경우 운영 시스템에서 각 보드로 할당하는 메모리 영역이 순서대로 할당되지 않는 경우가 발생된다.Typically, UnPBX systems that do not use exchanges use multiple Peripheral Component Interconnect (PCI) cards. In this case, the memory areas allocated to each board by the operating system are not allocated in order.

특히 시스템 사용중 카드를 새로 추가해야 하는 경우, 메모리 영역이 바뀌어 질 수 있으므로 운영자는 일일이 메모리 할당 영역을 확인하여 구성(configuration) 설정을 변경해야 하므로 작업이 번거로워 지는 문제점이 있다.In particular, when a new card needs to be added while the system is in use, the memory area may be changed. Therefore, the operator needs to check the memory allocation area and change the configuration settings.

따라서 본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로서, 동일한 종류의 피씨아이 카드를 여러장 실장하여 사용하는 경우 각 보드에 대해 각각의 서로 다른 ID를 설정하면 시스템에서 자동으로 카드 아이디를 체크하여 응용 프로그램에서 사용할 수 있도록 하는 피씨아이(PCI) 카드 아이디(ID) 설정 장치를 제공하는데 그 목적이 있다.Therefore, the present invention has been made to solve the above problems, when using the same type of PC eye card mounted multiple sheets when setting each different ID for each board automatically checks the card ID in the system Its purpose is to provide a PC ID (PCI) card ID (ID) setting device that can be used in the application.

도 1은 본 발명의 실시예에 따른 피씨아이(PCI) 카드 아이디(ID) 설정 장치에 관한 블록회로도.1 is a block circuit diagram of a PC card (ID) setting device according to an embodiment of the present invention.

<도면의 주요 부분에 대한 부호 설명><Description of the symbols for the main parts of the drawings>

1 : PCI 제어부 2 : 로컬 프로세서1: PCI controller 2: local processor

3 : 버퍼 4 : 스위칭수단3: buffer 4: switching means

D0, D1, D2, D3 : 단자 SW0, SW1, SW2, SW3 : 스위치D0, D1, D2, D3: Terminal SW0, SW1, SW2, SW3: Switch

R0, R1, R2, R3 : 저항R0, R1, R2, R3: resistor

이러한 목적을 달성하기 위한 본 발명에 따른 피씨아이 카드 아이디 설정 장치의 일 측면에 따르면, 응용 프로그램에서 카드의 아이디 순서에 따라 메모리 할당 순서를 재배열 할 수 있도록 피씨아이(PCI) 카드 아이디(ID)를 요청하는 PCI 컴퓨터 시스템; 상기 PCI 컴퓨터 시스템으로부터 PCI 카드 ID가 요청되면 로컬 프로세서로 PCI 카드 ID 독취 명령을 출력하는 상기 PCI 제어부; 상기 PCI 제어부의 명령에 따라 버퍼에 저장된 PCI 카드 ID를 독취하여 PCI 제어부로 전송하는 로컬 프로세서; 상기 로컬 프로세서에서 요청하는 PCI 카드 ID에 대한 정보를 저장하는 버퍼; 및 운용자의 온/오프 스위치 동작에 따라 출력되는 논리 신호에 의해 각 PCI카드의 ID를 생성하여 상기 버퍼에 순차적으로 저장하는 스위칭수단을 포함하되, 상기 스위칭수단은, 전원 전압(Vcc)에 제 1 스위치(SW0), 제 2 스위치(SW1), 제 3 스위치(SW2), 제 4 스위치(SW3)를 각각 병렬로 연결하고; 상기 제 1,2,3,4 스위치(SW0,SW1,SW2,SW3) 각각의 타측단자는 상기 버퍼에 D0, DI, D2, D3 단자를 통해 연결되도록 이루어지며; 상기 제 1,2,3,4 스위치(SW0,SW1,SW2,SW3)가 온(on)될 경우 각 스위치를 통해 제공되는 전원 전압이 접지되도록 저항(R0,R1,R2,R3) 일 측 단자를 상기 각 스위치의 일측 단자에 각각 연결하고 각 저항의 타측 단자를 각각 접지시키는 구조로 이루어진다.According to an aspect of the PCI card ID setting apparatus according to the present invention for achieving this object, the PCI (PCI) card ID (ID) to rearrange the memory allocation order according to the order of the card ID in the application PCI computer system requesting; The PCI controller outputting a PCI card ID read command to a local processor when a PCI card ID is requested from the PCI computer system; A local processor that reads the PCI card ID stored in the buffer and transmits the PCI card ID to the PCI controller according to the command of the PCI controller; A buffer for storing information about the PCI card ID requested by the local processor; And switching means for generating an ID of each PCI card and sequentially storing the IDs of the PCI cards according to a logic signal output according to an on / off switch operation of an operator, wherein the switching means comprises a first power supply voltage Vcc. A switch SW0, a second switch SW1, a third switch SW2, and a fourth switch SW3 are connected in parallel; The other terminal of each of the first, second, third, and fourth switches SW0, SW1, SW2, and SW3 is connected to the buffer through the D0, DI, D2, and D3 terminals; One terminal of the resistors R0, R1, R2, and R3 so that the power voltage provided through each switch is grounded when the first, second, third, and fourth switches SW0, SW1, SW2, and SW3 are turned on. Are connected to one terminal of each switch and the other terminal of each resistor is grounded.

이하, 본 발명이 속하는 분야에 통상의 지식을 지닌자가 본 발명을 용이하게 실시할 수 있도록 본 발명의 바람직한 실시 예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

먼저 운용자는 PCI 카드의 ID를 표 1과 같이 설정하여 보드 실장시 실장순서에 따라 설정하여 장착한다.First, the operator sets the ID of the PCI card as shown in Table 1 and installs it according to the mounting order when mounting the board.

D3D3 D2D2 D1D1 D0D0 카드 IDCard ID 00 00 00 00 00 00 00 00 1One 1One 00 00 1One 00 22 00 00 1One 1One 33 00 1One 00 00 44 00 1One 00 1One 55 00 1One 1One 00 66 00 1One 1One 1One 77 1One 00 00 00 88 1One 00 00 1One 99 1One 00 1One 00 1010 1One 00 1One 1One 1111 1One 1One 00 00 1212 1One 1One 00 1One 1313 1One 1One 1One 00 1414 1One 1One 1One 1One 1515

상기와 같이 PCI 카드 ID가 설정되면 제시된 D0,D1,D2,D3의 0, 1 조합에 따라 보드 실장시 ID를 세팅하면 된다.When the PCI card ID is set as described above, the ID is set when the board is mounted according to the 0, 1 combination of D0, D1, D2, and D3.

이러한 보드 ID 세팅을 위한 본 발명의 실시예에 따른 피씨아이(PCI) 카드 아이디(ID) 설정 장치에 관한 블록회로도가 도 1에 도시되어 있다.A block circuit diagram of a PCI (ID) card ID setting apparatus according to an embodiment of the present invention for setting the board ID is shown in FIG. 1.

도 1에 도시된 바와 같이, PCI 컴퓨터 시스템에서 각 카드 별로 메모리 영역 할당이 이루어지고 난 후, PCI 제어부(1)를 통하여 PCI 카드의 ID를 로컬 프로세서(2)로 요청한다. 로컬 프로세서(2)에서는 PCI 제어부(1)로부터 요청된 ID를 버퍼(3)로부터 독취(read)하여 PCI 제어부(1)로 전달한다.As shown in FIG. 1, after the memory area allocation is performed for each card in the PCI computer system, the PCI controller 1 requests the local processor 2 for the ID of the PCI card. The local processor 2 reads the ID requested from the PCI controller 1 from the buffer 3 and transmits the ID to the PCI controller 1.

이때 독취되는 PCI 카드의 ID는 해당 보드에 대해 운용자가 스위칭 수단(4)의 전원 전압(Vcc)에 연결된 SW0, SW1, SW2, SW3을 통해 온오프한단자(D0,D1,D2,D3)의 0,1 상태에 따라 표 1과 같이 그 값이 정해진다.At this time, the ID of the PCI card to be read is the terminal (D0, D1, D2, D3) of the terminals on and off through the SW0, SW1, SW2, SW3 connected to the power supply voltage (Vcc) of the switching means 4 for the board. The value is determined as shown in Table 1 according to the 0,1 state.

이렇게 PCI 카드의 ID가 독취되면 응용 프로그램에서는 요청한 PCI 카드의 ID 순서에 따라 메모리 할당 순서를 재배열하여 카드를 엑세스할 수 있게 된다.When the ID of the PCI card is read in this way, the application can access the card by rearranging the memory allocation order according to the ID order of the requested PCI card.

이상 본 발명의 바람직한 실시예에 대해 상세히 기술되었지만, 본 발명이 속하는 기술분야에 있어서 통상의 지식을 가진 사람이라면, 첨부된 청구 범위에 정의된 본 발명의 기술적 사상 및 범위를 벗어나지 않으면서 본 발명을 여러 가지로 변형 또는 변경하여 실시할 수 있음을 알 수 있을 것이다. 따라서 본 발명의 앞으로의 실시예들의 변경은 본 발명의 기술을 벗어날 수 없을 것이다.Although described in detail with respect to preferred embodiments of the present invention, those skilled in the art to which the present invention pertains, the present invention without departing from the spirit and scope of the invention defined in the appended claims It will be appreciated that various modifications or changes can be made. Therefore, changes in the future embodiments of the present invention will not be able to escape the technology of the present invention.

이상 설명한 바와 같이, 본 발명에 따르면 시스템 사용중 카드를 새로 추가하더라도 메모리 영역이 바뀔 염려가 없고, 메모리 할당 영역을 시스템에서 확인하므로 일일이 구성(configuration) 설정을 변경하지 않아도 되어 사용상의 편리함을 제공하는 효과가 있다.As described above, according to the present invention, there is no fear of changing the memory area even if a new card is added while the system is in use, and the memory allocation area is checked by the system so that the user does not have to change the configuration settings. There is.

Claims (3)

응용 프로그램에서 카드의 아이디 순서에 따라 메모리 할당 순서를 재배열 할 수 있도록 피씨아이(PCI) 카드 아이디(ID)를 요청하는 PCI 컴퓨터 시스템;A PCI computer system requesting a PCI (PCI) card ID (ID) so that an application may rearrange the memory allocation order according to the card ID order; 상기 PCI 컴퓨터 시스템으로부터 PCI 카드 ID가 요청되면 로컬 프로세서로 PCI 카드 ID 독취 명령을 출력하는 상기 PCI 제어부;The PCI controller outputting a PCI card ID read command to a local processor when a PCI card ID is requested from the PCI computer system; 상기 PCI 제어부의 명령에 따라 버퍼에 저장된 PCI 카드 ID를 독취하여 PCI 제어부로 전송하는 로컬 프로세서;A local processor that reads the PCI card ID stored in the buffer and transmits the PCI card ID to the PCI controller according to the command of the PCI controller; 상기 로컬 프로세서에서 요청하는 PCI 카드 ID에 대한 정보를 저장하는 버퍼; 및A buffer for storing information about the PCI card ID requested by the local processor; And 운용자의 온/오프 스위치 동작에 따라 출력되는 논리 신호에 의해 각 PCI카드의 ID를 생성하여 상기 버퍼에 순차적으로 저장하는 스위칭수단을 포함하되,Switching means for generating the ID of each PCI card by the logical signal output in accordance with the operator's on / off switch operation and sequentially stored in the buffer, 상기 스위칭수단은,The switching means, 전원 전압(Vcc)에 제 1 스위치(SW0), 제 2 스위치(SW1), 제 3 스위치(SW2), 제 4 스위치(SW3)를 각각 병렬로 연결하고;A first switch SW0, a second switch SW1, a third switch SW2, and a fourth switch SW3 are connected in parallel to the power supply voltage Vcc; 상기 제 1,2,3,4 스위치(SW0,SW1,SW2,SW3) 각각의 타측단자는 상기 버퍼에 D0, DI, D2, D3 단자를 통해 연결되도록 이루어지며;The other terminal of each of the first, second, third, and fourth switches SW0, SW1, SW2, and SW3 is connected to the buffer through the D0, DI, D2, and D3 terminals; 상기 제 1,2,3,4 스위치(SW0,SW1,SW2,SW3)가 온(on)될 경우 각 스위치를 통해 제공되는 전원 전압이 접지되도록 저항(R0,R1,R2,R3) 일 측 단자를 상기 각 스위치의 일측 단자에 각각 연결하고 각 저항의 타측 단자를 각각 접지시키는 피씨아이 카드 아이디 설정 장치.One terminal of the resistors R0, R1, R2, and R3 so that the power voltage provided through each switch is grounded when the first, second, third, and fourth switches SW0, SW1, SW2, and SW3 are turned on. Connected to one terminal of each of the switches and the other terminal of each resistor to ground the PC ID card setting device. 삭제delete 삭제delete
KR10-2002-0022025A 2002-04-22 2002-04-22 Apparatus for setting ID of PCI card KR100466635B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0022025A KR100466635B1 (en) 2002-04-22 2002-04-22 Apparatus for setting ID of PCI card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0022025A KR100466635B1 (en) 2002-04-22 2002-04-22 Apparatus for setting ID of PCI card

Publications (2)

Publication Number Publication Date
KR20030083840A KR20030083840A (en) 2003-11-01
KR100466635B1 true KR100466635B1 (en) 2005-01-15

Family

ID=32380000

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0022025A KR100466635B1 (en) 2002-04-22 2002-04-22 Apparatus for setting ID of PCI card

Country Status (1)

Country Link
KR (1) KR100466635B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950020226A (en) * 1993-12-30 1995-07-24 윌리암 티. 엘리스 Method and apparatus for configuring and ensuring that system memory space is allocated to daughter cards
US5491804A (en) * 1987-03-13 1996-02-13 International Business Machines Corp. Method and apparatus for automatic initialization of pluggable option cards
KR19990070716A (en) * 1998-02-24 1999-09-15 윤종용 Computers with a small PC card slot for PC
KR19990037480U (en) * 1998-03-06 1999-10-05 윤종용 ID setting circuit of fisheye device
KR20030046239A (en) * 2001-12-05 2003-06-12 엘지전자 주식회사 Apparatus of GPIO Board using the PCI Bus, and its control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491804A (en) * 1987-03-13 1996-02-13 International Business Machines Corp. Method and apparatus for automatic initialization of pluggable option cards
KR950020226A (en) * 1993-12-30 1995-07-24 윌리암 티. 엘리스 Method and apparatus for configuring and ensuring that system memory space is allocated to daughter cards
KR19990070716A (en) * 1998-02-24 1999-09-15 윤종용 Computers with a small PC card slot for PC
KR19990037480U (en) * 1998-03-06 1999-10-05 윤종용 ID setting circuit of fisheye device
KR20030046239A (en) * 2001-12-05 2003-06-12 엘지전자 주식회사 Apparatus of GPIO Board using the PCI Bus, and its control method

Also Published As

Publication number Publication date
KR20030083840A (en) 2003-11-01

Similar Documents

Publication Publication Date Title
US6073195A (en) Bus controllers ensuring reduced power consumption and stable operation
KR920015207A (en) Dockable portable computer system and communication port assignment method
US20050060591A1 (en) Information processor, program, storage medium, and control circuit
KR19990041698A (en) Computer system capable of updating data of fixed flash ROM and its control method
US5574866A (en) Method and apparatus for providing a data write signal with a programmable duration
WO2006060240A1 (en) Integrated circuit having processor and switch capabilities
US5784642A (en) System for establishing a transfer mode between system controller and peripheral device
JPH06131257A (en) Interface card, wherein constitution can be dynamically formed and memory size can be changed
KR100466635B1 (en) Apparatus for setting ID of PCI card
US6066900A (en) Computer system with multiple switchable power zones
US5640594A (en) Method and system for assigning peripheral device addresses
US5261115A (en) Multi-board system with shift board selection
WO2005114437A1 (en) Integrated circuit having processor and switch capabilities
EP0667599A1 (en) Selective calling receiver for computing devices
CN100357880C (en) Method and system for managing power supply of peripheral equipment of computer
US5561813A (en) Circuit for resolving I/O port address conflicts
CN111625744B (en) Multimedia streaming and network device
US20020108018A1 (en) Memory module control and status
KR100242690B1 (en) Control device of subsystem using address line
JP4052157B2 (en) Memory control device
US20130139251A1 (en) Electronic device system and electronic device
JPH1011357A (en) Data writing device
JP4174272B2 (en) Device controller
JPH05342144A (en) Bus control circuit of microcomputer
JPH04330541A (en) Common data transfer system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090106

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee