实时多任务操作系统在微型打印机上的应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
嵌入式系统不断向智能化、网络化的方向发展。嵌入式系统的软
    件变的越来越复杂,用汇编语言在硬件上直接进行软件开发已不适合
    应用发展的要求。应用实时多任务操作系统(RTOS)作为嵌入式设
    计的基础和开发平台将成为嵌入式应用设计的主流。
     本文分析了RTOS的性能指标和引入RTOS对软件设计带来的影
    响,对RTOS的应用者有一定的指导作用。作者选用80C51XA CPU为
    硬件,在CMX—RTOS的基础上设计热敏打印机软件。通过对打印
    机软件结构的分析,合理地对打印机软件进行任务划分,设计出一个
    热敏打印机的雏形。通过对打印机性能的测试,说明了用RTOS设计
    微型打印机的可行性。
     作者根据用RTOS进行软件设计的经验,总结了应用RTOS的方
    法和应该注意的问题。为推广RTOS在嵌入式系统以及工业控制领域
    的应用积累了有益的经验。
The intelligentized embedded system and the interlinkage of embedded system
     result in the increasing complexity of software that resides in embedded system. The
     approach to develop software of embedded system with assembly language does not
     meet the request of application. Introducing Real Time Operating System (RTOS) as a
     development kit would become the key approach to implement software of embedded
     system.
    
     In this paper, the author firstly analyses the performance of RTOS and the
     advantage introduced by RTOS to software implementation, which would guide the
     designer to apply RTOS correctly. And then, with 80C5 1XA CPU, thermal printer
     software is developed on basis of CMX-RTOS. The author investigates the structure
     of thermal printer software, and rationally divides the whole software into task
     modules that are programmed individually. As a result, a sample of thermal printer
     product is worked out, the test result of which indicates that it is feasible to implement
     its software with RTOS.
    
     Finally, the author sums up the skill of using RTOS and puts forward the points
     for attention on basis of experience with RTOS, which will benefit the generalization
     of RTOS to application of embedded system or industry control area.
引文
1、邬宽明:80C51XA 十六位微控制器系统设计、器件和应用开发,北京航空航天大学出版社。
    2、蔡德聪等:工业控制计算机实时操作系统,清华大学出版社
    3、肖海桥:实时多任务操作系统及其嵌入式微处理器性能比较,电子产品世界,4(1998).32-33.
    4、陈其昌、黄进:提高热印字机印字速度的方法,电子计算机与外部设备,Vol.21,No.3,47-49,(1997).
    5、刘贵喜、陈其昌:加固型热转印/热敏印字机设计,电子计算机与外部设备,Vol.21,No.3,47-49,(1997).
    6、罗蕾、熊光泽:实时多任务应用最坏情况的研究,电子科技大学学报,Vol.26.Nol,1997.2
    7、王军、苏公雨:实时操作系统内核的实现,电子产品世界,11(1998),62-64.
    8、孟庆余:电子数字计算机实时操作系统,国防工业出版社。
    9、Seiko Instrument Inc:LTP5246 PRINTER TECHNICAL REFERENCE
    10、PHILIPS:16-bit 80C51XA Microcontrollers
    11、CMX COMPANY:CMX-RTOS USER MANUAL.
    12、HITECH COMPANY:C LANGUAGE USER HANUAL.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700