<video id="en21j"><xmp id="en21j">

  • <big id="en21j"></big>

    <source id="en21j"></source>

      <sup id="en21j"><dd id="en21j"><rp id="en21j"></rp></dd></sup>
      1. 西安济通电气有限公司

        研发生产型企业

        行业新闻

        主页 > 行业新闻

        行业新闻

        II与μC/GUI整合移植与显示优化

        发布时间:2018-07-07 00:04

        摘要

        为了创建一个高效、直观、支持多任务的嵌入式图像开发平台,建立了基于μC/OS_II、μC/GUI、STM32、ILI9320液晶屏的嵌入式实验环境,对μC/OS_II和μC/GUI的整合移植方法进行研究,并针对μC/GUI的中文支持欠缺和屏幕刷新率低等不足进行优化。研究了μC/OS_II、μC/GUI的组织架构,针对μC/OS_II与CPU任务切换密切相关的文件进行改写,同时在μC/OS_II成功移植的基础上对μC/GUI进行进一步的移植操作,包括修改与μC/OS_II相关的文件,改写μC/GUI底层与LCD驱动密切联系的函数。在μC/GUI成功移植的基础上对其字库文件进行改写,加入中文字库[对μC/GUI的画点、画线、矩形填充函数进行修改,提高液晶屏的屏幕刷新效率。实验结果表明,所创建的4个任务切换正常,中文正常显示,同时像素填充率由之前的996 080/s上升到优化后的1 629 060/s。μC/OS_II与μC/GUI能正常地协同工作,优化带来了μC/GUI性能的提升。

        关键词

        Abstract

        In order to create an efficient, intuitionistic and multi-mission embedded development platform, the embedded experimental environment was designed based on the μC/OS_II, μC/GUI,STM32 MCU and ILI9320 LCD. Research was done to explore the migration method of the μC/OS_II and μC/GUI and to optimize the μC/GUI on the lack of the Chinese and low rate of the screen refresh.The organizational structure of the μC/OS_II and μC/GUI were studied, and the files that were closely associated with stm32 mcu were rewritten. At the same time, the operation of the μC/GUI transplantation was done based on the success of the transplantation of the μC/OS_II including the modification of the files related to the μC/OS_II and the adaptation of the μC/GUI bottom-driven functions. And Chinese font library was added to the system based on the successful transplantation of the μC/GUI.The μC/GUI functions of drawing pixel,line and rectangle were rewritten to increase the screen refresh rate. The experimental results show that the four created tasks run regular services, and the Chinese character displayed normally. The screen refresh rate increased from 996 080 to 1 629 060 pixel/s. The μC/OS_II and μC/GUI worked cooperatively and the optimization of the μC/GUI functions improved the screen's performance.

        补充资料

        中图分类号:TP316.2

        DOI:10.3788/yjyxs20142906.0950

        所属栏目:器件驱动与控制

        基金项目:河南省重点科技攻关项目(No.122102210117,No.112102210004)

        收稿日期:2014-04-22

        修改稿日期:2014-06-10

        网络出版日期:--

        作者单位    点击查看

        杨立身:河南理工大学 计算机科学与技术学院,河南 焦作 454000
        张安伟:河南理工大学 计算机科学与技术学院,河南 焦作 454000
        王磊:河南理工大学 计算机科学与技术学院,河南 焦作 454000
        刘康:河南理工大学 计算机科学与技术学院,河南 焦作 454000

        联系人作者:杨立身(hpuyangls@qq.com)

        备注:杨立身(1959-),男,河南焦作人,教授,硕士生导师,主要从事物联网工程、计算机网络等方面的研究。

        【1】马舜峰,金龙旭,安少婷,等.一种基于ARM9的彩色TFT-LCD?樯杓萍笆迪諿J].液晶与显示,2010,25(5):718-723.
        Ma S F, Jin L X, An S T,et al.Design and implementation of chromatic TFT-LCD module based on ARM9[J].Chinese Journal of Liquid Crystals and Displays,2010, 25(5):718-723. (in Chinese)

        【2】尹作为,郭兵,沈艳.μC/OS_II内核任务?榈鞫鹊睦┱筟J].计算机应用,2011,31(10):2606-2608.
        Yin Z W,Guo B, Shen Y. Expansion of task scheduling module in μC/OS_II kernel[J].Journal of Computer Application,2011, 31(10):2606-2608. (in Chinese)

        【3】曾伟,廖立清.实时操作系统μC/OS_II在DSP上移植的实现[J].计算机工程,2007,33(17):270-272.
        Zeng W, Liao L Q. Implementation of porting RTOS μC/OS_II to DSP[J].Computer Engineering,2007, 33(17):270-272. (in Chinese)

        【4】葛欣,孟凡荣.使用μC/GUI开发图形用户界面[J].计算机工程与设计,2005,26(1):1-3.
        Ge X, Meng F R. Using μC/GUI to develop graphical user interface[J].Computer Engineering and Design,2005, 26(1):1-3. (in Chinese)

        【5】田志宏,徐军.嵌入式μC/GUI的移植与平台开发[J].自动化与仪表,2007(3):76-79.
        Tian Z H, Xu J. Transplant of embedded μC/GUI and development of platform[J].Automation & Instrumentation,2007(3):76-79. (in Chinese)

        【6】刘滨,刘兵,赵艳华.基于μC/GUI的嵌入式图形界面设计[J].液晶与显示,2005,20(6):558-662.
        Liu B, Liu B, Zhao Y H. Embedded graphical interface design based on μC/GUI[J].Chinese Journal of Liquid Crystals and Displays,2005, 20(6):558-662. (in Chinese)

        【7】孙林军,贺锋涛.基于STM32控制液晶的接口实现[J].电视技术,2013,37(1):77-79.
        Sun L J, He F T. Implementation of interface based on stm32 control LCD[J].Video Engineering,2013, 37(1):77-79. (in Chinese)

        【8】罗卫兵,胡健生.基于STM32+ucGUI的北斗导航定位系统设计[J].液晶与显示,2014,29(2):195-201.
        Luo W B, Hu J S.Design of Beidou navigation system based on STM32&ucGUI[J].Chinese Journal of Liquid Crystals and Displays,2014,29(2):195-201. (in Chinese)

        【9】童超,金庆辉,赵建龙.一种用于POCT的嵌入式实时图像采集处理系统[J].光学精密工程,2008,16(4):720-725.
        Tong C, Jin Q H, Zhao J L. Novel real time image collection system for point-of-care test[J].Optice and Precision Engineering,2008,16(4):720-725. (in Chinese)

        物联网产品 用智慧系统改变人们的生产生活状况

        智能仪器仪表定制开发 物联网平台设计 物联网无磁水表 智慧水务 各种流量计定制开发 西安嵌入式开发生产 物联网水表?

        快3投注