CN107562841A - A kind of Fatfs systems based on MPC5748 chip EMMC cards - Google Patents

A kind of Fatfs systems based on MPC5748 chip EMMC cards Download PDF

Info

Publication number
CN107562841A
CN107562841A CN201710742048.3A CN201710742048A CN107562841A CN 107562841 A CN107562841 A CN 107562841A CN 201710742048 A CN201710742048 A CN 201710742048A CN 107562841 A CN107562841 A CN 107562841A
Authority
CN
China
Prior art keywords
file
file system
fatfs
mpc5748
systems based
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
CN201710742048.3A
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.)
Beijing Idrive Automobile Co Ltd
Original Assignee
Beijing Idrive Automobile 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 Beijing Idrive Automobile Co Ltd filed Critical Beijing Idrive Automobile Co Ltd
Priority to CN201710742048.3A priority Critical patent/CN107562841A/en
Publication of CN107562841A publication Critical patent/CN107562841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of Fatfs systems based on MPC5748 chip EMMC cards, operating system;File system, it is connected with the operating system, for controlling storage to data, file and equipment, and provides the control to laminated tissue's form of file and catalogue, data buffering and storage authority to file;File system application program, it is connected with the file system;And hardware device, it is connected with the file system.Beneficial effects of the present invention:The present invention can realize the functions such as establishment to file and catalogue, opening, reading, write-in, closing in embedded system.

Description

A kind of Fatfs systems based on MPC5748 chip EMMC cards
Technical field
The present invention relates to storage device technical field, it particularly relates to a kind of based on MPC5748 chip EMMC cards Fatfs systems.
Background technology
With the continuous renewal of the development of embedded technology, especially ARM technologies, cortex family chips are proposed, are made The function of obtaining embedded device grows stronger day by day, gradually by the single-chip microcomputer epoch excessively to the microcontroller epoch, to the visit capacity of data It is obviously improved, this requires clear data manipulation level, transparency raising, maintainable, interface standardization, transplanting Property, reliability etc. of flexible operation and data storage be proposed higher and higher requirement, it is therefore necessary to introduce file system Unite to complete the function of data storage and management, the interface by name access data is provided the user, so as to avoid by program Developer directly accesses insecurity caused by internal memory.
The content of the invention
For the above-mentioned technical problem in correlation technique, the present invention proposes a kind of based on MPC5748 chip EMMC cards Fatfs systems, the above-mentioned deficiency of prior art can be overcome.
To realize above-mentioned technical purpose, the technical proposal of the invention is realized in this way:
A kind of Fatfs systems based on MPC5748 chip EMMC cards, it includes:
Operating system;
File system, it is connected with the operating system, for controlling the storage to data, file and equipment, and offer pair The control of laminated tissue's form of file and catalogue, data buffering and the storage authority to file;
File system application program, it is connected with the file system;With
Hardware device, it is connected with the file system.
Further, the file system includes:
File system core, it connects described file system, and application program provides the visible all api functions of user, for Family handling function;
Cache management, it connects the file system core;With
Device driver, it connects the cache management and the hardware device.
Further, the device driver provides Unified Device driving interface, for driving the hardware device.
Further, the file system offer is necessary is used for creating, deletes file, reads file and written document etc. accordingly System call.
Further, the operating system is windos operating systems, is grasped by transplanting Fatfs file system in windos Make to run in system, realize file and directory creating, opening, reading, write-in, closing function.
Beneficial effects of the present invention:The present invention can be realized in embedded system establishment to file and catalogue, opening, The functions such as reading, write-in, closing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of structure of Fatfs systems based on MPC5748 chip EMMC cards described according to embodiments of the present invention Block diagram;
In figure:
1st, file system;2nd, file system application program;3rd, operating system;4th, hardware device;5th, file system core;6th, at a high speed Cache management;7th, device driver.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained, belong to what the present invention protected Scope.
As shown in figure 1, a kind of Fatfs systems based on MPC5748 chip EMMC cards described according to embodiments of the present invention, It includes:
Operating system;
File system, it is connected with the operating system, for controlling the storage to data, file and equipment, and offer pair The control of laminated tissue's form of file and catalogue, data buffering and the storage authority to file;
File system application program, it is connected with the file system;With
Hardware device, it is connected with the file system.
In one embodiment, the file system includes:
File system core, it connects described file system, and application program provides the visible all api functions of user, for Family handling function;
Cache management, it connects the file system core;With
Device driver, it connects the cache management and the hardware device.
In one embodiment, the device driver provides Unified Device driving interface, described hard for driving Part equipment.
In one embodiment, the file system offer is necessary is used for creating, deleting file, reading file and write text The corresponding system such as part is called.
In one embodiment, the operating system is windos operating systems, is existed by transplanting Fatfs file system Run in windos operating systems, realize file and directory creating, opening, reading, write-in, closing function.
In order to facilitate understand the present invention above-mentioned technical proposal, below by way of in specifically used mode to the present invention it is above-mentioned Technical scheme is described in detail.
When specifically used, file system of the present invention is the important component of operating system, for controlling pair The storage of data, file and equipment, it provides to laminated tissue's form of file and catalogue, data buffering and file is deposited Store up the control of authority;File system offer is necessary to be used for creating, deletes file, reads the corresponding system tune such as file and written document With;The storage of file is completed by catalogue, so the operation to catalogue is a part for file system function, file system has Following functions:There is provided to laminated tissue's form of file and catalogue, foundation and delete the ability of file and the dynamic increasing of file Long and data protection.
File system core of the present invention, it is the core algorithm for realizing file system, there is provided user is visible All API(Application programming interfaces)Function, it is the set of file system function for user's handling function.
Cache management of the present invention, the size of high-speed buffer are directly connected to the processing effect of file system Rate, efficient buffering area Processing Algorithm can increase substantially the treatment effeciency of data, at the same it for file system provide with firmly The unrelated interface of part, basis is provided for the level of file system.
Device driver of the present invention is to provide Unified Device driving interface.
EMMC of the present invention is that MMC associations conclude, deposited mainly for the embedded of the products such as mobile phone or tablet personal computer Reservoir standard specification;Fatfs is a general file system module, for realizing FAT files in small embedded systems System.
In summary, the present invention can realize establishment to file and catalogue, opening in embedded system, read, write The function such as enter, close.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection with principle.

Claims (5)

1. a kind of Fatfs systems based on MPC5748 chip EMMC cards, it is characterised in that it includes:
Operating system(3);
File system(1), itself and the operating system(3)Connection, for controlling the storage to data, file and equipment, and Control to laminated tissue's form of file and catalogue, data buffering and storage authority to file is provided;
File system application program(2), itself and the file system(1)Connection;With
Hardware device(4), itself and the file system(1)Connection.
2. a kind of Fatfs systems based on MPC5748 chip EMMC cards according to claim 1, it is characterised in that described File system(1)Including:
File system core(5), it connects the file system(1), application program(2)The visible all API letters of user are provided Number, for user's handling function;
Cache management(6), it connects the file system core(5);With
Device driver(7), it connects the cache management(6)With the hardware device(4).
3. a kind of Fatfs systems based on MPC5748 chip EMMC cards according to claim 1, it is characterised in that described Device driver(7)Unified Device driving interface is provided, for driving the hardware device(4).
4. a kind of Fatfs systems based on MPC5748 chip EMMC cards according to claim 3, it is characterised in that described File system(1)There is provided and necessary be used for creating, delete file, read the corresponding system calling such as file and written document.
5. a kind of Fatfs systems based on MPC5748 chip EMMC cards according to claim 4, it is characterised in that described Operating system(3)It is windos operating systems, is run by transplanting Fatfs file system in windos operating systems, is realized File and directory creating, opening, reading, write-in, closing function.
CN201710742048.3A 2017-08-25 2017-08-25 A kind of Fatfs systems based on MPC5748 chip EMMC cards Pending CN107562841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710742048.3A CN107562841A (en) 2017-08-25 2017-08-25 A kind of Fatfs systems based on MPC5748 chip EMMC cards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710742048.3A CN107562841A (en) 2017-08-25 2017-08-25 A kind of Fatfs systems based on MPC5748 chip EMMC cards

Publications (1)

Publication Number Publication Date
CN107562841A true CN107562841A (en) 2018-01-09

Family

ID=60977072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710742048.3A Pending CN107562841A (en) 2017-08-25 2017-08-25 A kind of Fatfs systems based on MPC5748 chip EMMC cards

Country Status (1)

Country Link
CN (1) CN107562841A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958813A (en) * 2018-06-13 2018-12-07 北京无线电测量研究所 file system construction method, device and storage medium
CN114584550A (en) * 2021-03-30 2022-06-03 长城汽车股份有限公司 Vehicle data uploading and storing method and device, storage medium and vehicle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382877A (en) * 2008-10-15 2009-03-11 青岛海信移动通信技术股份有限公司 FAT file data reading/writing method, system and mobile communication terminal
CN101441634A (en) * 2007-11-19 2009-05-27 凤凰微电子(中国)有限公司 Embedded type file system suitable for smart card application environment
US20110219149A1 (en) * 2010-03-03 2011-09-08 I/O Doctors Llc Systems and methods for managing i/o throughput for large scale computing systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441634A (en) * 2007-11-19 2009-05-27 凤凰微电子(中国)有限公司 Embedded type file system suitable for smart card application environment
CN101382877A (en) * 2008-10-15 2009-03-11 青岛海信移动通信技术股份有限公司 FAT file data reading/writing method, system and mobile communication terminal
US20110219149A1 (en) * 2010-03-03 2011-09-08 I/O Doctors Llc Systems and methods for managing i/o throughput for large scale computing systems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958813A (en) * 2018-06-13 2018-12-07 北京无线电测量研究所 file system construction method, device and storage medium
CN114584550A (en) * 2021-03-30 2022-06-03 长城汽车股份有限公司 Vehicle data uploading and storing method and device, storage medium and vehicle

Similar Documents

Publication Publication Date Title
US20080091878A1 (en) Virtual memory card controller
KR20170130386A (en) Fault-safe write back caching mode device drivers for non-volatile storage devices
WO2008055269A3 (en) Asymmetric memory migration in hybrid main memory
US8122181B2 (en) Systems and methods for enhancing a data store for handling semantic information
TW201102815A (en) Data writing method for flash memory and control circuit and storage system using the same
TW201103025A (en) Logical block management method for a flash memory and control circuit and storage system using the same
WO2013048487A1 (en) Method, system and apparatus for region access control
MXPA04002494A (en) Application level access privilege to a storage area on a computer device.
CN107666509A (en) Buffer control method and server
CN107562841A (en) A kind of Fatfs systems based on MPC5748 chip EMMC cards
TW201120896A (en) Flash memory management method and flash memory controller and storage system using the same
CN108536617A (en) Buffer memory management method, medium, system and electronic equipment
CN108509240A (en) Picture method for drafting and Related product
CN105607862A (en) Solid state disk capable of combining DRAM (Dynamic Random Access Memory) with MRAM (Magnetic Random Access Memory) and being provided with backup power
CN100507873C (en) FLASH document management method and system in FLASH memory
CN107924290A (en) Control the electronic equipment and its operating method of file system
KR101538619B1 (en) Integration of secure data transfer applications for generic io devices
CN206003101U (en) Safety mobile terminal based on double hard disk dual system patterns
CN103116640A (en) Method and device for formatting FAT (file allocation table) file system
CN211698950U (en) Anti-virus card reader
CN106598475A (en) Method and device for switching partitions
TW201227294A (en) Dada writing method, memory controller and memory storage apparatus
CN107422994A (en) A kind of method for improving reading and writing data performance
TW200949536A (en) Flash memory storage management system and related method
CN105608014B (en) A kind of storage device using MRAM

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180109

WD01 Invention patent application deemed withdrawn after publication