From 02e24f0f533fe904c3a5275c4060c10c38d7c17a Mon Sep 17 00:00:00 2001 From: Ján Sučan Date: Wed, 10 May 2017 15:13:29 +0200 Subject: Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA --- HelpMessage.txt | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100755 HelpMessage.txt (limited to 'HelpMessage.txt') 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. -- cgit v1.2.3