Реклама
Реклама
ST Micro Connect 2
3.4.3
USB connection
Host IP address assignment - USB 1.1
The automatic configuration of the Windows USB interface using ST Micro Connect 2
DHCP does not work with USB 1.1. For USB 1.1 the Windows interface must be manually configured. Appendix D on page 44 provides advice on choosing an IP address.
The following procedure describes how to assign a Windows XP host IP address for the
USB 1.1 interface.
1.
From the Start menu, select Control Panel .
the , start Network Connections .
the window, select the icon named Local Area
Connection with the Device Name STMC2 USB Ethernet/RNDIS Gadget .
the menu, select Properties .
the window, select Internet Protocol (TCP/IP) and click Properties .
option, . the field, enter the address, for example, 192.168.2.2
. the field and Windows automatically updates this field with the correct value, for example: 255.255.255.0
.
9. Click for the Internet Protocol (TCP/IP) Properties form and the Local Area
Connection Properties form.
3.5 Linux installation
When the ST Micro Connect 2 is connected to the Linux host, Linux detects the event and automatically creates a network interface. The interface is configured by the ST Micro
Connect 2 using the DHCP protocol.
Note: 1 Ensure the Network Manager on the Linux host is enabled.
2 It may take up to a minute for Linux to detect the presence of the ST Micro Connect 2 after it is plugged into the USB interface.
3.6 Test the connection
To test the connection, from the command line, enter the following command: stmcconfig --ip < ip address > --firmware-version
Where < ip address > is the address of the ST Micro Connect 2. If the connection is configured correctly, the ST Micro Connect 2 responds with a version number. For example: stmcconfig --ip 192.168.2.1 --firmware-version
STMC2 firmware version 2.0 23 Feb 2006
3.7 Connection to the target system
Connection to the target development system is described in Appendix B: Target interface on page 40 .
7912386 Rev 12 17/58
Завантажити
Реклама