| With the development of computer technology, the embedded system is used to more and more fields, including intelligent process control, navigation and space flight, traffic, flight technology, communication, multimedia, official automation, real-time simulation, and so on. As an important component of the embedded operation system, embedded file system is vital to the management of the complicated data resources. Particularly, the flash file system has become an important part of the embedded system. Developing embedded applying software need depend on strong developing tools and operating system .VxWorks is very popular one. And the developing tools Tornado is very strong. So we can use the tools to develop the application in the VxWorks easily.This thesis is based on the project of telephone switching system,the OS is VxWorks,and the cpu is MPC860. VxWorks is an embedded real-time operating system (RTOS) designed by American company WindRiver .It has a high-performance kernel and a friendly integrated development environment with scalable ability and high reliability .It is applicable to all popular CPU platforms.This thesis describes the VxWorks system, the knowledge of BSP, the different system image types based on the BSP. According to the instance of our project to do in-depth study of the file system based on VxWorks. Then,it introduces the theory and characteristics of dosFs and TrueFFS system. At last introduce the method of realizing the TrueFFS's core layer,flash translation layer,MTD layer and socket layer.Finally,in order to verify the reliability of the file system,The FTP server is integrated in VxWorks image.And, VxWorks image is uploaded to the file system(TFFS device)of telephone switching system.Then,we can reboot VxWorks OS from TFFS device to verify the feasibility and reliability of the file system. |