Development and Application of TPOS Embeded Platform

Author
WangXiaoZhou
Advisor
LeiYou
School
Beijing University of Posts and Telecommunications
Major
Software Engineering
Classification
TP368.12 Microprocessor
Degree
Master's thesis
Year
2010
Downloads
15
Citations
0

Request the full text

Abstract

Chips have widely become a part of people’s life including rest, study and work. At the same time the development of embedded system progress rapidly. All kinds of embedded systems come forth. There are more and more complex functions and more requirements of hardware. The competition is becoming more serious between different competitors. So to design a new platform with low hardware requirement and development cost will bring better competitive position. The requirement in different environments is particular, such as data collection system of electricity grid. It needn’t most OS operation efficiency, but need highest data protect and system stabilization. So the cost will be seriously reduced if we can give a platform which is lowest hardware requirement and sufficient to meet the requirements.This article will discuss how to design a software embedded platform that needs lowest hardware and software development cost. At the same time this platform must has maturity functions and the mostly reliable data protection. To let this embedded platform can be used in several target environments which are not too much complex. To develop real products based on this platform at the end.This article will discuss the basic platform at first. To choice platform characters needed and build up the basic software structure from the functions of different OS characters, such as time efficiency and space efficiency. Memory management is a key point for TPOS platform. The efficiency and stability of memory management will seriously affect the usability, maintainability and secondary development difficulty of the whole platform.If a platform can support more Peripherals, it will be easier used on more environments. So to choose several peripherals widely used to support, and develop appropriate driver for them including COM, USB, I2C and GPRS based on the COM, and PPP/UDP protocol stack for GPRS. File system is an important part of OS. The security of the file system directly determines the safety of data. The target application environment needs an absolute safe file system, so give a special file system based on NOR flash which gives some appropriative arithmetic focus on flash hardware protection, the data safety and IO efficiency.At last this article will talk about the real products based on TPOS. New characters and related arithmetic will be introduced.

Table of contents

Abstract 4-5 Abstract 5-8 Chapter Introduction 8-11 1.1 Background topics 8-9 1.2 research 9-10 1.3 my main work and thesis structure 10-11 System Overview 11-16 2.1 TPOS platform requirements analysis 11-12 2.2 TPOS platform basic composition 12-15 2.2.1 TPOS platform basic hardware architecture 12-13 2.2.2 TPOS software platform architecture 13-15 Summary 15-16 the TPOS software platform overall design 16-25 3.1 software platform overall design 16-17 3.2 software platform development environment 17-19 the allocation of the 3.3 compiler and storage space 19-22 3.3.1 system software storage space allocation 20-21 3.3.2 application storage space allocation 21-22 3.4 virtual link library 22-24 Summary 24-25 the TPOS driver 25-37 4.1 USB device-side driver 25-27 4.2 I ~~ 2C host driver program 27-29 4.3 GPRS driver 29-36 4.3.1 AT command to establish a connection 30 4.3.2 PPP / IP ICMP / UDP protocols principle 30-33 4.3.3 PPP / IP ICMP / UDP protocol stack software implementation 33-35 4.3.4 PPP / IP ICMP / UDP protocol stack works 35-36 Summary 36-37 Chapter the TPOS memory management enhancements 37-51 5.1 dynamic memory block allocation algorithm quickly 38-45 5.1.1 dynamic memory block allocation algorithm quickly goal 38-39 5.1.2 fast dynamic memory block allocation algorithm principle 39-41 5.1.3 dynamic memory block the quick allocation algorithm memory structure 41-42 5.1.4 fast dynamic memory block allocation algorithm described 42-45 5.1.5 illegal pointers and memory leaks tracking and detection 45 5.2 dynamic expansion array algorithm 45-50 5.2.1 dynamic expansion array algorithms achieve 45 5.2.2 dynamically expanding array algorithm implementation principle 45-47 5.2.3 dynamically expanding array algorithm memory structure 47 5.2.4 dynamically expanding array algorithm described 47-50 Summary 50-51 Chapter VI the TPOS the FLASH file system 51-60 6.1 TPOS file system special requirements and design goals 51-53 6.1.1 Flash uniform wear 52 6.1.2 Flash File System buffer 52 6.1.3 Flash file system data security 52-53 algorithm 6.2 FLASH file system security mechanisms 53-55 6.2.1 Flash file system, the basic structure 53-54 6.2.2 Flash file system file data block 54 6.2.3 Flash file system directory data block 54-55 6.3 FLASH double protection of the internal structure of the file system 55-56 6.3.1 decentralized linked list structure 55-56 6.3.2 Independent FAT table structure 56 6.4 provides a standard C language interface 56-57 6.5 FLASH file system error recovery mechanisms 57-58 6.6 FLASH system variable area 58-59 6.6.1 Design requirements 58 6.6.2 core algorithm to achieve 58-59 Summary 59-60 Chapter VII of the TPOS communication system 60-67 7.1 GPRS application layer protocol 60 7.2 the GPRS application layer control protocol 60-63 7.2.1 error control protocol encoding format 61-62 7.2.2 error control 62-63 7.3 GPRS application-layer protocol data domain codec 63-66 7.3.1 unified codec format TLV 63 7.3.2 TLV decoding algorithm 63-64 7.3.3 TLV encoding algorithm 64-66 Summary 66-67 the eighth chapter TPOS platform applications 67-75 the of 8.1 grid monitoring terminal software system basic components 67-68 8.2 TPOS the kernel enhancements of necessity 68-71 8.2.1 time-based task scheduling strategy 69 8.2.2 scheduling algorithm described 69-71 8.2.3 driver GPRS protocol stack 71 8.3 file system secondary packaging 71-74 8.3.1 data indexing and storage structure 71-72 8.3.2 Data Quick Search 72 8.3.3 Data Management Interface Functions 72-74 8.4 using GPRS device remotely upgrade 74 Summary 74-75 Chapter Conclusion 75-77 9.1 thesis work summarizes 75-76 9.2 Problems and Prospects 76-77 the References 77-78 Acknowledgements 78

Related dissertations

  1. Distributed Data Management and Access Optimization Strategy of Rendering Application
  2. Distributed Memory File Caching System for High Performance Computing
  3. Virtual Machine Memory Management Based on Cloud Computing Environment
    XuLei ·Harbin Engineering University ·2013 ·Master's thesis
  4. Optimization Design and Implementation of the ICS Terminal
  5. Design and Implimentation of Micro-Embedded Virtual Machine in a Trusted Environment
  6. The Design and Implementation of CCD Image Acquisition Software System
  7. Research on the Index of Moving Objects
  8. Research of memory management strategy for high performance IPC
  9. Design and Implementation of the Memory Data Management Subsystem for Street Lighting System
    DuWei ·Shandong University ·2013 ·Master's thesis
  10. The Design and Implementation of the Input Method Skin Engine for the Android Platform
    WanLiPeng ·Harbin Institute of Technology ·2013 ·Master's thesis
  11. Research on Technology of Managing Shared Memory in Multicore Operating Systems
    LiuZuo ·Northeastern University ·2010 ·Master's thesis
  12. The Design of Parallel Programming Simplification Based on CUDA
    Tang ·Dalian University of Technology ·2013 ·Master's thesis
  13. The Memory Management Based on the Embedded Systems
  14. Research and implementation of memory optimization in multi machine virtualization environment
    DengWenYang ·Capital Normal University ·2013 ·Master's thesis
  15. Research of Storage Management in Main Memory Database
  16. The Firmware Driver Development of Intel Xeon-E5Multiprocessor in UEFI
  17. A Study of Memory Management and Performance Test of Virtual Machine
    ZhouBo ·Shanghai Jiaotong University ·2013 ·Master's thesis
  18. Research on 32 Bit High Performance Embedded CPU and Platform
    GeHaiTong ·Zhejiang University ·2009 ·Doctoral dissertation
  19. Compiler Optimizations for Software-Managed On-Chip Memory
  20. Research and Implementation of Page Allocator