You can download a Windows Embedded Compact 7 OS to your device and debug over a USB connection by using the Remote Network Driver Interface Specification (RNDIS). RNDIS abstracts your device as a local area connection, so you need to configure Platform Builder to connect over Ethernet instead of USB. Follow the steps below to make this connection work on the TI OMAP3530 EVM device.

These instructions assume that:

  • Your device is the TI OMAP3530 EVM.
  • In Platform Builder, you built an OS image based on the TI OMAP3530 EVM BSP.
  • You know how to access and use the boot loader’s configuration menu over a serial connection using a terminal program.

To connect your development computer to the device

  1. Connect your development computer to the USB OTG port of the TI OMAP3530 EVM device by using a USB A/B cable.
  2. Connect your development computer to UART3 of the TI OMAP3530 EVM by using a serial cable.

To configure the boot loader

  1. Open a terminal program on your development computer.
  2. Turn on the TI OMAP3530 EVM.
  3. When the device starts booting, press the spacebar to access the boot loader configuration menu. Using this menu, configure the boot loader by choosing the options below.
    1. To choose the boot device, select [2] Select the Boot Device and then select [2] USBFn RNDIS.
    2. To choose the debug device, select [3] Select KITL (Debug) Device and then select [2] USBFn RNDIS.
    3. To configure the network settings, select [4] Network Settings and then select the following:
      1. To disable DHCP, select [5] Enable/disable DHCP
      2. To set the IP address, select [6] Set IP address and enter an address such as 169.254.1.1.
      3. To set the IP mask, select [7] Set IP Mask and enter a mask such as 255.255.0.0.
      4. To exit the Network Settings menu, select [0] Exit and Continue.
    4. To save the boot loader configuration, select [7] Save Settings.
    5. To continue the boot process, select [0] Exit and Continue.
    At this point, your development computer should prompt you for the USB RNDIS driver. If it does, continue with step 4 below. If it does not, skip to step 5 and follow those instructions.
  4. When your development computer prompts you for the USB RNDIS driver, install it from one of the following locations:
    • Windows Vista and Windows 7:
      C:\Wince700\Platform\Common\Src\Common\Kitldrv\Usbdbg\Usbdbgrndismdd\Host\Vista\
    • Windows XP:
      C:\Wince700\Platform\Common\Src\Common\Kitldrv\Usbdbg\Usbdbgrndismdd\Host\XP\
  5. If your development computer does not prompt you to install the USB RNDIS driver, on your development computer, click Start, click Control Panel, and click Device Manager. In the list of devices, the USB RNDIS device should appear as a device that needs a driver. Using Device Manager, install the driver manually by navigating to the appropriate directory, specified above.
    When the driver is installed, the USB RNDIS connection shows up in Device Manager under Network Adapters as Windows CE USBDBG RNDIS.

To download the OS to the device

  1. Start Platform Builder and open the solution that you used to build your OS image.
  2. In Platform Builder, on the Target toolbar, in the Device list, select (auto) Ether as the device.
  3. In Platform Builder, click Target, and then click Attach Device.
  4. In the Ethernet Download Settings dialog box, your device will appear in the list of active target devices. (This may take several seconds.) Click Apply.

The OS image will download to the TI OMAP3530 EVM, and then the OS will boot. The download typically takes longer over USB than over Ethernet.



See Also

Remote NDIS (RNDIS) and Windows (MSDN Hardware)

Windows Embedded Compact (MSDN Library)