CN103699452A - Method for automatically programming EEPROM (electrically erasable programmable read-only memory) - Google Patents

Method for automatically programming EEPROM (electrically erasable programmable read-only memory) Download PDF

Info

Publication number
CN103699452A
CN103699452A CN201310629412.7A CN201310629412A CN103699452A CN 103699452 A CN103699452 A CN 103699452A CN 201310629412 A CN201310629412 A CN 201310629412A CN 103699452 A CN103699452 A CN 103699452A
Authority
CN
China
Prior art keywords
programming
eeprom
tool
data
described step
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
CN201310629412.7A
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201310629412.7A priority Critical patent/CN103699452A/en
Publication of CN103699452A publication Critical patent/CN103699452A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method for automatically programming EEPROM (electrically erasable programmable read-only memory). The method concretely comprises the steps of starting a PC (personal computer) side programming tool, initializing variables, and preparing data to be programmed; detecting whether programming connection is successful or not by the PC tool, if yes, entering the next step, and if not, continuously carrying out circle detection; programming the prepared data to be programmed into the EEPROM of a chip mainboard by the PC tool; detecting whether the programming connection is failed or not by the PC tool, if not, continuously carrying out circle detection, and if yes, returning the step 1 and entering the next EEPROM programming circulation. In the whole programming process of the EEPROM of the chip mainboard, the PC side tool is not needed to be manually operated and is capable of automatically identifying connection, automatically programming, automatically checking and automatically prompting. Therefore the time is greatly saved, and the production efficiency of a factory production line is increased.

Description

A kind of method that realizes automatic programming EEPROM
Technical field
The present invention relates to a kind of method that realizes automatic programming EEPROM, particularly relate to a kind of method that is applicable to use the automatic programming EEPROM of PC instrument in televisor production run on production line.
Background technology
In electronic product production run, some crucial configuration datas need programming in advance in the EEPROM of chip mainboard, and in actual production, coordinate data programming is entered to EEPROM exactly with PC instrument and manual operation.Factory is all that extensive pipeline system is in batches produced now, and every chip piece mainboard all very important person carrys out programming for going to operate PC instrument, just wastes a lot of time, makes the inefficiency of whole production line, and manufacturing cost increases.
Address this problem at present method is exactly to reduce the manual operation of PC instrument as far as possible, even reduces to operating in a key, raise the efficiency, but this still needs manually to operate computer software instrument.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method that manual operation realizes automatic programming EEPROM that reduces.
The technical solution used in the present invention is as follows: a kind of method that realizes automatic programming EEPROM, and concrete grammar step is: step 1, initialization PC holds flashburn tools variable, is ready to want the data of programming; Step 2, the programming of PC tool detection connect whether success, successful enter next step, unsuccessfully continue detection; Step 3, PC instrument by the programming of ready programming data in the EEPROM of chip mainboard; Whether step 4, the programming of PC tool detection connect failed, otherwise continue to detect, and are to return to the programming circulation that step 1 enters next EEPROM.
As the present invention is further improved, in described step 2, detect programming and connect whether successful method is: be spaced apart 150ms ~ 300ms each detection time, is consecutively detected three successful connections, represents successful connection.
As the present invention is further improved, in described step 2, be spaced apart 150ms detection time at every turn.
As the present invention is further improved, described step 3 also comprises, data and the ready data of PC instrument that programming is good contrast, if unanimously, shows programming success, if fruit is inconsistent, carries out programming again.
As the present invention is further improved, described step 3 also comprises, if programming success provides programming and successfully points out.
As the present invention is further improved, in described step 4, detect and connect whether failed concrete grammar is: be spaced apart 200ms ~ 300ms each detection time, is consecutively detected three connection failures, represents connection failure.
As the present invention is further improved, in described step 4, be spaced apart 250ms detection time at every turn.
Compared with prior art, the invention has the beneficial effects as follows: in the EEPROM process of whole programming chip mainboard, do not need the instrument of artificial operation PC end, by PC ending tool, automatically identify connection, programming automatically, automatic Verification, automatic-prompting.Greatly save the time, improved the production efficiency of factory's streamline.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Disclosed arbitrary feature in this instructions (comprising any accessory claim and summary), unless narration especially all can be replaced by other equivalences or the alternative features with similar object.That is,, unless narration especially, each feature is an example in a series of equivalences or similar characteristics.
Realize a method of automatic programming EEPROM, concrete grammar step is: step 1, and initialization PC holds flashburn tools variable, is ready to want the data of programming; Step 2, the programming of PC tool detection connect whether success, successful enter next step, unsuccessfully continue detection; Step 3, PC instrument by the programming of ready programming data in the EEPROM of chip mainboard; Whether step 4, the programming of PC tool detection connect failed, otherwise continue to detect, and are to return to the programming circulation that step 1 enters next EEPROM.
The instrument of PC end connects the EEPROM on chip mainboard by frock, with IIC protocol communication, realizes the read-write to EEPROM.
Workman can will programming chip mainboard be connected with frock line, whether successfully PC ending tool constantly detects connection.Shake in order to prevent from inserting frock interface line to chip mainboard, and the programming causing failure is spaced apart 150ms ~ 300ms each detection time, in this specific embodiment, be spaced apart 150ms each detection time.Be consecutively detected three successful connections, represent successful connection, workman has been connected to frock line the IIC interface on chip mainboard.When stable connection, instrument just passes through the programming of IIC mouth in the EEPORM of chip mainboard by ready data automatically.
Described step 3 also comprises, data and the ready data of PC instrument that programming is good contrast, if unanimously, shows programming success, if fruit is inconsistent, carries out programming again.
Described step 3 also comprises, if programming success provides programming and successfully points out.After successfully writing, then the data reading in EEPROM is come and previous ready data comparison, see and whether make mistakes.Make mistakes and rewrite; Correctly represent programming success, provide prompting.
Operative employee sees and pointing out successfully, will pull out interface line.Instrument automatically sends test and connects, if successful connection detected, continues cycle detection and connects, until connection failure detected, represents that operative employee pulls out interface line.
In described step 4, detect to connect whether failed concrete grammar is: in order to prevent the shake of interface line when pulling out socket, and cause programming again, be spaced apart 200ms ~ 300ms each detection time, is spaced apart 250ms in this specific embodiment detection time at every turn.Be consecutively detected three connection failures, represent connection failure.If connection failure, illustrates that mainboard programming finishes, frock bus disconnects from chip mainboard.Follow chip piece mainboard under automatic cycle programming.

Claims (7)

1. realize a method of automatic programming EEPROM, concrete grammar step is: step 1, and initialization PC holds flashburn tools variable, is ready to want the data of programming; Step 2, the programming of PC tool detection connect whether success, successful enter next step, unsuccessfully continue detection; Step 3, PC instrument by the programming of ready programming data in the EEPROM of chip mainboard; Whether step 4, the programming of PC tool detection connect failed, otherwise continue to detect, and are to return to the programming circulation that step 1 enters next EEPROM.
2. the method for the automatic programming EEPROM of realization according to claim 1, detects programming and connects whether successful method is: be spaced apart 150ms ~ 300ms each detection time, is consecutively detected three successful connections, represents successful connection in described step 2.
3. the method for the automatic programming EEPROM of realization according to claim 2 is spaced apart 150ms detection time at every turn in described step 2.
4. the method for the automatic programming EEPROM of realization according to claim 1, described step 3 also comprises, data and the ready data of PC instrument that programming is good contrast, if unanimously, show programming success, if fruit is inconsistent, carry out programming again.
5. according to the method for the automatic programming EEPROM of the realization described in claim 1 or 4, described step 3 also comprises, if programming success provides programming and successfully points out.
6. the method for the automatic programming EEPROM of realization according to claim 1, detects in described step 4 and connects whether failed concrete grammar is: be spaced apart 200ms ~ 300ms each detection time, is consecutively detected three connection failures, represents connection failure.
7. the method for the automatic programming EEPROM of realization according to claim 6 is spaced apart 250ms detection time at every turn in described step 4.
CN201310629412.7A 2013-11-29 2013-11-29 Method for automatically programming EEPROM (electrically erasable programmable read-only memory) Pending CN103699452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310629412.7A CN103699452A (en) 2013-11-29 2013-11-29 Method for automatically programming EEPROM (electrically erasable programmable read-only memory)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310629412.7A CN103699452A (en) 2013-11-29 2013-11-29 Method for automatically programming EEPROM (electrically erasable programmable read-only memory)

Publications (1)

Publication Number Publication Date
CN103699452A true CN103699452A (en) 2014-04-02

Family

ID=50360991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310629412.7A Pending CN103699452A (en) 2013-11-29 2013-11-29 Method for automatically programming EEPROM (electrically erasable programmable read-only memory)

Country Status (1)

Country Link
CN (1) CN103699452A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679557A (en) * 2015-02-06 2015-06-03 北京控制工程研究所 Online burning method for EEPROM (Electrically Erasable Programmable Read-Only Memory)
CN105354106A (en) * 2015-10-29 2016-02-24 惠州市蓝微电子有限公司 Burning error proofing method for brushless motor control management IC
CN107451015A (en) * 2017-08-08 2017-12-08 四川长虹电器股份有限公司 A kind of intelligent television critical data backup and data reconstruction method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624665A (en) * 2003-12-02 2005-06-08 深圳创维-Rgb电子有限公司 Method and device of download E2 PROM
US7536606B2 (en) * 2004-04-30 2009-05-19 Microsoft Corporation Error detection in web services systems
CN102368218A (en) * 2011-10-14 2012-03-07 烽火通信科技股份有限公司 Method for automatically programming Flash in batches
CN103136017A (en) * 2011-12-05 2013-06-05 信利光电(汕尾)有限公司 Programming method and device for one-time programmable memory (OTPM)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624665A (en) * 2003-12-02 2005-06-08 深圳创维-Rgb电子有限公司 Method and device of download E2 PROM
US7536606B2 (en) * 2004-04-30 2009-05-19 Microsoft Corporation Error detection in web services systems
CN102368218A (en) * 2011-10-14 2012-03-07 烽火通信科技股份有限公司 Method for automatically programming Flash in batches
CN103136017A (en) * 2011-12-05 2013-06-05 信利光电(汕尾)有限公司 Programming method and device for one-time programmable memory (OTPM)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679557A (en) * 2015-02-06 2015-06-03 北京控制工程研究所 Online burning method for EEPROM (Electrically Erasable Programmable Read-Only Memory)
CN104679557B (en) * 2015-02-06 2018-04-10 北京控制工程研究所 A kind of EEPROM is in line writing method
CN105354106A (en) * 2015-10-29 2016-02-24 惠州市蓝微电子有限公司 Burning error proofing method for brushless motor control management IC
CN107451015A (en) * 2017-08-08 2017-12-08 四川长虹电器股份有限公司 A kind of intelligent television critical data backup and data reconstruction method

Similar Documents

Publication Publication Date Title
CN104579719B (en) A kind of upgrade method and system, host computer and optical module of firmware
CN105045626A (en) Program burning method, burning device and controller
WO2018113387A1 (en) Odn system and working method therefor
CN105425065A (en) Intelligent household electrical appliance automatic production test system and method
CN103699452A (en) Method for automatically programming EEPROM (electrically erasable programmable read-only memory)
CN102830987A (en) Burning method
CN104598279A (en) Method and device for upgrading firmware based on flight controller
WO2019033885A1 (en) Carrier management method, management terminal, apparatus, system and storage medium
CN103729218A (en) ID (identity) programming method
CN104330990B (en) Parity check cable model identification method and device thereof
CN105354071A (en) Method for realizing compatibility between embedded software and hardware
CN105740031B (en) Card opening method based on card opening external member and card opening external member
CN115098139A (en) Firmware updating method and system, lower computer and storage medium
CN106709386B (en) Smart card data writing method and device
WO2018161370A1 (en) Automatic testing method, device, and system for bluetooth pos terminal
WO2015168855A1 (en) Welding power source management system and management method therefor
CN106775778B (en) Program updating identification method and system in embedded program development
CN103345404B (en) The upgrade method of a kind of ups system and system
CN101908985B (en) A kind of method of message checking and device
CN105183673A (en) Method and apparatus for supporting hot swap of external storage device under recovery mode
CN105279013A (en) Method and device for program issuance based on volume production
CN107562433B (en) Automatic multiprocessor program updating system and program updating method
CN104992136A (en) Bar code identifying method and apparatus
CN104536789A (en) Data burning method and data burning device
CN204953368U (en) Automatic lineman position recognition device

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