User's Manual

7 BlueSuite Programs
This chapter describes the programs included in BlueSuite. The features of each program are briefly described and
any relevant documentation is listed. Some programs without separate user guides are described in full detail.
7.1 Transport Options for Command Line Tools
Some command line tools in BlueSuite take a -trans option, which controls the transport options. Table 7.1
indicates which variables can be used with each tool:
Variable
e2bluecmd/
blueflashcmd
pscli Default Description Example Values
CSRTRANS - x SPI The transport to use SPI, USB, BCSP, H4 and
H5
HCIPORT - x autodetect if
USB, otherwise
COM1
The port to use for the
selected HCI transport if
not CSRTRANS=SPI
com1, com2, csr0
HCIBAUD - x 115200 The baud rate to use for
uart based HCI
transports
115200, 38400, etc.
SPITRANS x x LPT The SPI transport to use
if CSRTRANS=SPI
LPT, USB
SPIPORT x x autodetect The port to use for the
selected SPI transport
A LPT port number:
1, 2 etc.
A USB-to-SPI
converter's ordinal
position: o, 1, 2.
A USB-to-SPI
converter's serial
number (as printed
on the converter
e.g. 185920)
SPIMUL x x 0 The device to use if the
SPI port is multiplexed
0, 1, etc.
Table 7.1: Command Line Transport Options
Note:
Where appropriate, BlueSuite tools attempts to prepend \\.\ to a string in HCIPORT. For example the name
of a CSR USB device on WinXP is \\.\csr0; BlueSuite tools re-interpret csr0 as \\.\csr0.
Examples
To use USB-SPI (where 185920 is the serial number printed on the USB-SPI):
-trans "CSRTRANS=SPI SPITRANS=USB SPIPORT=185920"
(or just "SPITRANS=USB SPIPORT=185920")
To use BCSP on COM1 at 38.4 kbaud:
-trans "CSRTRANS=BCSP HCIPORT=com1 HCIBAUD=38400"
It is possible to set these as Windows environment variables, which are then used as the default setting for a variable
e.g. "set SPITRANS=USB" would change the default SPI transport from LPT-SPI to USB-SPI.
BlueSuite Programs
CS-212058-UGP1
© Cambridge Silicon Radio Limited 2011
This material is subject to CSR’s non-disclosure agreement.
Page 14 of 24
_äìÉpäáã=O= User Guide