KR19990076094A - How to switch the PC Card AT card's power down and sleep mode - Google Patents

How to switch the PC Card AT card's power down and sleep mode Download PDF

Info

Publication number
KR19990076094A
KR19990076094A KR1019980010757A KR19980010757A KR19990076094A KR 19990076094 A KR19990076094 A KR 19990076094A KR 1019980010757 A KR1019980010757 A KR 1019980010757A KR 19980010757 A KR19980010757 A KR 19980010757A KR 19990076094 A KR19990076094 A KR 19990076094A
Authority
KR
South Korea
Prior art keywords
card
command
power down
mode
power
Prior art date
Application number
KR1019980010757A
Other languages
Korean (ko)
Other versions
KR100302586B1 (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 KR1019980010757A priority Critical patent/KR100302586B1/en
Publication of KR19990076094A publication Critical patent/KR19990076094A/en
Application granted granted Critical
Publication of KR100302586B1 publication Critical patent/KR100302586B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • G06F9/30083Power or thermal control instructions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3281Power saving in PCMCIA card

Abstract

본 발명은 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법에 관한 것으로, 종래의 방법에 있어서는 모든 파워 다운 관련 명령이 호스트 컴퓨터로 부터 출력되기 때문에 피씨 카드 에이티에이 카드는 호스트 컴퓨터의 운용 시스템에 따라 액티브 모드로 부터 파워 다운 모드 까지의 타이밍이 매번 달라지고, 또한 파워 다운 명령을 입력받는 피씨 카드 에이티에이 카드는 테스크파일 레지스터에 명령 코드를 셋팅한 후 다시 카드 내부의 마이크로 프로세서가 인식해야 하는 과정을 거치게 되어 모드 전환시 많은 딜레이 타임이 발생 되는 문제점이 있었다.The present invention relates to a power-down and sleep mode switching method of a PC-Card AT card. In the conventional method, since all power-down-related commands are output from the host computer, the PC-Card AT card is applied to an operating system of the host computer. Therefore, the timing from the active mode to the power down mode is changed every time, and the process of receiving a power down command requires that the microprocessor inside the card recognizes the command code after setting the command code in the task file register. There was a problem that a lot of delay time occurs when the mode switch.

따라서, 본 발명은 호스트 컴퓨터로 부터 파워 다운 신호를 입력받지 않고, 직접 에이티에이 명령 입력여부를 감시하여 일정시간 명령이 입력되지 않을 경우 피씨 카드 에이티에이 카드의 자체 프로그램 루틴에 의해 파워 다운 모드로 전환됨으로써 호스트 컴퓨터마다 다를 수 있는 모드 전환시간이 일정하게 되어 딜레이 타임이 없어지고, 에너지를 절약할 수 있는 효과가 있다.Therefore, the present invention does not receive a power down signal from the host computer, and directly monitors whether the AI command is input, and when the command is not input for a predetermined time, the PC card A card switches to the power down mode by its own program routine. As a result, the mode switching time, which may be different for each host computer, becomes constant, thus eliminating delay time and saving energy.

Description

피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법How to switch the PC Card AT card's power down and sleep mode

본 발명은 피씨 카드(PC CARD) 에이티에이(ATA : AT Attachment) 카드의 파워 다운 및 슬립 모드 구현에 관한 것으로, 특히 호스트 컴퓨터로 부터 아무런 동작이 취해지지 않고 있을 경우, 카드 자체내의 타이머를 카운팅한 후 일정시간이 지나면 파워 다운 및 슬립모드가 되게 함으로써, 모드 전환에 걸리는 시간을 줄일 수 있도록 하는 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법에 관한 것이다.The present invention relates to the power down and sleep mode implementation of a PC CARD AT Attachment (ATA) card, particularly when no action is taken from the host computer. The present invention relates to a method of switching the power down and sleep mode of a PC Card A-T card to reduce the time required for mode switching by turning on the power down and sleep mode after a certain time.

도1은 일반적인 피씨 카드 에이티에이 카드의 블록 구성도로서, 이에 도시된 바와 같이 카드의 동작 특성에 따라 그에 관련된 데이터 또는 프로그램을 저장하는 메모리부(20)와; 상기 메모리부(20) 및 카드의 전반적인 동작을 제어하는 제어부(10)로 구성되며, 또한 상기 제어부(10)는 호스트 컴퓨터와 카드간의 주소 및 데이터 등 제어신호를 수수하는 인터페이스부(10a)와; 상기 인터페이스부(10a)를 통하여 입력되는 호스트 컴퓨터의 에이티에이 명령코드를 저장하는 테스크파일 레지스터부(10b)와; 상기 에이티에이 명령중 주소 등에 관한 데이터를 저장하는 버퍼부(10e)와; 상기 인터페이스부(10a)를 통하여 입력되는 카드의 환경설정 및 기능 데이터를 받아 세팅되는 펑션 레지스터부(10c)와; 상기 메모리부(20)와 각종 데이터 및 제어신호를 수수하고 에러를 정정하는 메모리 제어부(10d)와; 상기 모든 레지스터부(10a∼10e)와 제어신호를 수수하여 상태를 판단하고, 그에 따라 제어부내의 동작을 제어하는 마이크로 프로세서(10f)로 구성된다.FIG. 1 is a block diagram of a general PC Card AT card. The memory unit 20 stores data or programs related thereto according to operating characteristics of the card, as shown therein; And a control unit 10 for controlling the overall operation of the memory unit 20 and the card. The control unit 10 further includes an interface unit 10a for receiving control signals such as addresses and data between the host computer and the card; A task file register unit (10b) for storing the AT command code of the host computer inputted through the interface unit (10a); A buffer unit 10e for storing data relating to an address, etc. of the AT command; A function register unit (10c) configured to receive and set environment setting and function data of a card input through the interface unit (10a); A memory controller (10d) which receives the memory unit (20) and various data and control signals and corrects errors; It consists of the microprocessor 10f which receives all the said register parts 10a-10e and a control signal, determines a state, and controls the operation | movement in a control part accordingly.

이와 같이 구성된 피씨 카드 에이티에이 카드에 있어서, 파워 다운 명령이 발생하여 카드의 모드를 전환하는 종래의 동작을 도2의 흐름도를 참조하여 설명하면 다음과 같다.In the PC card A card configured as described above, a conventional operation of switching the mode of the card by generating a power down command will be described with reference to the flowchart of FIG.

호스트 컴퓨터로 부터 인터페이스부(10a)를 통하여 테스크파일 레지스터부(10b)에 어떠한 명령도 출력하지 않고 일정 시간(여기서, 일정 시간은 운용 시스템에 따라 달라진다.)이 지나면, 파워 다운 명령이 발생하고 테스크파일 레지스터부(10b)의 상태 레지스터에서 비지 비트를 셋트시키면, 이에 따라 마이크로 프로세서(10f)가 인터럽트에 걸리게 되고, 상기 마이크로 프로세서(10f)는 인터럽트 동작 루틴에 의해 피씨 카드 에이티에이 카드를 파워 다운 모드로 전환시킨다.After a certain period of time (here, the predetermined time varies depending on the operating system) without outputting any command from the host computer to the task file register section 10b via the interface section 10a, a power-down command occurs and the task When the busy bit is set in the status register of the file register section 10b, the microprocessor 10f is interrupted accordingly, and the microprocessor 10f causes the PC card AI card to be powered down by an interrupt operation routine. Switch to

여기서, 슬립모드란 전력소모를 파워 다운 모드보다 더 줄이기 위해 클럭을 오프시키는 것으로, 역시 파워 다운 모드와 마찬가지로 타이머에 의해 일정시간을 점검하여 항상 파워 다운 모드를 거쳐 들어가게 되고, 외부의 리셋 또는 인터럽트에 의해서만 액티브 모드로 깨어나게 된다.Here, the sleep mode is to turn off the clock in order to reduce the power consumption more than the power down mode, and like the power down mode, it checks for a certain time by a timer and always goes through the power down mode. Only wake up to active mode.

그러나, 상기 종래의 방법에 있어서는 모든 파워 다운 관련 명령이 호스트 컴퓨터로 부터 출력되기 때문에 피씨 카드 에이티에이 카드는 호스트 컴퓨터의 운용 시스템에 따라 액티브 모드로 부터 파워 다운 모드 까지의 타이밍이 매번 달라지고, 또한 파워 다운 명령을 입력받는 피씨 카드 에이티에이 카드는 테스크파일 레지스터에 명령 코드를 셋팅한 후 다시 카드 내부의 마이크로 프로세서가 인식해야 하는 과정을 거치게 되어 모드 전환시 많은 딜레이 타임이 발생 되는 문제점이 있었다.However, in the conventional method, since all the power-down related commands are output from the host computer, the timing of the PC card AT card varies from the active mode to the power-down mode every time according to the operating system of the host computer. The PC Card AT card that receives the power down command has a process that must be recognized by the microprocessor inside the card after setting the command code in the task file register, causing a large delay time when switching modes.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창출한 것으로, 피씨 카드 에이티에이 카드에 입력되는 에이티에이 명령이 없으면 마이크로 프로세서의 자체내에 내장된 타이머에 의해 일정시간후에 인터럽트가 걸리고, 그에 따라 파워 다운 모드로 빠르게 전환시킴 으로써 딜레이 타임을 줄일 수 있도록 하는 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법을 제공 하는데 그 목적이 있다.Therefore, the present invention has been created to solve the above-mentioned conventional problems. If there is no AT command inputted to the PC Card AT card, the interrupt is interrupted after a predetermined time by a timer built in the microprocessor itself. Therefore, the purpose of the present invention is to provide a method of switching the power down and sleep mode of the PC Card A-T card to reduce the delay time by quickly switching to the power-down mode.

도1은 일반적인 피씨 카드 에이티에이 카드의 블록 구성도.1 is a block diagram of a general PC Card AT card.

도2는 종래의 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법의 동작 흐름도.Fig. 2 is an operation flowchart of a power down and sleep mode switching method of a conventional PC card AT card.

도3은 본 발명 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법의 동작 흐름도.Figure 3 is a flow chart of the operation of the power down and sleep mode switching method of the present invention.

이와 같은 목적을 달성하기 위한 본 발명 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법은, 프로그램이 요구하는 인터럽트가 입력될 때 까지 제어부의 동작을 그대로 유지시키고 있다가 프로그램이 요구하는 인터럽트가 입력되는지를 판단하는 제1 단계와; 상기 제1 단계에서 인터럽트 또는 에이티에이 명령이 없을시 마지막 에이티에이 명령이 발생된 시점에서 카운팅을 시작하는 제2 단계와; 상기 제2 단계에서 카운팅을 시작하여 일정시간이 지났는지를 판단하여 일정시간이 지났으면 마이크로 프로세서 내부의 메모리 제어 레지스터를 변경하는 제3 단계와; 상기 제3 단계에서 메모리 제어 레지스터가 변경되었으면 파워 다운 모드로 전환되는 제4 단계로 이루어짐 으로써 달성되는 것으로, 본 발명에 따른 실시예를 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다.In order to achieve the above object, in the power down and sleep mode switching methods of the present invention, the PC Card AT card maintains the operation of the control unit until the interrupt required by the program is input, and the interrupt required by the program is input. Determining a first step; A second step of starting counting when a last AT command is generated when there is no interrupt or AT command in the first step; A third step of starting counting in the second step to determine whether a predetermined time has elapsed and changing a memory control register inside the microprocessor if the predetermined time has elapsed; When the memory control register is changed in the third step is achieved by the fourth step of switching to the power-down mode, the embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

도3은 본 발명 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법의 동작 흐름도로서, 이에 도시한 바와 같이 프로그램이 요구하는 인터럽트가 입력될 때 까지 제어부의 동작을 그대로 유지시키고 있다가 프로그램이 요구하는 인터럽트가 입력되는지를 판단하는 제1 단계(ST1)와; 상기 제1 단계(ST1)에서 인터럽트 또는 에이티에이 명령이 없을시 마지막 에이티에이 명령이 발생된 시점에서 카운팅을 시작하는 제2 단계(ST2)와; 상기 제2 단계(ST2)에서 카운팅을 시작하여 일정시간이 지났는지를 판단하여 일정시간이 지났으면 마이크로 프로세서 내부의 메모리 제어 레지스터를 변경하는 제3 단계(ST3)와; 상기 제3 단계(ST3)에서 메모리 제어 레지스터가 변경되었으면 파워 다운 모드로 전환되는 제4 단계(ST4)로 이루어진 것으로, 피씨 카드 에이티에이 카드가 어떤 동작도 취해지지 않을 때 마이크로 프로세서(10f) 내부의 타이머가 카운팅을 하여 일정 시간이 지나면 하드웨어적으로 엠씨알(MCR : memory control register)의 22번째 비트를 셋트 시키게 되고, 마이크로 프로세서는 상기 비트가 셋트되면 파워 다운 모드로 들어간다.FIG. 3 is a flowchart illustrating a method for switching a power down and sleep mode of a PCC card of the present invention. As shown in FIG. 3, the program maintains the operation of the control unit until an interrupt required by the program is input. A first step ST1 for determining whether an interrupt is input; A second step (ST2) of starting counting at the time when the last AT command is generated when there is no interrupt or AI command in the first step (ST1); A third step (ST3) of starting the counting in the second step (ST2) to determine whether a predetermined time has elapsed and changing a memory control register inside the microprocessor if the predetermined time has elapsed; In the third step ST3, if the memory control register is changed, the fourth step ST4 is switched to the power-down mode. When the PC card AT card does not perform any operation, the microprocessor 10f After a certain time, the timer counts and sets the 22nd bit of the memory control register (MCR) in hardware. The microprocessor enters the power down mode when the bit is set.

그리고, 파워 다운 모드에서 다시 액티브 상태로 전환하기 위해서는 데이터 요구(DATA Request) 등에 의한 인터럽트에 의해 깨어난다.Then, in order to switch back to the active state from the power-down mode, it wakes up by an interrupt by a data request or the like.

이상에서 설명한 바와 같이 본 발명 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법은 호스트 컴퓨터로 부터 파워 다운 신호를 입력받지 않고, 직접 에이티에이 명령 입력여부를 감시하여 일정시간 명령이 입력되지 않을 경우 피씨 카드 에이티에이 카드의 자체 프로그램 루틴에 의해 파워 다운 모드로 전환됨으로써 호스트 컴퓨터마다 다를 수 있는 모드 전환시간이 일정하게 되어 딜레이 타임이 없어지고, 에너지를 절약할 수 있는 효과가 있다.As described above, the method of switching the power down and sleep modes of the present invention, the PC card AAA card does not receive a power down signal from the host computer, and monitors whether the AAA command is directly inputted so that a predetermined time command is not input. By switching to the power-down mode by the PC Card A card's own program routine, the mode switching time, which may be different for each host computer, is constant, which eliminates delay time and saves energy.

Claims (1)

프로그램이 요구하는 인터럽트가 입력될 때 까지 제어부의 동작을 그대로 유지시키고 있다가 프로그램이 요구하는 인터럽트가 입력되는지를 판단하는 제1 단계와; 상기 제1 단계에서 인터럽트 또는 에이티에이 명령이 없을시 마지막 에이티에이 명령이 발생된 시점에서 카운팅을 시작하는 제2 단계와; 상기 제2 단계에서 카운팅을 시작하여 일정시간이 지났는지를 판단하여 일정시간이 지났으면 마이크로 프로세서 내부의 메모리 제어 레지스터를 변경하는 제3 단계와; 상기 제3 단계에서 메모리 제어 레지스터가 변경되었으면 파워 다운 모드로 전환되는 제4 단계로 이루어진 것을 특징으로 하는 피씨 카드 에이티에이 카드의 파워다운 및 슬립모드 전환 방법.Maintaining the operation of the control unit until an interrupt requested by the program is input and determining whether an interrupt requested by the program is input; A second step of starting counting when a last AT command is generated when there is no interrupt or AT command in the first step; A third step of starting counting in the second step to determine whether a predetermined time has elapsed and changing a memory control register inside the microprocessor if the predetermined time has elapsed; And a fourth step of switching to a power down mode when the memory control register is changed in the third step.
KR1019980010757A 1998-03-27 1998-03-27 Method for switching powerdown and sleep mode of pc card ata card KR100302586B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980010757A KR100302586B1 (en) 1998-03-27 1998-03-27 Method for switching powerdown and sleep mode of pc card ata card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980010757A KR100302586B1 (en) 1998-03-27 1998-03-27 Method for switching powerdown and sleep mode of pc card ata card

Publications (2)

Publication Number Publication Date
KR19990076094A true KR19990076094A (en) 1999-10-15
KR100302586B1 KR100302586B1 (en) 2001-10-19

Family

ID=37529569

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980010757A KR100302586B1 (en) 1998-03-27 1998-03-27 Method for switching powerdown and sleep mode of pc card ata card

Country Status (1)

Country Link
KR (1) KR100302586B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5822990A (en) * 1996-02-09 1998-10-20 Exergy, Inc. Converting heat into useful energy using separate closed loops

Also Published As

Publication number Publication date
KR100302586B1 (en) 2001-10-19

Similar Documents

Publication Publication Date Title
US5655127A (en) Method and apparatus for control of power consumption in a computer system
US5388265A (en) Method and apparatus for placing an integrated circuit chip in a reduced power consumption state
US5551044A (en) Method and apparatus for interrupt/SMI# ordering
US5239652A (en) Arrangement for reducing computer power consumption by turning off the microprocessor when inactive
EP1742143B1 (en) Method and system for power consumption management, and corresponding computer program product
US5189647A (en) Information processing system having power saving control of the processor clock
US6085330A (en) Control circuit for switching a processor between multiple low power states to allow cache snoops
US7254724B2 (en) Power management system
KR20110038036A (en) Sleep processor
JP2006107507A (en) Controller of instruction word cache and instruction word conversion reference buffer, and control method thereof
JP3805913B2 (en) Method for waking up computer system from standby mode and wakeup control circuit
US5539590A (en) Floppy disk controller allowed to detect status change of floppy disk driver in standby mode
KR0155558B1 (en) Power saving method and its apparatus
KR100302586B1 (en) Method for switching powerdown and sleep mode of pc card ata card
JP2002318780A (en) Real-time control system
US20030088724A1 (en) Asynchronous bus interface apparatus
EP0783148A2 (en) Power conserving clocking system
US7093148B2 (en) Microcontroller Operable in normal and low speed modes utilizing control signals for executing commands in a read-only memory during the low speed modes
JP4054448B2 (en) Programmable controller
US6282664B1 (en) Method and apparatus for switching an electronic system between an operating mode and stand-by mode
JPH0883133A (en) Computer system and clock control method for the same
EP0621526A1 (en) Method and apparatus for powering up and powering down peripheral elements
JP2626125B2 (en) Microcomputer
JP3222010B2 (en) Programmable controller
US20100327938A1 (en) System and method for clock control for power-state transitions

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: 20050621

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee