摘要
针对现有嵌入式操作系统加载模式选择方法会增加额外硬件开销和牺牲加载速度的问题,提出了一种基于链路状态信息的嵌入式操作系统加载模式选择方法。该方法利用上电后先复位PHY等外设再复位CPU,CPU运行BootLoader读取并判断PHY的链路建立指示信号确定加载模式,若链路建立指示信号指示网络已连接好,则选择以太网远程加载模式,其他情况下都选择本地存储器加载模式。工程应用实测结果表明,该方法稳定可靠。
Aiming at the problems of increasing additional hardware overhead and sacrificing loading speed in the existing embedded OS loading mode selection method,an embedded OS loading mode selection method based on link state information is proposed.The method utilizes the reset of PHY and other peripherals after power-on and then reset the CPU,which runs the BootLoader to read and judge the link establishment signal of PHY to determine the loading mode,and if the link establishment signal indicates that the network has been connected,the Ethernet remote loading mode will be selected,while the local memory loading mode will be selected in all other cases.The results of engineering application show that the proposed method is stable and reliable.
作者
邵龙
SHAO Long(The 10th Institute of China Electronic Technology Group Corporation,Chengdu 610036,China)
出处
《集成电路与嵌入式系统》
2024年第2期101-104,共4页
INTEGRATED CIRCUITS AND EMBEDDED SYSTEMS
关键词
嵌入式操作系统
加载模式
链路状态信息
embedded operating system
loading mode
link state information