X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=st-flash.1;fp=st-flash.1;h=ee1130e9f1ad14feff5ae27b1c5a26634757464f;hb=20796586f12c8341fde710f493ebe203daf29f7e;hp=0000000000000000000000000000000000000000;hpb=f782e931b0c51836ffae8a47618e6c2263607555;p=fw%2Fstlink diff --git a/st-flash.1 b/st-flash.1 new file mode 100644 index 0000000..ee1130e --- /dev/null +++ b/st-flash.1 @@ -0,0 +1,50 @@ +.\" (C) Copyright 2013 Keith Packard , +.\" +.\"Redistribution and use in source and binary forms, with or without +.\"modification, are permitted provided that the following conditions are +.\"met: +.\" +.\" * Redistributions of source code must retain the above copyright +.\"notice, this list of conditions and the following disclaimer. +.\" * Redistributions in binary form must reproduce the above +.\"copyright notice, this list of conditions and the following disclaimer +.\"in the documentation and/or other materials provided with the +.\"distribution. +.\" * Neither the name of Martin Capitanio nor the names of its +.\"contributors may be used to endorse or promote products derived from +.\"this software without specific prior written permission. +.\" +.\"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +.\""AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +.\"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +.\"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +.\"OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +.\"SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +.\"LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +.\"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH ST-FLASH 1 "st-flash" "" +.SH NAME +st-flash \- flash STM devices via STlink +.SH SYNOPSIS +.B st-flash +.RI (v1 devices) [--reset] {read|write} " /dev/sgX path addr " +.br +.B st-flash +.RI (v1 devices) " /dev/sgX erase" +.br +.B st-flash +.RI (v2 devices) [--reset] {read|write} " path addr " +.br +.B st-flash +.RI (v2 devices) [--reset] {read|write} " erase" +.SH DESCRIPTION +This manual page documents briefly the +st-flash command +.SH SEE ALSO +.BR st-util (1), +.BR st-term (1), +.BR st-info (1).