Dear All,

I'm facing a problem with SMSC911x NDIS driver porting on an ARM11
platform (iMX based).

As soon as the interrupt is fired I get the following:

Unknown: DEBUGCHK failed in file
C:\ymzki\private\winceos\comm\ndis51\sys\.\timerm.c at line 1644
DEBUG_BREAK @c042d160 Ignored.
Exception 'Prefetch Abort' (3): Thread-Id=01490002(pth=8ff2851c),
Proc-Id=004000
02(pprc=88845aa0) 'NK.EXE', VM-active=00400002(pprc=88845aa0) 'NK.EXE'
PC=00000000(???+0x00000000) RA=c042d194(ndis.dll+0x0003d194)
SP=d049fe0c, BVA=00
000000
---> NDIS:: Exception in ndisMIsr() <---.

I searched for timerm.c source on PRIVATE WinCE sources but I cannot
find the file, for this reason I cannot understand what that DEBUGCHK
means and how to solve this problem.

Hardware seems to works well because the same device has been previously
used for KITL (now KITL is disabled, of course).

Can anybody help me?

Best Regards,

Andrea

Re: Unknown NDIS DEBUGCHK in WinCE 6.0 by Valter

Valter
Fri Mar 28 04:18:39 PDT 2008

Andrea <r&d4@dave-tech.it> wrote in
news:O8vBAvLkIHA.980@TK2MSFTNGP06.phx.gbl:

>
> Dear All,
>
> I'm facing a problem with SMSC911x NDIS driver porting on an ARM11
> platform (iMX based).
>
> As soon as the interrupt is fired I get the following:
>
> Unknown: DEBUGCHK failed in file
> C:\ymzki\private\winceos\comm\ndis51\sys\.\timerm.c at line 1644
> DEBUG_BREAK @c042d160 Ignored.
> Exception 'Prefetch Abort' (3): Thread-Id=01490002(pth=8ff2851c),
> Proc-Id=004000
> 02(pprc=88845aa0) 'NK.EXE', VM-active=00400002(pprc=88845aa0)
> 'NK.EXE' PC=00000000(???+0x00000000)
> RA=c042d194(ndis.dll+0x0003d194) SP=d049fe0c, BVA=00
> 000000
[...]
> Can anybody help me?

Usually a prefetch abort happens when you try to run code at an
invalid address. PC points to 0 and so it seems that ndis is trying to
invoke a function with a NULL address. It may be that your driver does
not fill some required function pointer inside the structure that NDIS
passes to the driver initialization function.


--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)