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
f272d830
Commit
f272d830
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Additional support needed for Zmodem debug
parent
c960273a
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
+20
-2
20 additions, 2 deletions
configs/olimex-lpc1766stk/README.txt
configs/olimex-lpc1766stk/zmodem/defconfig
+1
-1
1 addition, 1 deletion
configs/olimex-lpc1766stk/zmodem/defconfig
with
21 additions
and
3 deletions
configs/olimex-lpc1766stk/README.txt
+
20
−
2
View file @
f272d830
...
...
@@ -1082,10 +1082,28 @@ Where <subdir> is one of the following:
CONFIG_UART1_PARITY=0
CONFIG_UART1_2STOP=0
2. Support is included for the NuttX sz and rz commands.
2. Support is included for the NuttX sz and rz commands. In order to
use these commands, you will need to mount the SD card so that you
will have a file system to transfer files in and out of:
nsh> mount -t vfat /dev/mmcds0 /mnt/sdcard
NOTE: You must use the mountpoint /mnt/sdcard because that is the
Zmodem sandbox specified in the configuration.
CONFIG_SYSTEM_ZMODEM_MOUNTPOINT="/mnt/sdcard"
Hmmm.. I probably should set up an NSH script to just mount /dev/mmcsd0
at /mnt/sdcard each time the board boots.
This program has been verified against the rzsz programs running on a
Linux PC. To send a file to the PC, first start rz on the Linux host:
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 57600
$ sudo stty -F /dev/ttyS0
start rz on the Linux host:
$ sudo rz </dev/ttyS0 >/dev/ttyS0
...
...
This diff is collapsed.
Click to expand it.
configs/olimex-lpc1766stk/zmodem/defconfig
+
1
−
1
View file @
f272d830
...
...
@@ -796,7 +796,7 @@ CONFIG_SYSTEM_ZMODEM=y
CONFIG_SYSTEM_ZMODEM_RCVBUFSIZE=512
CONFIG_SYSTEM_ZMODEM_PKTBUFSIZE=512
CONFIG_SYSTEM_ZMODEM_SNDBUFSIZE=512
CONFIG_SYSTEM_ZMODEM_MOUNTPOINT="/
tmp
"
CONFIG_SYSTEM_ZMODEM_MOUNTPOINT="/
mnt/sdcard
"
CONFIG_SYSTEM_ZMODEM_SENDSAMPLE=y
CONFIG_SYSTEM_ZMODEM_SENDATTN=y
CONFIG_SYSTEM_ZMODEM_ALWAYSSINT=y
...
...
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