aboutsummaryrefslogtreecommitdiff
path: root/HelpMessage.txt
diff options
context:
space:
mode:
authorJán Sučan <sucanjan@fit.cvut.cz>2017-05-10 15:13:29 +0200
committerJán Sučan <sucanjan@fit.cvut.cz>2017-05-10 15:13:29 +0200
commit02e24f0f533fe904c3a5275c4060c10c38d7c17a (patch)
tree19d05c60e3d6a6782c4712de960a8f6705054063 /HelpMessage.txt
Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA
Diffstat (limited to 'HelpMessage.txt')
-rwxr-xr-xHelpMessage.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/HelpMessage.txt b/HelpMessage.txt
new file mode 100755
index 0000000..8ecb927
--- /dev/null
+++ b/HelpMessage.txt
@@ -0,0 +1,56 @@
+Usage: %ARG% OPERATION OPARGS
+
+ OPERATION Can be one of these: help, version, speeds, ident, erase,
+ read, write.
+
+ OPARGS Are arguments for selected operation. Note that the same
+ argument can have a different meaning when used with
+ different OPERATION.
+
+Common options:
+ -p PORTNAME Name of a serial port device to use.
+
+ -s SPEED Serial line communication speed in Bd. Note that the
+ SPEED is a number without 'Bd' suffix. Default SPEED
+ is 19200.
+
+ -v Be more verbose.
+
+ -f FREQ CPU frequency in MHz. Real number with dot as a decimal
+ separator. This is used only by ST10F168 MCU and is
+ mandatory for it.
+
+ -g Print progress for read and write operations.
+
+Operations:
+ help
+ Print this help message.
+
+ version
+ Print name and version information of this program.
+
+ speeds
+ Print list of serial line speeds available.
+
+ ident
+ Print name of supported MCU connected.
+
+ erase [-b n[,n]...]
+ -b n[,n]... Numbers of sectors to erase. Without this option whole
+ FLASH memory is erased.
+
+ read [-n COUNT] FILE
+ -n COUNT Read only COUNT bytes from address 0 instead of whole memory.
+
+ FILE Name of a file where to write content of memory.
+
+ write [-e,-c] FILE
+ -e Erase whole FLASH memory before writing data. Without this
+ option only blocks which are going to be programmed are
+ erased.
+
+ -c Check written data by reading it back and comparing with FILE
+ data. Without this option result of write operation is
+ checked only by MCU FLASH memory controller.
+
+ FILE Name of a file containing data to write to MCU FLASH memory.