diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-07-12 18:10:12 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-07-12 18:10:12 -0600 |
commit | e77e09228c953f36872e0674ba98e4358f46b109 (patch) | |
tree | 6932f252ec3dbc7d8510e668530402474d3863e2 /nuttx | |
parent | 8efbedf68d8cd929312a40d5c8f26e16258b135d (diff) | |
download | px4-nuttx-e77e09228c953f36872e0674ba98e4358f46b109.tar.gz px4-nuttx-e77e09228c953f36872e0674ba98e4358f46b109.tar.bz2 px4-nuttx-e77e09228c953f36872e0674ba98e4358f46b109.zip |
Additional support needed for Zmodem debug
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/configs/olimex-lpc1766stk/README.txt | 22 | ||||
-rw-r--r-- | nuttx/configs/olimex-lpc1766stk/zmodem/defconfig | 2 |
2 files changed, 21 insertions, 3 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt index 39c7a25d6..7f2c74d29 100644 --- a/nuttx/configs/olimex-lpc1766stk/README.txt +++ b/nuttx/configs/olimex-lpc1766stk/README.txt @@ -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 diff --git a/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig b/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig index 1cb27f6a5..ad5635367 100644 --- a/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig @@ -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 |