[En-Nut-Discussion] Preview Fix 060626

Harald Kipp harald.kipp at egnite.de
Tue Jun 27 14:24:31 CEST 2006



At 14:12 27.06.2006 +0200, you wrote:

>Just one question: what does the "imr &= ~INT_RX_OVRN" do?

I did that without looking into the datasheet, but simply
because it is done similar in the other branches. It seems
to help. :-)

But not really. I additionally added a post to the receiver
queue and this seems to help a lot

     if (isr & INT_RX_OVRN) {
         putchar('O');
         imr &= ~INT_RX_OVRN;
         nic_outlb(NIC_ACK, INT_RX_OVRN);
         //nic_outlb(NIC_MMUCR, MMU_TOP);
         NutEventPostFromIrq(&ni->ni_rx_rdy); <--- Added
     }

Now my Ethernut 2 "feels" again like before.

Harald




More information about the En-Nut-Discussion mailing list