OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [fis-erase-command.html] - Blame information for rev 28

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
>fis erase</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="Flash Image System (FIS)"
23
HREF="flash-image-system.html"><LINK
24
REL="PREVIOUS"
25
TITLE="fis unlock"
26
HREF="fis-unlock-command.html"><LINK
27
REL="NEXT"
28
TITLE="fis write"
29
HREF="fis-write-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="fis-unlock-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="fis-write-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="FIS-ERASE-COMMAND">fis erase</H1
83
><DIV
84
CLASS="REFNAMEDIV"
85
><A
86
NAME="AEN4305"
87
></A
88
><H2
89
>Name</H2
90
>fis erase&nbsp;--&nbsp;Erase flash area</DIV
91
><DIV
92
CLASS="REFSYNOPSISDIV"
93
><A
94
NAME="AEN4308"><H2
95
>Synopsis</H2
96
><P
97
><B
98
CLASS="COMMAND"
99
>fis erase</B
100
>  {-f <TT
101
CLASS="REPLACEABLE"
102
><I
103
>flash_address</I
104
></TT
105
>} {-l <TT
106
CLASS="REPLACEABLE"
107
><I
108
>length</I
109
></TT
110
>}</P
111
></DIV
112
><DIV
113
CLASS="REFSECT1"
114
><A
115
NAME="AEN4315"
116
></A
117
><H2
118
>Arguments</H2
119
><DIV
120
CLASS="INFORMALTABLE"
121
><A
122
NAME="AEN4317"><P
123
></P
124
><TABLE
125
BORDER="1"
126
CLASS="CALSTABLE"
127
><THEAD
128
><TR
129
><TH
130
WIDTH="25%"
131
ALIGN="LEFT"
132
VALIGN="TOP"
133
>Name</TH
134
><TH
135
WIDTH="25%"
136
ALIGN="LEFT"
137
VALIGN="TOP"
138
>Type</TH
139
><TH
140
WIDTH="25%"
141
ALIGN="LEFT"
142
VALIGN="TOP"
143
>Description</TH
144
><TH
145
WIDTH="25%"
146
ALIGN="LEFT"
147
VALIGN="TOP"
148
>Default</TH
149
></TR
150
></THEAD
151
><TBODY
152
><TR
153
><TD
154
WIDTH="25%"
155
ALIGN="LEFT"
156
VALIGN="TOP"
157
><TT
158
CLASS="REPLACEABLE"
159
><I
160
>flash_address</I
161
></TT
162
></TD
163
><TD
164
WIDTH="25%"
165
ALIGN="LEFT"
166
VALIGN="TOP"
167
>Number</TD
168
><TD
169
WIDTH="25%"
170
ALIGN="LEFT"
171
VALIGN="TOP"
172
>Address of area to be erased.</TD
173
><TD
174
WIDTH="25%"
175
ALIGN="LEFT"
176
VALIGN="TOP"
177
>&nbsp;</TD
178
></TR
179
><TR
180
><TD
181
WIDTH="25%"
182
ALIGN="LEFT"
183
VALIGN="TOP"
184
><TT
185
CLASS="REPLACEABLE"
186
><I
187
>length</I
188
></TT
189
></TD
190
><TD
191
WIDTH="25%"
192
ALIGN="LEFT"
193
VALIGN="TOP"
194
>Number</TD
195
><TD
196
WIDTH="25%"
197
ALIGN="LEFT"
198
VALIGN="TOP"
199
>Length of area to be erased.</TD
200
><TD
201
WIDTH="25%"
202
ALIGN="LEFT"
203
VALIGN="TOP"
204
>&nbsp;</TD
205
></TR
206
></TBODY
207
></TABLE
208
><P
209
></P
210
></DIV
211
></DIV
212
><DIV
213
CLASS="REFSECT1"
214
><A
215
NAME="AEN4342"
216
></A
217
><H2
218
>Description</H2
219
><P
220
>This command is used to erase a portion of flash memory forcibly. There
221
is no cross-checking to ensure that the area being erased does not correspond
222
to an existing image.</P
223
></DIV
224
><DIV
225
CLASS="REFSECT1"
226
><A
227
NAME="AEN4345"
228
></A
229
><H2
230
>Examples</H2
231
><P
232
>Erase an area of the flash
233
<TABLE
234
BORDER="5"
235
BGCOLOR="#E0E0F0"
236
WIDTH="70%"
237
><TR
238
><TD
239
><PRE
240
CLASS="SCREEN"
241
>RedBoot&#62; <TT
242
CLASS="USERINPUT"
243
><B
244
>fis erase -f 0xa0040000 -l 0x20000</B
245
></TT
246
>
247
... Erase from 0xa0040000-0xa0060000: .</PRE
248
></TD
249
></TR
250
></TABLE
251
></P
252
></DIV
253
><DIV
254
CLASS="NAVFOOTER"
255
><HR
256
ALIGN="LEFT"
257
WIDTH="100%"><TABLE
258
SUMMARY="Footer navigation table"
259
WIDTH="100%"
260
BORDER="0"
261
CELLPADDING="0"
262
CELLSPACING="0"
263
><TR
264
><TD
265
WIDTH="33%"
266
ALIGN="left"
267
VALIGN="top"
268
><A
269
HREF="fis-unlock-command.html"
270
ACCESSKEY="P"
271
>Prev</A
272
></TD
273
><TD
274
WIDTH="34%"
275
ALIGN="center"
276
VALIGN="top"
277
><A
278
HREF="ecos-ref.html"
279
ACCESSKEY="H"
280
>Home</A
281
></TD
282
><TD
283
WIDTH="33%"
284
ALIGN="right"
285
VALIGN="top"
286
><A
287
HREF="fis-write-command.html"
288
ACCESSKEY="N"
289
>Next</A
290
></TD
291
></TR
292
><TR
293
><TD
294
WIDTH="33%"
295
ALIGN="left"
296
VALIGN="top"
297
>fis unlock</TD
298
><TD
299
WIDTH="34%"
300
ALIGN="center"
301
VALIGN="top"
302
><A
303
HREF="flash-image-system.html"
304
ACCESSKEY="U"
305
>Up</A
306
></TD
307
><TD
308
WIDTH="33%"
309
ALIGN="right"
310
VALIGN="top"
311
>fis write</TD
312
></TR
313
></TABLE
314
></DIV
315
></BODY
316
></HTML
317
>

powered by: WebSVN 2.1.0

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