This is a supplement to the Compact 7 getting started series, to provide additional information about using static IP address.
The Compact 7 getting started series includes the following:
2. Development Environment & Tools.
3. Develop a Compact 7 OS Design.
4. Develop Managed Code Application for Compact 7.
5. Develop Native Code Application for Compact 7.
6. Develop SQL Compact Database Application for Compact 7.
7. Develop Silverlight for Windows Embedded Application for Compact 7.
8. Debug and Remote Tools.
9. Deploy OS Runtime to Target Device for Distribution.
For more information about the Compact 7 getting started series, visit the following URL:
When working in an environment without DHCP service to provide IP address dynamically, both the development PC and target device need to be configured with static IP addresses within the same subnet.
If you are not familiar with TCP/IP networking, it’s worthwhile to invest some effort to have a general understanding about networking.
Static IP Configuration: Development PC
To configure a static IP address for your development PC, work through the following steps:
· Launch Control Panel
· Click on Network and Internet
· Click on Network and Sharing Center
· On the left pane, click on Change adapter settings
· Right mouse click on the targeted network adapter icon and select Properties
· Select “Internet Protocol Version 4 (TCP/IPv4)” and click on Properties.
· Select “Use the following IP address” and enter the following IP address and subnet mask:
o IP address: 192.168.2.130
o Subnet mask: 255.255.255.0
Static IP Configuration: BIOSLoader
For the target device, there are two separate static IP configurations:
· Static IP configuration for the Ethernet bootloader (EBOOT.BIN)
· Static IP configuration for the Compact 7 OS runtime image.
For x86 target device configure to use BIOSLoader to launch the Ethernet bootloader, add the following IP address entry to the BOOT.INI configuration file:
The BOOT.INI file is located at the root of the x86 target device’s bootable flash storage.
For information about configuring an x86 target device’s flash storage with BIOSLoader, refer to the following application note:
With the above entry added to the BOOT.INI file, the Ethernet bootloader (EBOOT.BIN) will launch with the designated IP address.
Static IP Configuration: Virtual PC Bootloader
If you are using the Virtual PC as the target device, using the Virtual PC provided as part of the Compact 7, it uses the new Compact 7 bootloader framework, which is different from the BIOSLoader.
There are multiple versions of the Compact 7 bootloader framework, to support the following type of device:
· Target device built with an x86 processor.
· Target device built with an ARM processor.
· Virtual PC as target device.
To use Static IP address with Virtual PC as the target device, Microsoft Loopback adapter is needed. Refer to the following application note for information showing the steps to install loopback adapter:
Compact 7 Getting Started: Loopback Adapter to Support Virtual PC as Target Device.
Work through the following steps to configure static IP address for the Virtual PC bootloader:
1. Launch the CEVM virtual machine, from the following folder:
2. As CEVM boot up, press the space bar to access the main setup menu, as shown in Figure 1.
3. Press “4” to enter the Network Settings menu.
4. From the Network Settings menu, Press “4” follow by “Y” to disable DHCP.
5. From the Network Settings menu, Press “5”.
6. Enter the following IP address:
7. Press “Enter”
8. From the Network Settings menu, press “0” to navigate back to the Main menu.
9. From the Main menu, press “7” to save settings.
10. Press “0” to exit.
Static IP Configuration: Compact 7 OS Image
The Compact 7 OS design is configured to generate OS runtime image with DHCP enabled to acquire IP address dynamically during startup.
To configure the OS design project to generate an OS runtime image with DHCP disabled, with a preconfigured static IP address, add the following registry entries to the project’s OSDESIGN.REG file:
When using an eBox-3300MX as the target device, add the following entry to configure static IP address for the onboard R6040 Ethernet controller:
When using a Virtual PC as the target device, add the following entry to configure static IP address for the Virtual PC’s Ethernet controller:
Trackback from Samuel PhungThe loopback adapter provides connectivity needed to support Virtual PC as the target device for Compact 7 development in a standalone environment with static IP address. ...
View this page in another language: