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
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.
Display optimization and transplantation of μC/OS_Ⅱ and μC/GUI for STM32
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.
关键词
Keywords
references
马舜峰,金龙旭,安少婷,等. 一种基于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)