summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-15 17:11:09 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-15 17:11:09 -0600
commit8955658e51100d65542a04648069b31e8f491367 (patch)
tree344943f7d62b6de4213e86cc2a3e09399a6d678b
parent771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be (diff)
downloadnuttx-8955658e51100d65542a04648069b31e8f491367.tar.gz
nuttx-8955658e51100d65542a04648069b31e8f491367.tar.bz2
nuttx-8955658e51100d65542a04648069b31e8f491367.zip
Minor end-of-the-day Zmodem changes
-rwxr-xr-xapps/system/zmodem/README.txt7
-rw-r--r--nuttx/configs/olimex-lpc1766stk/README.txt7
-rw-r--r--nuttx/configs/olimex-lpc1766stk/zmodem/defconfig2
3 files changed, 7 insertions, 9 deletions
diff --git a/apps/system/zmodem/README.txt b/apps/system/zmodem/README.txt
index 9048a82d9..99a73669d 100755
--- a/apps/system/zmodem/README.txt
+++ b/apps/system/zmodem/README.txt
@@ -65,7 +65,6 @@ Using NuttX Zmodem with a Linux Host
using 9600 baud for the data transfers -- high rates may result in data
overruns):
- $ sudo stty -F /dev/ttyS0 raw # Puts the TTY in raw transfer mode
$ sudo stty -F /dev/ttyS0 9600 # Select 9600 BAUD
$ sudo stty -F /dev/ttyS0 crtscts # Enables CTS/RTS handshaking
$ sudo stty -F /dev/ttyS0 # Show the TTY configuration
@@ -106,7 +105,6 @@ Using NuttX Zmodem with a Linux Host
9600 baud for the data transfers -- high rates may result in data
overruns):
- $ sudo stty -F /dev/ttyS0 raw # Puts the TTY in raw transfer mode
$ sudo stty -F /dev/ttyS0 9600 # Select 9600 BAUD
$ sudo stty -F /dev/ttyS0 crtscts # Enables CTS/RTS handshaking
$ sudo stty -F /dev/ttyS0 # Show the TTY configuration
@@ -178,7 +176,8 @@ Using NuttX Zmodem with a Linux Host
Limit the transmit window size to N bytes (ZMODEM).
UPDATE: I have verified that with debug off and at lower serial
- BAUD (1200), the transfers of large fails succeed without errors.
+ BAUD (2400), the transfers of large fails succeed without errors.
You may need the Linux sz -O option to keep it from timing out
- in these low BAUD transfers.
+ in these low BAUD transfers. I do not consider this a "solution"
+ to the problem.
diff --git a/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt
index 1edd890a5..fbf7baabe 100644
--- a/nuttx/configs/olimex-lpc1766stk/README.txt
+++ b/nuttx/configs/olimex-lpc1766stk/README.txt
@@ -1163,7 +1163,6 @@ Where <subdir> is one of the following:
Linux PC. To send a file to the PC, first make sure that the serial
port is configured to work with the board:
- $ sudo stty -F /dev/ttyS0 raw # Puts the TTY in raw transfer mode
$ sudo stty -F /dev/ttyS0 9600 # Select 9600 BAUD
$ sudo stty -F /dev/ttyS0 crtscts # Enables CTS/RTS handshaking
$ sudo stty -F /dev/ttyS0 # Show the TTY configuration
@@ -1203,7 +1202,6 @@ Where <subdir> is one of the following:
To send a file to the target, first make sure that the serial port on
the host is configured to work with the board:
- $ sudo stty -F /dev/ttyS0 raw # Puts the TTY in raw transfer mode
$ sudo stty -F /dev/ttyS0 9600 # Select 9600 BAUD
$ sudo stty -F /dev/ttyS0 crtscts # Enables CTS/RTS handshaking
$ sudo stty -F /dev/ttyS0 # Show the TTY configuration
@@ -1273,6 +1271,7 @@ Where <subdir> is one of the following:
Limit the transmit window size to N bytes (ZMODEM).
UPDATE: I have verified that with debug off and at lower serial
- BAUD (1200), the transfers of large fails succeed without errors.
+ BAUD (2400), the transfers of large fails succeed without errors.
You may need the Linux sz -O option to keep it from timing out
- in these low BAUD transfers.
+ in these low BAUD transfers. I do not consider this a "solution"
+ to the problem.
diff --git a/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig b/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig
index 67c33f1f8..6fabe918d 100644
--- a/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig
@@ -803,7 +803,7 @@ CONFIG_SYSTEM_ZMODEM_SENDATTN=y
CONFIG_SYSTEM_ZMODEM_ALWAYSSINT=y
# CONFIG_SYSTEM_ZMODEM_FULLSTREAMING is not set
# CONFIG_SYSTEM_ZMODEM_SENDBRAK is not set
-# CONFIG_SYSTEM_ZMODEM_RESPTIME is not set
+CONFIG_SYSTEM_ZMODEM_RESPTIME=10
CONFIG_SYSTEM_ZMODEM_SERIALNO=0
CONFIG_SYSTEM_ZMODEM_MAXERRORS=20
CONFIG_SYSTEM_ZMODEM_WRITESIZE=512