
浏览全部资源
扫码关注微信
河南理工大学 计算机科学与技术学院,河南 焦作,454000
[ "杨立身(1959-),男,河南焦作人,教授,硕士生导师,主要从事物联网工程、计算机网络等方面的研究。E-mail:hpuyangls@qq.com" ]
[ "张安伟(1987-),男,河南开封人,硕士研究生,主要从事物联网嵌入式方面的研究" ]
[ "王磊(1977-),男,辽宁朝阳人,博士,副教授,主要从事嵌入式系统、无线传感网络等方面的研究。" ]
[ "魏兰(1988-),女,河南周口人,硕士研究生,主要从事物联网嵌入式方面的研究。" ]
收稿日期:2014-08-03,
修回日期:2014-09-09,
纸质出版日期:2015-04-05
移动端阅览
杨立身, 张安伟, 王磊, 魏兰. 基于STM32的μC/GUI外置spi flash字库研究与实现[J]. 液晶与显示, 2015,30(2): 290-295
YANG Li-shen, ZHANG An-wei, WANG Lei, WEI Lan. Research and realization of μC/GUI external word stock on spi flash based on STM32[J]. , 2015,30(2): 290-295
杨立身, 张安伟, 王磊, 魏兰. 基于STM32的μC/GUI外置spi flash字库研究与实现[J]. 液晶与显示, 2015,30(2): 290-295 DOI: 10.3788/YJYXS20153002.0290.
YANG Li-shen, ZHANG An-wei, WANG Lei, WEI Lan. Research and realization of μC/GUI external word stock on spi flash based on STM32[J]. , 2015,30(2): 290-295 DOI: 10.3788/YJYXS20153002.0290.
为了解决C/GUI中文字库占用空间大与MCU内部存储空间有限的矛盾
实现C/GUI对中文更全面完整的支持
对C/GUI外置汉字字库的实现方法进行研究
提出了将汉字字库存储于外置spi flash芯片的解决方案。首先对汉字存储相关的数据结构进行研究
编写spi flash芯片驱动程序
之后利用PC串口编写软件和串口中断处理函数将字库文件写入到外置flash芯片中。然后在中文字库成功写入flash芯片内部的基础上
对C/GUI中与字符显示相关的内核函数进行修改
完成对所有显示字符属性的判断
从而实现C/GUI对外部中文字库的支持。试验结果表明
外置字库中的汉字成功地在液晶屏上显示出来。存储于外置spi flash芯片中的字库能被C/GUI正常的调用和显示。外置spi flash字库节省了MCU内部有限的存储空间
具有较好的通用性和灵活性。
The word stock of C/GUI takes up too much space but the storage space of MCU is limited. In order to solve this contradiction
the method to realize the external Chinese word stock of C/GUI is explored. The scheme storing the word stock in the external spi flash chip is put forward. And this scheme supports the Chinese for C/GUI more comprehensive and more complete. First
the data structure related to Chinese character's storage are studied. The driver program of the spi flash is written and the word stock file is stored in the external flash chip through the PC serial port software and serial port interrupt handler. Then
the kernel functions related to the character display is modified to judge the character properties
thus making C/GUI support the external Chinese word stock based on storing the word stock in the flash chip successfully. Results of the trial indicates that the Chinese character stored in the external chip can be displayed on the ILI9320 LCD and the word stock stored in the external chip can be called and displayed by the C/GUI normally. Storing the word stock in the external spi flash chip saves the MCU space and possesses favorable commonality and flexibility.
黄健. 基于MiniGUI的UCDOS字库接口实现[J]. 计算机工程,2011,37(1):273-279. Huang J. Implementation of UCDOS font interface based on MiniGUI [J]. Computer Engineering,2011,37(1):273-279. (in Chinese)[2] 葛欣,孟凡荣. 使用μ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)[3] 田志宏,徐军. 嵌入式μ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)[4] 刘滨,刘兵,赵艳华. 基于μ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)[5] 吴燕燕,贺锋涛,孙林军. 基于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)[6] 张兵,陈光. 基于SOPC的μC/GUI移植开发[J]. 光电子技术,2012,32(3):195-199. Zhang B, Chen G. Transplant of μC/GUI based on SOPC builder [J]. Optoelectroinc Technology, 2012, 32(3):195-199. (in Chinese)[7] 王海霞,武一. 基于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)[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].Optics and Precision Engineering, 2008,16(4):720-725. (in Chinese)[10] 王晓东,刘文耀,金月寒,等.基于DSP和CPLD的激光雷达图像采集和显示集成系统[J]. 光学精密工程,2004,12(2):190-194. Wang Y D, Liu W Y, Jin Y H, et al. Laser radar image acquisition and display integrated system based on DSP and CPLD [J]. Optics and Precision Engineering, 2004, 12(2):190-194. (in Chinese)[11] 覃爱娜,汪晓问,桂卫华. 基于LCM与字库芯片的中英文字符显示技术[J]. 信息技术,2012(8):28-32. Tan H N, Wang X W, Gui W H. Technology of displaying Chinese and western characters based on LCM and font chip[J]. Information Technology, 2012(8):28-32. (in Chinese)[12] 冯月芹,汤小龙. 高通字库芯片GT23H32S4W的应用[J]. 单片机与嵌入式系统应用,2013(12):45-47. Feng Y Q, Tang X L. Application of GT23H32S4W Chinese character library chip [J]. Microcontrollers & Embedded Systems, 2013(12):45-47. (in Chinese)[13] 宋玉贵,尹艳玲. 基于LPC1788 Emwin中文显示的设计与研究[J]. 工具技术,2013,47(7):24-26. Song Y G, Yin Y L. Design of displaying in Chinese based on LPC1788 Emwin [J]. Tool Engineering, 2013, 47(7):24-26. (in Chinese)
0
浏览量
28
下载量
0
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621