uC/OS Operation System’s Application in ARM System

Author
WangZhenYu
Advisor
ZhouChunGuang
School
Jilin University
Major
Software Engineering
Classification
TP316 Operating system
Degree
Master's thesis
Year
2004
Downloads
1,342
Citations
13

Request the full text

Abstract

With the development of computer technology, the embedded system has become an important part of the computer field, and in recent years, emerging research focus. ARM7TDMI is an efficient, low-power RISC processor. The kernel as the core S3C44B0 is an integrated peripherals chip, very suitable for embedded products. This paper focuses on the embedded system software porting issues. The so-called transplant is a software running on a microprocessor or operating system. Transplantation work with the hardware and operating system, although some software is written in standard C language, but also with the hardware and operating system-related part based on the actual situation to write. This article describes the overall structure of the embedded system, including the overall block diagram of the hardware circuit, as well as the selection of the ported software. The internal structure of the the ARM processor S3C44B0 ARM processor architecture, as well as used in this article. uC / OS-II is a a transplant convenient, curable, can be cut, preemptive multi-tasking real-time kernel, which applies to a variety of microprocessors, microcontrollers and digital processing chip. uC / OS-II can manage 63 application tasks. This paper studies the uC / OS-II source code, ARM-based transplantation. Compilation constant settings, data type definition, macro definitions, as well as the preparation of the operating system scheduling function, most of which is the use of assembly language. uC / GUI is embedded applications common graphics software is to provide efficient graphics application system with LCD graphical user interface design, which is not dependent on the processor and the LCD controller. uC / GUI work in a multitasking environment and work in a single-tasking environment performance is also excellent, the display apparatus of any size, whether physical or virtual, with the LCD controller and the processor, can use uC / GUI. This paper studies the uC / GUI source code, ARM-based transplantation, including LCD controller initialization, and the realization of all the functions on the LCD control, set the compile-time constants used in the uC / GUI of the crop, so that it can adapt to the 16 gray level LCD display. Also prepared a mouse lt; WP = 77 gt; underlying driver. Finally, compared with the type of a data structure of an array, the display speed. UC / GUI transplantation completed the test, modify the Demo program, the results show uC / GUI transplantation has been successful. LwIP Adam Dunkels of the Swiss Institute of Computer Science (Swedish Institute of Computer Science) developed a set of open source code for embedded systems TCP / IP protocol stack. The meaning of LwIP Light Weight (light) IP protocol. LwIP can be ported to operating systems, can also be run independently in the case of non-operating system. Focus lwip TCP / IP implementation is to reduce RAM usage on the basis of maintaining the main function of the TCP protocol, generally only tens of K of RAM and 40K of ROM. In this paper, the source code, LwIP solve the ARM-based migration issues, including the the compilation constants settings, data type definition, function to modify the operating system, as well as a network adapter device initialization and driver. After transplantation work is completed also prepared a simple web application used to test LwIP. Software porting work in general can be divided into several steps: The first is the familiar hardware features of the system to be portable; Second, we must understand the structure of the software to be portable, to distinguish between those parts of the hardware-related, those with the hardware has nothing to do with the part to identify the part of the transplant to be achieved; third to understand the workflow of the ported software; fourth to understand the transplantation work to be used in a variety of protocols, such as TCP / IP protocol stack LwIP transplant, need to have some knowledge of the TCP / IP protocol protocol suite. In the development process, to master the ARM-32-bit embedded microprocessor development. And appropriate clipping the above-mentioned three software application requirements make it suitable for the present system. Mastered the core technology of the embedded software development.

Table of contents

Summary 76-7 Chapter Introduction 7-10 1.1 Background 7-8 1.2 The main work 8-10 Chapter ARM system structure 10-12 2.1 ARM overall system block diagram 10-11 2.2 ARM system migration software selection 11-12 third chapter introduces the ARM 12-16 3.1 ARM 's Profile 12-13 3.2 ARM internal structure 13-16 3.2.1 RISC architecture 13-14 3.2.2 ARM microprocessor register structure 14 3.2.3 ARM microprocessor the command structure 14 3.2.4 S3C44B0 internal structure 14-16 Chapter RTOS uC / OS-II porting 16 -35 4.1 uC / OS-II 's Profile 16 4.2 uC / OS-II kernel structure and system calls 16-25 4.2.1 tasks and task management 18-20 4.2.2 task switching and scheduling 20-22 4.2.3 inter-task communication and synchronization 22-23 <br / > 4.2.4 beat the clock and clock management 23 4.2.5 interrupts and Interrupt handling 23-25 ?? 4.3 uC / OS-II porting 25 - 35 4.3.1 hardware system Overview 25-26 4.3.2 uC / OS-II hardware and software architecture 26-27 4.3.3 ARM state register 27-29 4.3.4 uC / OS-II in the transplant process 29-35 Chapter uC / GUI graphics software porting 35-50 5.1 uC / GUI profile 35 5.2 uC / GUI structure 35-37 5.3 S3C44B0 LCD controller introduced 37-42 5.4 uC / GUI porting 42-50 5.4.1 constants defined 43-44 5.4.2 write driver function 44-45 5.4.3 PS2 mouse driver 45-48 5.4.4 Demo program test 48-50 Chapter LwIP protocol stack transplant 50-74 6.1 MAC interface chip function and application 50-54 6.1.1 RTL80X9AS basic structure of internal 50-51 6.1.2 RTL8019AS performance and internal registers 51-53 6.1.3 RTL8019AS Ethernet interface 53-54 6.2 TCP / IP protocol 54 -63 6.2.1 TCP / IP layered model works 55-56 6.2.2 data link layer protocol 56-57 6.2. 3 IP layer protocol 57-60 6.2.4 Transport Layer 60-63 6.2.5 application layer protocol 63 6.3 LwIP agreement stack Introduction 63-64 6.4 LwIP protocol stack transplant 64-74 6.4.1 with the CPU or compiler related INCLUDE file 64-65 < br /> 6.4.2 operating system functions related to the modification 65-68 6.4.3 network Device Driver 68-72 6.4.4 establishment and application examples test 72-74 Chapter VII Conclusion 74-75 References 75-76 Summary 76-78 Abstract 78-80 Thanks 80

Related dissertations

  1. Desigen of Weighing Controller Based on LAN
  2. And implementation of artillery information processing design based on LPC2478
  3. Embedded Web Monitoring System Based on ARM and μC/OS-Ⅱ
    LvYiHui ·Nanchang University ·2012 ·Master's thesis
  4. Embedded Control Module Designed for Vacuum Coating Device Based on ARM
    ZhaoChaoFeng ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  5. The Call System Design of Ward Based on LM3S1138MCU
  6. IPv6 protocol stack embedded systems research
    YangChengQun ·Hunan Normal University ·2008 ·Master's thesis
  7. The Research of Household Remote Monitoring Based on Embedded Web Server
  8. Remote Monitor System for Oil Wells Working Condition Based on GPRS
  9. Engine Room Monitoring System Based on the Embedded Web Server
  10. Research and Design of Intelligent Video Surveillance System Based on ARM
  11. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  12. The Design of Embedded Network Video Surveillance System Based on ARM9
  13. Data Acquisition System of Cavern Based on Embedded Web Server
  14. Research and Design of Remote Monitoring System Based on ARM
    LinFeiLong ·Hunan University ·2014 ·Master's thesis
  15. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  16. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  17. The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
  18. Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
  19. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  20. Design of Human Physiological Parameters Acquisition System Based on Embedded Linux