内存对齐机制对移植μcos-ii的影响  

Effect of Memory Alignment Mechanism for Transplant μcos-ii

在线阅读下载全文

作  者:陈大鹏[1] 王伟[1] 

机构地区:[1]中国兵器工业第五八研究所军品部,四川绵阳621000

出  处:《兵工自动化》2015年第4期64-66,77,共4页Ordnance Industry Automation

摘  要:为提高μcos-ii移植代码的稳定性和可靠性,避免在实际使用过程中可能出现的问题,针对DSP TMS320F28335在进行32位数据存取时,要求偶地址对齐这一特殊情况,通过仔细分析中断过程中堆栈指针的变化,对μcos-ii的任务栈空间结构做出了相应的调整,并基于这种调整给出了移植函数及应用程序编写的指导性说明,同时设计了一个用于测试移植代码的实验。结果表明:文中所提的移植方法是可行的,能够使μcos-ii达到任务调度的目的。In order to improve the stability and reliability of the codes for transplant μcos-ii and avoid possible problems in the using process, this paper analyzed the changes of stack pointer in the interrupt process carefully by contraposing to the fact that DSP TMS320F28335 expects memory wrappers or peripheral-interface logic to align any 32-bit read or write to an even address, made some adjustments of the task stack structure of μcos-ii and gave a guidance of coding for transplant functions and applications based on these adjustments. At last, an experiment was designed to test the transplant codes. The result shows that this method is feasible and can achieve the task switch purpose of μcos-ii.

关 键 词:TMS320F28335 内存对齐 ΜCOS-II 栈空间结构 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象