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

📄 baudrate-command.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
字号:
<!-- Copyright (C) 2003 Red Hat, Inc.                                --><!-- This material may be distributed only subject to the terms      --><!-- and conditions set forth in the Open Publication License, v1.0  --><!-- or later (the latest version is presently available at          --><!-- http://www.opencontent.org/openpub/).                           --><!-- Distribution of the work or derivative of the work in any       --><!-- standard (paper) book form is prohibited unless prior           --><!-- permission is obtained from the copyright holder.               --><HTML><HEAD><TITLE>baudrate</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="Common Commands"HREF="common-commands.html"><LINKREL="PREVIOUS"TITLE="alias"HREF="alias-command.html"><LINKREL="NEXT"TITLE="cache"HREF="cache-command.html"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="alias-command.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="cache-command.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="BAUDRATE-COMMAND">baudrate</H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN2995"></A><H2>Name</H2>baudrate&nbsp;--&nbsp;Set the baud rate for the system serial console</DIV><DIVCLASS="REFSYNOPSISDIV"><ANAME="AEN2998"><H2>Synopsis</H2><P><BCLASS="COMMAND">baudrate</B>  [-b<TTCLASS="REPLACEABLE"><I> rate</I></TT>]</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN3003"></A><H2>Arguments</H2><DIVCLASS="INFORMALTABLE"><ANAME="AEN3005"><P></P><TABLEBORDER="1"CLASS="CALSTABLE"><THEAD><TR><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Name</TH><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Type</TH><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Description</TH><THWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Default</TH></TR></THEAD><TBODY><TR><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">-b <TTCLASS="REPLACEABLE"><I>rate</I></TT></TD><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">Number</TD><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP">The baud rate to use for the serial console.</TD><TDWIDTH="25%"ALIGN="LEFT"VALIGN="TOP"><SPANCLASS="emphasis"><ICLASS="EMPHASIS">none</I></SPAN></TD></TR></TBODY></TABLE><P></P></DIV></DIV><DIVCLASS="REFSECT1"><ANAME="AEN3025"></A><H2>Description</H2><P>The <BCLASS="COMMAND">baudrate</B> command sets the baud rate for the system serial console.      </P><P>If no value is provided, then the current value of the console baud rate is displayed.      </P><P>If the system supports non-volatile configuration data via the <BCLASS="COMMAND">fconfig</B> command (see <AHREF="persistent-state-flash.html">the Section called <I>Persistent State Flash-based Configuration and Control</I> in Chapter 2</A>),then the value will be saved and used when the system is reset.      </P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN3033"></A><H2>Examples</H2><P>Show the current baud rate.<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN"> RedBoot&#62; <TTCLASS="USERINPUT"><B>baudrate</B></TT>Baud rate = 38400</PRE></TD></TR></TABLE> </P><P>Change the console baud rate.  In order to make this operation safer,there will be a slight pause after thefirst message to give you time to change to the new baud rate.If it doesn't work, or a less than affirmative answer is given to the "continue" prompt, then the baud rate will revert to the current value.Only after the baud rate has been firmly established will <SPANCLASS="emphasis"><ICLASS="EMPHASIS">RedBoot</I></SPAN>give you an opportunity to save the value in persistent storage.<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN"> RedBoot&#62; <TTCLASS="USERINPUT"><B>baudrate -b 57600</B></TT>Baud rate will be changed to 57600 - update your settings<SPANCLASS="emphasis"><ICLASS="EMPHASIS">Device baud rate changed at this point</I></SPAN>Baud rate changed to 57600 - continue (y/n)? yUpdate RedBoot non-volatile configuration - continue (y/n)? n</PRE></TD></TR></TABLE>       </P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="alias-command.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="cache-command.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">alias</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="common-commands.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">cache</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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