CN101458656A - Method for multimedia application processor compatible with various NandFlash - Google Patents

Method for multimedia application processor compatible with various NandFlash Download PDF

Info

Publication number
CN101458656A
CN101458656A CNA2007100323968A CN200710032396A CN101458656A CN 101458656 A CN101458656 A CN 101458656A CN A2007100323968 A CNA2007100323968 A CN A2007100323968A CN 200710032396 A CN200710032396 A CN 200710032396A CN 101458656 A CN101458656 A CN 101458656A
Authority
CN
China
Prior art keywords
nandflash
application processor
multimedia application
physical characteristics
sheet
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
CNA2007100323968A
Other languages
Chinese (zh)
Other versions
CN101458656B (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.)
Guangzhou Ankai Microelectronics Co.,Ltd.
Original Assignee
ANKAI (GUANGZHOU) SOFTWARE TECHN 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 ANKAI (GUANGZHOU) SOFTWARE TECHN Co Ltd filed Critical ANKAI (GUANGZHOU) SOFTWARE TECHN Co Ltd
Priority to CN 200710032396 priority Critical patent/CN101458656B/en
Publication of CN101458656A publication Critical patent/CN101458656A/en
Application granted granted Critical
Publication of CN101458656B publication Critical patent/CN101458656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for multimedia application processor compatible with various Nandflash, comprising: 1. connecting each Nandflash onto a corresponding chip selection of the processor, and short-circuiting R/b (ready/busy indicating pins) of each Nandflash and then connecting to the R/b of the processor; 2. abstracting the each common physical characteristics to compose to a specific data structure list based on different physical characteristics of the Nandflash; 3. configuring the corresponding register based on each Nandflash AC time sequence parameter and so on physical characteristics; accessing each Nandflash conveniently of the MTD layer of the system based on a structure body and a pointer. The invention can abstract various physical characteristics of the Nandflash as the common structure body by a driving layer, can provide the structure body and a function pointer to the MTD layer, simultaneously can control the processor to enable the processor to output an appropriate read-write time sequence to access the Nandflash, thereby ensuring the upper layer application of the MTD and the FS, without concerning the bottom layer various Nandflash types, the various Nandflash memory devices can be accessed conveniently and stably.

Description

The method of multimedia application processor compatible with various NandFlash
Technical field
The present invention relates to a kind of compatible multiple Nandflash memory device (comprising the different vendor of monolithic or multi-disc, the nandflash of different model) of multimedia application processor, method of carrying out data storage and reading utilized.
Background technology
In recent years, the portable electronic product develop rapidly has proposed new demand for internal memory, for example: characteristics such as volume is little, capacity is big, power is little, non-volatile and shatter-proof.Therefore, the hard disk of traditional type and internal memory have not been suitable for new portable system.And flash memory and general DRAM or SRAM maximum do not exist together, and are that flash memory can be preserved data-integrity when non-transformer, are to belong to non-voltile memory.And flash memory possesses electricity-saving function and shatter-proof, is best storing media in the wheeled apparatus utilization, so flash memory becomes the best internal memory solution of embedded computing system.
In the middle of flash memory, Sheffer stroke gate flash memory (NAND Type Flash is called for short Nandflash) has characteristics such as volume is little, capacity is big, storage density height, replaces the main flow that Norflash becomes flash memory gradually.
The hardware block diagram of typical mobile multimedia handheld device is seen Fig. 2, comprise program storage 1, display 2, mobile communication module 3, but hardware is handled audio and video data streams in real time and the multimedia application processor 4 that enriches peripheral interface is arranged, power supply 5, keyboard or touch-screen 6, Nandflash storage medium 7, earphone 8, loudspeaker 9 and microphone 10, wherein multimedia application processor 4 is cores of whole handheld device, the interface of itself and storage medium 7 is eight bit parallel Nandflash interfaces of standard, and multimedia application processor 4 and Nandflash storage medium 7 have constituted the hardware structure of storage system.
When upper layer application will be operated Nandflash memory device 7, by drive controlling multimedia application processor 4, export rational sequential control sheet Nandflash, thereby realize the read-write of file, make MTD layer and FS (file system) layer carry out read-write operation, thereby realize upper layer application such as playing back music, copied files the file on the Nandflash.The software architecture of this part storage system is seen Fig. 1.
The Nandflash technical development is swift and violent, and the Nandflash of different vendor, different model exists monolithic choosing and multi-disc choosing, single die and many die, different AC sequential, different command, different read-write order and number of times requires, the difference of SLC on the technological development of MLC or the like the physical characteristics.These have all proposed higher requirement to backend application (control chip, driving, MTD management and FS).Now comparatively simple way is the difference according to the Nandflash physical characteristics, uses a cover special driving to come it is carried out operations such as reading and writing, wiping.When the Nandflash kind was less, this way is fairly simple to be understood.But when embedded system will be supported Nandflash that increasing complex structure, sequential vary, it is unable to do what one wishes that pattern originally just seems.
Summary of the invention
The object of the present invention is to provide a kind of method of multimedia application processor compatible with various NandFlash: pass through multimedia application processor, cooperate corresponding driving, Nandflash to different vendor, different model controls, make MTD layer and FS (file system) layer carry out read-write operation, thereby realize upper layer application such as playing back music, copied files the file on the Nandflash.
For achieving the above object, the method for a kind of multimedia application processor compatible with various NandFlash of the present invention comprises following treatment step:
1, the respective flap of each sheet Nandflash being received multimedia application processor is chosen, and with the R/b (preparing/busy indication pin) that receives multimedia application processor behind output R/b (preparing/busy indication pin) short circuit that opens Lou of each sheet Nandflash;
2, according to the physical characteristics of the Nandflash of different vendor, different model, come out to form specific data structure table common separately physical characteristics is abstract, become single structure;
3, dispose the corresponding registers of multimedia application processor according to AC (interchange) the time sequence parameter physical characteristics of every Nandflash, make it can correspondingly export corresponding this Nandflash of read-write sequence access control;
4, the MTD layer of system can be visited each sheet Nandflash easily according to structure and pointer.
The abstract specific data structure of coming out in the step 2 among the present invention comprises:
1), Nandflash identifier (ID); 2), page or leaf (Page) size; 3), piece (Block) size; 4) the Block number in plane (Plane); 5) division of, characteristic parameter: Plane, whether support the page or leaf directly to copying whether need sequential write Page in (copyback) and the Block; 6) AC time sequence parameter;
Among the present invention in the step 4 detailed process be:
A, each sheet of circular test are chosen the position of the Nandflash of being put;
B, read the ID of monolithic Nandflash, obtain the physical characteristics of this sheet from data structure table;
C, from the structure that step B is obtained, the sheet selection condition that integrating step A obtained is passed to the MTD layer with these structures that extract and pointer relevant information.
The present invention is common structure by the physical characteristics of the abstract various Nandflash of Drive Layer, provides structure and function pointer to the MTD layer, controls multimedia application processor simultaneously, makes it to export suitable read-write sequence visit Nandflash.Thereby guaranteed upper layer application such as MTD and FS, need not be concerned about the Nandflash type that bottom varies, can stablize again and have access to the Nandflash memory device easily.
Description of drawings
The software architecture of Fig. 1 storage system;
The hardware block diagram of Fig. 2 mobile multimedia handheld device;
Fig. 3 model is the multimedia application processor Nandflash sequential requirement of MT29F8G08MAA;
Fig. 4 is the read-write sequence of Nandflash controller output in corresponding diagram 3 multimedia application processors.
Embodiment
Multimedia application processor has adopted the mobile multimedia processor of low-power consumption, and the key property of this chip is as follows: 1) adopted 32 bit processors; 2) has the Advanced Program Zoom technology; 3) support multi-disc Nandflash, and have the MMC/SD card; 4) embedded AMR decoder, MP3 decoder, WMA decoder, 64-Tone MIDI compositor, AAC/+decoder etc.; 5) embedded image processor, M/JPEG accelerator, demoder H.263/H.264/MPEG4; Support a plurality of serial ports; 6) support USB Host/Slave function; 7) support CCIR/ITU 656/601 image sensor interface, and have audio interface such as I2S, PCM; 8) support TFT LCD and/or OLED display.Therefore this chip functions is powerful, and the function of total system and performance can both be demonstrated fully.It is integration highly, has reduced the production cost of system, has the market competitiveness preferably.
As Fig. 2, multimedia application processor is supported the Nandflash of 4 sheet choosings, and interface is 8 bit parallel Nandflash interfaces of standard, can be according to the different control waveform of AC time sequence parameter output of different Nandflash.
On the hardware:
1, each sheet Nandflash is received in the respective flap choosing (sheet selects 0,1,2,3) of multimedia application processor, can connect 4 at most, the mechanism of this multi-disc choosing can realize that bus is multiplexing;
2, receive the R/b pin of multimedia application processor behind R/b pin (the driving type) short circuit with each sheet Nandflash for opening Lou output.
In the driving:
According to the physical characteristics of the Nandflash of different vendor, different model, they are abstractly come out to form specific data structure table, become single common structure, mainly comprise following:
1), Nandflash identifier (ID); 2), page or leaf (Page) size; 3), piece (Block) size; 4) the Block number in plane (Plane); 5) division of, characteristic parameter: Plane, whether support the page or leaf directly to copying whether need sequential write Page in (copyback) and the Block; 6) AC time sequence parameter;
After on the hardware each sheet Nandflash being posted, Drive Layer will be carried out following operation steps:
1, the Nandflash that chooses of each sheet of traverse scanning, and note ID and each sheet bit selecting is put;
2, look into data structure table according to ID, obtain the structure of the physical characteristics of this model Nandflash, comprised above-mentioned 1) to 6) whole parameters;
3, dispose the corresponding registers of multimedia application processor according to the AC time sequence parameter physical characteristics of every Nandflash,
Sequential as MLC Nandflash (MT29F8G08MAA) requires as Fig. 3, therefore, can just can make the Nandflash controller of multimedia application processor by register is set, export specific AC read-write sequence, satisfy the control requirement of different Nandflash;
When the Nandflash controller of having set multimedia application processor, export specific AC read-write sequence as shown in Figure 4: the ASIC CLOCK of chip (chip clock) is assumed to be 11.9ns,
TWP=3clock=35.7ns is greater than the desired tWP of Fig. 3 (15ns)
TWC=5clock=59.5ns is greater than the desired tWC of Fig. 3 (25ns)
TWH=tWH1+tWH2=2clock=23.8ns is greater than the desired tWH of Fig. 3 (10ns)
TDS=4clock=47.6ns is greater than the desired tDS of Fig. 3 (10ns)
TDH=1clock=11.9ns is greater than the desired tWP of Fig. 3 (5ns)
4, the structure that is obtained from the 2nd step, in conjunction with the 1st sheet selection condition that obtained of step, can extract the relevant information that the MTD layer is concerned about: as the division of the Block number in Page size, the total number of Block, the Plane, Plane, whether support whether need sequential write Page in copyback and the Block; And the pointer of function such as reading and writing, wiping;
5, the MTD layer can be visited each sheet Nandflash easily according to these structures and pointer, and need not be concerned about that bottom has pasted the Nandflash of several Nandflash or what type on earth.

Claims (3)

1, a kind of method of multimedia application processor compatible with various NandFlash is characterized in that comprising following treatment step:
Step 1, the respective flap that each sheet Nandflash is received multimedia application processor are chosen, and with the R/b (preparing/busy indication pin) that receives multimedia application processor behind output R/b (preparing/busy indication pin) short circuit Lou that opens of each sheet Nandflash;
Step 2, according to the physical characteristics of the Nandflash of different vendor, different model, come out to form specific data structure table common separately physical characteristics is abstract, become single structure;
Step 3, according to the corresponding registers of AC (interchange) the time sequence parameter physical characteristics of every Nandflash configuration multimedia application processor, make it can correspondingly export corresponding this Nandflash of read-write sequence access control;
The MTD layer of step 4, system can be visited each sheet Nandflash easily according to structure and pointer.
2, the method for multimedia application processor compatible with various NandFlash according to claim 1 is characterized in that: the abstract specific data structure of coming out in the step 2 comprises:
1), Nandflash identifier (ID); 2), page or leaf (Page) size; 3), piece (Block) size; 4) the piece number in plane (Plane); 5), characteristic parameter: the division of plane (Plane), whether support the page or leaf directly to copying whether need sequential write page or leaf (Page) in (copyback) and the piece (Block); 6) exchange (AC) time sequence parameter.
3, the method for multimedia application processor compatible with various NandFlash according to claim 1, it is characterized in that: detailed process is in the step 4:
A, each sheet of circular test are chosen the position of the Nandflash of being put;
B, read the identifier of monolithic Nandflash, obtain the physical characteristics of this sheet from data structure table;
C, from the structure that step B is obtained, the sheet selection condition that integrating step A obtained is passed to the MTD layer with these structures that extract and pointer relevant information.
CN 200710032396 2007-12-12 2007-12-12 Method for multimedia application processor to be compatible with various NandFlash Active CN101458656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710032396 CN101458656B (en) 2007-12-12 2007-12-12 Method for multimedia application processor to be compatible with various NandFlash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710032396 CN101458656B (en) 2007-12-12 2007-12-12 Method for multimedia application processor to be compatible with various NandFlash

Publications (2)

Publication Number Publication Date
CN101458656A true CN101458656A (en) 2009-06-17
CN101458656B CN101458656B (en) 2012-05-30

Family

ID=40769525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710032396 Active CN101458656B (en) 2007-12-12 2007-12-12 Method for multimedia application processor to be compatible with various NandFlash

Country Status (1)

Country Link
CN (1) CN101458656B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063275A (en) * 2010-12-31 2011-05-18 武汉烽火网络有限责任公司 Embedded system and adaptive method of memory expansion thereof
CN102110055B (en) * 2009-12-25 2013-04-10 比亚迪股份有限公司 Memory layout method and memory layout device of flash chip
CN103137203A (en) * 2011-11-21 2013-06-05 三星电子株式会社 Nonvolatile memory device, memory system and controller operating method
WO2013174326A3 (en) * 2012-12-27 2014-01-16 中兴通讯股份有限公司 Method and apparatus for implementing compatibility between different nand flash memories
CN103853496B (en) * 2012-11-28 2017-02-22 华为技术有限公司 Method and device for hooking various devices in same memory technology device partition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100517507C (en) * 2003-11-03 2009-07-22 中兴通讯股份有限公司 Method for driving embedded system flash chip

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110055B (en) * 2009-12-25 2013-04-10 比亚迪股份有限公司 Memory layout method and memory layout device of flash chip
CN102063275A (en) * 2010-12-31 2011-05-18 武汉烽火网络有限责任公司 Embedded system and adaptive method of memory expansion thereof
CN103137203A (en) * 2011-11-21 2013-06-05 三星电子株式会社 Nonvolatile memory device, memory system and controller operating method
CN103137203B (en) * 2011-11-21 2018-01-30 三星电子株式会社 Nonvolatile memory devices, storage system and controller operating method
CN103853496B (en) * 2012-11-28 2017-02-22 华为技术有限公司 Method and device for hooking various devices in same memory technology device partition
WO2013174326A3 (en) * 2012-12-27 2014-01-16 中兴通讯股份有限公司 Method and apparatus for implementing compatibility between different nand flash memories
CN103902461A (en) * 2012-12-27 2014-07-02 中兴通讯股份有限公司 Method and device for compatibility of different Nand flash memories

Also Published As

Publication number Publication date
CN101458656B (en) 2012-05-30

Similar Documents

Publication Publication Date Title
US9952769B2 (en) Data storage system with data storage devices operative to manage storage device functions specific to a particular data storage device
CN101458656B (en) Method for multimedia application processor to be compatible with various NandFlash
US20090175075A1 (en) Flash memory storage apparatus, flash memory controller, and switching method thereof
TW200945037A (en) Data writing method, and flash storage system and controller using the same
CN101872644A (en) Electronic storage device and storage method thereof
EP2438529A2 (en) Conditional operation in an internal processor of a memory device
CN105138470A (en) Multi-channel nand flash controller
TW201007735A (en) Block management method for flash memory and storage system and controller using the same
US20100146194A1 (en) Storage Device And Data Management Method
CN111796759B (en) Computer readable storage medium and method for fragment data reading on multiple planes
TW200949539A (en) Method, apparatus and controller for managing memories
TW201220047A (en) Method for performing automatic boundary alignment and related non-volatile memory device
US20080250189A1 (en) Circuit and Method for Improving Operation Life of Memory
CN1838118B (en) File management method
CN101661431B (en) Block management method for flash memory, flash storage system and controller
CN102520885B (en) Data management system for hybrid hard disk
CN103500075A (en) Externally-connected computer accelerating device based on new materials
CN102486751A (en) Method for realizing virtual big page through small page NANDFLASH on micro memory system
CN109273034A (en) Storage system and its operating method
TW201122810A (en) Block management and data writing method, flash memory storage system and controller
CN101339490A (en) Flash memory drive apparatus and method
CN101908049A (en) File system and switching method thereof
CN100444166C (en) Position-based interface access method and device for FAT file system
CN201812281U (en) Movable working system device
CN2886679Y (en) Portable wireless playing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 510663 301-303, 401-402, area C1, 182 science Avenue, Science City, Guangzhou high tech Industrial Development Zone, Guangdong Province

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 301-303 401-402, zone C1, No. 182, science Avenue, Science City, Guangzhou high tech Industrial Development Zone

Patentee before: ANYKA (GUANGZHOU) MICROELECTRONICS TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 510555 No. 107 Bowen Road, Huangpu District, Guangzhou, Guangdong

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 510663 301-303, 401-402, area C1, 182 science Avenue, Science City, Guangzhou high tech Industrial Development Zone, Guangdong Province

Patentee before: Guangzhou Ankai Microelectronics Co.,Ltd.