1 <!-- 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. -->
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Flash Image System (FIS)"
23 HREF="flash-image-system.html"><LINK
26 HREF="fis-delete-command.html"><LINK
29 HREF="fis-unlock-command.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="fis-delete-command.html"
71 HREF="fis-unlock-command.html"
82 NAME="FIS-LOCK-COMMAND">fis lock</H1
90 >fis lock -- Lock flash area</DIV
92 CLASS="REFSYNOPSISDIV"
120 CLASS="INFORMALTABLE"
172 >Address of area to be locked.</TD
199 >Length of area to be locked.</TD
220 >This command is used to write-protect (lock) a portion of flash memory,
221 to prevent accidental overwriting of images. In order to make make any modifications
222 to the flash, a matching <B
226 issued. This command is optional and will only be provided on hardware
227 which can support write-protection of the flash space.</P
235 >Depending on the system, attempting to write to write-protected flash
236 may generate errors or warnings, or be benignly quiet. </P
248 >Lock an area of the flash
260 >fis lock -f 0xa0040000 -l 0x20000</B
263 ... Lock from 0xa0040000-0xa0060000: .</PRE
274 SUMMARY="Footer navigation table"
285 HREF="fis-delete-command.html"
303 HREF="fis-unlock-command.html"
319 HREF="flash-image-system.html"