Setting Up Stand-Alone Ftp, Tftp, And Ssh Servers; Breakout Board Schematic And Bom; Developing And Integrating Using The Development Kit; Software Tools And Techniques - Laird WB45NBT Reference Manual

Hide thumbs Also See for WB45NBT:
Table of Contents

Advertisement

Laird WB45NBT
Reference Guide
To use Socat to connect TCP port 1234 to the UART running on /dev/ttyS1, use the following:
# socat tcp-l:1234,reuseaddr,fork file:/dev/ttyS1

Setting Up Stand-alone FTP, TFTP, and SSH servers

Set up inetd to start FTP, TFTP, and SSH servers on demand. See /etc/inetd.conf. It is also possible to start each of
these as their own full service. The init scripts are also contained in /etc/init.d/opt:
/etc/init.d/opt/S50proftpd
/etc/init.d/opt/S50sshd
/etc/init.d/opt/S50tftpd
B
B
S
REAKOUT
OARD
CHEMATIC AND
The Breakout Board schematic and BOM (Bill of Materials) are available from the Laird website.
D
I
EVELOPING AND
NTEGRATING
There are many helpful tools and hints to developing software and integrating hardware with the WB45N.

Software Tools and Techniques

GDB
GDB is a debugger that can be run directly on the WB45N.
devmem
devmem
The program
can be used to read or set any arbitrary physical address on the system. It is particularly useful
for inspecting the state of the Atmel processor's special function registers when trying to debug drivers, device
trees, or other kernel code.
# devmem
BusyBox v1.21.1 (2013-07-29 17:17:51 PDT) multi-call binary.
Usage: devmem ADDRESS [WIDTH [VALUE]]
Read/write from physical address
ADDRESS
Address to act upon
WIDTH Width (8/16/...)
VALUE Data to be written
# devmem 0xFFFFF818 32
0x00004100
The above example shows the PIO_OSR (Output Status Register) for PIOC. Note that pc8 and pc14 are configured as
GPIO outputs.
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/wi-fi
BOM
U
D
K
SING THE
EVELOPMENT
26
© Copyright 2016 Laird. All Rights Reserved
IT
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0600

Advertisement

Table of Contents
loading

Table of Contents