CN103500585A - Control circuit for controlling single programmable memory and control method of control circuit - Google Patents

Control circuit for controlling single programmable memory and control method of control circuit Download PDF

Info

Publication number
CN103500585A
CN103500585A CN201310466671.2A CN201310466671A CN103500585A CN 103500585 A CN103500585 A CN 103500585A CN 201310466671 A CN201310466671 A CN 201310466671A CN 103500585 A CN103500585 A CN 103500585A
Authority
CN
China
Prior art keywords
line
fuse
bus controller
programmable memory
single programmable
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201310466671.2A
Other languages
Chinese (zh)
Other versions
CN103500585B (en
Inventor
朱潇挺
蒋振雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUXI NAXUN MICROELECTRONIC CO Ltd
Original Assignee
WUXI NAXUN MICROELECTRONIC CO Ltd
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 WUXI NAXUN MICROELECTRONIC CO Ltd filed Critical WUXI NAXUN MICROELECTRONIC CO Ltd
Priority to CN201310466671.2A priority Critical patent/CN103500585B/en
Publication of CN103500585A publication Critical patent/CN103500585A/en
Application granted granted Critical
Publication of CN103500585B publication Critical patent/CN103500585B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

The invention discloses a control circuit for controlling a single programmable memory and a control method of the control circuit. The control circuit comprises an upper computer, an interface circuit, a bus controller and the single programmable memory, wherein the upper computer is connected with the bus controller through the interface circuit; the bus controller is also connected with the single programmable memory; the upper computer is connected with the interface circuit through a data wire. According to the control method disclosed by the invention, resolving of data input through the interface circuit is implemented, and a complete control signal for controlling the memory is generated.

Description

A kind of control circuit and control method thereof for controlling single programmable memory
Technical field
The invention belongs to technical field of semiconductors, relate in particular to a kind of control circuit and control method thereof for controlling single programmable memory.
Background technology
Now, there are many chips need to be in Embedded disposable programmable memory and debug registers, in order in chip carries out finished product test or user's use procedure, the parameter of chip internal is adjusted and revised.But many middle and small scale circuit are due to the restriction of number of pins and function, or do not have special-purpose communication interface.For example SPI and I2C interface at least need 2-3 root private communication line.
Summary of the invention
Goal of the invention: the objective of the invention is to disclose a kind of control circuit and control method thereof for controlling single programmable memory for the deficiencies in the prior art, thereby only need a data line just can realize the operation of host computer to single programmable memory.
Technical scheme: in order to realize the purpose of invention, the invention discloses a kind of for controlling the control circuit of single programmable memory, comprise host computer, interface circuit, bus controller and single programmable memory, host computer is connected with bus controller by interface circuit, bus controller is connected with single programmable memory simultaneously, it is characterized in that, host computer is connected with interface circuit by a data lines; Host computer and interface circuit are connected with the DATA line, by there is no the clock period signal indication 1 or 0 occured simultaneously; Be connected with din line and doen line between interface circuit and bus controller, the din line is for the data of host computer are sent to bus controller, and the doen line is for being sent to host computer by the response signal of bus controller; Be connected with load line, fuse_blowb line, fuse_data_b line, fuse_rb line, fuse_sb line, I_clk line and I_rstn line between bus controller and single programmable memory, wherein, the load line transfers to the reading address of single programmable memory for bus controller; The fuse_blowb line is the programming zone bit; The fuse_data_b line is the programming address; The fuse_rb line is for control bus controller reseting register, and fuse_sb is for the mid-bit register of control bus controller; The I_clk line is clock signal; The I_rstn line is reset signal.The port of described DATA line means 0 by the low level of 5~30 clock period, by the low level of 30~255 clock period, means 1.
According to embodiments of the invention on the other hand, the invention discloses a kind of for controlling the control method of single programmable memory, comprise the following steps: (1) bus controller receives the security code from interface circuit by the din line, provide response signal from the doen line by dragging down the DATA line, then by interface circuit, read on the DATA line address of wanting operation, the value of operation address has meaned a certain position of load line; (2) receive after operation address, this bit representation the operator scheme that is about to carry out for reading or writing; (3) if the operator scheme in step (2) for reading, bus controller is read value by the corresponding positions of fuse_rb line and fuse_sb line, and, by the time representation of the drop-down DATA line of doen, even read output signal is 0, the drop-down time is 5-30 clock period.If read output signal is 1, a drop-down 30-255 clock period, the read operation of such address is complete; If the operator scheme in step (2) is for writing, the corresponding positions of fuse_data_b line is set low, then the DATA line drags down and fuse_blowb is also synchronously dragged down, low level holding time is the time of writing, after writing end, whether bus controller can complete this read operation, for checking this position, correctly write, and the write operation of an address is complete.Described operation address binary coding representation; The security code of described step (1) adopts the binary code more than 4.
Beneficial effect: the present invention compared with prior art, has following advantage: can complete the parsing of data of interface circuit input and the complete control signal that produces control store by a data lines.
The accompanying drawing explanation
Fig. 1 is the annexation figure for the control circuit of controlling single programmable memory of the present invention;
The sequential chart that Fig. 2 is read operation of the present invention;
The sequential chart that Fig. 3 is write operation of the present invention.
Embodiment
Following examples are used for the present invention is described, but are not used for limiting the scope of the invention.
As shown in Figure 1, the single programmable memory of 8bit of take is example, Load[7:0]: mean to want the bit read; Fuse_blowb means after configuring the bit of wanting programming, and after Fuse_blowb drags down, the programming process starts, Low level effective; Fuse_data_b[7:0]: mean to want the bit address of programming, each bit is corresponding with a single programmable memory unit, Low level effective; Fuse_rb[7:0], Fuse_sb[7:0] mean that the single programmable memory unit is when reading single programmable memory at 1 o'clock, corresponding Fuse_rb sets to 0, and Fuse_sb puts 1.When readout is 0, corresponding Fuse_rb puts 1, Fuse_sb and sets to 0, and this two signal is for SET and the RESET end of control bus controller corresponding registers.I_clk is the work clock signal.I_rstn is reset signal, Low level effective.Din is the data from host computer to bus controller for transmission.Doen is for being sent to host computer by the response signal of bus controller, and this is that to control the doen signal by bus controller be 1, then passes through the drop-down DATA pin of switch, and the DATA pin is connected to power supply by pull-up resistor in interface circuit.
As shown in Figure 2, owing to being single line communication, there is no special-purpose data line and clock line, therefore in all sequential, 05 to 30 of use clock period meaned, 1 30 to 255 of use clock period meaned, due in the chip clock period along with the variation meeting of technique deviation slightly, can guarantee suitable nargin with above-mentioned method for expressing.At first being a string security code, is 10101100 in this example, and in reality, this security code can carry out difference setting as required.Providing response signal after controller reads in correct security code undercuts bus, and then from DATA end input, want to read the address of position, this address is with binary coding, can be expanded according to the figure place of actual single programmable memory, back to back is operator scheme, at this for reading, with 0, mean, for example want that the address of reading is 0100 so corresponding load[4] can be after read signal finishes effectively, corresponding single programmable memory passes through Fuse_rb[4] and Fuse_sb[4] read, then on bus, there will be the value of reading.So far an address read end of operation, if need to read another one, only need to repeat aforesaid operations, is changed to another address.
As shown in Figure 3, consistent with read operation at the leading portion of write operation, behind the address of input corresponding operating, immediately following one be operating as, write, with 1, mean.For example be similarly 0100 Fuse_data_b[4 now] set low, after this step completes, the DATA pin drags down, and corresponding fuse_blowb is synchronously dragged down, and low level length is the programming time.After programming finishes, bus controller can complete the read operation of a corresponding positions, and whether the check corresponding positions is correctly write, and is the process of write verification.So far a bit write operation finishes, and writes another bit if want, only needs to repeat aforesaid operations, is changed to another address.
Show by above-mentioned read-write process the complete control signal that the present invention can achieve a butt joint mouthful parsing of the data of circuit input and produce control store by single bus and control method of the present invention.

Claims (5)

1. one kind for controlling the control circuit of single programmable memory, comprise host computer, interface circuit, bus controller and single programmable memory, host computer is connected with bus controller by interface circuit, bus controller is connected with single programmable memory simultaneously, it is characterized in that, host computer is connected with interface circuit by a data lines;
Host computer and interface circuit are connected with the DATA line, by there is no the clock period signal indication 1 or 0 occured simultaneously;
Be connected with din line and doen line between interface circuit and bus controller, the din line is for the data of host computer are sent to bus controller, and the doen line is for being sent to host computer by the response signal of bus controller;
Be connected with load line, fuse_blowb line, fuse_data_b line, fuse_rb line, fuse_sb line, I_clk line and I_rstn line between bus controller and single programmable memory,
Wherein, the load line transfers to the reading address of single programmable memory for bus controller; The fuse_blowb line is the programming zone bit; The fuse_data_b line is the programming address; The fuse_rb line is for control bus controller reseting register, and fuse_sb is for the mid-bit register of control bus controller; The I_clk line is clock signal; The I_rstn line is reset signal.
2. as claimed in claim 1 a kind ofly it is characterized in that for controlling the control circuit of single programmable memory, the port of DATA line means 0 by the low level of 5~30 clock period, by the low level of 30~255 clock period, means 1.
3. one kind for controlling the control method of single programmable memory, it is characterized in that, comprises the following steps:
(1) bus controller receives the security code from interface circuit by the din line, provide response signal from the doen line by dragging down the DATA line, then by interface circuit, read on the DATA line address of wanting operation, the value of operation address has meaned a certain position of load line;
(2) receive after operation address, this bit representation the operator scheme that is about to carry out for reading or writing;
(3) if the operator scheme in step (2) for reading, bus controller is read value by the corresponding positions of fuse_rb line and fuse_sb line, and, by the time representation of the drop-down DATA line of doen, even read output signal is 0, the drop-down time is 5-30 clock period.If read output signal is 1, a drop-down 30-255 clock period, the read operation of such address is complete;
If the operator scheme in step (2) is for writing, the corresponding positions of fuse_data_b line is set low, then the DATA line drags down and fuse_blowb is also synchronously dragged down, low level holding time is the time of writing, after writing end, whether bus controller can complete this read operation, for checking this position, correctly write, and the write operation of an address is complete.
4. as claimed in claim 3 a kind ofly it is characterized in that for controlling the control method of single programmable memory, the operation address binary coding representation.
5. as described as claim 3 or 4 a kind ofly it is characterized in that for controlling the control method of single programmable memory, the security code in step (1) adopts the binary code more than 4.
CN201310466671.2A 2013-10-09 2013-10-09 A kind of control circuit and its control method for being used to control single programmable memory Expired - Fee Related CN103500585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310466671.2A CN103500585B (en) 2013-10-09 2013-10-09 A kind of control circuit and its control method for being used to control single programmable memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310466671.2A CN103500585B (en) 2013-10-09 2013-10-09 A kind of control circuit and its control method for being used to control single programmable memory

Publications (2)

Publication Number Publication Date
CN103500585A true CN103500585A (en) 2014-01-08
CN103500585B CN103500585B (en) 2017-11-03

Family

ID=49865787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310466671.2A Expired - Fee Related CN103500585B (en) 2013-10-09 2013-10-09 A kind of control circuit and its control method for being used to control single programmable memory

Country Status (1)

Country Link
CN (1) CN103500585B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460406A (en) * 2014-10-13 2015-03-25 深圳市江波龙电子有限公司 Single-line communication method and single chip microcomputer firmware updating method based on single-line communication
CN105843768A (en) * 2016-04-20 2016-08-10 芯海科技(深圳)股份有限公司 Single-wire communication MTP (multiple-time programmable) burn protocol and burn device based on same
CN106650510A (en) * 2016-12-26 2017-05-10 湖南国科微电子股份有限公司 OTP memory data protection method and system and OTP controller

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805882A (en) * 1996-07-19 1998-09-08 Compaq Computer Corporation Computer system and method for replacing obsolete or corrupt boot code contained within reprogrammable memory with new boot code supplied from an external source through a data port
CN102257572A (en) * 2009-01-12 2011-11-23 拉姆伯斯公司 Mesochronous signaling system with core-clock synchronization
US20120051140A1 (en) * 2010-08-26 2012-03-01 Steven Jeffrey Grossman RAM memory device with NAND type interface
CN202524557U (en) * 2012-01-16 2012-11-07 上海耐普微电子有限公司 Single-wire programmable MEMS microphone and programming system thereof
US20130132685A1 (en) * 2011-10-17 2013-05-23 Rambus Inc. Memory controller and memory device command protocol
CN103177767A (en) * 2013-04-08 2013-06-26 中国兵器工业集团第二一四研究所苏州研发中心 Simplified storage method for one-time programmable memory

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805882A (en) * 1996-07-19 1998-09-08 Compaq Computer Corporation Computer system and method for replacing obsolete or corrupt boot code contained within reprogrammable memory with new boot code supplied from an external source through a data port
CN102257572A (en) * 2009-01-12 2011-11-23 拉姆伯斯公司 Mesochronous signaling system with core-clock synchronization
US20120051140A1 (en) * 2010-08-26 2012-03-01 Steven Jeffrey Grossman RAM memory device with NAND type interface
US20130132685A1 (en) * 2011-10-17 2013-05-23 Rambus Inc. Memory controller and memory device command protocol
CN202524557U (en) * 2012-01-16 2012-11-07 上海耐普微电子有限公司 Single-wire programmable MEMS microphone and programming system thereof
CN103177767A (en) * 2013-04-08 2013-06-26 中国兵器工业集团第二一四研究所苏州研发中心 Simplified storage method for one-time programmable memory

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
莫言: "单总线(1-wirebus)技术及其应用", 《电子制作》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460406A (en) * 2014-10-13 2015-03-25 深圳市江波龙电子有限公司 Single-line communication method and single chip microcomputer firmware updating method based on single-line communication
CN105843768A (en) * 2016-04-20 2016-08-10 芯海科技(深圳)股份有限公司 Single-wire communication MTP (multiple-time programmable) burn protocol and burn device based on same
CN105843768B (en) * 2016-04-20 2019-01-25 芯海科技(深圳)股份有限公司 A kind of single line communication time-after-time programmable memory method for burn-recording and the burning device based on this method
CN106650510A (en) * 2016-12-26 2017-05-10 湖南国科微电子股份有限公司 OTP memory data protection method and system and OTP controller
CN106650510B (en) * 2016-12-26 2019-10-08 湖南国科微电子股份有限公司 A kind of otp memory data guard method, system and OTP controller

Also Published As

Publication number Publication date
CN103500585B (en) 2017-11-03

Similar Documents

Publication Publication Date Title
US11023167B2 (en) Methods and apparatuses for executing a plurality of queued tasks in a memory
CN105608027B (en) Non-volatile memory apparatus and the method for accessing non-volatile memory apparatus
CN105474319B (en) For configuring the device and method of the I/O of the memory of mixing memory module
CN100454257C (en) Embedded system
US9176865B2 (en) Data writing method, memory controller, and memory storage device
TWI495998B (en) Data management method, memory controller and memory storage device
CN204537117U (en) A kind of FPGA remote online upgrade-system based on microprocessor
TW201828303A (en) System and method of reading data from memory concurrently with sending write data to the memory
CN104281413B (en) Command queue's management method, Memory Controller and memorizer memory devices
US9448926B2 (en) Bidirectional counter in a flash memory
TWI534607B (en) Memory control circuit unit, data transmitting method and memory storage apparatus
CN113918500A (en) Device and system conforming to specification of extended interface serial peripheral interface
TW201418982A (en) Simulator and simulating method for flash memory
CN103500585A (en) Control circuit for controlling single programmable memory and control method of control circuit
CN105094886A (en) Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine
CN106155830A (en) Data storage device and error correction method
CN105320620A (en) Memory storage device, control method of memory storage device, memory control circuit unit and memory control circuit module
CN103092725B (en) A kind of method and device realizing data backup in storer
CN103219042A (en) Circuit for realizing program burning through USB interface and memory circuit
CN104461796A (en) JTAG (joint test action group) debugging module and method for embedded 8051CPU (central processing unit)
CN203773958U (en) One time programmable (OTP) register read-write device
TW201517048A (en) Method of detecting memory modules, memory control circuit unit and storage apparatus
CN105630120B (en) A kind of method and device of loading processing device hardware configuration word
US20150074298A1 (en) Command processing device and data storage device
CN102200926B (en) Emulation validation method of reading operation function of memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171103

CF01 Termination of patent right due to non-payment of annual fee