Hi Jan,

o.k. I have implemented a counter that is incremented by the number of packets 
at the end
of speedo_interrupt (before the call to rt_mark_stack_mgr).
In my kernel module I have implemented at counter as well that is incremented 
whenever I
do a successful read of a message.
As the driver is used for some initialization stuff which is not related to the 
kernel module, the
values are not equal. However, the difference between both values keeps 
constant over the time.
Even at the situation that I get a timeout that should not happen, the 
difference is the same.
That indicates to me, that - for what ever reason - the driver does not detect 
a received packet or 
does not place this packet in the receive queue.
After recovering from the timeout by sending a dummy message to my embedded 
device, it continues
normally, the difference of the counters stays the same.


Regards

Mathias

----- Original Nachricht ----
Von:     Jan Kiszka <[EMAIL PROTECTED]>
An:      "M. Koehrer" <[EMAIL PROTECTED]>
Datum:   18.10.2006 15:37
Betreff: Re: [RTnet-users] Re Re: rt_eepro100: signaling for Ethernet frames

> M. Koehrer wrote:
> >  Hi Jan,
> > 
> > Oops, I had an error in my debug code. Sorry for that.
> > The status value is actually 0x0050 and not 0xb70f.
> 
> That means: nothing pending, command unit is idle, receive unit is ready.
> 
> > The regular status values are 0x4050, 0x0050, 0x2050,
> > That seems to be ok as well...
> > One thing, I have just looked at:
> > The driver uses the Early Interrupt (ER) Flag for signaling.
> > Can this be, that the interrupt comes in, the ER is signaled but the data
> is not yet
> > available?!? How is this handled by the driver - or this is not relevant?
> 
> If you are referring to this line
> 
> http://www.rts.uni-hannover.de/rtnet/lxr/source/drivers/rt_eepro100.c#L1164
> 
> that's inverted logic. Set means "don't report!"
> 
> Did you already check how many RX events are reported in the IRQ and if
> there is one missing after the last transmission?
> 
> Jan
> 
> 
> 
> --------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> --------------------------------
> 
> _______________________________________________
> RTnet-users mailing list
> RTnet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rtnet-users
> 

-- 
Mathias Koehrer
[EMAIL PROTECTED]


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  44,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to