⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 嵌入式系统vxworks介绍及编程.htm

📁 Vxwork的学习资料,对初学者有帮助 有关于BSP的说明介绍
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0046)http://www.embhelp.com/drew/mypage/VxWorks.htm -->
<HTML><HEAD><TITLE>嵌入式系统VxWorks介绍及编程</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb_2312-80">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<META content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot" 
name=Template></HEAD>
<BODY vLink=#800080 link=#0000ff>
<P><BIG>&gt;&gt;<A 
href="http://www.embhelp.com/drew/">Drew的主页</A></BIG>---&gt;<BIG><FONT 
lang=ZH-CN face=System>VxWorks</FONT></BIG></P>
<DIV align=center>
<CENTER>
<TABLE borderColor=#88deea height=23 cellSpacing=1 borderColorDark=#88deea 
width=754 bgColor=#ffffff borderColorLight=#88deea 
background=嵌入式系统VxWorks介绍及编程.files/bg1.gif border=1>
  <TBODY>
  <TR>
    <TD align=middle width=75 height=1>
      <P align=center><A 
      href="http://www.embhelp.com/drew/"><BIG>主页</BIG></A></P></TD>
    <TD align=middle width=75 height=1>
      <P align=center><FONT lang=ZH-CN face=System>VxWorks</FONT></P></TD>
    <TD align=middle width=75 height=1>
      <P align=center><FONT lang=ZH-CN face=System><A 
      href="http://www.embhelp.com/drew/processor/arm.htm">ARM</A></FONT></P></TD>
    <TD align=middle width=75 height=1>
      <P align=center><A 
      href="http://www.embhelp.com/drew/processor/mpc860.htm"><FONT lang=ZH-CN 
      face=System>PowerPC</FONT></A></P></TD>
    <TD align=middle width=75 height=1>
      <P align=center><A 
      href="http://www.embhelp.com/drew/mypage/driver.htm"><FONT lang=ZH-CN 
      face=System>硬件驱动</FONT></A></P></TD>
    <TD align=middle width=75 height=1>
      <P align=center><A 
      href="http://www.embhelp.com/drew/mypage/network.htm"><FONT lang=ZH-CN 
      face=System>网络协议</FONT></A></P></TD>
    <TD align=middle width=75 height=1>
      <P align=center><A 
      href="http://www.embhelp.com/drew/mypage/sourcecode.htm"><FONT lang=ZH-CN 
      face=System>程序示例</FONT></A></P></TD>
    <TD align=middle width=75 height=1>
      <P align=center><A href="http://www.embhelp.com/download"><FONT lang=ZH-CN 
      face=System>下载</FONT></A></P></TD>
    <TD align=middle width=75 height=1><A 
      href="http://www.embhelp.com/drew/mypage/interest.htm"><FONT lang=ZH-CN 
      face=System>个人兴趣</FONT></A></TD></TR></TBODY></TABLE></CENTER></DIV>
<P align=center> </P>
<P align=center><FONT lang=ZH-CN face=宋体 size=6><B>VxWork介绍及编程</B></FONT><FONT 
lang=ZH-CN face=System size=6> </FONT></P>
<P align=center> </P>
<P><BIG><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;</STRONG> </BIG></P>
<TABLE height=104 width="74%" border=0>
  <TBODY>
  <TR>
    <TD width="53%" height=47><BIG><STRONG><A 
      href="http://www.embhelp.com/drew/mypage/bsp_boot.htm">VxWorks 
      BSP和系统启动装载顺序</A></STRONG> </BIG></TD>
    <TD width="47%" height=47><BIG><STRONG><A 
      href="http://www.embhelp.com/drew/mypage/VxWorks.htm#begin">VxWorks系统简介及编程</A></STRONG></BIG></TD></TR>
  <TR>
    <TD width="53%" height=45><STRONG><BIG><A 
      href="http://www.embhelp.com/drew/mypage/bsp_boot.htm">VxWorks </A><A 
      href="http://www.embhelp.com/drew/mypage/example/vxworksapp.htm">基本概念及常见问题</A>&nbsp;</BIG></STRONG> 
    </TD>
    <TD width="47%" height=45><STRONG><BIG><A 
      href="http://www.embhelp.com/drew/mypage/bsp.htm">BSP 
      概念解析</A></BIG></STRONG> </TD></TR></TBODY></TABLE>
<P> </P>
<P> </P>
<HR>

<TABLE id=table1 style="BORDER-COLLAPSE: collapse" cellPadding=0 width=798 
border=0><!-- MSTableType="nolayout" -->
  <TBODY>
  <TR>
    <TD> 
      <P><STRONG><FONT lang=ZH-CN face=宋体 size=5>一.嵌入式操作系统VxWorks简介</FONT><A 
      name=begin></A></STRONG></P>
      <P style="MARGIN-LEFT: 20px; LINE-HEIGHT: 150%; MARGIN-RIGHT: 20px"><FONT 
      size=3><STRONG>VxWorks</STRONG>操作系统是美国WindRiver公司于1983年设计开发的一种嵌入式实时操作系统(RTOS),是嵌入式开发环境的关键组成部分。良好的持续发展能力、高性能的内核以及友好的用户开发环境,在嵌入式实时操作系统领域占据一席之地。</FONT><FONT 
      lang=ZH-CN 
      face=System>它以其良好的可靠性和卓越的实时性被广泛地应用在通信、军事、航空、航天等高精尖技术及实时性要求极高的领域中,如卫星通讯、军事演习、弹道制导、飞机导航等。在美国的</FONT><FONT 
      lang=ZH-CN face=宋体> F-16</FONT><FONT lang=ZH-CN face=System>、</FONT><FONT 
      lang=ZH-CN face=宋体>FA-18 </FONT><FONT lang=ZH-CN 
      face=System>战斗机、</FONT><FONT lang=ZH-CN face=宋体>B-2 </FONT><FONT 
      lang=ZH-CN face=System>隐形轰炸机和爱国者导弹上,甚至连</FONT><FONT lang=ZH-CN 
      face=宋体>1997</FONT><FONT lang=ZH-CN face=System>年</FONT><FONT lang=ZH-CN 
      face=宋体>4</FONT><FONT lang=ZH-CN 
      face=System>月在火星表面登陆的火星探测器上也使用到了</FONT><FONT lang=ZH-CN 
      face=宋体>VxWorks</FONT><FONT lang=ZH-CN face=System>。</FONT></P>
      <BLOCKQUOTE>
        <P><A href="http://www.windriver.com/" 
        target=_blank>WindRiver公司网址</A></P></BLOCKQUOTE>
      <P> </P>
      <P><FONT lang=ZH-CN face=宋体 
      size=3><STRONG>实时操作系统和分时操作系统的区别</STRONG></FONT></P>
      <BLOCKQUOTE>
        <P style="LINE-HEIGHT: 150%"><FONT lang=ZH-CN 
        face=System>&nbsp;&nbsp;&nbsp;&nbsp; 
        从操作系统能否满足实时性要求来区分,可把操作系统分成分时操作系统和实时操作系统。</FONT> </P><FONT lang=ZH-CN 
        face=System>
        <P 
        style="LINE-HEIGHT: 150%">&nbsp;&nbsp;分时操作系统按照相等的时间片调度进程轮流运行,分时操作系统由调度程序自动计算进程的优先级,而不是由用户控制进程的优先级。这样的系统无法实时响应外部异步事件。</FONT> 
        </P><FONT lang=ZH-CN face=System>
        <P style="LINE-HEIGHT: 150%">&nbsp;&nbsp;&nbsp; 
        实时操作系统能够在限定的时间内执行完所规定的功能,并能在限定的时间内对外部的异步事件作出响应。</FONT> <FONT lang=ZH-CN 
        face=System>分时系统主要应用于科学计算和一般实时性要求不高的场合。实时性系统主要应用于过程控制、数据采集、通信、多媒体信息处理等对时间敏感的场合。</P></FONT></BLOCKQUOTE>
      <P style="LINE-HEIGHT: 150%"><FONT lang=ZH-CN face=宋体 
      size=4><STRONG>VxWorks的特点</STRONG></FONT> 
      <UL>
        <LI>
        <P style="LINE-HEIGHT: 150%"><FONT lang=ZH-CN face=宋体 
        size=3><STRONG>可靠性</STRONG></FONT> </P></LI></UL>
      <BLOCKQUOTE><FONT lang=ZH-CN face=System>
        <P style="LINE-HEIGHT: 150%">&nbsp;&nbsp;&nbsp; 
        操作系统的用户希望在一个工作稳定,可以信赖的环境中工作,所以操作系统的可靠性是用户首先要考虑的问题。而稳定、可靠一直是VxWorks的一个突出优点。自从对中国的销售解禁以来,</FONT><FONT 
        lang=ZH-CN face=宋体>VxWorks</FONT><FONT lang=ZH-CN 
        face=System>以其良好的可靠性在中国赢得了越来越多的用户。</FONT><FONT lang=ZH-CN face=宋体> 
        </P></FONT></BLOCKQUOTE>
      <UL>
        <LI>
        <P style="LINE-HEIGHT: 150%"><FONT lang=ZH-CN face=宋体 
        size=3><STRONG>实时性</STRONG></FONT> </P></LI></UL>
      <BLOCKQUOTE><FONT lang=ZH-CN face=System>
        <P 
        style="LINE-HEIGHT: 150%">&nbsp;&nbsp;&nbsp;实时性是指能够在限定时间内执行完规定的功能并对外部的异步事件作出响应的能力。实时性的强弱是以完成规定功能和作出响应时间的长短来衡量的。</FONT> 
        </P></BLOCKQUOTE>
      <BLOCKQUOTE><FONT lang=ZH-CN face=宋体>
        <P style="LINE-HEIGHT: 150%">&nbsp;&nbsp;&nbsp; VxWorks </FONT><FONT 
        lang=ZH-CN 
        face=System>的实时性做得非常好,其系统本身的开销很小,进程调度、进程间通信、中断处理等系统公用程序精练而有效,它们造成的延迟很短。</FONT><FONT 
        lang=ZH-CN face=宋体>VxWorks </FONT><FONT lang=ZH-CN 
        face=System>提供的多任务机制中对任务的控制采用了优先级抢占(</FONT><FONT lang=ZH-CN 
        face=宋体>Preemptive Priority Scheduling</FONT><FONT lang=ZH-CN 
        face=System>)和轮转调度(</FONT><FONT lang=ZH-CN face=宋体>Round-Robin 
        Scheduling</FONT><FONT lang=ZH-CN 
        face=System>)机制,也充分保证了可靠的实时性,使同样的硬件配置能满足更强的实时性要求,为应用的开发留下更大的余地。</FONT><FONT 
        lang=ZH-CN face=宋体> </P></FONT></BLOCKQUOTE>
      <UL>
        <LI>
        <P style="LINE-HEIGHT: 150%"><FONT lang=ZH-CN face=宋体 
        size=3><STRONG>可裁减性</STRONG></FONT> </P></LI></UL>
      <BLOCKQUOTE><FONT lang=ZH-CN face=System>
        <P style="LINE-HEIGHT: 150%">&nbsp;&nbsp; 
        用户在使用操作系统时,并不是操作系统中的每一个部件都要用到。例如图形显示、文件系统以及一些设备驱动在某些嵌入系统中往往并不使用。</P></FONT><FONT 
        lang=ZH-CN face=宋体>
        <P style="LINE-HEIGHT: 150%">&nbsp; VxWorks </FONT><FONT lang=ZH-CN 
        face=System>由一个体积很小的内核及一些可以根据需要进行定制的系统模块组成。</FONT><FONT lang=ZH-CN 
        face=宋体>VxWorks </FONT><FONT lang=ZH-CN face=System>内核最小为</FONT><FONT 
        lang=ZH-CN face=宋体> 8kB</FONT><FONT lang=ZH-CN 
        face=System>,即便加上其它必要模块,所占用的空间也很小,且不失其实时、多任务的系统特征。由于它的高度灵活性,用户可以很容易地对这一操作系统进行定制或作适当开发,来满足自己的实际应用需要。</FONT><FONT 
        lang=ZH-CN face=宋体> </P></FONT></BLOCKQUOTE>
      <P style="LINE-HEIGHT: 150%"><STRONG><FONT lang=ZH-CN face=宋体 
      size=3>对一个实时内核的要求</FONT><FONT lang=ZH-CN face=宋体><BIG><BIG> 
      </BIG></BIG></FONT></STRONG></P>
      <BLOCKQUOTE>
        <P style="LINE-HEIGHT: 150%"><FONT lang=ZH-CN 
        face=System>一个实时操作系统内核需满足许多特定的实时环境所提出的基本要求,这些包括:</P></FONT></BLOCKQUOTE>
      <BLOCKQUOTE>
        <P style="LINE-HEIGHT: 150%"><STRONG><FONT lang=ZH-CN face=宋体 
        size=3>多任务</FONT><FONT lang=ZH-CN face=System>:</FONT></STRONG><FONT 
        lang=ZH-CN 
        face=System>由于真实世界的事件的异步性,能够运行许多并发进程或任务是很重要的。多任务提供了一个较好的对真实世界的匹配,因为它允许对应于许多外部事件的多线程执行。系统内核分配<FONT 
        lang=ZH-CN face=宋体>CPU</FONT>给这些任务来获得并发性。</P></FONT>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -