液晶与显示
液晶與顯示
액정여현시
CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS
2014年
6期
950-956
,共7页
杨立身%张安伟%王磊%刘康
楊立身%張安偉%王磊%劉康
양립신%장안위%왕뢰%류강
μC/OS_II%μC/GUI%整合%优化
μC/OS_II%μC/GUI%整閤%優化
μC/OS_II%μC/GUI%정합%우화
μC/OS_II%μC/GUI%integration%optimization
为了创建一个高效、直观、支持多任务的嵌入式图像开发平台,建立了基于μ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个任务切换正常,中文正常显示,同时像素填充率由之前的996080/s 上升到优化后的1629060/s.μC/OS_II 与μC/GUI 能正常地协同工作,优化带来了μC/GUI 性能的提升.
為瞭創建一箇高效、直觀、支持多任務的嵌入式圖像開髮平檯,建立瞭基于μ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箇任務切換正常,中文正常顯示,同時像素填充率由之前的996080/s 上升到優化後的1629060/s.μC/OS_II 與μC/GUI 能正常地協同工作,優化帶來瞭μC/GUI 性能的提升.
위료창건일개고효、직관、지지다임무적감입식도상개발평태,건립료기우μ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개임무절환정상,중문정상현시,동시상소전충솔유지전적996080/s 상승도우화후적1629060/s.μC/OS_II 여μC/GUI 능정상지협동공작,우화대래료μC/GUI 성능적제승.
In order to create an efficient,intuitionistic and multi-mission embedded development plat-form,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 re-fresh.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.