3385 Scott Blvd, Santa Clara, CA 95054 Tel: +1/408.727.6600 Fax: +1/408.727.6622
CATC Merlin II
™
Bluetooth™ Protocol Analyzer
User’s Manual
Manual Revision 2.50
For Software Version 2.50
18 July, 2004
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Document Disclaimer
The information contained in this document has been carefully checked and
is believed to be reliable. However, no responsibility can be assumed for
inaccuracies that may not have been detected.
CATC reserves the right to revise the information presented in this
document without notice or penalty.
Trademarks and Servicemarks
CATC, Merlin II, BTTracer, BTTrainer, Merlin, Merlin’s Wand, Merlin
Mobile, and BusEngine are trademarks of Computer Access Technology
Corporation.
Microsoft, Windows NT, Windows 2000, Windows 98SE, Windows ME, and
Windows XP are registered trademarks of Microsoft Inc.
All other trademarks are property of their respective companies.
Portions of this product are supplied courtesy of Richard Herveille.
Copyright (c) 2002, 2003 Richard Herveille, rherveille@opencores.org. All
rights reserved.
This document may be printed and reproduced without additional
permission, but all copies should contain this copyright notice.
FCC Conference Statement
This equipment has been tested and found to comply with the limits for a
Class A digital device and an intentional radiator, pursuant to Part 15 of the
FCC Rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in a
commercial environment. This equipment generates, uses, and can radiate
radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio
communications. Operation of this equipment in a residential area is likely
to cause harmful interference in which case the user will be required to
correct the interference at their own expense. The end user of this product
should be aware that any changes or modifications made to this equipment
without the approval of CATC could result in the product not meeting the
Class A limits, in which case the FCC could void the user's authority to
operate the equipment.
ii
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Important Notice: To comply with FCC RF exposure requirements
(sections 1.1307 and 1.310 of the Rules) only the antenna supplied by
CATC must be used for this device. The anten na must be loca ted at least 20
cm away from all persons.
FCC Testing applies to FCC ID: KH7BT006UAA-X.
EU Conference Statement
This equipment complies with the R&TT Directive 1999/5/EC. It has been
tested and found to comply with EN55022:1994/A1:1995/A2:1997 Class A,
EN61000-4-2:1995, EN61000-4-3:1995, EN61000-4-4:1995,
EN61000-4-5:1995, EN61000-4-6:1995, EN61000-4-11:1994,
EN61010-1:1993, and ESTI EN 300 328-1 V1.2.2 (2000-07).
Manual Version 2.50Part number: 730-0055-00
iii
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
iv
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
x
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
1. Overview
The CATC Merlin II™ Protocol Analyzer is the newest member of CATC's
industry-leading line of high performance, Bluetooth protocol analyzers.
Preceded by CATC’s BTTracer™, Merlin™ and Merlin Mobile™
Analyzers, Merlin II has been designed using the same modular architecture
that made its predecessors highly successful in the serial bus protocol
analyzer market worldwide.
1.1 Bluetooth™ Overview
The Bluetooth wireless technology is set to revolutionize the personal
connectivity market by providing freedom from wired connections. It is a
specification for a small-form factor, low-cost radio solution providing links
between mobile computers, mobile phones and other portable handheld
devices, and connectivity to the internet.
The Bluetooth Special Interest Group (SIG), comprised of leaders in the
telecommunications, computing, and network industries, is driving
development of the technology and bringing it to market. The Bluetooth
SIG includes promoter companies 3Com, Ericsson, IBM, Intel, Lucent,
Microsoft, Motorola, Nokia and Toshiba, and more than 2500 SIG
members.
Bluetooth is a radio technology specification designed to transmit both
voice and data wirelessly, providing an easier way for a variety of mobile
computing, communications and other devices to communicate with one
another without the need for cables. Bluetooth could make possible what is
being called the personal-area network by allowing users to transmit small
amounts of data at 1M bit/sec with a range of 10 to 100 meters, depending
the power of the radio, over the 2.4-GHz radio frequency. The key benefits
of the Bluetooth technology are robustness, low complexity, low power and
low cost. Bluetooth employs a rapid frequency hopping mechanism to
minimize the effects of ‘collisions’ with other protocols and devices
operating in the same frequency band. Mechanisms exist for a Bluetooth
device to determine all devices in range as well as to request connection to
a piconet as either a master or a slave.
Please refer to the Bluetooth Specification, version 1.2 for details on the
protocol. The Bluetooth specification is available from the Bluetooth SIG at
its web site http://www.bluetooth.org/
1
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
1.2 General Description
The Merlin II Protocol Analyzer is designed as a stand-alone unit that can
be easily configured and controlled by a portable or desktop PC connected
via its USB port. Merlin II provides users with the familiar ‘CATC Trace’
user interface that is the de facto industry standard for documenting the
performance of high-speed serial protocols.
Merlin II supports the functionality required to analyze all levels, including
the baseband, of the Bluetooth wireless protocol. The featured Radio
Interface allows users to probe and analyze transactions at the lowest level
within the Bluetooth architecture. By creating this "Point of Observation" or
probing point within the radio level packet view, the user can analyze all
levels of the protocol stack.
Merlin II is a non-intrusive testing tool for Bluetooth piconets providing
network traffic capture and analysis. Hardware triggering allows real-time
events to be captured from a piconet. Hardware filtering allows the filtering
out of fields, packets, and errors from the recording. Filtering allows users
to focus recordings on events of interest and to preserve recording memory
so that the recording time can be extended.
Recorded data is presented in colored graphics in a trace viewer application.
This application has advanced search and viewing capabilities that allow the
user to quickly locate specific data, errors and other conditions, thereby
focussing the user’s attention on events of interest.
Merlin II functions with any personal computer using the Windows 98SE,
Windows 2000, Windows ME, or Windows XP operating systems and
equipped with a functional USB interface. For an updated set of system
requirements for the host machine, please refer to the readme file.
The Analyzer is configured and controlled through a personal computer
USB port. It can be used with portable computers for field service and
maintenance as well as with desktop units in a development environment.
The Analyzer is easily installed by connecting a cable between the
computer’s USB port and the Analyzer’s USB port.
Merlin II provides on-the-fly detection of and triggering on such events as
Packet Headers and Errors. Whether recording manually or with a specified
trigger condition, Merlin II continuously records the bus data in a
wrap-around fashion until manually stopped or until the Trigger Event is
detected and a specified post-Trigger amount of bus data is recorded.
Upon detection of a triggering event, the analyzer continues to record data
up to a point specified by the user. Real-time detection of events can be
individually enabled or disabled to allow triggering on events as they
2
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
happen. This includes predefined exception or error conditions and a
user-defined set of trigger events. The unit can also be triggered by an
externally supplied signal. The breakout board provides a path for externally
supplied trigger or timing data to be recorded along with bus traffic.
The breakout board also provides a path for Merlin II to transmit a trigger
signal.
The Merlin II software provides powerful search functions that enable
investigation of particular events and allow the software to identify and
highlight specific events. In addition to immediate analysis, you can print
any part of the data. Use the Save As feature to save the data on disk for later
viewing. The program also provides a variety of timing information and
data analysis reports.
1.3 Automation
The Merlin II software includes an Application Program Interface (API) for
developing testing programs and scripts in C++ and Visual Basic. The API
reproduces most of the commands embodied in the Merlin II trace viewer
software. This API allows users to automate procedures that otherwise have
to be run manually via the trace viewer software. The Automation API can
be run locally on the PC attached to Merlin II or remotely over a network
connection.
For further details, refer to the Automation API for CATC Bluetooth Analyzers reference manual included in the installation CD-ROM. You can
also download the document from the CATC website.
1.4 Features
General
•Small form factor for mobility and easy placement.
•Flexible design - reconfigurable hardware for future enhancements.
•User friendly - the Graphical User Interface software of Merlin II
Analyzer is designed to be consistent with the ‘CATC Trace’ using color
and graphics to display Bluetooth traffic.
•Radio Level Point of Observation and Capture - traffic capture at the
Radio Level for comprehensive analysis.
•Complies with Bluetooth v1.2 specification.
•Supports point-to-point and point-to-multipoint Bluetooth piconets.
•Spool data to hard drive allowing for long recording sessions.
3
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
•Automatic tracking of ESCO and Anonymity Modes.
•Supports 79 frequency hop standards, reduced frequency, fixed
frequency, and AFH.
•Automatic tracking of changes in the hopping scheme.
•Automatic tracking of whitened and non-whitened packets and traffic.
•Flexible advanced triggering capabilities including - multiple triggering
modes, selective views, timing analysis, search functions, protocol
packet errors, transaction errors, packet type and destination device, data
patterns, or any of these trigger types in combination.
•User defined trigger position.
•Support for various piconet characteristics by enabling the user to
configure the synchronization method and recording parameters.
4
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
•Real-time hardware filtering of captured traffic for optimizing analyzer
memory usage.
Bluetooth BusEngine
CATC’s BusEngine™ Technology is at the heart of the new Merlin II
Analyzer. The revolutionary BusEngine core uses state-of-the-art FPGA
technology and incorporates both the real-time recording engine and the
configurable building blocks that implement data/state/error detection,
triggering, capture filtering, external signal monitoring and event counting
& sequencing. And like the flash-memory-based firmware that controls its
operation, all BusEngine logic is fully field upgradeable, using
configuration files that can be downloaded from the CATC Website.
5
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
5V, 800mA
The provided external power supply operates on 100V-240V AC 50Hz - 60A
Connectors:DC power connection (for connecting the external power
supply or the PS/2 power cable)
Mini DIN
Host connection (USB, type ’B’)
Antenna (reverse polarity SMA)
6
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Radio
Bluetooth v1.1 qualified
Class 2
FCC and CE compliant
Environmental Conditions
Operating Range:0 to 55 °C (32 to 131 °F)
Storage Range:-20 to 80 °C (-4 to 176 °F)
Humidity:10 to 90%, non-condensing
LEDs
Status (STATUS)Illuminates blue when the analyzer is functioning properly
Synchronized (SYNC):
Flashes yellow during acquisition of the traffic hop
sequence, illuminates when analyzer is locked to the hop
sequence.
Recording (REC):Illuminates green when analyzer is actively recording data.
Recording Size
Internal 32 MB and Disk spooling capabilities provide large virtual memory for
long for recording sessions
Host Compatibility
Requires a PC with a USB port
Supports Windows 98/ME/NT/2000
7
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
8
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
2. Installation
The Merlin II Protocol Analyzer components and software are easily
installed and quickly ready to run on most Windows-based personal
computer systems. You can begin making Bluetooth recordings after
following these initial steps.
2.1 System Components/Packing List
•One stand-alone Merlin II Analyzer
•One Antenna
•One External Interface Breakout Board with a Mini DIN cable
•One External Power Supply
•One PS/2 Power Cable
•One USB cable
•Merlin II software program installation CD
•User’s Manual
2.2 Analyzer LED Descriptions
The Merlin II analyzer has three LEDs. From left to right, these LEDs are:
A Blue Status indicator LED Blinks fast during initialization/power up.
Stead on if unit is functioning properly. Blinks slowly if a self-test fails..
B Yellow Sync (Synchronize) LED (Flashing indicates that the analyzer is
tracking the defined slave or master device. Illuminated indicates that
the analyzer is tracking an active piconet.)
C Green Rec (recording) LED (lights when the unit is recording).
2.3 Rear Panel Description
USB type "B" host computer connector
This connector links the analyzer to the PC that will be administering it.
Mini DIN Connector
This connector allows the analzyer to transmit and receive external signals
via a mini DIN cable to a Break Out Board for the purpose of triggering on
external input signals and for clock calibration.
9
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Power connector for external power supply
This connectors is used to attach the external power supply or for
connecting the analyzer with the provided PS/2 cable from a mouse or
keyboard serial port on the PC or laptop. The PS/2 cable is a pass-through
type that allows you to connect the cable to the PC and then plug the mouse
or keyboard into the back of the PS/2 cable.
2.4 Setting Up the Analyzer
To set up a Merlin II system,
Step 1Attach the Antenna to the ANT connection point on the analyzer.
The antenna should point up.
Step 2Connect the provided external power supply to the analyzer and then
to a 100-volt to 240-volt, 50 Hz to 60 Hz, 100 W power outlet.
Alternatively, you can connect the PS/2 cable into the analyzer and
one of your PS/2 ports (i.e. keyboard or mouse ports). The keyboard
or mouse would then plug into the back of the PS/2 cable.
Note At power-on, the analyzer initializes itself in approximately ten seconds and
performs an exhaustive self-diagnostic that lasts about five seconds. The status
LED flashes during the power-on testing and turns on steadily if the unit is
functioning properly when testing is finished. If the diagnostics fail, the status
LED blinks slowly, indicating a hardware failure. If this occurs, call CATC
Customer Support for assistance.
Step 3Connect the USB cable between the USB port on the back of the
analyzer and a USB port on the analyzing PC.
The host operating system detects the analyzer and begins to install the USB
driver.
2.5 Installing the Analyzer Software on the PC
Once Merlin II has been recognized as a USB device, install the Merlin II
software on the PC administering the analyzer.
Step 1Insert the Merlin II Suit e C D into the CD ROM dr ive of th e
PC that will be administering the Analyzer.
Step 2Follow Windows on-screen Plug-and-Play instructions for the
automatic installation of the Merlin I I Analyzer as a USB device on
your analyzing PC (the required USB files are included on the
Merlin II CD.
10
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Step 3Select Install Software from the installation CD and follow the
on-screen installation instructions.
The Merlin II application will install on the PC hard disk.
Step 4To start the application, launch the CATC Merlin II program from
the Start Menu: Start>Programs>CATC>Merlin II.
The Merlin II program opens.
The window shows a menu bar and toolbar at the top, a grey trace viewing
area covering most of the window, and a status bar at the bottom.
Opening a sample trace will cause most of the buttons on the toolbar to
become active.
11
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
To open a trace,
Step 1Select File > Open from the menu. A dialog box opens.
Step 2Select a file from the dialog box and click Open. A trace opens in
the main viewing area. When traffic has been recorded, it will
display here.
Note The software may be used with or without the analyzer box. When used without
an analyzer box attached to the computer, the program functions as a Trace
Viewer to view, analyze, and print captured protocol traffic.
12
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
2.6 Your First Bluetooth Recording
After installing and launching the software, you can test Merlin II by
creating an inquiry recording. In this test, Merlin II will issue a General
Inquiry that asks local devices to identify themselves. Merl in II then records
the responses.
Inquiry Recording
To create an inquiry recording, perform the following steps:
Step 1Click the down-arrow on the right side of the
Record:Piconet button on the toolbar .
A sub-menu appears with options for Piconet Recording Mode, and Inquiry
Recording Mode.
Step 2Select Inquiry Recording Mode.
The button changes appearance and shows the label Record: Inquiry
Step 3From the menu, select Setup > Recording Options.
The Recording Options dialog opens with the Inquiry page displaying.
Step 4If desired, make any changes to the options, then click OK.
Step 5Click the button (i.e. not the down-arrow.)
13
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Merlin II starts to record the Bluetooth traffic immediately using the settings from
the Piconet page in the Recording Options dialog . The Bluetoo th Inquiry p rocess
will proceed for whatever amount of time is set for creating an Inquiry action (the
default is 11 seconds). After the inquiry time has elapsed, the analyzer will upload
the data and display the packets. In addition, the Device List window will open
and display the updated statuses of the devices.
The screen should look like the sample recording below which shows the FHS
packets generated during the Inquiry process.
When the recording session is finished, the bus traffic is saved to the hard driv e as
a file named data.tfb or whatever name you assign as the default filename. While
the file is bei ng saved, you should see a brown progre ss bar at the bottom of the
screen. When the bar turns white, it indicates that the data has been saved to dis k.
Step 6To save a current recording for future use, select File > Save As or
click on the tool bar.
You see the standard Save As screen.
Step 7Give the recording a name and save it to the appropriate directory.
14
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
2.7 External Interface Breakout Board
The External Interface Breakout Board is an accessory that allows standard,
LV TTL signals to be connected to the analyzer for triggering. The breakout
board consists of two BNC connectors for "EXT IN" and "EXT OUT"
signals. The EXT IN connector can be used to import trigger signals from
other devices. the EXT OUT connector can be used to export trigger signals
to trigger other devices such as oscilloscopes or logic analyzers or to export
the external clock for clock calibration using a frequency counter (see
Appendix A).
Drive strength for all outputs is about 30mA high (@2V) and 60 mA low
(@0.5V). Inputs can handle 0 to 5.5V. Inputs above 2V are detected as logic
high; inputs below 0.8V are detected as logic low.
The analyzer connects to the first of three mini DIN ports ("Port 1") on the
Breakout Board. Each signaling pin is isolated by a 100Ω series resistor and
a buffer inside the Analyzer unit.
Please make sure that the jumpers JP1 and JP2 on the breakout board are set
to Position 1.
Mini DIN connectors on the back of the Break-out board.
15
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Connecting the Breakout Board
Merlin II with power supply (left) and Breakout board (right).
The photograph above shows a fully connected Merlin II.
The following connections can be seen: Left: Power supply connected to
the power port on the analyzer. Center: Mini DIN cable leading to Port 1
of the breakout board. USB cable leading to an offscreen PC. Right: BNC
cable leading from the Breakout board to an offscreen device on the left.
Configuring the Analyzer for the Breakout Board
To configure the analyzer for the breakout board, see section "Save External
Interface Signals" on page 68, and section "External Input Signals" on page
88.
16
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
3. Updates
BusEngine and Firmware updates often need to be performed when you
update the Merlin II software. These updates can be performed
automatically or manually. Both processes are described.
3.1 Update Files
Update files are installed with the Merlin II software during the installation
procedure and reside in the local directory of the analyzer application.
During the update process, the files are taken from this location.
The following update files are provided with each release:
BusEngine - For updating the hardware logic (has an *.bin extension).
Firmware- For updating the platform firmware (has an *.hex extension).
3.2 Automatic Updates
When you update the analyzer software, the software may become
incompatible with the BusEngine and Firmware. After the analyzer is
powered on, the analyzer will display an error message telling you that it
needs to update the Firmware and/or BusEngine. When you click OK, the
update process takes place automatically.
To update the BusEngine and/or Firmware, follow these steps:
Step 1If needed, update the analyzer software, following the steps outlined
in "Software Updates."
Step 2Turn on the analyzer.
Because the BusEngine and/or the Firmware ar e in compatib le with
the current analyzer software version, an error message appears
showing your current versions and indicating what versions you
need to install.
17
Step 3Click Yes.
The update process begins.
When the update has finished, a message such as the following
appears and tells you that the update is complete. The example
below follows a BusEngine update.
Step 4Click OK.
Manual Updates
If you prefer, you can manually update the Firmware, and/or BusEngine
through the 'Analyzer Setup' dialog. To do this follow these steps:
Step 1Select from the menu: Setup > Update BE/FW ....
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
The Update Analyzer dialog box opens.
Step 2Select the one of the entity that you want to update from the list.
Step 3If needed, browse to the application directory to locate the Update
files.
Step 4Click the Update button.
At this time, the application would start the update process. A
progress bar in the dialog would show the progress of the update
process.
Please note that in some cases this process can take several minutes
to complete.
Step 5When a the application notifies that the update process is done, you
may need to cycle the analyzer's power to cause the program to take
effect, or you may need to unplug and then reconnect the USB cable
18
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
between the analyzer and the computer to cause the new firmware
upgrade to take effect.
3.3 Software, Firmware, and BusEngine Versions
The Readme.html file on the installation CD and on the installed directory
on your hard drive. This file gives last-minute updates about the current
release. Included with each release are the most recent downloadable
images of the Firmware and the BusEngine.
Once the Merlin II has completed the self diagnostics and is connected to
the PC, you can check the latest version of the software and BusEngine.
To check information about the current software, select
About Merlin II … from the Help menu.
The About Merlin II window appears.
About Merlin II details revisions of the following software and hardware:
•Software Version and Build Number
•Product Name
•Firmware Version
•BusEngine Version
•Unit Serial Number
NoteWhen contacting CATC for technical support, please have available
all the revisions reported in the About Merlin II window.
3.4 Software Updates
When a new software release is available, it is posted on the Support page
of the CATC website at
www.catc.com/support.html.
The software is also available on CD from CATC.
19
Merlin II Protocol Analyzer User’s ManualCATCSW Version 2.50
Updating from CD-ROM
To update the software from CD-ROM, follow these steps:
Step 1Load the CD-ROM into the CD-ROM drive
Step 2An install screen opens.
Step 3Click Install Software and follow the onscreen instructions.
Updating from the CATC Website
Step 1Open a web browser and navigate to www.catc.com.
Step 2Find the latest released software version on the CATC website under
Support at the link shown at the top of the page.
If you are running the latest version of the software, no further
action is needed.
If you are not running the latest version.
Step 3Download the software from the CATC website.
Step 4If downloading from the web, unzip the files into your choice of
directory.
Step 5Click Start, then Run, and browse to where you unzipped the files.
Step 6Select the program named Setup and click Open.
Step 7Click OK to run the Setup and begin the installation.
Step 8Follow the on-screen instructions to complete the installation.
Step 9Read the Readme file for important information on changes in the
release.
3.5 License Information
Licensing information for Merlin II can be viewed by selecting Display Information from the Help menu. The License window provides
maintenance expiration and features data for Merlin II.
Updating the Software License
A License key is necessary to enable software maintenance.
A license is granted with the purchase of an analyzer. Thereafter, you must
renew your license if you wish to continue receiving support. You obtain a
new License Key from CATC. Once the License Key is obtained, follow
these steps to install it:
20
Loading...
+ 174 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.