OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [baudrate-command.html] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>baudrate</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="Common Commands"
23
HREF="common-commands.html"><LINK
24
REL="PREVIOUS"
25
TITLE="alias"
26
HREF="alias-command.html"><LINK
27
REL="NEXT"
28
TITLE="cache"
29
HREF="cache-command.html"></HEAD
30
><BODY
31
CLASS="REFENTRY"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="alias-command.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
></TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="cache-command.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><H1
81
><A
82
NAME="BAUDRATE-COMMAND">baudrate</H1
83
><DIV
84
CLASS="REFNAMEDIV"
85
><A
86
NAME="AEN2995"
87
></A
88
><H2
89
>Name</H2
90
>baudrate&nbsp;--&nbsp;Set the baud rate for the system serial console</DIV
91
><DIV
92
CLASS="REFSYNOPSISDIV"
93
><A
94
NAME="AEN2998"><H2
95
>Synopsis</H2
96
><P
97
><B
98
CLASS="COMMAND"
99
>baudrate</B
100
>  [-b<TT
101
CLASS="REPLACEABLE"
102
><I
103
> rate</I
104
></TT
105
>]</P
106
></DIV
107
><DIV
108
CLASS="REFSECT1"
109
><A
110
NAME="AEN3003"
111
></A
112
><H2
113
>Arguments</H2
114
><DIV
115
CLASS="INFORMALTABLE"
116
><A
117
NAME="AEN3005"><P
118
></P
119
><TABLE
120
BORDER="1"
121
CLASS="CALSTABLE"
122
><THEAD
123
><TR
124
><TH
125
WIDTH="25%"
126
ALIGN="LEFT"
127
VALIGN="TOP"
128
>Name</TH
129
><TH
130
WIDTH="25%"
131
ALIGN="LEFT"
132
VALIGN="TOP"
133
>Type</TH
134
><TH
135
WIDTH="25%"
136
ALIGN="LEFT"
137
VALIGN="TOP"
138
>Description</TH
139
><TH
140
WIDTH="25%"
141
ALIGN="LEFT"
142
VALIGN="TOP"
143
>Default</TH
144
></TR
145
></THEAD
146
><TBODY
147
><TR
148
><TD
149
WIDTH="25%"
150
ALIGN="LEFT"
151
VALIGN="TOP"
152
>-b <TT
153
CLASS="REPLACEABLE"
154
><I
155
>rate</I
156
></TT
157
></TD
158
><TD
159
WIDTH="25%"
160
ALIGN="LEFT"
161
VALIGN="TOP"
162
>Number</TD
163
><TD
164
WIDTH="25%"
165
ALIGN="LEFT"
166
VALIGN="TOP"
167
>The baud rate to use for the serial console.</TD
168
><TD
169
WIDTH="25%"
170
ALIGN="LEFT"
171
VALIGN="TOP"
172
><SPAN
173
CLASS="emphasis"
174
><I
175
CLASS="EMPHASIS"
176
>none</I
177
></SPAN
178
></TD
179
></TR
180
></TBODY
181
></TABLE
182
><P
183
></P
184
></DIV
185
></DIV
186
><DIV
187
CLASS="REFSECT1"
188
><A
189
NAME="AEN3025"
190
></A
191
><H2
192
>Description</H2
193
><P
194
>The <B
195
CLASS="COMMAND"
196
>baudrate</B
197
> command sets the baud rate for the system serial console.
198
      </P
199
><P
200
>If no value is provided, then the current value of the console baud rate is displayed.
201
      </P
202
><P
203
>If the system supports non-volatile configuration data via the
204
<B
205
CLASS="COMMAND"
206
>fconfig</B
207
> command (see <A
208
HREF="persistent-state-flash.html"
209
>the Section called <I
210
>Persistent State Flash-based Configuration and Control</I
211
> in Chapter 2</A
212
>),
213
then the value will be saved and used when the system is reset.
214
      </P
215
></DIV
216
><DIV
217
CLASS="REFSECT1"
218
><A
219
NAME="AEN3033"
220
></A
221
><H2
222
>Examples</H2
223
><P
224
>Show the current baud rate.
225
<TABLE
226
BORDER="5"
227
BGCOLOR="#E0E0F0"
228
WIDTH="70%"
229
><TR
230
><TD
231
><PRE
232
CLASS="SCREEN"
233
>
234
RedBoot&#62; <TT
235
CLASS="USERINPUT"
236
><B
237
>baudrate</B
238
></TT
239
>
240
Baud rate = 38400</PRE
241
></TD
242
></TR
243
></TABLE
244
> </P
245
><P
246
>Change the console baud rate.  In order to make this operation safer,
247
there will be a slight pause after the
248
first message to give you time to change to the new baud rate.
249
If it doesn't work, or a less than affirmative answer is given to the
250
"continue" prompt, then the baud rate will revert to the current value.
251
Only after the baud rate has been firmly established will <SPAN
252
CLASS="emphasis"
253
><I
254
CLASS="EMPHASIS"
255
>RedBoot</I
256
></SPAN
257
>
258
give you an opportunity to save the value in persistent storage.
259
<TABLE
260
BORDER="5"
261
BGCOLOR="#E0E0F0"
262
WIDTH="70%"
263
><TR
264
><TD
265
><PRE
266
CLASS="SCREEN"
267
>
268
RedBoot&#62; <TT
269
CLASS="USERINPUT"
270
><B
271
>baudrate -b 57600</B
272
></TT
273
>
274
Baud rate will be changed to 57600 - update your settings
275
<SPAN
276
CLASS="emphasis"
277
><I
278
CLASS="EMPHASIS"
279
>Device baud rate changed at this point</I
280
></SPAN
281
>
282
Baud rate changed to 57600 - continue (y/n)? y
283
Update RedBoot non-volatile configuration - continue (y/n)? n</PRE
284
></TD
285
></TR
286
></TABLE
287
>
288
      </P
289
></DIV
290
><DIV
291
CLASS="NAVFOOTER"
292
><HR
293
ALIGN="LEFT"
294
WIDTH="100%"><TABLE
295
SUMMARY="Footer navigation table"
296
WIDTH="100%"
297
BORDER="0"
298
CELLPADDING="0"
299
CELLSPACING="0"
300
><TR
301
><TD
302
WIDTH="33%"
303
ALIGN="left"
304
VALIGN="top"
305
><A
306
HREF="alias-command.html"
307
ACCESSKEY="P"
308
>Prev</A
309
></TD
310
><TD
311
WIDTH="34%"
312
ALIGN="center"
313
VALIGN="top"
314
><A
315
HREF="ecos-ref.html"
316
ACCESSKEY="H"
317
>Home</A
318
></TD
319
><TD
320
WIDTH="33%"
321
ALIGN="right"
322
VALIGN="top"
323
><A
324
HREF="cache-command.html"
325
ACCESSKEY="N"
326
>Next</A
327
></TD
328
></TR
329
><TR
330
><TD
331
WIDTH="33%"
332
ALIGN="left"
333
VALIGN="top"
334
>alias</TD
335
><TD
336
WIDTH="34%"
337
ALIGN="center"
338
VALIGN="top"
339
><A
340
HREF="common-commands.html"
341
ACCESSKEY="U"
342
>Up</A
343
></TD
344
><TD
345
WIDTH="33%"
346
ALIGN="right"
347
VALIGN="top"
348
>cache</TD
349
></TR
350
></TABLE
351
></DIV
352
></BODY
353
></HTML
354
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.