Re: Need help with NDIS passthru example(PB 4.2) on PPC
- From: "Andy" <bemacdev@xxxxxxxxxxx>
- Date: 13 Dec 2005 08:44:17 -0800
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
.
- References:
- Prev by Date: Re: How to build the ICA into nk.bin
- Next by Date: Touchscreen
- Previous by thread: Need help with NDIS passthru example(PB 4.2) on PPC
- Next by thread: How to do Code Coverage Analysis in WinCE 4.2?
- Index(es):
Relevant Pages
|
|