Re: RNDIS USB KITL

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 14:24:01 -0800

Yes. you could.
However you have to re-write you CE side USB serial function driver that can
work with KITL (Kernel mode).

RNDIS should work as well. I never seen XP has trouble after SP1.

David Liao
"Andrew" <anonymous@discussions.microsoft.com> wrote in message
news:0d1501c3fb22$45500dc0$a001280a@phx.gbl...
> Can't you make the XSC1BD USB Function driver ID as a USB
> serial port and then just send the raw KITL transport
> packets? I know that if you plug a normal USB to Serial
> converter into a PC, it registers a new com port (com3)
> and it becomes available in PB. Could I not configure PB
> to debug over serial?
>
> I'm worried that if I plug the USB cable (using RNDIS)
> into my PC and it is detected as a USB to Ethernet
> device, windows sometimes has trouble sending the correct
> packets to the right network device (if the PC already
> has a network card). Has this been a problem for anyone?
>
>
> >-----Original Message-----
> >Which is the reason why you need to go the RNDIS route.
> Since the device
> >won't show up as a COM port that PB can use, it would
> require a custom
> >transport.
> >
> >--
> >Dean Ramsier - eMVP
> >Accelent Systems
> >http://www.accelent.com
> >
> >"K. S. Huang" <ks_huang@dlink.com.tw.remove.this> wrote
> in message
> >news:eAuiFmp%23DHA.268@TK2MSFTNGP10.phx.gbl...
> >> I think everything about your idea is just fine,
> >> but the COM port emulated on desktop side can not be
> access via the PB!
> >> it seems that the wceshusb.sys will not publish the
> COM port as a normal
> >com
> >> port...
> >>
> >> "Andrew" <anonymous@discussions.microsoft.com>
> >> ???????:034b01c3fa96$c4c6d7f0$a101280a@phx.gbl...
> >> > Ok. Let me clarify.
> >> >
> >> > Can I modify the XSC1BD USB Function driver so that
> my PC
> >> > detects it as if it was a normal serial port? If
> so, can
> >> > I use KITL over serial to do all
> >> > downloading/debugging/CESH etc?
> >> >
> >> > It just seems that eboot and the main image code is
> very
> >> > interwoven with Ethernet functionality ip/mac
> addresses,
> >> > tcpip, dhcp, tftp etc. Otherwise I guess we should
> just
> >> > use RNDIS and remove everything except the HW
> components
> >> > of the XSC1BD USB Function Driver.
> >> >
> >> > Cheers, Andrew
> >> >
> >> >
> >> >
> >> > >-----Original Message-----
> >> > >Hi All,
> >> > >
> >> > >this is related to my previous post "KITL, Edbg and
> >> > >serial debug".
> >> > >
> >> > >I'm trying to get a grasp on how much work is
> involved
> >> > >and which files will need to be modified.
> >> > >
> >> > >To use my USB Client in my PXA255 as my debug
> >> > >interface/KITL/download, could I replace my
> >> > >"..\XSC1BD\Drivers\Ethdbg\SMC.C" file with USB
> handling
> >> > >functions and connect a USB to Ethernet line
> converter
> >> > to
> >> > >the output of my USB Client port?
> >> > >
> >> > >Or would it be quicker to use KITL to make calls to:
> >> > >
> >> > >"..\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\RNE_MDD"
> >> > >
> >> > >and write a new USB Client Serial driver as the
> existing
> >> > >XSC1BD USB function driver appears to ID as a MS
> >> > >ActiveSync Device? Would I connect to the target
> >> > >using "serial" in PB if I use the RNDIS driver on my
> >> > >target?
> >> > >
> >> > >Anyone done this before?
> >> > >
> >> > >Cheers, Andrew
> >> > >
> >> > >
> >> > >.
> >> > >
> >>
> >>
> >
> >
> >.
> >



Relevant Pages

  • Re: Debugging using KITL and USB
    ... You may leverage the USBFN codes as your USB RNDIS KITL PDD. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to complete RNDIS on WinCE50?
    ... I'm talking about USB RNDIS in both cases. ... The debug output will be routed through KITL to Platform Builder. ... driver for use with KITL. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to complete RNDIS on WinCE50?
    ... USB-KITL, i guess you mean KITL over usb. ... KITL over ethernet over usb. ... usb rndis is just a ethernet device for image download. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: RNDIS USB KITL
    ... So to use my USB port I should probably use RNDIS and ... create a new USB PDD driver that links to it. ... ethernet chip (as RNDIS turns my USB port into a network ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How can i use USB as KITL, and download nk.bin via USB?
    ... > I wanna connect the target device to the workspace via the USB, use the USB as a KITL. ... > But I am not quite sure about the relation between RNDIS and KITL. ... I think that the serial function driver will be easier to implement ...
    (microsoft.public.windowsce.platbuilder)