检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.77