Software installation. STMicroelectronics STM2, STM3
Tangazo
Tangazo
Installing the trace infrastructure UM1616
4.3.1 On Linux hosts
To install the tools on Linux RHEL5 or Fedora 14 or 15, run the executable
ST_TraceInfrastucture_<version>.bin
and follow the instructions on the screen.
To complete the Linux installation, the following files (delivered in the directory
$STT/system/drivers/
) must be copied (with root privileges).
•
Copy $STT/system/drivers/99-stmprobe.rules to the directory
/etc/udev/rules.d/
•
Copy $STT/system/drivers/blacklist-stmprobe to the directory
/etc/modprobe.d/
The USB library v1.0 (if required) is in $STT/system/libusb-1.0/ .
$SST
is an environment variable that represents the installation path of the trace infrastructure software.
To install the tools on Windows XP or Windows 7, double click on the Windows installer
Trace_Infrastructure_<version>.exe
and follow the instructions on the screen.
Before completing the installation, the Windows installer offers to set up the libusb-win32-1.2.5.0
library on your PC. The trace infrastructure installer launches the libusb-win32 setup wizard.
To set up the library, check the check box “Launch filter installer wizard”. (See
Figure 2. LibUSB-win32, Launch filter installer wizard
8/27 DocID024336 Rev 1
UM1616 Installing the trace infrastructure
Click on the Finish button to proceed to the next stage of the operation. The filter installer wizard displays the first screen (see
Figure 3. LibUSB-win32, filter installer (1)
Select Install a device filter to set up the library. If no STM-Probe device is proposed in the
Device Selection list, then the device is already installed. Click on Cancel.
Otherwise, select the device with the following hardware identifier: vib:04b4 pid:8613 rev::001
and click on the Install button (see
Figure 4. LibUSB-win32, filter installer (2)
DocID024336 Rev 1 9/27
Installing the trace infrastructure UM1616
You can use the STM-Probe on your PC when the wizard displays the final installation
).
Figure 5. LibUSB-win32, installation check (1)
An alternative method for installing the STM-Probe device is to select Filter Wizard in the
).
Figure 6. LibUSB-win32, installation check (2)
10/27 DocID024336 Rev 1
UM1616 Installing the trace infrastructure
To test that the installation was completed successfully, select Test (Win) Program in the
Start menu. This utility checks that one device have the values: idVendor: 04B4 and idProduct: 8613
.)
Figure 7. TestLibUsb
Note: Administrator rights are necessary to complete the installation. If you do not have these privileges, please contact your system administrator to complete the following actions:
•
Install usb-win32 library if it is not yet installed on your machine:
– Execute
<TOOLS_DIR>\system\liusb-win32\libusb-win32-devel-filter-1.2
.5.0.exe
and follow the instruction on the screen
•
Copy the STM-Probe drivers files:
– Copy <TOOLS_DIR>\system\drivers\x86\CyUSB.inf to c:\Windows\inf\
– Copy <TOOLS_DIR>\system\drivers\x86\CyUSB.sys to c:\Windows\drivers\
DocID024336 Rev 1 11/27
Pakua
Tangazo