Copyright 2007-2014 Kvaser AB, Mölndal, Sweden
http://www.kvaser.com
Printed Thursday 20thMarch, 2014
We believe that the information contained herein was accurate in all respects at the time of printing.
Kvaser AB cannot, however, assume any responsibility for errors or omissions in this text. Also note
that the information in this document is subject to change without notice and should not be construed
as a commitment by Kvaser AB.
This manual is intended for Kvaser BlackBird users. It contains a description of the
setup programs and detailed instructions of how to connect the device to a wireless
network. Basic knowledge about TCP/IP networks is assumed.
This manual applies to Kvaser BlackBird devices listed in Table 1.
DeviceProduct Number
Kvaser BlackBird SemiPro HS73-30130-00441-2
Kvaser BlackBird SemiPro HS OBDII73-30130-00629-4
Kvaser BlackBird SemiPro HS/HS73-30130-00453-5
Kvaser BlackBird SemiPro 3xHS73-30130-00446-7
Kvaser BlackBird v273-30130-00671-3
Kvaser BlackBird v2 OBDII73-30130-00675-1
Table 1: Kvaser BlackBird devices and their EAN numbers
Throughout this document, we use the name Kvaser BlackBird to mean any one of
the different Kvaser BlackBird products listed in Table 1, unless otherwise noted.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide5 (47)
2Installation summary
This chapter summarizes the installation and setup steps, connecting to the device
in infrastructure mode. You will find detailed information about the different steps in
the following chapters.
1. Install the driver package (Chapter 3.1, Installing the drivers, on Page 6)
2. Connect your Kvaser BlackBird to the computer via the USB cable.
3. Start the parameter setting program (Chapter 5.1, Starting the configuration
program, on Page 11) and configure at a minimum:
(a) The network name(Chapter 5.3, Selecting WLAN network, on Page 13)
(b) The network passphrase (Chapter 5.4, Setting WLAN keys and
security, on Page 16)
(c) Decide whether to use DHCP or a static IP number (Chapter 5.5,
Network setup and device name, on Page 19)
4. Save the configuration (Chapter 5.7, Save the configuration, on Page 22).
5. Verify that the WLAN connection works (Chapter 5.8, Verifying the WLAN
connection, on Page 22).
6. Disconnect the USB cable and supply external power to the Kvaser
BlackBird (Chapter 5.9, Supplying external power to the device, on Page 25).
7. Check the LED indicators (Chapter 9.1, Check the LEDs, on Page 39).
8. Start the Kvaser Network Device Selector program (Chapter 6.1, Starting the
Kvaser Network Device Selector, on Page 26).
9. Connect to the device (Chapter 6.2, Selecting the device you want to use, on
Page 26).
10. The new remote CAN device should now be visible in Kvaser Hardware
(Chapter 7, Using Kvaser BlackBird from your software, on Page 30).
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide6 (47)
3Driver installation
Please visit http://www.kvaser.com/download/ to download the latest versions of
drivers, software and documentation.
3.1Installing the drivers
Install version 5.2 or later of the Kvaser CAN drivers by running
kvaser_drivers_setup.exe
.
Figure 1: Kvaser CAN Drivers Installation Wizard.
After installing the drivers, plug in your Kvaser BlackBird into a free USB port on
your computer.
The “Found New Hardware” wizard in Windows will now start. Complete it as usual.
3.2Verifying driver installation
Check that the Kvaser BlackBird is connected via the USB cable to the computer.
Go to the Control Panel and start Kvaser Hardware, it is located under “Hardware
and Sound”, see Figure 2 on Page 7.
Your Kvaser BlackBird should be visible in the list of devices, see Figure 3 on
Page 7.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide7 (47)
Figure 2: Starting Kvaser Hardware from the Control Panel.
Figure 3: Kvaser Hardware lists the connected devices.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide8 (47)
4Network operational modes
The Kvaser BlackBird is normally connected to a computer via an access point
(AP), this is referred to as infrastructure mode. The Kvaser BlackBird may also be
connected directly to a computer using either ad-hoc mode or the “Wireless Hosted
Network” feature of the computer.
Windows 8 no longer support ad-hoc mode, instead use the
replacement (introduced in Windows 7) called “Wireless Hosted
Network”. In this mode, you configure the Kvaser BlackBird in the
same way as for infrastructure mode.
4.1Ad-hoc mode
Ad-hoc mode is not supported in Windows 8 and later. It’s successor, called
“Wireless hosted network” or “virualization”, is supported from windows 7. See
Chapter 4.3, Wireless hosted network, on Page 10 for more information.
In ad-hoc mode, you are connecting the Kvaser BlackBird directly to a computer.
Therefore, you must assign static IP addresses to the Kvaser BlackBird and to the
computer.
Figure 4: Ad-hoc mode.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide9 (47)
If you are going to use ad-hoc mode, you should read Chapter 8, Configuring host
computer, on Page 31 and configure your computer before continuing.
Ad-hoc mode is limited to a maximum speed of 11 Mbit/s (maximum speed
required by the IEEE 802.11 standard for ad-hoc mode). Still, 11 Mbit/s is likely
enough for most real-world one-way CAN traffic, as long as you are reasonably
alone on the channel and there is not too much radio interference.
Note that most network cards only support WEP-64 and
WEP-128 encryption in ad-hoc mode.
4.2Infrasctructure mode
If you are using an AP (Access Point), you should connect the Kvaser BlackBird in
infrastructure mode.
Figure 5: Infrastructure mode.
In this case, your network probably has a DHCP server running. If your network
does not have a DHCP server, you will need to assign a static IP address to your
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide10 (47)
Kvaser BlackBird. You should consult with your network manager to determine
what IP address and Subnet mask should be used.
4.3Wireless hosted network
When using Wireless hosted networks, your computer is simulating an Access
Point so others can connect to it using Infrastructure mode even though you are
connecting directly to the computer.
Figure 6: Direct connection using Wireless hosted network.
If you are using the “Wireless Hosted Network”, you should connect the Kvaser
BlackBird in infrastructure mode.
In this case, your computer probably does not have a DHCP server running and
you will need to assign your Kvaser BlackBird a static IP address.
See Chapter 8.2, Setting up Wireless Hosted Network on your computer, on
Page 32 for more information.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide11 (47)
5Configuring the Kvaser BlackBird
Check that your Kvaser BlackBird is connected via the USB cable to your computer
and start the configuration program.
5.1Starting the configuration program
Start the Kvaser Hardware program and go to the Tools tab, see Figure 7.
Figure 7: The Tools tab in Kvaser Hardware.
Press the “Setup button...” in the “Setup a Kvaser BlackBird” box. This will start the
Kvaser Wireless Configuration program used to configure the Kvaser BlackBird. All
configuration changes will be saved in the device’s flash memory.
5.2Identifying your Kvaser BlackBird
When you start Kvaser Wireless Configuration, you will be presented with a list of
found devices, see Figure 8 on Page 12.
Select your device in the list and click Next.
If you have more than one Kvaser BlackBird in the list, you can identify a specific
unit by the serial number that is printed on the back of the unit. You can also
identify a Kvaser BlackBird by right- clicking on it in the list and selecting “Locate
Hardware (Flash LEDs)”. The LEDs on the selected device will now flash
momentarily.
If your device does not show up in the list of devices, make sure you have
connected the unit properly to your USB port. Check that you have installed the
drivers and that the Kvaser BlackBird is recognised by the Kvaser Hardware
program as described in Chapter 3.2, Verifying driver installation, on Page 6.
The first time you connect to the device, the message shown in Figure 9.
Figure 9: The device parameters are initially blank.
Your Kvaser BlackBird ships without any passwords set. (If you decide to set a
password, you will be asked for it next time you connect to the device. In that case,
enter the password and click Finish.) For more information about setting a device
password, see Chapter 5.6, Setting device accessibility, on Page 21
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide13 (47)
Once you have connected the Kvaser BlackBird to the computer and started
Kvaser Wireless Configuration, you will be shown the Status tab, see Figure 10 on
Page 13. If you have not configured a connection, the display will show Connection
Status as Not Connected.
Figure 10: Status tab in Kvaser Wireless Configuration.
5.3Selecting WLAN network
You will now enter the name of the WLAN network you are connecting the Kvaser
BlackBird to. Go to the Configuration tab, see Figure 11 on Page 14.
Make sure that Geographical Region is set to the correct value. This field ensures
that the antenna power and available channels are set according to the specified
regulatory domain.
The built in Network Browser provides the easiest way to connect to a network.
When using ad-hoc mode, make sure you have performed the setup steps
described in Chapter 8, Configuring host computer, on Page 31. Press the Browse
Networks button.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide14 (47)
Figure 11: Configuration tab in Kvaser Wireless Configuration.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide15 (47)
5.3.1Currently available networks
This window accumulates all visible networks, see Figure 12 on Page 15. To clear
the list of obsolete networks, you must close this window and then re-open it.
Whenever a network is detected its signal strength is shown next to the network’s
name. In order to get a stable connection, the signal strength should be better than
−70 dBm (as a rule of thumb, −70 dBm is weak, −60 dBm is fair, −50 dBm is good,
and −40 dBm is strong).
Figure 12: Availible networks in Kvaser Wireless Configuration.
Wait for your network to show up among the Currently Available Networks. The
scanning process can take a little while, so please be patient. When you select the
network you would like to connect to, more detailed information about the network
is shown in the right pane.
When using ad-hoc mode, make sure the computer is still connected (i.e. a
time-out has not disconnected the computer from the network).
Once the desired network is selected, click “Select” and you will be informed that
some network specific settings will be copied to your configuration setting. The
copied settings include the SSID value, the Operational Mode, and the Encryption
Mode. The “Search All Channels” will also be enabled. Click OK to allow the
copying of these values.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide16 (47)
5.3.2Multiple APs in a network
You will notice that the same network is listed more than once if you have multiple
APs within range. You can identify a specific AP on a network by selecting the
network and noting the MAC Address shown in the right pane. Multiple APs within
a single network may also use different channels. The current channel is also
shown in the right pane.
Normally you will be connected to the AP with the strongest signal strength within a
given network. You may override this by manually selecting which channel to use
on the Configuration Tab.
5.4Setting WLAN keys and security
On the Configuration tab you now have a valid SSID, a correct Operational Mode
and Channel setting. In order to connect, you also need to specify the Encryption
key used by the network. This is done on the Security tab.
Figure 13: Security tab in Kvaser Wireless Configuration.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide17 (47)
The Encryption mode is already copied when you selected the network, but you
can here specify one of the following Encryption modes:
• Open, or "plain text"
• WEP (64-bit)
• WEP (128-bit)
• WPA with PSK (Pre-shared key) and TKIP encryption
• WPA2 with PSK (Pre-shared key) and AES encryption
If you choose an encryption mode other than Open, you should also use the
“Passphrase...” button to generate the encryption keys used. When using WEP,
you should also specify the Authentication algorithm used. If you don’t know what
encryption mode to select, please read the following sections or ask your network
manager.
You may also override the Group and Pairwise Encryptions used (TKIP or AES).
Encryption keys will, for security reasons, never be read from the
device, so these fields will be empty whenever you connect to a
device, regardless of if they are set or not.
5.4.1Open, or "plain text"
This Encryption mode means that all data is transferred unencrypted. This is only
recommended for initial setup or debugging connection issues.
5.4.2WEP-64 or WEP-128
When using WEP-64, you must provide a 40-bit-key in hexadecimal format (i.e. 10
hexadecimal digits). For WEP-128 you need a 104-bit-key. There is room for up to
4 keys to be entered. You may also use a passphrase to generate the WEP keys,
see Chapter 5.4.6, Using passphrase to generate keys, on Page 18. Use the radio
buttons to the left of the keys to select the key that will be used.
5.4.3About static WEP keys
Some rules for setting up WEP:
• The Kvaser BlackBird must have one of the WEP keys specified on the AP in
order to decode data sent from the AP to the Kvaser BlackBird.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide18 (47)
• The AP must have all of the Kvaser BlackBird’s keys so the AP can decode
transmissions from the Kvaser BlackBird to the AP.
• The key must occupy the same slot on all nodes (AP and Kvaser
BlackBirds). For example, if the AP defines abc123 as WEP key number 3,
then the Kvaser BlackBirds must define that same string as WEP key 3.
5.4.4Authentication algorithm
When using WEP encryption, you can choose the Authentication algorithm:
• Open system means any station may connect to the AP whether that client
station has the correct WEP key or not. This algorithm is also used in WPA
and WPA2 encryption modes.
• Shared key authentication requires the client station to have the correct WEP
key in order to associate with the access point.
Even though a client station is allowed to associate with an access point, this does
not ensure the client can exchange traffic with that access point. A station must
have the correct WEP key in order to successfully access and decrypt data from an
access point, and to transmit readable data to the access point.
5.4.5WPA-PSK or WPA2-PSK
Both WPA and WPA2 use Pre-Shared Keys (PSK). WPA-PSK uses the Temporal
Key Integrity Protocol (TKIP). WPA2-PSK uses Counter mode/CBC-MAC Protocol
which uses the Advanced Encryption Algorithm (AES).
5.4.6Using passphrase to generate keys
Instead of entering the security keys in hexadecimal format, you may use a
Passphrase. Click on the Passphrase button and a Generate keys window will
open, see Figure 14 on Page 19. This window will allow you to enter a pass phrase
and select which types of keys you would like to generate.
For WPA-PSK and WPA2-PSK encryption modes, the key generation is based
upon the network SSID, so make sure that the correct network name is entered in
the SSID field.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide19 (47)
Figure 14: Generating network keys.
5.5Network setup and device name
We should now configure an appropriate Device name and choose an address
assignment method. This is done under the Network tab, see Figure 15 on
Page 20.
If you are not sure about your network’s configuration, check with your network
manager. In infrastructure mode, the default selection of DHCP (automatic IP
address assignment) will be the desired selection. If your network requires a static
IP address, you will need to manually enter the IP address, network mask, and
gateway IP address. When using static IP, see Chapter 8.1, Setting static IP on
your computer, on Page 31 for details on how to set a static IP on your computer.
In the Device Name box, you can enter a descriptive name of the device. This
name will be visible when you browse the network using the tool described in
Chapter 6, Selecting the device from the network, on Page 26.
Clicking on the Apply or Ok button will save the configuration to your Kvaser
BlackBird and restart it. You may edit more than one tab before clicking Apply/Ok.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide20 (47)
Figure 15: Network tab in Kvaser Wireless Configuration.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide21 (47)
5.6Setting device accessibility
On the Accessibility tab (see Figure 16) you can optionally set two different
passwords to protect your device.
1. A network connection password. When set, it is required each time a
computer tries to connect to the Kvaser BlackBird. This password prevents
unauthorized network access to your Kvaser BlackBird.
2. A flash parameter password. When set, it is required each time you or
someone else wants to read or change the parameters in the flash memory
of the Kvaser BlackBird.
If you forget your flash parameter password, you have the option to reset the
password when you connect the Kvaser BlackBird. However, this reset will also
erase all settings back to the factory default values.
Figure 16: Accessibility tab in Kvaser Wireless Configuration.
The network accessibility can be set to any one of the following three modes:
Public The device is visible to and usable by anyone on the network, and no
password is required to connect.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide22 (47)
Protected The device is visible in the network setup program, but it cannot be
used from a computer without supplying the network connection password.
Private The device is not visible in the network setup program. Anyone who wants
to use it must know its network address and must supply the network
connection password.
5.7Save the configuration
The device is now configured. Save the parameters to the device by clicking the
Apply button. The device will restart. After about 5-10 s you should see the device
trying to connect to the WLAN in the status bar.
5.8Verifying the WLAN connection
When connecting to the computer in ad-hoc mode, make sure that the computer is
still connected (i.e. a timeout has not caused the computer to disconnect from the
network). Returning to the Status tab, see Figure 17 on Page 23:
1. The connection status should become Connected.
2. The connection speed should be between 1 and 54 Mbit/s (ad-hoc is
supporting max 11 Mbit/s) depending on the received signal strength and
data amount to be sent.
3. The signal strength should be better than −75dBm.
You may want to check the Info tab as well, see Figure 18 on Page 24, and verify
that the “Device IP Address” is a valid address on your network.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide23 (47)
Figure 17: Network connected in Kvaser Wireless Configuration.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide24 (47)
Figure 18: Info tab in Kvaser Wireless Configuration.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide25 (47)
5.9Supplying external power to the device
Before you can start using your Kvaser BlackBird, you have to end the Kvaser
Wireless Configuration and remove the device from USB.
Don’t forget to supply external power to the device. See your Kvaser BlackBird
user’s guide for more information.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide26 (47)
6Selecting the device from the network
6.1Starting the Kvaser Network Device Selector
The next step is to see if the device can be spotted on the network. This is done
through the Kvaser Hardware program on the Tools tab, see Figure 19:
Figure 19: Tools tab in Kvaser Hardware.
6.2Selecting the device you want to use
When Kvaser Network Device Selector is started, a list of discovered devices will
be shown.
Your device should appear in the list of discovered devices, see Figure 20 on
Page 27, select it and click the “Connect” button.
You may need to press the Refresh list button to update the list. The value in the
Connect column should be “Yes” for your device, and the In Use column value
should be “Free”.
If the value of In Use is “Config”, close the Kvaser Wireless Configuration program
from the previous section (and unplug the device from the computer’s USB port).
If the value of In Use is “USB”, unplug the device from the computer’s USB port.
If the value of Connect is “-”, then select your device and press the Connect button
on the toolbar.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide27 (47)
Figure 20: Detected remote devices.
Don’t forget to supply external power to the device, see Chapter 5.9, Supplying
external power to the device, on Page 25.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide28 (47)
6.3Finding new hardware
The Network Enumerator Service will now discover the device and start the Found
New Hardware Wizard to guide you through the installation of a driver for the
remote device.
If the Found New Hardware Wizard does not start, make sure that the Network
Enumerator Service is running by looking on the Tools tab in Kvaser Hardware,
see Figure 19 on Page 26.
6.4Verifying connection status
When you select a device from the list in the Kvaser Network Device Selector
window, status information about the connection will be displayed in the lower half
of the window, see Figure 21
Figure 21: Verifying connection status in Kvaser Network Device Selector.
In Figure 21, we can see that the device is being configured via USB. This makes it
unavailable for remote network useage. We can also see that the service isn’t
running on the local machine. It must be started before a connection can be made.
Figure 22 on Page 29 shows what it looks like when the connection is established.
Our device, “Kvaser Remote #121”, is connected to the computer Atle.kvaser.se at
network address 10.0.3.27. The device driver service says CONNECTION UP,
which means that the driver is installed and the computer is connected.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide29 (47)
Figure 22: Connection with the device have been established.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide30 (47)
7Using Kvaser BlackBird from your software
You can use the Kvaser BlackBird from any program that uses the CANlib API. You
can view the channel information in the Kvaser Hardware program on the Device
tabs by selecting a channel under the Kvaser BlackBird (Remote), see Figure 23.
Figure 23: Channel information in Kvaser Hardware.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide31 (47)
8Configuring host computer
When connecting the Kvaser BlackBird directly to a computer, using either ad-hoc
or Wireless Hosted Network, you must configure the computer. This configuration
includes setting up a static IP (see Chapter 8.1 Setting static IP on your computer)
and the wireless network (see Chapter 8.2, Setting up Wireless Hosted Network on
your computer, on Page 32 or Chapter 8.3, Setting up an ad-hoc network on your
computer, on Page 36).
If you are using infrastructure mode and DHCP, you can skip this chapter.
8.1Setting static IP on your computer
To connect to the Kvaser BlackBird in ad-hoc mode or via a Wireless Hosted
Network, you most likely need to set a static IP address and Subnet mask on your
computer.
The IP address and net mask must be set so that the computer and Kvaser
BlackBird can talk to each other. You can do this by using the following example:
Kvaser BlackBirdComputer
IP address:192.168.20.21192.168.20.5
Subnet mask:255.255.255.0255.255.255.0
Default gateway:192.168.20.5192.168.20.5
Table 2: Example of Static IP settings
The example in Table 2 may or may not be usable on your network (check this with
the person responsible for your network), but it is important to put the Kvaser
BlackBird and the computer on the same subnet by:
1. Give them different IP addresses.
2. Give them the same Subnet mask.
3. Give them the same Default gateway, most likely you can use the IP address
of the computer as gateway.
This is how you would configure the computer in Windows 7, see Figure 24 on
Page 32:
1. Open up the Network Connections (Start->Control Panel->View network
status and tasks->Change adapter settings)
2. Select the wireless network connection you want to use for the Kvaser
BlackBird communication. Right click and select Properties.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide32 (47)
3. In the Wireless Network Connection Properties, scroll down the list and
select Internet Protocol Version 4 (TCP/IPv4). Click on the properties button.
4. In the Internet Protocol (TCP/IP) Properties you should select “Use the
following IP address” and enter your static IP address and subnet mask. The
Kvaser BlackBird is currently not accessing any DNS server, so you may
leave these fields empty.
5. Click OK
6. Click Close to apply the new settings.
Figure 24: Setting static IP in Windows 7.
8.2Setting up Wireless Hosted Network on your computer
Windows 7 introduced “Wireless Hosted Network” as a replacement for ad-hoc
network and is configured from the command prompt.
Start by opening a command prompt as administrator. On Windows 7, type
into the Start Menu search box, right click
administrator”, see Figure 25 on Page 33.
Now verify that your wi-fi network card is capable of running a hosted network by
running:
C:\ > ne t s h wl an show d r i ve r s
Kvaser AB, Mölndal, Sweden — www.kvaser.com
cmd.exe
and select “Run as
cmd
Kvaser BlackBird Getting Started Guide33 (47)
Figure 25: Starting command prompt as administrator.
It should show “Hosted network supported: Yes”, see Figure 26 on Page 34.
To set up the hosted network type:
C:\ > ne t s h wl an se t h o s t e d n e t w o r k mode=a ll o w s s i d =mynet key= " passph rase "
Hosted Networks automatically uses WPA2-PSK (AES) encryption and the key
must be between 8 to 63 ASCII characters. In addition, wireless Hosted Networks
do not automatically restart after the computer resumes from sleep, hibernate, or
restarts. However, if used, a third-party utility might initiate a reconnection.
To start the hosted network, type:
C:\ > ne t s h wl an s t a rt ho s t e d n e t w o r k
To stop the hosted network, type:
C:\ > ne t s h wl an s top h o s t e d n e tw o r k
See Figure 27 on Page 34 for example output.
Windows will set the IP address of the Wireless Hosted Network to 192.168.173.1
(with netmask 255.255.255.0). This IP may be changed via the registry setting,
see Table 3.
Figure 27: Example of setting up, starting and stopping a hosted network.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide35 (47)
assign a static IP address to the Kvaser BlackBird, see Chapter 5.5, Network setup
and device name, on Page 19
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide36 (47)
8.3Setting up an ad-hoc network on your computer
If you want to connect to your Kvaser BlackBird in ad-hoc mode, you need to
configure your network card for connecting to an Ad-hoc network. Since the ad-hoc
network lacks a DHCP server you also need to assign a static IP address first, see
Chapter 8.1, Setting static IP on your computer, on Page 31.
Windows 8 no longer support ad-hoc mode, instead use the
replacement (introduced in Windows 7) called “Wireless Hosted
Network”, see Chapter 8.2, Setting up Wireless Hosted Network
on your computer, on Page 32.
This is how you would set up an ad-hoc network called MyAdHocNet:
1. Open up the Network and Sharing center (Start->Control Panel->Network
and Sharing Center).
2. Click “Set up a new connection or network”.
3. Scroll down and select “Set up a wireless ad-hoc (computer-to-computer)
network” and click Next.
4. Set your network name and select Open or WEP as security type. If you
selected WEP, also enter a Security key, see Figure 28 on Page 37.
See Chapter 5.4, Setting WLAN keys and security, on Page 16 for the
corresponding settings of the Kvaser BlackBird. The computer and Kvaser
BlackBird must have identical settings. If you choose WEP as the encryption
method, Windows will allocate the same key for all key indexes. (See
Chapter 5.4.3, About static WEP keys, on Page 17 for more information
about keys and key indexes.)
We recommend trying Open network authentication without any data
encryption to get the communication with the Kvaser BlackBird working.
Later you can repeat this setup adding encryption.
A confirmation dialog will open up and the ad-hoc network is now ready for
connection, see Figure 29 on Page 37.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide37 (47)
Figure 28: Setting up ad-hoc network in Windows 7.
Figure 29: Setting up ad-hoc network in Windows 7.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide38 (47)
8.4Connecting your computer to the ad-hoc network
View available networks by selecting Start->Control Panel->Network and
Internet->Connect to a network, see Figure 30.
Figure 30: Selecting wireless network in Windows 7.
If it is not already connected, right click on the network and select “Connect”.
Since we haven’t configured the Kvaser BlackBird, the computer will not find any
devices yet. You can safely leave this running and continue below.
You should now go back to Chapter 5, Configuring the Kvaser BlackBird, on
Page 11.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide39 (47)
9Troubleshooting
This section describes what to check if the connection does not work as expected.
9.1Check the LEDs
The PWR LED (green) should be illuminated.
The WLAN LED (blue):
• LED flashes about once per second (0.8 s period to be exact). Something
went wrong during start up. Try disconnecting the CAN and USB connectors
and then reconnecting.
• LED gives a steady blue light when connected to the Network Enumerator
Service via a network with good signal strength.
• LED gives a slow steady blink (on for about 1.8 s, than off for about 1.8 s)
when disconnected from the Network Enumerator Service, but connected to
a network with good signal strength.
If the signal strength of the network is poor, the steady part of the WLAN LED
signal described in the two cases above will start to blink. The frequency of the
blinking will increase as the network connection gets worse. For example, if you
have a connection to the Network Enumerator Service like above, but with poor
signal quality, you will see a continuously pulsating LED. If you get disconnected
from the Network Enumerator Service, the WLAN LED blinking will consist of fast
blinking for 1.8 s and then off for 1.8 s.
9.2Check connected status
The Kvaser Wireless Configuration program should display “Connected”. If not,
you may have an authorization problem. Check the WLAN passphrase, security
keys, encryption, and authorization mode.
9.3Check signal strength
The Kvaser Wireless Configuration program should indicate a signal strength
between (circa) −70 dBm and −30 dBm.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide40 (47)
9.4Check WLAN security settings
If the Connection status is something other than Connected in the parameter
setter, check:
• WLAN encryption and/or authorization modes must agree with the settings in
the WLAN access point. Most corporate networks are probably using WPA or
WPA2.
• The key is pre-shared and must be the same in the access point and in the
Kvaser BlackBird.
• Check that you have typed in the key or passphrase correctly. The pass
phrase is case sensitive.
Check the WLAN encryption and authorization mode with your network
administrator. You can also use the Browse networks button in the parameter
setter, select the network in question from the list, and see some technical details
for that network in the pane to the right.
Some networks may have firewall rules that prevent unknown devices from
connecting to the network. Make sure you are allowed to connect.
9.5Scan for networks
Use the Browse networks button in the parameter setter to check that the WLAN
network you want to connect to is listed.
9.6Check IP number and network mask
If you have opted to use DHCP, check in the Info tab of the parameter setter that a
reasonable IP number has been assigned. If you have set a static IP, make sure
both the IP number and Network mask are correct.
9.7Check that your computer and Kvaser BlackBird recognize
each other (ad-hoc mode)
View available networks by selecting Start->Control Panel->Network and
Internet->Connect to a network, see Figure 31 on Page 41.
The status should say Connected.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide41 (47)
Figure 31: Selecting wireless network in Windows 7.
9.8Check channel number when using ad-hoc mode
It is strongly recommended that you follow the steps described in this document to
connect to your Kvaser BlackBird in ad-hoc mode. This means; first connect your
computer to the ad-hoc network, and then connect the Kvaser BlackBird via the
built in Network Browser. This ensures that the correct channel is set (the channel
is not set to “Automatic”).
Some computer (most notable are computers with Intel 3945abg WLAN chip) only
connect to ad-hoc networks on a fixed preset channel. So it can find the Kvaser
BlackBird ad-hoc net, but tries to connect to it on its own predefined channel,
regardless of which channel the Kvaser BlackBird is using.
If you don’t use the built in Network Browser, you must manually make sure that
the channel settings of all devices on the ad-hoc network are set to use the same
channel number.
9.9Check the WLAN link with the ping command
If the Kvaser BlackBird shows up in the Kvaser Network Device Selector list,
right-click on the device and select Ping (ICMP). If the Kvaser BlackBird is not
listed, you can use windows built-in ping program to verify that the Kvaser
BlackBird is connected to the network.
On Windows 7, type
command window that appeared you now enter the ping command. If your Kvaser
BlackBird’s IP address was set to 192.168.20.21, you should write "ping
192.168.20.21" and hit <Return>, see Figure 32 on Page 42.
If you get a reply, which looks something like the one in Figure 32 on Page 42, you
cmd
into the Start Menu search box and press Enter. In the
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide42 (47)
Figure 32: Checking the WLAN link with ping.
can talk to your Kvaser BlackBird and the WLAN link is working.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide43 (47)
9.10Connect to the built-in web server
The Kvaser BlackBird has a built-in web server that can be enabled on the Settings
tab in the Kvaser Wireless Configuration tool, see Figure 33.
Figure 33: Enable webserver for debugging.
If the Kvaser BlackBird is listed in the Kvaser Network Device Selector list,
right-click on the device and select Connect to web server. Your web browser will
open and display a page. This web page is not very interesting. However, if this
does not work, you may have some type of firewall problem.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide44 (47)
9.11Scan for Kvaser BlackBirds
Using the Kvaser Network Device Selector tool, scan the network once again.
Check the LEDs on the Kvaser BlackBird. The INFO LED should flash a few times
when scanning is in progress.
9.12Add the device manually
In the Kvaser Network Device Selector tool, press the Add button. The following
dialog will appear:
Figure 34: Adding device manually.
If the Kvaser BlackBird is absent from the scan list, you can manually enter the
device data here. Enter the following information:
• Check Connect to this device if you want the service to connect to it
whenever it becomes available.
• Enter the IP number or the DNS name (host name) of the device.
• You can use the Search button to look up the IP number in DNS, and to
check whether the device is reachable.
• The EAN number and serial number are filled out automatically when you
use the Search button.
• Enter the network connection password to the device, if needed.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide45 (47)
Press OK to apply the settings.
If the device is reachable when you press the Search button but missing from the
scan list until you enter the unit manually, then you probably have a firewall in the
computer that is blocking some of the traffic.
9.13Service status indications
CONNECTION_UP means the service has established a connection to the device.
STANDBY means the device is in the list but the service isn’t trying to use it.
UNWILLING means some type of connection problem. Maybe the device is in use
already, maybe it is being configured via USB, or maybe the connection
password is wrong.
9.14Disconnect USB cable
The service will not be able to connect to the Kvaser BlackBird under any one of
the following conditions:
1. The USB cable is connected.
2. Someone is configuring the device.
3. Another service is already connected to the device.
9.15Scanning will not detect devices on other IP networks
The scanning process will only detect Kvaser BlackBirds on the local network. If
the Kvaser BlackBird you are trying to use is behind a router of any kind, you must
add it manually to the list.
9.16Restart the service
This should not normally be necessary, but as a troubleshooting measure you can
stop the service and start it again. Use the Tools tab in Kvaser Hardware, or use
Control Panel -> Administrative Tools -> Services.
9.17Check your firewall
The default port number used by the Kvaser BlackBird is 11416. This port is used
for both UDP and TCP and should be open for both incoming and outgoing traffic
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide46 (47)
(both TCP and UDP) on your firewall. The Kvaser Network Device Selector tool
might also need authorization from you. Consult your firewall software
documentation for how to do this.
9.18Check for other programs running
If the service indicates a status of CONNECTION_UP but you can’t see the device
in Kvaser Hardware, check if the parameter setter program, or any other program
using the Kvaser BlackBird, is running (with the exception for the network setup
program). If so, close them and try again.
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Kvaser BlackBird Getting Started Guide47 (47)
10Version history
Version history for document IN_98027_blackbird_getting_started:
RevisionDateChanges
12008-04Original revision
22008-05-05Updated screenshots, layout changes, several para-
graphs cleaned up.
32009-09-25Minor editorial changes.
42011-01-17Added more info about ad-hoc 11 Mbit/s limit. Added
more chapters to the Troubleshooting section.Up-
dated minimum CAN bus supply voltage. Minor edi-
torial changes.
2013-11-28Changed layout of references, figures.
52014-01-27Updated for Windows 7
Kvaser AB, Mölndal, Sweden — www.kvaser.com
Loading...
+ 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.