Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
97327d87
Commit
97327d87
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Minor end-of-the-day Zmodem changes
parent
b9220fc1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs/olimex-lpc1766stk/README.txt
+3
-4
3 additions, 4 deletions
configs/olimex-lpc1766stk/README.txt
configs/olimex-lpc1766stk/zmodem/defconfig
+1
-1
1 addition, 1 deletion
configs/olimex-lpc1766stk/zmodem/defconfig
with
4 additions
and
5 deletions
configs/olimex-lpc1766stk/README.txt
+
3
−
4
View file @
97327d87
...
...
@@ -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 (
1
200), the transfers of large fails succeed without errors.
BAUD (2
4
00), 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.
This diff is collapsed.
Click to expand it.
configs/olimex-lpc1766stk/zmodem/defconfig
+
1
−
1
View file @
97327d87
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment