
浏览全部资源
扫码关注微信
河南理工大学 计算机科学与技术学院, 河南 焦作 454000
[ "杨立身(1959-),男,河南焦作人,教授,硕士生导师,主要从事物联网工程、计算机网络等方面的研究。E-mail:hpuyangls@qq.com" ]
[ "张安伟(1987-),男,河南开封人,硕士研究生,主要从事物联网嵌入式方面的研究。E-mail:zawlxj@126.com" ]
[ "王磊(1977-),男,辽宁朝阳人,博士,副教授,主要从事嵌入式系统、无线传感网络等方面的研究。" ]
[ "刘康(1988-),男,河南新乡人,硕士研究生,主要从事计算机网络管理方面的研究。" ]
收稿日期:2014-04-22,
修回日期:2014-06-10,
网络出版日期:2014-06-06,
纸质出版日期:2014-12-05
移动端阅览
杨立身, 张安伟, 王磊, 刘康. 基于STM32的μC/OS_Ⅱ与μC/GUI整合移植与显示优化[J]. 液晶与显示, 2014,29(6): 950-956
YANG Li-shen, ZHANG An-wei, WANG Lei, LIU Kang. Display optimization and transplantation of μC/OS_Ⅱ and μC/GUI for STM32[J]. , 2014,29(6): 950-956
杨立身, 张安伟, 王磊, 刘康. 基于STM32的μC/OS_Ⅱ与μC/GUI整合移植与显示优化[J]. 液晶与显示, 2014,29(6): 950-956 DOI: 10.3788/YJYXS20142906.0950.
YANG Li-shen, ZHANG An-wei, WANG Lei, LIU Kang. Display optimization and transplantation of μC/OS_Ⅱ and μC/GUI for STM32[J]. , 2014,29(6): 950-956 DOI: 10.3788/YJYXS20142906.0950.
为了创建一个高效、直观、支持多任务的嵌入式图像开发平台,建立了基于C/OS_Ⅱ、C/GUI、STM32、ILI9320液晶屏的嵌入式实验环境,对C/OS_Ⅱ和C/GUI的整合移植方法进行研究,并针对C/GUI的中文支持欠缺和屏幕刷新率低等不足进行优化。研究了C/OS_Ⅱ、C/GUI的组织架构,针对C/OS_Ⅱ与CPU任务切换密切相关的文件进行改写,同时在C/OS_Ⅱ成功移植的基础上对C/GUI进行进一步的移植操作,包括修改与C/OS_Ⅱ相关的文件,改写C/GUI底层与LCD驱动密切联系的函数。在C/GUI成功移植的基础上对其字库文件进行改写,加入中文字库;对C/GUI的画点、画线、矩形填充函数进行修改,提高液晶屏的屏幕刷新效率。实验结果表明,所创建的4个任务切换正常,中文正常显示,同时像素填充率由之前的996 080/s上升到优化后的1 629 060/s。C/OS_Ⅱ与C/GUI能正常地协同工作,优化带来了C/GUI性能的提升。
In order to create an efficient
intuitionistic and multi-mission embedded development platform
the embedded experimental environment was designed based on the C/OS_Ⅱ
C/GUI
STM32 MCU and ILI9320 LCD. Research was done to explore the migration method of the C/OS_Ⅱ 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_Ⅱ 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_Ⅱ including the modification of the files related to the C/OS_Ⅱ 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_Ⅱ and C/GUI worked cooperatively and the optimization of the C/GUI functions improved the screen's performance.
马舜峰,金龙旭,安少婷,等. 一种基于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_Ⅱ内核任务模块调度的扩展[J]. 计算机应用, 2011,31(10):2606-2608. Yin Z W,Guo B, Shen Y. Expansion of task scheduling module in μC/OS_Ⅱ kernel[J].Journal of Computer Application,2011, 31(10):2606-2608.(in Chinese)[3] 曾伟,廖立清. 实时操作系统μC/OS_Ⅱ在DSP上移植的实现[J]. 计算机工程, 2007,33(17):270-272. Zeng W, Liao L Q. Implementation of porting RTOS μC/OS_Ⅱ 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)[10] 陈健,高慧斌,郭劲,等. 数字化单杆控制系统设计[J]. 光学精密工程, 2013,21(11):2844-2851. Chen J, Gao H B, Guo J, et al.Design of digital handle control system[J].Optice and Precision Engineering,2013,21(11):2844-2851.(in Chinese)[11] 褚金奎,陈文静,王洪青,等. 基于偏振光传感器的移动机器人导航试验[J]. 光学精密工程, 2011,19(10):2419-2426. Chu J K, Chen W J, Wang H Q,et al.Mobile robot navigation tests with polarization sensors[J].Optice and Precision Engineering,2011,19(10):2419-2426.(in Chinese)[12] 孙之旭,张传胜. 基于SOPC的TFT液晶显示驱动控制器[J]. 液晶与显示, 2012,27(2):212-216. Sun Z X, Zhang C S. Controller for TFT LCD driver based on SOPC[J].Chinese Journal of Liquid Crystals and Displays,2012,27(2):212-216.(in Chinese)[13] 王海霞,武一. 基于SOPC的LCD显示模块的设计[J]. 液晶与显示, 2012,27(4):508-514. Wang H X, Wu Y. Design and implementation of LCD module based on SOPC[J].Chinese Journal of Liquid Crystals and Displays,2012, 27(4):508-514.(in Chinese)[14] 吴燕燕,贺锋涛,孙林军. 基于LPC214X平台的μC/GUI移植研究[J]. 液晶与显示, 2012,27(3):338-341. Wu Y Y, He F T, Sun L J. Transferability of μC/GUI on LPC214X platform[J].Chinese Journal of Liquid Crystals and Displays,2012, 27(3):338-341.(in Chinese)
0
浏览量
40
下载量
1
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621