none
What is the minimum configuration required to configure the platform for NDIS6.1 for WinCE7 in Sources and any other file? RRS feed

  • Question

  • Dear Developers,

    Greetings!!

    As, for the development of any Wifi driver that uses NDIS6.1 for WinCE7 platform, what is the minimum configuration required to use all NDIS6.1 functions.

    As, I have configured only below variable for Sources file -

    CDEFINES=$(CDEFINES) -DNDIS_MINIPORT_DRIVER=1   
    CDEFINES=$(CDEFINES) -DNDIS61_MINIPORT=1
    CDEFINES=$(CDEFINES) -DNDIS_LEGACY_MINIPORT=1
    CDEFINES=$(CDEFINES) -DNDIS_SUPPORT_NDIS61=1  

    As, I got a data abort error for two functions that I have implemented upto so far as-

    NdisInitializeWrapper and NdisMRegisterMiniportDriver

    I am getting an error for first function as shown below-

    	   8089 PID:400002 TID:9c0006 ==>NdisInitializeWrapper
    	   8090 PID:400002 TID:9c0006 Exception 'Data Abort' (0x4): Thread-Id=009c0006(pth=9e407408), Proc-Id=00400002(pprc=8786fad0) 'NK.EXE', VM-active=00790016(pprc=9e4167e0) 'udevice.exe'
    	   8091 PID:400002 TID:9c0006 PC=ef265b88(ndis.dll+0x000c5b88) RA=ef28d3fc(ndis.dll+0x000ed3fc) SP=a7b3e94c, BVA=00000001
    	   8096 PID:400002 TID:9c0006 OSAXST1: <<< Unloading Module 'phywl1835.dll' (0x9E432724) at address 0xEDF60000-0xEDF65000 in Process 'NK.EXE' (0x8786FAD0)

    and for the second function as 

     ==>NdisMRegisterMiniportDriver: DriverObject 9E432784
       8653 PID:400002 TID:9c0006 <==NdisMRegisterMiniportDriver: MiniBlock 00000000
       8654 PID:400002 TID:9c0006 ERROR: -In NdisMRegisterMiniportDriver
       8654 PID:400002 TID:9c0006 The returned status of NdisMRegisterMiniportDriver is -1073676283
       8655 PID:400002 TID:9c0006 ==>NdisMDeregisterMiniportDriver: NdisMiniportDriverHandle 00000000
       8656 PID:400002 TID:9c0006 Exception 'Data Abort' (0x4): Thread-Id=009c0006(pth=9e407408), Proc-Id=00400002(pprc=8786fad0) 'NK.EXE', VM-active=01e70036(pprc=9e418d84) 'udevice.exe'
       8657 PID:400002 TID:9c0006 PC=ef23b800(ndis.dll+0x0009b800) RA=ef28d3fc(ndis.dll+0x000ed3fc) SP=a7b3e960, BVA=00000008
    

    Still, I am not able to get any information about these error...

    Tuesday, September 8, 2015 10:04 AM

All replies

  • Whether this thread is helpful?

    Keshava G N, Software Engineer, iWave Systems, Bangalore ( http://iwavesystems.com ). mail - keshavagnATiwavesystemsDOTcom , blog - http://wec7.blogspot.com ,

    Tuesday, September 8, 2015 12:17 PM
  • Dear Developers,

    Greetings!!

    Hi GNKeshava,

    I have seen the link and I using the macros in the source file for the support of NDIS6.1.

    But still I am facing the same issue.

    Monday, October 12, 2015 12:52 PM
  • Dear Developers,

    Greetings!!

    The minimum configuration for NDIS6.1 is correct that I have shared and my exception issue is resolved for NdisMRegisterMiniportDriver for giving the correct parameters. But still getting the same error for NdisInitializeWrapper

    Tuesday, October 13, 2015 11:36 AM