CN101740112A - Fool-proofing method for external parallel memory - Google Patents

Fool-proofing method for external parallel memory Download PDF

Info

Publication number
CN101740112A
CN101740112A CN200910109900A CN200910109900A CN101740112A CN 101740112 A CN101740112 A CN 101740112A CN 200910109900 A CN200910109900 A CN 200910109900A CN 200910109900 A CN200910109900 A CN 200910109900A CN 101740112 A CN101740112 A CN 101740112A
Authority
CN
China
Prior art keywords
data
storer
address
chip
instrument
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.)
Pending
Application number
CN200910109900A
Other languages
Chinese (zh)
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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN200910109900A priority Critical patent/CN101740112A/en
Publication of CN101740112A publication Critical patent/CN101740112A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a fool-proofing method for an external parallel memory, comprising the steps: when chip data of the memory is set, the data of the highest address unit is set to 0; upgrading MCU software programs of instrument, and adding the function of boot self-test highest-bit data. As a low-cost proposal, the fool-proofing method can realize the fool-proofing of the external parallel memory only by modifying preset data and MCU self-test software, instead of the addition of any hardware, thereby solving the problem of erroneous data read and write, caused by the damage and the poor contact of address and data pins, which are probably resulted from the repeated plug and use of the memory.

Description

A kind of Fool-proofing method for external parallel memory
Technical field
The present invention relates to circuit engineering, relate in particular to a kind of implementation method of external hanging type parallel storage fool proof.
Background technology
Current parallel storage is with its spatial parallelism transmission technology, and it is big to possess transmitted data amount, and fireballing characteristics are widely used in the electronic product field as memory device.In actual applications, the information carrier of a kind of external hanging type of parallel storage Chang Zuowei is used for the storage of data and reads in conjunction with single-chip microcomputer, and data decomposition is read and write in each product, possesses mobility and reusability.
For example; at the colour television set production industry; storer is used to store the production tune-up data of every batch of order (as HDCP ((High-bandwidth Digital Content Protection): the HDCP technology) KEY sign indicating number, MAC (Media Access Control; medium access control) address code data etc.); in process of production storer is inserted on the interface of burning instrument; by instrument with data decomposition in every televisor; when producing next order; only need pull down storer, burning next group order new data.In use, because of repeatedly being plugged, storer reuses, fragile or the loose contact of pin often appears, particularly address, data pin, finally cause reading and writing data mistake and can't as serial storage can be by the MCU of burning instrument (Microprocessor Control Unit, MCU Microprocessor Control Unit) effectively detecting will cause the quality of lot accident.
Although the transmitted data amount of parallel storage is big, speed fast, it is simple to handle, can come decomposition data in specific product as a kind of information carrier of external hanging type as USB flash disk, and relatively has the low and simple advantage of interface protocol of cost with USB flash disk, but it lacks a kind of row and effective method detects the quality of parallel storage pin in actual use, is difficult to guarantee the correctness of data burning.
Therefore, how to guarantee the correctness of data burning, make product have more the market competitiveness, become problem anxious to be solved.
Summary of the invention
The object of the invention is to provide a kind of Fool-proofing method for external parallel memory, has solved because of repeatedly plugging, reuse address, the data pin that storer easily causes to damage or loose contact, and has caused the wrong problem that reads and writes data.
For solving technical matters of the present invention, the present invention discloses a kind of Fool-proofing method for external parallel memory, comprising:
When the chip data of storer was set, superlatively data 0 were put in the unit, location;
Upgrading instrument MCU software program, the function of increase startup self-detection most significant digit data.
More excellent, described chip is the W27E040 chip, described instrument is the burning instrument.
More excellent, described method also comprises:
To make memory of data is inserted in the burning instrument.
More excellent, also comprise:
The MCU self check of burning instrument is the location cell data superlatively, thereby address, the data pin of storer are tested.
More excellent, described when the chip data of storer is set, superlatively the unit, location is put data 0 and is specifically comprised:
When the W27E040 data are set, open programmable device and select the storer of W27E040 chip;
In the data edition interface HDCP KEY, MAC Address code data are inserted, superlatively data 0 are put in the unit, location simultaneously;
After finishing, data creating is burnt in the storer of W27E040 by programmable device again.
More excellent, described method also comprises:
It is non-0 to read data return data in the highest addresses unit, then points out verification to make mistakes, and shows that address, data pin damage.
Compared with prior art, the present invention has following beneficial effect:
The present invention is a lower cost solution, need not to increase any hardware, only needs to revise initialize data and MCU self check software, can realize the fool proof of external hanging type parallel storage.Solved because of repeatedly plugging, reuse address, the data pin that storer easily causes and damaged or loose contact, and caused the wrong problem that reads and writes data.
Description of drawings
Fig. 1 is the W27E040 pin of chip synoptic diagram of the embodiment of the invention;
Fig. 2 is the schematic flow sheet of a kind of Fool-proofing method for external parallel memory of the embodiment of the invention.
Embodiment
The present invention discloses a kind of Fool-proofing method for external parallel memory, this method by with external hanging type movably parallel storage superlatively put data 0 in the unit, location, by the MCU self check of burning instrument location cell data superlatively, thereby address, the data pin of storer are tested.Under the prerequisite that does not increase hardware, revise initialize data and MCU self check software, solved because of repeatedly plugging, reuse storer and caused that easily pin damages or loose contact, and the problem of the mistake that causes reading and writing data, realized the fool proof technology of parallel storage.
The present invention has provided a kind of implementation method of external hanging type parallel storage fool proof, is that example describes with the W27E040 parallel storage for example.
As shown in Figure 1, W27E040 pin of chip synoptic diagram for the embodiment of the invention, the storer of this W27E040 chip has 32 pins, is respectively: address pin A0-A18, data pin Q0-Q7, chip are selected pin CE, read pin OE, are write pin VPP, power supply VCC, GND, empty pin NC.In actual use, other pin except that address, data pin is if occur unusually, and the burning instrument is very easy to find and can't reads and writes, but if pin is sent in address, data pin unusually, the correctness of the data that burning instrument MCU then can't the verification read-write.For example: the data of the 9th address location are 4 in the storer, send the address to be when then the burning instrument reads: 000 0,000 0,000 0,000 1001, and obtain data and be: 0,000 0100.But when address or data pin damage or loose contact following two kinds of situations can appear:
(1) address pin is damaged or loose contact: for example address pin A0 damages, when instrument will be read 9 address location data, though instrument MCU sent the address: 000 0,000 0,000 0,000 1001, but can be in low level 0 during because of the damage of chip pin A0 always, finally cause the actual address location that reads of instrument to be: 000 0,000 0,000 1000, misread the data rather than the 9 address location data of 8 address locations.
(2) data pin is damaged or loose contact: for example data pin D0 damages, the data that instrument will read are 4 o'clock, correct return data should be: 0,000 0100, but can be in high level 1 when damaging because of pin D0 always, finally cause the actual data that read of instrument to be: 0,000 0101, return misdata 5.
At above-mentioned two kinds of situations, the invention provides a kind of foolproof method that detects address, data pin damage, its cardinal principle is: at first when making memory data, with the highest address bit of storer, promptly the end address unit is reserved and is also put byte data 0; When reality is used, by the MCU self check of burning instrument location cell data superlatively.
Principle of Communication according to instrument MCU and parallel storage, when MCU send address date by address wire, if address pin is damaged or loose contact then this address pin of plug-in storer can be in low level 0 state always, and when single-chip microcomputer passes through the data line reading of data, if data pin is damaged or loose contact then this data pin can be in high level 1 state always, therefore take data 0 are put in the unit, location superlatively of storer, by the MCU verification superlatively the location cell data come the address of verifying memory, data pin whether to damage.For example, MCU will send the address: 111 1,111 11,111,111 1111 when verification highest addresses cell data, because address pin A0 damages, the actual data that read 111 1,111 1,111 1,111 1110 addresses, the data of non-highest addresses unit, self check makes mistakes; If data pin D0 damages, the then actual data that read the highest addresses unit are 0,000 0001, and are non-0,000 0000, and self check makes mistakes.MCU is when verification highest addresses cell data as can be known, if storage address, data pin are damaged, then can't correctly read highest addresses cell data 0, thereby under the prerequisite that does not increase hardware, revise initialize data and MCU self check software, effectively solve the wrong problem that reads and writes data that causes because of address, data pin damage or loose contact.
For example, at the colour television set production field, use the carrier of W27E040 storer as data message, press order at line writing HDCP KEY sign indicating number, the MAC Address code data is in every televisor, for avoiding to cause the address owing to reusing and repeatedly plugging storer, data pin is damaged or loose contact, the problem that finally causes batch data programming mistake, fool proof scheme of the present invention is applied on the data burning of W27E040 storer, data in the unit of storing in advance by the MCU startup self-detection of burning instrument, location superlatively, thus check its address, whether data pin has is damaged and provides timely alarm.Its specific implementation can be as shown in Figure 2, is the schematic flow sheet of a kind of Fool-proofing method for external parallel memory of the embodiment of the invention, and this method comprises following content.
Step 201, when the memory chip data were set, superlatively data 0 were put in the unit, location;
For example, when the W27E040 data are set, at first open programmable device and select the storer of W27E040 chip, in the data edition interface, HDCP KEY, MAC Address code data are inserted, superlatively data 0 are put in the unit, location simultaneously, are burnt in the storer of W27E040 by programmable device after data creating finishes again.
Step 202, upgrading instrument MCU software program, the function of increase startup self-detection most significant digit data;
If it is non-0 to read data return data in the highest addresses unit, then point out verification to make mistakes, show that address, data pin damage.
Step 203 is inserted into the storer that sets the chip of data in the burning instrument.
For example, the W27E040 storer of making data is inserted in the burning instrument, this moment, the instrument data in the unit, location superlatively of self check storer then of starting shooting checked address, data pin whether damage is arranged.
In sum, a kind of Fool-proofing method for external parallel memory disclosed in this invention has following beneficial effect:
(1) the present invention is a lower cost solution, need not to increase any hardware, only needs to revise initialize data and MCU self check software, can realize the fool proof of external hanging type parallel storage.
(2) in advance memory is superlatively put data 0 in the unit, location, in the practical application again by the MCU self check highest order data of burning instrument, thereby the address of check memory, the quality of data pin, solve the address, data pin damage or the loose contact that easily cause because repeatedly plugging, reuse memory, and caused the wrong problem that reads and writes data.

Claims (6)

1. a Fool-proofing method for external parallel memory is characterized in that, comprises
When the chip data of storer was set, superlatively data 0 were put in the unit, location;
Upgrading instrument MCU software program, the function of increase startup self-detection most significant digit data.
2. the method for claim 1 is characterized in that, described chip is the W27E040 chip, and described instrument is the burning instrument.
3. method as claimed in claim 2 is characterized in that, described method also comprises:
To make memory of data is inserted in the burning instrument.
4. method as claimed in claim 2 is characterized in that, also comprises:
The MCU self check of burning instrument is the location cell data superlatively, thereby address, the data pin of storer are tested.
5. method as claimed in claim 2 is characterized in that, and is described when the chip data of storer is set, will be superlatively the unit, location put data 0 and specifically comprise:
When the W27E040 data are set, open programmable device and select the storer of W27E040 chip;
In the data edition interface HDCP KEY, MAC Address code data are inserted, superlatively data 0 are put in the unit, location simultaneously;
After finishing, data creating is burnt in the storer of W27E040 by programmable device again.
6. the method for claim 1 is characterized in that, described method also comprises:
It is non-0 to read data return data in the highest addresses unit, then points out verification to make mistakes, and shows that address, data pin damage.
CN200910109900A 2009-11-27 2009-11-27 Fool-proofing method for external parallel memory Pending CN101740112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910109900A CN101740112A (en) 2009-11-27 2009-11-27 Fool-proofing method for external parallel memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910109900A CN101740112A (en) 2009-11-27 2009-11-27 Fool-proofing method for external parallel memory

Publications (1)

Publication Number Publication Date
CN101740112A true CN101740112A (en) 2010-06-16

Family

ID=42463445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910109900A Pending CN101740112A (en) 2009-11-27 2009-11-27 Fool-proofing method for external parallel memory

Country Status (1)

Country Link
CN (1) CN101740112A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887754A (en) * 2010-06-29 2010-11-17 深圳创维-Rgb电子有限公司 Method and device for burning HDCP Key and digital equipment
CN103428560A (en) * 2013-08-29 2013-12-04 广州创维平面显示科技有限公司 Method and device for burning KEY codes

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887754A (en) * 2010-06-29 2010-11-17 深圳创维-Rgb电子有限公司 Method and device for burning HDCP Key and digital equipment
CN103428560A (en) * 2013-08-29 2013-12-04 广州创维平面显示科技有限公司 Method and device for burning KEY codes
CN103428560B (en) * 2013-08-29 2017-03-01 广州创维平面显示科技有限公司 A kind of method of KEY code burning and device

Similar Documents

Publication Publication Date Title
CN102955751B (en) Memorizer memory devices, Memory Controller and method for writing data
CN101366182A (en) A nand flash memory controller exporting a nand interface
US9552287B2 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN104699413A (en) Data management method, memorizer saving device and memorizer control circuit unit
CN104658612A (en) Method for accessing storage unit in flash memory and device using the same
CN102522119A (en) Method and digital device for intelligently burning HDCP (High-bandwidth Digital-content Copy Protection) KEY
US5864661A (en) IC memory card having flash memory
CN102890645A (en) Memory storage device, memory controller and data writing method
EP2058739B1 (en) Electronic device, information processing device, adapter device, and information exchange system
CN102902626A (en) Block management method, memory controller and memory storing device
CN101354673B (en) SPD chip error information simulation apparatus of memory
CN101740112A (en) Fool-proofing method for external parallel memory
CN111783168B (en) Correction method based on serial number back calculation EDID annual period
CN102629212A (en) Method for indirectly programming to NANDFLASH based on J-LINK
CN202150274U (en) Anti-lost circuit structure for EEPROM (Electrically Erasable Programmable Read Only Memory) data
CN101493759A (en) Address control method of random capacity asynchronous first-in/first-out memory
CN103809918A (en) Storage medium, access system and method
CN107341064B (en) Anti-misplug system based on sub circuit board of vehicle variable flow control unit
CN107168650B (en) Method and device for processing data in memory of BIOS
CN103366830A (en) Testing device of memory card
CN101498990B (en) Self-adaptive starting method of NAND flash memory
CN110209433B (en) Method for identifying concentrators of different models
CN109634534B (en) Method for quickly judging capacity of memory chip
CN101996168B (en) Method and device for formatting flash memory
CN116884470B (en) Storage product testing method and system, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100616