problem with lwIP demo on AT91SAM7XC-EK

nobody wrote on Thursday, June 01, 2006:

I think there is a bit of optimisation that could be done in lwipconfig.h, some bytes are wasted.

But I’m not sure about your comment here.  If you look at the table “Transmit Buffer Descriptor Entry” which is Table 38-2 on page 554 of my version of the SAM7X manual this is an 11 bit mask, so 0x7ff would seem to be correct.

rtel wrote on Friday, June 02, 2006:

These changes are included in the V4.0.2 release.

Regards.

nobody wrote on Friday, June 02, 2006:

that’s true, but if you check the receive buffer description at page 551 it states a 12bit receive length counter.

i think two defines are needed.

nobody wrote on Friday, June 02, 2006:

So one more bit is needed for the mask in the rx descripter than the tx descriptor looking at table 38-1?