CN101867737A - Software processing method capable of being compatible with various models of FLASH based on set-top box - Google Patents

Software processing method capable of being compatible with various models of FLASH based on set-top box Download PDF

Info

Publication number
CN101867737A
CN101867737A CN 201010141034 CN201010141034A CN101867737A CN 101867737 A CN101867737 A CN 101867737A CN 201010141034 CN201010141034 CN 201010141034 CN 201010141034 A CN201010141034 A CN 201010141034A CN 101867737 A CN101867737 A CN 101867737A
Authority
CN
China
Prior art keywords
flash
data
compatible
list
buffer zone
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
CN 201010141034
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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science Technology 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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN 201010141034 priority Critical patent/CN101867737A/en
Publication of CN101867737A publication Critical patent/CN101867737A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a FLASH data automatic identification writing method based on a set-top box, which comprises the following steps: presetting the feature content of the FLASH; establishing a data table structure of the FLASH feature content; invoking compatible program for reading corresponding FLASH feature information according to the recognized FLASH types and features; and invoking corresponding reading and writing driving program to execute the reading and writing operation according to the recognized FLASH types and models. The invention only needs to adopt one software version to be written into FLASH with different internal structures, in addition, only uniform input information such as data content to be written, the size, the writing target address and the like needs to be provided in use, and the automatic compatible processing on FLASH with different internal structure can be realized. The use is simple, and mistakes are not easy to occur. The invention has the effect of prolonging the service life of FLASH, and is applicable to the development of embedded software.

Description

A kind of software processing method of the automatic compatible with multiple model FLASH based on set-top box
[technical field]
The present invention relates to field of embedded software, specifically be meant a kind of software processing method of the automatic compatible with multiple model FLASH based on set-top box.
[background technology]
Along with the development of digital TV terminal, function is become stronger day by day, and client's demand personalization difference is also day by day obvious simultaneously.The difference of demand has proposed challenge to the digital TV set-top box design of hardware and software.With the main components and parts FLASH on the set-top box, traditional digital TV set-top box is at the FLASH of different capabilities, different model, must use different designs, must do different software operations at the characteristic of the FLASH of different model simultaneously; This just causes needs to use different software corresponding with the FLASH of different model.Production and management cost are caused waste.
[summary of the invention]
Technical problem to be solved by this invention is to provide a kind of software processing method of the automatic compatible with multiple model FLASH based on set-top box, be that a kind of outside only need provide data content, the size that need write and write destination address, the software processing method of the FLASH of automatic compatible processing different internal structure.
The present invention solves the problems of the technologies described above by the following technical solutions:
A kind of software processing method of the automatic compatible with multiple model FLASH based on set-top box comprises the steps:
Step 100: beginning;
Step 101: the compatible Flash list data list of definition in the program context environment;
Step 102: configuration program voltage VPP;
Step 103: give relative initial address;
Step 104: from Flash list data list, obtain corresponding piece number and corresponding block size;
Step 105: the data of from the data buffer zone, taking out corresponding block size;
Step 106: to the write operation of programming of corresponding FLASH piece;
Step 107: the data buffer zone size is deducted the data length that has write, and relative address adds the data length that writes;
Step 108: the validity of judging the address according to the reference address of input; Be to change step 109 over to; , do not change step 110 over to;
Step 109: whether the judgment data buffering area is empty, and buffer size is not 0 and changes step 103 over to, writes until the data buffer zone data and finish;
Step 110: discharge program voltage VPP;
Step 111: finish.
The invention has the advantages that: only need to adopt a software version, write the FLASH of different internal structure, and using only need provide data content, the size that will write and write unified input information such as destination address, gets final product the FLASH of automatic compatible processing different internal structure.Use simply, be difficult for makeing mistakes, and play the effect in the useful life that prolongs FLASH, be applicable to the exploitation of embedded software.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the theory diagram of a kind of FLASH data automatic identification writing method based on set-top box of the present invention.
Fig. 2 is the flow chart of a kind of FLASH data automatic identification writing method based on set-top box of the present invention.
[embodiment]
Fig. 1 is the theory diagram of a kind of FLASH memory data automatic identification writing method based on set-top box of the present invention.
The method of the controlled transmission of " Data Control " expression data among the figure, i.e. the software processing module that the present invention describes; The storage that need write is in random asccess memory; Data are by the control of set-top box master chip, and the method that writes according to data automatic identification writes data in the FLASH memory.Thereby finish this software flow.
Fig. 2 is the flow chart of a kind of FLASH data automatic identification writing method based on set-top box of the present invention.Mainly comprise the steps:
Application configuration: preset the feature of FLASH, set up the data list structure of FLASH feature;
Read information: according to type and the feature of the FLASH that discerns, invoking compatible program reads corresponding FLASH characteristic information;
Carry out read-write motion:, call corresponding read-write driver and carry out read-write motion according to the FLASH type and the model of identification.
Concrete detailed step is as follows:
Step 100: beginning;
Step 101: the compatible Flash list data list of definition in the program context environment;
Step 102: configuration program voltage VPP;
Step 103: give relative initial address;
Step 104: from Flash list data list, obtain corresponding piece number and corresponding block size;
Step 105: the data of from the data buffer zone, taking out corresponding block size;
Step 106: to the write operation of programming of corresponding FLASH piece;
Step 107: the data buffer zone size is deducted the data length that has write, and relative address adds the data length that writes;
Step 108: the validity of judging the address according to the reference address of input; Be to change step 109 over to; , do not change step 110 over to;
Step 109: whether the judgment data buffering area is empty, and buffer size is not 0 and changes step 103 over to, writes until the data buffer zone data and finish; Step 110: discharge program voltage VPP;
Step 111: finish.
The present invention only need adopt a software version, writes the FLASH of different internal structure, and uses and only need provide data content, the size that will write and to write unified input information such as destination address, gets final product the FLASH of automatic compatible processing different internal structure.Use simply, be difficult for makeing mistakes, and play the effect in the useful life that prolongs FLASH, be applicable to the exploitation of embedded software.

Claims (1)

1. the software processing method based on the automatic compatible with multiple model FLASH of set-top box is characterized in that: comprise the steps:
Step 100: beginning;
Step 101: the compatible Flash list data list of definition in the program context environment;
Step 102: configuration program voltage VPP;
Step 103: give relative initial address;
Step 104: from Flash list data list, obtain corresponding piece number and corresponding block size;
Step 105: from the data buffer zone, take out the data of corresponding block size, if the block size of a correspondence that defines among the data deficiencies Flash list in the data buffer zone then takes out remaining data in the data buffer zone;
Step 106: to the write operation of programming of corresponding FLASH piece;
Step 107: the data buffer zone size is deducted the data length that has write, and relative address adds the data length that writes;
Step 108: the validity of judging the address according to the reference address of input; Be to change step 109 over to; , do not change step 110 over to;
Step 109: whether the judgment data buffering area is empty, and buffer size is not 0 and changes step 103 over to, writes until the data buffer zone data and finish;
Step 110: discharge program voltage VPP;
Step 111: finish.
CN 201010141034 2010-04-06 2010-04-06 Software processing method capable of being compatible with various models of FLASH based on set-top box Pending CN101867737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010141034 CN101867737A (en) 2010-04-06 2010-04-06 Software processing method capable of being compatible with various models of FLASH based on set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010141034 CN101867737A (en) 2010-04-06 2010-04-06 Software processing method capable of being compatible with various models of FLASH based on set-top box

Publications (1)

Publication Number Publication Date
CN101867737A true CN101867737A (en) 2010-10-20

Family

ID=42959273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010141034 Pending CN101867737A (en) 2010-04-06 2010-04-06 Software processing method capable of being compatible with various models of FLASH based on set-top box

Country Status (1)

Country Link
CN (1) CN101867737A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164364A (en) * 2011-12-16 2013-06-19 希姆通信息技术(上海)有限公司 Flash chip compatible method
CN108427579A (en) * 2018-03-01 2018-08-21 杭州朔天科技有限公司 A method of from SOC chip to a variety of external series flash memory loading codes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008004149A2 (en) * 2006-06-30 2008-01-10 Nxp B.V. Flash memory device having a flash cache portion and a method for using the same
CN101196849A (en) * 2007-12-24 2008-06-11 康佳集团股份有限公司 General driving method of FLASH

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008004149A2 (en) * 2006-06-30 2008-01-10 Nxp B.V. Flash memory device having a flash cache portion and a method for using the same
CN101196849A (en) * 2007-12-24 2008-06-11 康佳集团股份有限公司 General driving method of FLASH

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164364A (en) * 2011-12-16 2013-06-19 希姆通信息技术(上海)有限公司 Flash chip compatible method
CN108427579A (en) * 2018-03-01 2018-08-21 杭州朔天科技有限公司 A method of from SOC chip to a variety of external series flash memory loading codes
CN108427579B (en) * 2018-03-01 2021-02-02 杭州朔天科技有限公司 Method for loading codes from SOC chip to multiple external serial flash memories

Similar Documents

Publication Publication Date Title
CN105593942B (en) Volatile memory framework and related controller in non-volatile memory device
CN102306125B (en) A kind of data erasing-writing method of FLASH memory
CN102110167B (en) Method for implementing log information management in numerical control system
CN103617131A (en) Data caching achieving method
CN103279309A (en) DDR control device and method based on FPGA
CN106709025A (en) Method and device for updating aggregation objects
CN101162608A (en) Memory block of flash memory sign method
WO2009063614A1 (en) Memory controller, nonvolatile storage module, access module, and nonvolatile storage system
CN102609305A (en) Method for sharing internal memory in server cluster
CN102541923B (en) Database read-write separating method and device
CN109690504A (en) Composite memory driver, computer system and the correlation technique for operating multiplex mode hybrid drive
CN1996248A (en) User program guiding method and system
CN101321250B (en) Television set important data storage method
CN102279820A (en) Data storage device and control method based on SPI interface
CN101867737A (en) Software processing method capable of being compatible with various models of FLASH based on set-top box
CN103473182B (en) Non-volatility memorizer access method and nonvolatile memory controller
CN1885922A (en) Method for carrying out TV set software upgrade and its device
CN109918324A (en) A kind of double nip framework suitable for the configuration of NVMe NameSpace
CN104035897A (en) Storage controller
CN101923513B (en) Data writing and reading method of memory, system and FLASH memory
CN103092771A (en) Solid-state storing device and control method of cache thereof
CN104102552A (en) Message processing method and device
CN102722456A (en) Flash memory device and data writing method thereof
CN101770427A (en) Method and device for utilizing flash memory space
CN101493759A (en) Address control method of random capacity asynchronous first-in/first-out 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20101020