摘要
针对嵌入式操作系统不支持外部程序动态加载技术,限制其灵活性和可扩展性的弊端,基于STM32F103μc/OS-III平台,运用ELF文件重定位原理,对原系统功能进行拓展,对编译合适的ELF文件、ELF加载器实现等作深入分析。测试表明,系统支持对软件模块的动态加载功能,并实现外部任务之间的通讯。最后针对内存开销大的问题作出改进,使该项技术具备更高的实用价值。
many embedded operate system does not support the dynamic loading of the software module,which limits its flexibility and scalability.Based on STM32F103 &μC/OS platform,the origin system functions were extended with ELF file relocation principle.Then we discuss the ELF file compilation and ELF loader implementation.The test result show that the software module can be dynamically loaded into the memory and successfully communication between tasks.Finally,we have improved the memory overhead problem,so that the technology has a high practical value.
出处
《软件导刊》
2017年第11期149-152,共4页
Software Guide