Re: Need help with NDIS passthru example(PB 4.2) on PPC



Ken,

I'd hazard a guess at the registry settings. You need main PASTHRU
settings with Linkage to the PASSTHRU1 instance settings. Don't forget
the BusType and BusNumber that need to be in here too. I don't have the
full list to hand but I think I've put them in this group before
somewhere.

Andy


Ken wrote:
> I spent a lot of time on this, any help would be very much appreciated!
>
> I got the example working on the standard emulator by generating an image
> and integrating the example into the image.
> Unfortunately, I can not repeat that process for the PPC emulator that ships
> with PPC SDK 2003 since there is no BSP included with it. The same holds
> for the iPaq which is my final target.
>
> Being unable to use PB directly, I went to the command line from the
> emulator project and:
>
> 1. Set a couple of environment variables, most importantly target cpu/family
> to armv4/arm.
> 2. Changed the TARGETLIBS in the sources file to point the linker to the PPC
> SDK .lib files.
> 3. Inserted the registry keys into the emulator, namely
> HKLM\Comm\PASSTHRU\{Group,ImagePath,NoCreateDevice} =
> {"NDIS","passthru.dll",1}
> 4. Build the .dll and copied it to the Windows folder
> 5. Did a Soft-Reset on the Emulator and observed Registry, Processes and
> Files. Registry was as I left it, Processes showed no sign of a
> passthru.dll module in device.exe, Files didn't show the testfile which
> should have been created in DriverEntry(a simple
> createfile/writefile/closefile sequence I inserted that works on standard
> emu, the only change to the example).
>
> I repeated that process numerous times with minor variances without any
> luck. Tried it on the iPaq as well.
> Next thing I tried was building the driver using Visual Studio 2005.
> I've set the C defines from the sources file, subsystem to windows ce,
> turned on the /Driver switch and set the entry point to DriverEntry.
> Again, no luck.
>
> I have no idea what I'm doing wrong.
>
> Thanks for any hints,
>
> ken

.



Relevant Pages

  • Re: Need help with NDIS passthru example(PB 4.2) on PPC
    ... > I got the example working on the standard emulator by generating an image ... > with PPC SDK 2003 since there is no BSP included with it. ... Set a couple of environment variables, most importantly target ... Inserted the registry keys into the emulator, ...
    (microsoft.public.pocketpc.developer.networking)
  • hive-based registry
    ... I need persistant registry on the target, ... I am not quite sure abt my settings so far. ... The target device is a ARMVI processor. ... the modified registry file as a part of the image. ...
    (microsoft.public.windowsce.platbuilder)
  • Need help with NDIS passthru example(PB 4.2) on PPC
    ... I got the example working on the standard emulator by generating an image ... I can not repeat that process for the PPC emulator that ships ... Set a couple of environment variables, most importantly target cpu/family ... Inserted the registry keys into the emulator, ...
    (microsoft.public.windowsce.platbuilder)
  • Need help with NDIS passthru example(PB 4.2) on PPC
    ... I got the example working on the standard emulator by generating an image ... I can not repeat that process for the PPC emulator that ships ... Set a couple of environment variables, most importantly target cpu/family ... Inserted the registry keys into the emulator, ...
    (microsoft.public.pocketpc.developer.networking)
  • Re: Installing a service
    ... Im not using a persistant registry. ... look at the registry settings on the target. ... > smaillet at EmbeddedFusion dot com ...
    (microsoft.public.windowsce.platbuilder)