Build and Run for Linux host

The linux port of the oWL Pico API reference design is designed to run on a standard desktop linux PC.

Hardware Setup

To connect the SPB800/SPB820 (actually SPB800E in the case of SPB800) to a linux host, an adapter board (included in HDA800, development kit for SPB800/SPB820) is required to convert the 10-pin connector on the SPB800/SPB820 board to a RS232 or USB serial port. The SPB800/SPB820 board should be attached to the adapter board. The RS232 or USB port on the adapter board can then be connected to the Linux host.

Pre-compiled binaries

File Version Description
pclient-linux-r8267 2.0.1 r8267 oWL Pico API Reference Design Binary 2.0.1
pclient-linux-x86-r5073 1.3.2 r5073 oWL Pico API Reference Design Binary x86 1.3.2
pclient-linux-x86-r4172 1.3.1 r4172 oWL Pico API Reference Design Binary x86 1.3.1
pclient-linux-x86-r3932 1.3.0 r3932 oWL Pico API Reference Design Binary x86 1.3.0
pclient-linux-x86-r2844 1.2.2 r2844 oWL Pico API Reference Design Binary x86 1.2.2
pclient-linux-x86-r2693 1.2.1 r2693 oWL Pico API Reference Design Binary x86 1.2.1
pclient-linux-x86-r2238 1.1.3 r2238 oWL Pico API Reference Design Binary x86 1.1.3
pclient-linux-x86-r2159 1.0.0 r2159 oWL Pico API Reference Design Binary x86 1.0.0

Build

First, make sure that necessary build utilities such as gcc and make for the target platform are installed.

To compile for a linux host, download the oWL Pico API reference design from DownloadSources and run the following commands:

$ unzip owl_pico-r<rev>.zip
$ cd owl_pico-r<rev>/build/linux
$ make

The binary "pclient" should now be created.

Run

The pclient binary can be either built manually using the steps described above or a pre-built binary could be used.

Make sure that the pclient binary is executable by issuing the following command:

$ chmod +x pclient

Then power up the SPB800/SPB820 board and connect the eval kit to the PC. Allow the device to boot up completely before starting the pclient application on the linux host.

On a linux host then start the pclient application. For pclient version prior 1.2.0, use the following command:

$ ./pclient /dev/ttyUSB1 115200

For pclient version 1.2.0 or later, use the following command:

$ ./pclient /dev/ttyUSB1

/dev/ttyUSB1 should be replaced by the actual serial port on the linux host where the SPB800/SPB820 EVK is connected.

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatEXT pclient-linux-r8267 manage 888.2 K 2014-02-03 - 13:17 AndersGrahn  
Unknown file formatEXT pclient-linux-r8305 manage 888.2 K 2014-02-04 - 15:39 AndersGrahn  
Unknown file formatEXT pclient-linux-x86-r2159 manage 660.5 K 2011-02-04 - 11:36 AndersGrahn  
Unknown file formatEXT pclient-linux-x86-r2238 manage 676.9 K 2011-02-04 - 11:36 AndersGrahn  
Unknown file formatEXT pclient-linux-x86-r2693 manage 675.6 K 2011-05-11 - 10:48 AndersGrahn  
Unknown file formatEXT pclient-linux-x86-r2844 manage 676.3 K 2011-08-30 - 08:13 AndersGrahn  
Unknown file formatEXT pclient-linux-x86-r3932 manage 697.1 K 2012-05-16 - 12:31 AndersGrahn  
Unknown file formatEXT pclient-linux-x86-r4172 manage 699.4 K 2012-07-12 - 11:39 AndersGrahn  
Unknown file formatEXT pclient-linux-x86-r5073 manage 891.2 K 2012-12-19 - 09:31 AndersGrahn  
Topic revision: r16 - 2015-08-26 - 13:12:43 - AndersGrahn

Log In (Admin Only)

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback