Re: Download OS image to target with USB RNDIS

Tech-Archive recommends: Speed Up your PC by fixing your registry



On the menu choose Target and then Connectivity Options

For the "Target Device" choose the device that matches the one you have connected.

"Download" should say "Ethernet" Then click settings. When the bootme is sent your device name "MAINSTN8192" should appear in the active devices list. Does it? If it does, select it.

If it does not you may not have the PC-side RNDIS driver installed correctly. To check this attach the device and begin booting. Then look in the "Network Connections" dialog. While the bootme message is being sent there should be a network interface with the "Device Name" of "Microsoft Windows CE RNDIS virtual adapter" (4th column on my computer). If not you will not be able to boot.

To install the driver check out
PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\RNDISMINI\HOST\usb8023.inf and PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\RNDISMINI\HOST\howto.txt

If the driver is installed and you still don't see "MAINSTN8192" on the active devices list you need to make sure the IP address your bootloader uses is in the same subnet as your bootloader, but not the same IP address. I don't see your bootloader IP address in the output, but sometimes this is hardcoded in the bootloader to be 10.0.x.x.

Hope that helps,
Paul Monson
Intrinsyc


wegherfe wrote:
Hi. My eboot uses USB RNDIS to download the OS image into the target. The initialization works, as you can see from the following output:


Enter your selection: d INFO: Trying to initialize USB RNDIS. HostMiniInit:: !! Rndis:: initialization: with addr=0 Rndis:: initialization! Rndis:: PDDInit Success! Rndis:: Get MAC address F0F2,F200,20 Rndis:: Waiting some time for ISR: RndisMdd:: PDD's max RX buffer = [8192] bytes. Rndis:: initialization: Success HostMini:: New filter set: [0x0] --> [0x20] HostMini:: New filter set: [0x20] --> [0x0] HostMini:: New filter set: [0x0] --> [0xB] HostMini:: New filter set: [0xB] --> [0x0] HostMini:: New filter set: [0x0] --> [0xB] HostMini:: New filter set: [0xB] --> [0x2B] HostMini:: New filter set: [0x2B] --> [0xB] HostMini:: New filter set: [0xB] --> [0x2B] INFO: MAC address: F2-F0-0-F2-20-0 System ready! Preparing for download... +OEMPreDownload() INFO: Using device name: 'MAINSTN8192' +EbootSendBootmeAndWaitForTftp Sent BOOTME to 255.255.255.255 Sent BOOTME to 255.255.255.255 Sent BOOTME to 255.255.255.255 The problem is the following: I am not able to download the image via Platform Builder, that is, when i click on Attach Device and the download dialog appears, nothing happens. What can I do?

By the sniffing of the netork interface used to connect PC and target I can see:
- target sends broadcast packet on UDP (srcport 980 dstport 980)
- host replys with UDC packet (srcport 1853 dstport 980)



Thank you

Federico
.



Relevant Pages

  • Re: Download OS image to target with USB RNDIS
    ... power-up your device and start download ... If you had already started a connection, close PB and wait about a minute, then start PB again. ... initialization works, as you can see from the following output: ... Enter your selection: d INFO: Trying to initialize USB RNDIS. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Download OS image to target with USB RNDIS
    ... Do you try to attach before or after the bootme packets? ... beitman AT applieddata DOT net ... initialization works, as you can see from the following output: ... Trying to initialize USB RNDIS. ...
    (microsoft.public.windowsce.platbuilder)
  • Problem downloading NK.bin on Mainstone with MainstoneIII BSP
    ... I wanna download NK.bin through RNDIS on MainStone board. ... Rndis:: initialization: Success ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem downloading NK.bin on Mainstone with MainstoneIII BSP
    ... But the problem is that now, the download speed is so slow through USB, ... frequency and SDRAM initialization in the Eboot. ... IP on you Ethernet NIC is *not* using the same subnet of your RNDIS, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Download OS image to target with USB RNDIS
    ... initialization works, as you can see from the following output: ... Trying to initialize USB RNDIS. ... Sent BOOTME to 255.255.255.255 ... Platform Builder, that is, when i click on Attach Device and the download ...
    (microsoft.public.windowsce.platbuilder)