摘要
当前流行的嵌入式Forth系统均不支持动态装载,即不支持固件模块的在线编辑、在线更新、在线编译、在线调式。本文采用Forth虚拟机技术、延迟词等技术,在前期AmForth多任务操作系统研究的基础上对SD卡驱动、文件系统接口、Forth缓冲池管理以及固件在线编译等动态装载关键技术进行研究。同时,利用Forth特有的解释/编译在线交互能力,提出一种新的嵌入式Forth动态装载机制,在资源有限的条件下,实现了固件模块的动态装载,为嵌入式领域固件模块在线编译提供了解决方案。
Currently popular embedded Forth systems do not support dynamic loading,that is,online editing,online updating,online compilation,and online tuning of firmware modules are not supported.This paper uses Forth virtual machine technology,delay words and other technologies.Based on the previous research of AmForth multi-tasking operating system,it studies the SD card driver,file system interface,Forth buffer pool management,and online firmware compilation.Utilizing Forth’s unique interpretation/compilation online interaction capability,a new embedded Forth dynamic loading mechanism is proposed.Under the condition of limited resources,the dynamic loading of firmware modules is realized,which provides a solution for online compilation of firmware modules in the embedded field.
作者
万春梅
陈睿
王丹
WAN Chunmei;CHEN Rui;WANG Dan(Bijie Vocational and Technical College,Bijie Guizhou 551700,China;Big Data Industry Development Center,Bijie Bureau of Industry and Information Technology,Bijie Guizhou 551700,China)
出处
《信息与电脑》
2021年第13期17-20,共4页
Information & Computer