![ST STMC2 Скачать руководство пользователя страница 17](http://html1.mh-extra.com/html/st/stmc2/stmc2_manual_1356131017.webp)
ST Micro Connect 2
USB connection
7912386 Rev 12
17/58
3.4.3
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
.
2. From
the
Control Panel
, start
Network Connections
.
3. From
the
Network Connections
window, select the icon named
Local Area
Connection
with the Device Name
STMC2 USB Ethernet/RNDIS Gadget
.
4. From
the
File
menu, select
Properties
.
5. On
the
Properties
window, select
Internet Protocol (TCP/IP)
and click
Properties
.
6. Select
option,
Use the following IP address:
.
7. In
the
IP address:
field, enter the address, for example,
192.168.2.2
.
8. Select
the
Subnet Mask
field and Windows automatically updates this field with the
correct value, for example:
255.255.255.0
.
9. Click
OK
for the
Internet Protocol (TCP/IP) Properties
form and the
Local Area
Connection Properties
form.
3.5 Linux
USB
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
.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from