KR20020014527A - Apparatus for supplying rom dump mode in microcontroller - Google Patents

Apparatus for supplying rom dump mode in microcontroller Download PDF

Info

Publication number
KR20020014527A
KR20020014527A KR1020000047862A KR20000047862A KR20020014527A KR 20020014527 A KR20020014527 A KR 20020014527A KR 1020000047862 A KR1020000047862 A KR 1020000047862A KR 20000047862 A KR20000047862 A KR 20000047862A KR 20020014527 A KR20020014527 A KR 20020014527A
Authority
KR
South Korea
Prior art keywords
rom
unit
latch
output
dump mode
Prior art date
Application number
KR1020000047862A
Other languages
Korean (ko)
Other versions
KR100542699B1 (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 KR1020000047862A priority Critical patent/KR100542699B1/en
Publication of KR20020014527A publication Critical patent/KR20020014527A/en
Application granted granted Critical
Publication of KR100542699B1 publication Critical patent/KR100542699B1/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/22Microcontrol or microprogram arrangements
    • G06F9/226Microinstruction function, e.g. input/output microinstruction; diagnostic microinstruction; microinstruction format
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE: A device for supporting a ROM(Read Only Memory) dump mode of a microcontroller is provided to reduce the ROM test time to a half by outputting doubly a ROM data to a port per one machine cycle. CONSTITUTION: The supporting device of a ROM dump mode comprises a command latch set by a specific command code for fetching ROM data twice in one machine cycle of commands of a microcontroller in the ROM dump mode, and a control circuit part for generating a light control signal controlling the ROM data in an inner bus between S2P1 and S5P2 to be outputted to the ROM data output port. In case of a two bite-one machine cycle command of the 8051 group microcontrollers, the ROM data are fetched twice per one machine cycle. At the ROM dump mode of the 8051 group microcontrollers, the ROM is automatically read out twice like a normal operation by performing only the two bite-one machine cycle command. If the 8051 group microcontroller is set in the ROM dump mode, the command latch is set to 74H.

Description

마이크로컨트롤러의 롬 덤프 모드를 지원하기 위한 장치{APPARATUS FOR SUPPLYING ROM DUMP MODE IN MICROCONTROLLER}A device for supporting ROM dump mode of a microcontroller {APPARATUS FOR SUPPLYING ROM DUMP MODE IN MICROCONTROLLER}

본 발명은 마이크로컨트롤러(microcontroller, 이하 MCU라 함)에 관한 것으로, 특히 8051 계열의 MCU에서 사용자의 롬 코드가 제대로 기록되었는 지를 검증하기 위한 롬 덤프 모드(Rom dump mode) 지원 장치에 관한 것이다.The present invention relates to a microcontroller (hereinafter referred to as MCU), and more particularly to an apparatus for supporting a ROM dump mode for verifying whether a user's ROM code is properly recorded in an 8051 series of MCUs.

잘 알려진 바와 같이, AS(Application Specific-MCU) 어플리케이션에서 사용자의 롬 코드가 실제 마스크 롬에 제대로 기록되었는 지를 테스트하는 작업은 매우 중요하다. 그러나, 롬 사이즈가 16K, 32K, 64K 등으로 계속 커져감에 따라 종래의 롬 테스트로는 지나치게 많은 테스트 시간이 요구되어 이러한 테스트 시간을 줄이는 것이 중요한 관건으로 대두되고 있다.As is well known, it is very important to test whether your ROM code is properly written to the actual mask ROM in an Application Specific-MCU (ASCU) application. However, as the ROM size continues to grow to 16K, 32K, 64K, etc., the conventional ROM test requires too much test time, and it is important to reduce such test time.

도 1은 8051 계열의 MCU에서 12개의 발진 클럭(osc.)으로 이루어지는 머신 사이클(machine cycle)을 동작구간에 따라 구분하여 도시한 도면으로, 종래 기술 및 본 발명에 대한 이해를 도모하고자 도시한 것이다.FIG. 1 is a diagram illustrating machine cycles consisting of 12 oscillation clocks (osc.) In an 8051 series of MCUs according to operating periods. FIG. 1 is for the purpose of understanding the prior art and the present invention.

종래 기술에 따른 8051 MCU의 롬 덤프 모드는 리셋 상태에서 2개의 포트(포트1, 포트2)를 통해 롬 어드레스를 입력받고, 그 다음 머신 사이클(machine cycle)에서 해당 어드레스의 롬 데이터가 포트0을 통해 출력된다. 좀더 상세히 설명하면, 포트2와 포트1을 통해 입력된 어드레스 데이터는 각각 도 1의 'S6P1' 구간 및 'S1P1' 구간에서 내부 버스에 실려 프로그램 카운터(program counter, 이하 PC라 함)에 전달된다. 이렇게 업데이트된 PC값은 그 다음 머신 사이클의 'S2P2'구간에서 롬 제어부에 의해 샘플되고, 'S3P2' 구간에서 디코딩되어 'S4P2'에 해당 번지의 롬데이터가 출력된다. 출력된 롬 데이터는 'S5P1'에 내부 버스에 실려지고, 'S5P2' 구간에서 포트0을 통해 출력된다.In the ROM dump mode of the 8051 MCU according to the related art, a ROM address is input through two ports (port 1 and port 2) in a reset state, and ROM data of the corresponding address is transferred to port 0 in a machine cycle. Is output via In more detail, the address data input through the port 2 and the port 1 are carried on an internal bus in the 'S6P1' section and the 'S1P1' section of FIG. 1, respectively, and transferred to the program counter. The updated PC value is then sampled by the ROM controller in the 'S2P2' section of the machine cycle, decoded in the 'S3P2' section, and the ROM data of the corresponding address is outputted to the 'S4P2'. The output ROM data is loaded on the internal bus at 'S5P1' and is output through port 0 at 'S5P2' section.

결국, 종래 기술에 따른 8051 MCU의 롬 덤프 모드는 1 머신 사이클에 하나의 롬 데이터만을 포트로 출력함으로써 전체 롬 테스트를 위한 테스트 시간이 많이 소요된다. 예로서, 32K 롬 테스트 시 '32K ×12 발진 클럭'만큼의 시간(393,216 발진 클럭)이 필요하다. 따라서, 빠른 대응을 필요로 하는 AS-MCU에서 롬 테스트 작업이 큰 부담으로 작용하게 된다. 또한, PC 인크리먼트가 동작하지 않으므로 이에 대해 따로 테스트해야 하는 문제가 있다.As a result, the ROM dump mode of the 8051 MCU according to the related art requires a lot of test time for the entire ROM test by outputting only one ROM data per port in one machine cycle. As an example, a 32K ROM test requires a time (393,216 oscillation clocks) for the '32K x 12 oscillation clock'. As a result, ROM testing is a heavy burden on AS-MCUs that require quick response. In addition, since the PC increment does not work, there is a problem that needs to be tested separately.

본 발명은 상기 문제점을 해결하기 위하여 안출된 것으로써, 1 머신 사이클에 롬 데이터를 두 번 포트로 출력하여 롬 테스트 시간을 1/2로 줄일 수 있는, 마이크로컨트롤러의 롬 덤프 모드를 지원하기 위한 장치를 제공하는데 그 목적이 있다.The present invention has been made to solve the above problems, the device for supporting the ROM dump mode of the microcontroller, which can reduce the ROM test time by half by outputting the ROM data twice in one machine cycle The purpose is to provide.

도 1은 8051 계열의 MCU에서 12개의 발진 클럭(osc.)으로 이루어지는 머신 사이클(machine cycle)을 동작구간에 따라 구분하여 도시한 도면.1 is a diagram illustrating a machine cycle consisting of 12 oscillation clocks (osc.) Divided by operation periods in an 8051 series of MCUs.

도 2a는 종래의 명령어 래치 회로도.2A is a conventional instruction latch circuit diagram.

도 2b는 본 발명의 일실시예에 따른 명령어 래치의 회로도.2B is a circuit diagram of an instruction latch in accordance with an embodiment of the present invention.

도 3a는 종래의 포트0 제어부 회로도.3A is a circuit diagram of a conventional Port 0 controller.

도 3b는 본 발명의 일실시예에 따른 포트0 제어부의 회로도.3B is a circuit diagram of a port 0 controller according to an embodiment of the present invention.

* 도면의 주요 부분에 대한 설명* Description of the main parts of the drawing

100, 110 : 단위 래치부 101 : 부정논리합 게이트100, 110: unit latch portion 101: negative logic gate

111, 240 : 부정논리곱 게이트 102, 112 : 래치111, 240: negative logical gate 102, 112: latch

200, 220 : 논리곱 게이트 210, 230 : 논리합 게이트200, 220: AND gate 210, 230: AND gate

250 : 멀티플렉서250: multiplexer

상기 목적을 달성하기 위한 본 발명은 마이크로컨트롤러의 롬 덤프 모드를 지원하기 위한 장치에 있어서, 상기 롬 덤프 모드 시 상기 마이크로컨트롤러의 명령어 중 1 머신 사이클에서 롬 데이터를 두 번 페치하는 특정 명령어의 코드로 셋팅되는 명령어 래치; 및 상기 머신 사이클의 'S2P1'과 'S5P1' 구간에서 내부 버스에 실리는 상기 롬 데이터를 롬 데이터 출력포트로 출력하도록 제어하는 라이트 제어 신호를 생성하기 위한 제어 회로부를 포함하여 이루어진다.In order to achieve the above object, the present invention provides a device for supporting a ROM dump mode of a microcontroller, wherein the ROM dump mode includes a specific instruction code for fetching ROM data twice in one machine cycle of the microcontroller's instructions. An instruction latch being set; And a control circuit unit configured to generate a write control signal for controlling the ROM data output on the internal bus to the ROM data output port in an interval between S2P1 and S5P1 of the machine cycle.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조하여 설명하기로 한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art may easily implement the technical idea of the present invention. do.

본 발명은 8051의 명령어 중 2바이트 - 1 머신 사이클 명령어의 경우 1 머신사이클에서 롬 데이터를 두 번 페치(fetch)한다는 점을 이용하여, 8051의 롬 덤프 모드 시 특정 명령어(즉, 2바이트 - 1 머신 사이클 명령어)만을 수행하도록 하여 노말 동작에서처럼 자동으로 롬을 두 번 읽어오도록 한다. 이를 위해, 8051이 롬 덤프 모드로 들어갈 경우 명령어 래치를 '74H'로 고정되도록 한다.The present invention utilizes the fact that two bytes of 8051 instructions fetch ROM data twice in one machine cycle in the case of one machine cycle instruction. Only machine cycle instructions) are used to automatically read the ROM twice, as in normal operation. To do this, when the 8051 enters ROM dump mode, the instruction latch is held at '74H'.

여기서, '74H' 명령어는 'MOV A, #data'으로서 1 머신 사이클 명령어이며, 연산코드(operation code, 이하 Opcode라 함)와 데이터를 페치하기 위해 롬을 두 번 읽는다. 이를 위해, 도 2a에 도시된 종래의 명령어 래치와 다르게 도 2b와 같이 구성한다.Here, the '74H' instruction is one machine cycle instruction as 'MOV A, #data', and reads the ROM twice to fetch the operation code (Opcode) and data. To this end, unlike the conventional instruction latch shown in Figure 2a is configured as shown in Figure 2b.

도 2b는 본 발명의 일실시예에 따른 명령어 래치의 회로도이다.2B is a circuit diagram of an instruction latch in accordance with an embodiment of the present invention.

도 2b를 참조하면, 본 발명의 명령어 래치는 내부 버스로부터의 8비트 명령어(X)를 래치하기 위하여 각 비트를 2 종류의 단위 래치부(100, 110)로 입력받되, 단위 래치부(100, 110) 각각은 롬 덤프 모드임을 의미하는 모드신호(tmd)와 명령어 라이트 클럭(inst_wr)에 응답하여 명령어를 래치한다. 이때, 모드신호(tmd)는 롬 덤프 모드 시 '1'로 인에이블되는 신호이다.Referring to FIG. 2B, the instruction latch of the present invention receives each bit into two types of unit latch units 100 and 110 in order to latch an 8-bit instruction X from an internal bus. Each of the 110 latches the command in response to the mode signal tmd and the command write clock inst_wr indicating the ROM dump mode. At this time, the mode signal tmd is a signal enabled with '1' in the ROM dump mode.

구체적으로, 단위 래치부(100)는 8비트 명령어(X) 중 임의의 한 비트와 모드신호(tmd)를 입력받아 부정논리합하는 부정논리합 게이트(101) 및 명령어 라이트 클럭(inst_wr)에 응답하여 부정논리합 게이트(101)의 출력을 래치하여 출력하는 래치(102)로 구성되고, 롬 덤프 모드 시 출력이 '1'로 고정된다.In detail, the unit latch unit 100 receives an arbitrary logic bit and a mode signal tmd of an 8-bit command X, and negates the negative latch gate 101 and the instruction write clock inst_wr. The latch 102 is configured to latch and output the output of the OR gate 101, and the output is fixed to '1' in the ROM dump mode.

반면, 단위 래치부(110)는 8비트 명령어(X) 중 임의의 한 비트와 반전된 모드신호(tmd)를 입력받아 부정논리곱하는 부정논리곱 게이트(111) 및 명령어 라이트 클럭(inst_wr)에 응답하여 부정논리곱 게이트(111)의 출력을 래치하여 출력하는 래치(112)로 구성되고, 롬 덤프 모드 시 출력이 '0'으로 고정된다.On the other hand, the unit latch unit 110 receives a random bit of the 8-bit command (X) and the inverted mode signal tmd and responds to the negative logical gate 111 and the command write clock inst_wr that perform negative logic multiplication. The latch 112 is configured to latch and output the output of the negative logic gate 111, and the output is fixed to '0' in the ROM dump mode.

따라서, 앞서 설명한 바와 같이 롬 덤프 모드 시 명령어 래치의 출력을 '74H', 즉 '01110100B'로 고정하기 위하여 본 발명의 일실시예에 따른 명령어 래치는 명령어의 최상위 비트로부터 최하위 비트 순으로 '단위 래치부(110), 단위 래치부(100), 단위 래치부(100), 단위 래치부(100), 단위 래치부(110), 단위 래치부(100), 단위 래치부(110), 단위 래치부(110)'로 구성된다.Therefore, in order to fix the output of the instruction latch to '74H', that is, '01110100B' in the ROM dump mode as described above, the instruction latch according to the embodiment of the present invention is a unit latch in order from the most significant bit to the least significant bit. Unit 110, unit latch unit 100, unit latch unit 100, unit latch unit 100, unit latch unit 110, unit latch unit 100, unit latch unit 110, unit latch unit 110 '.

결국, 상기 도 2b에 도시된 명령어 래치를 통해 8051 MCU는 롬 덤프 모드 시 항상 '74H' 명령어를 수행하게 된다. 이때, PC는 계속 인크리먼트되므로 0번지부터 전체 롬 영역의 데이터를 차례로 읽어오게 된다.As a result, the 8051 MCU always executes a '74H' command in the ROM dump mode through the instruction latch illustrated in FIG. 2B. At this time, the PC continues to be incremented so that the data of the entire ROM region is read in sequence from address 0.

한편, 8051의 노말 동작에서 롬 데이터가 내부 버스에 실리는 타이밍은 각각 'S2P1'과 'S5P1'인데, 본 발명의 롬 덤프 모드는 동작 타이밍이 노말 동작과 동일함으로써 읽어온 롬 데이터 역시 'S2P1'과 'S5P1'에서 내부 버스에 실린다. 따라서, 버스의 롬 데이터를 포트0으로 출력하기 위해 종래의 포트0 제어부를 수정해야한다.Meanwhile, in the 8051 normal operation, the timing of loading ROM data onto the internal bus is 'S2P1' and 'S5P1'. And on the internal bus at 'S5P1'. Therefore, in order to output the ROM data of the bus to port 0, the conventional port 0 controller must be modified.

도 3b는 본 발명의 일실시예에 따른 포트0 제어부의 회로도이고, 종래와 비교하기 위하여 도 3a에는 종래의 포트0 제어부 회로를 도시하였다.3B is a circuit diagram of a port 0 controller according to an embodiment of the present invention. FIG. 3A illustrates a conventional port 0 controller circuit in comparison with the conventional art.

도 3b를 참조하면, 본 발명의 포트0 제어부는 롬 덤프 모드 시 엑티브되는 제어신호(V_romrd)와 머신 사이클의 'S5' 구간을 나타내는 신호 S5를 입력받아 논리곱하는 논리곱 게이트(200), 신호 S5와 머신 사이클의 'S2' 구간을 나타내는 신호 S2를 논리합하는 논리합 게이트(210), 논리합 게이트(210)의 출력과 모드신호(tmd)를 논리곱하는 논리곱 게이트(220), 2개의 논리곱 게이트(200, 220)로부터 각각 출력되는 신호를 논리합하는 논리합 게이트(230), 머신 사이클의 'P1' 구간을 나타내는 신호 P1과 논리합 게이트(230)의 출력을 부정논리곱하는 부정논리곱 게이트(240) 및 제어신호(V_romrd)와 모드신호(tmd)를 논리합한 결과값에 응답하여 포트0에 대한 라이트 인에이블 신호(P0_sfr_wr) 또는 부정논리곱 게이트(240)의 출력을 포트0에 대한 라이트 신호(P0_wr)로 출력하는 멀티플렉서(250)로 이루어진다.Referring to FIG. 3B, the port 0 controller of the present invention receives an active control signal (V_romrd) in the ROM dump mode and a signal S5 representing the 'S5' section of a machine cycle, and logically gates 200 and S5. And the OR gate 210 for ORing the signal S2 representing the 'S2' section of the machine cycle, the AND gate 220 for ANDing the output of the OR gate 210 and the mode signal tmd, and two AND gates ( An OR gate 230 for ORing the signals output from the signals 200 and 220 respectively, an AND logic gate 240 for negative logic multiplying the output of the OR gate 230 with a signal P1 representing a 'P1' section of the machine cycle, and control. In response to the result of the OR of the signal V_romrd and the mode signal tmd, the output of the write enable signal P0_sfr_wr for the port 0 or the negative logic gate 240 is converted into the write signal P0_wr for the port 0. Output multiplexer (2 50).

여기서, 라이트 인에이블 신호(P0_sfr_wr)는 제어신호(V_romrd)가 디스에이블되었을 때 포트0에 라이트하기 위한 신호이다.Here, the write enable signal P0_sfr_wr is a signal for writing to the port 0 when the control signal V_romrd is disabled.

결과적으로, 롬 덤프 모드 지원을 위해 도 2b의 명령어 래치와 도 3b의 포트0 제어부의 간단한 회로 변경으로 종래에 비해 2배 빠른 롬 덤프 모드를 구현할 수 있고, 종래의 롬 덤프 모드에서 테스트할 수 없었던 PC 인크리먼트의 기능을 검증할 수 있다.As a result, a simple circuit change of the instruction latch of FIG. 2B and the port 0 control unit of FIG. 3B to support the ROM dump mode can implement a ROM dump mode twice as fast as the conventional one, and it cannot be tested in the conventional ROM dump mode. Verify the functionality of PC Increments.

본 발명의 기술 사상은 상기 바람직한 실시예에 따라 구체적으로 기술되었으나, 상기한 실시예는 그 설명을 위한 것이며 그 제한을 위한 것이 아님을 주의하여야 한다. 또한, 본 발명의 기술 분야의 통상의 전문가라면 본 발명의 기술 사상의 범위 내에서 다양한 실시예가 가능함을 이해할 수 있을 것이다.Although the technical idea of the present invention has been described in detail according to the above preferred embodiment, it should be noted that the above-described embodiment is for the purpose of description and not of limitation. In addition, those skilled in the art will understand that various embodiments are possible within the scope of the technical idea of the present invention.

상기와 같이 이루어지는 본 발명은, 8051의 롬 덤프 모드 시 특정 명령어(즉, 2바이트 - 1 머신 사이클 명령어)만을 수행하도록 하여 노말 동작에서처럼 자동으로 롬을 두 번 읽어오도록 함으로써 1 머신 사이클에 롬 데이터를 두 번 포트로 출력할 수 있어 전체 테스트 시간을 종래에 비해 1/2로 줄일 수 있는 효과가 있다.According to the present invention, the ROM data is loaded in one machine cycle by automatically reading the ROM twice as in the normal operation by performing only a specific instruction (ie, 2 bytes-1 machine cycle instruction) in the 8051 ROM dump mode. It can output to two ports, reducing the overall test time by 1/2 compared to the conventional method.

Claims (5)

마이크로컨트롤러의 롬 덤프 모드를 지원하기 위한 장치에 있어서,In the device for supporting the ROM dump mode of the microcontroller, 상기 롬 덤프 모드 시 상기 마이크로컨트롤러의 명령어 중 1 머신 사이클에서 롬 데이터를 두 번 페치하는 특정 명령어의 코드로 셋팅되는 명령어 래치; 및An instruction latch set to a code of a specific instruction that fetches ROM data twice in one machine cycle of the microcontroller's instructions in the ROM dump mode; And 상기 머신 사이클의 'S2P1'과 'S5P1' 구간에서 내부 버스에 실리는 상기 롬 데이터를 롬 데이터 출력포트로 출력하도록 제어하는 라이트 제어 신호를 생성하기 위한 제어 회로부Control circuit unit for generating a write control signal for controlling to output the ROM data on the internal bus to the ROM data output port in the 'S2P1' and 'S5P1' period of the machine cycle 를 포함하여 이루어지는 장치.Device comprising a. 제 1 항에 있어서, 상기 명령어 래치는,The method of claim 1, wherein the instruction latch, 상기 롬 덤프 모드임을 나타내는 모드신호와 명령어 라이트 클럭에 응답하여 상기 내부 버스로부터의 다수 비트 명령어를 1비트씩 각각 래치하는 다수의 제1 및 제2 단위 래치부를 포함하여 이루어지되,And a plurality of first and second unit latches each latching a plurality of bit commands from the internal bus by one bit in response to a mode signal indicating the ROM dump mode and a command write clock. 상기 제1 단위 래치부는,The first unit latch unit, 상기 명령어 중 임의의 한 비트와 상기 모드신호를 입력받아 부정논리합하는 부정논리합 수단; 및Negative logic sum means for receiving a negative logic sum of any one bit of the command and the mode signal; And 상기 명령어 라이트 클럭에 응답하여 상기 부정논리합 수단의 출력을 래치하여 출력하는 제1 래치를 포함하여 상기 롬 덤프 모드 시 출력이 '1'로 셋팅되고,An output is set to '1' in the ROM dump mode including a first latch configured to latch and output an output of the negative logic means in response to the command write clock, 상기 제2 단위 래치부는,The second unit latch unit, 상기 명령어 중 임의의 한 비트와 반전된 모드신호를 입력받아 부정논리곱하는 부정논리곱 수단; 및Negative logical product means for receiving a negative signal and an inverted mode signal of any one of the instructions; And 상기 명령어 라이트 클럭에 응답하여 상기 부정논리곱 수단의 출력을 래치하여 출력하는 제2 래치를 포함하여 상기 롬 덤프 모드 시 출력이 '0'으로 셋팅되는 것을 특징으로 하는 장치.And a second latch configured to latch and output an output of the negative logical means in response to the command write clock, wherein the output is set to '0' in the ROM dump mode. 제 1 항 또는 제 2 항에 있어서, 상기 명령어 래치는,The method of claim 1 or 2, wherein the instruction latch, 상기 롬 덤프 모드 시 '74H'로 셋팅되는 것을 특징으로 하는 장치.The device is set to '74H' in the ROM dump mode. 제 3 항에 있어서, 상기 명령어 래치는,The method of claim 3, wherein the instruction latch, 상기 명령어가 8비트일 때, 상기 롬 덤프 모드 시 출력을 '74H'로 셋팅하기 위하여 상기 명령어의 최상위 비트로부터 최하위 비트 순으로 상기 제2 단위 래치부, 3개의 제1 단위 래치부, 상기 제2 단위 래치부, 상기 제1 단위 래치부, 2개의 상기 제2 단위 래치부를 포함하여 이루어지는 장치.When the command is 8 bits, the second unit latch unit, the three first unit latch units, and the second unit in order from the most significant bit to the least significant bit to set the output to '74H' in the ROM dump mode. And a unit latch unit, the first unit latch unit, and the second unit latch unit. 제 1 항에 있어서, 상기 제어 회로부는,The method of claim 1, wherein the control circuit unit, 상기 롬 덤프 모드 시 엑티브되는 제1 제어신호와 상기 머신 사이클의 'S5' 구간을 나타내는 제1 구간 제어 신호를 입력받아 논리곱하는 제1 논리곱 수단;First logical multiplication means for receiving and multiplying a first control signal that is activated in the ROM dump mode and a first interval control signal representing an interval of 'S5' of the machine cycle; 상기 제1 구간 제어 신호와 상기 머신 사이클의 'S2' 구간을 나타내는 제2 구간 제어 신호를 입력받아 논리합하는 제1 논리합 수단;First logical OR means for receiving and ORing the first interval control signal and a second interval control signal representing an 'S2' interval of the machine cycle; 상기 제1 논리합 수단의 출력과 상기 롬 덤프 모드임을 나타내는 모드신호를 입력받아 논리곱하는 제2 논리곱 수단;Second logical AND means for receiving and outputting the output of the first AND unit and a mode signal indicating the ROM dump mode; 상기 제1 및 제2 논리곱 수단으로부터 각각 출력되는 신호를 논리합하는 제2 논리합 수단;Second logical OR means for ORing the signals output from the first and second logical product means, respectively; 상기 머신 사이클의 'P1' 구간을 나타내는 제3 구간 제어 신호와 상기 제2 논리합 수단의 출력을 입력받아 부정논리곱하는 부정논리곱 수단; 및Negative logic means for negatively multiplying a third interval control signal indicative of a 'P1' interval of the machine cycle and the output of the second AND logic means; And 상기 제1 제어신호와 상기 모드신호를 논리합하기 위한 제3 논리합 수단;Third logical sum means for ORing the first control signal and the mode signal; 상기 제3 논리합 수단의 출력에 응답하여 상기 롬 데이터 출력포트에 대한 라이트 인에이블 신호 또는 상기 부정논리곱 수단의 출력을 상기 롬 데이터 출력포트에 대한 라이트 신호로 출력하는 선택 수단Selection means for outputting the write enable signal to the ROM data output port or the output of the negative logical product as a write signal to the ROM data output port in response to the output of the third logical sum means; 을 포함하여 이루어지는 장치.Device comprising a.
KR1020000047862A 2000-08-18 2000-08-18 Apparatus for supplying rom dump mode in microcontroller KR100542699B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000047862A KR100542699B1 (en) 2000-08-18 2000-08-18 Apparatus for supplying rom dump mode in microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000047862A KR100542699B1 (en) 2000-08-18 2000-08-18 Apparatus for supplying rom dump mode in microcontroller

Publications (2)

Publication Number Publication Date
KR20020014527A true KR20020014527A (en) 2002-02-25
KR100542699B1 KR100542699B1 (en) 2006-01-12

Family

ID=19683816

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000047862A KR100542699B1 (en) 2000-08-18 2000-08-18 Apparatus for supplying rom dump mode in microcontroller

Country Status (1)

Country Link
KR (1) KR100542699B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10614885B2 (en) 2017-09-12 2020-04-07 SK Hynix Inc. Microcontroller, memory system having the same, and method for operating the same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0179919B1 (en) * 1996-05-13 1999-05-15 문정환 Mcu testing method using built-in test program
JP3198997B2 (en) * 1997-08-28 2001-08-13 日本電気株式会社 Microcomputer and burn-in test method thereof
KR19990066309A (en) * 1998-01-23 1999-08-16 윤종용 How to reduce the test time of a serial one-time programmable microcontroller
KR19990079931A (en) * 1998-04-10 1999-11-05 윤종용 ROM / Static Ram Testing Circuit of Microcontroller
KR20000019447A (en) * 1998-09-11 2000-04-15 윤종용 Micro controller for reducing test time of ram
KR100340909B1 (en) * 1999-11-11 2002-06-20 박종섭 Internal test circuit for non-volatile memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10614885B2 (en) 2017-09-12 2020-04-07 SK Hynix Inc. Microcontroller, memory system having the same, and method for operating the same

Also Published As

Publication number Publication date
KR100542699B1 (en) 2006-01-12

Similar Documents

Publication Publication Date Title
US5438672A (en) Microcontroller emulator for plural device architecture configured by mode control data and operated under control code transmitted via same switching bus
US4879646A (en) Data processing system with a pipelined structure for editing trace memory contents and tracing operations during system debugging
KR0138697B1 (en) Microcomputer
JPH08328848A (en) Microprocessor
US5428770A (en) Single-chip microcontroller with efficient peripheral testability
EP0729604B1 (en) Register status protection during read-modify-write operation
EP0755538B1 (en) Apparatus and method for updating information in a writable microcode control store
KR100542699B1 (en) Apparatus for supplying rom dump mode in microcontroller
KR100321745B1 (en) A micro controller unit for external memory access
EP0870237A1 (en) Processing system and method for reading and restoring information in a ram configuration
US7908465B1 (en) Hardware emulator having a selectable write-back processor unit
US6453410B1 (en) Computer system having a cache memory and a tracing function
KR20030055150A (en) Microprocessor and processing method of microprocessor
JP2872117B2 (en) Microprocessor
KR100284287B1 (en) Microprocessor with Variable Reset Address
KR960016401B1 (en) Page selecting circuit of register pages using register page pointer
KR950001057B1 (en) Microprocessor
KR0163726B1 (en) Multi-ram-break-condition set circuit using external memory
KR100257772B1 (en) An apparatus for generating breakpoint in superscalar microprocessor
KR100195221B1 (en) Instruction execution number measure device in program execution
JP2755318B2 (en) Trace circuit
KR100275958B1 (en) Microcomputer unit
JP2007213415A (en) Memory device
JPH0588905A (en) Microcontroller
JPS6091461A (en) Expanding device for data address space of microprocessor

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
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: 20121210

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131217

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20141222

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee