lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Nios II TSE MAC


From: Davide Conte
Subject: Re: [lwip-users] Nios II TSE MAC
Date: Tue, 13 Sep 2011 15:21:35 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2

Dear Bill,
Thanks for your fast reply. I am pretty sure the Nios core is the same. I refer to the example "Ethernet Interface for Altera TSE and the NIOS II processor", "alteraTseEthernetif": I notice pointers corruption after line 411: ActualData = (void *)alt_remap_uncached (data, len); of lwip_tse_mac.c. However I will better investigate to reproduce the fault and provide more information toward off there's an error in the application calling into lwIP as you suggest.

Thank you

/>-----Original Message-----/

Dave,

I wonder if the NIOS II core for the Stratix is different from the NIOS II
for the Cyclone III (which is what we use).  What memory allocation are you
referring to?  We've been shipping Cyclone III NIOS II products for almost 2
years and have had no issues.  When I did see cache consistency problems
with the NIOS II, it's not been with the driver but with my application
calling into lwIP.  On the Cyclone III, cache consistency issues with SGDMA
do lock up the processor.

Bill

/-----Original Message-----/
/I'm using the Bill Auerbach's lwIP implementation on Nios II Development/
/kit Stratix II edition (rohs)./
/I am experiencing some problems with memory allocation: it seems that/
/the call alt_remap_uncached causes a sort of misalignment of dma data,/
/>so structure pointers became inconsistent. The annoying thing is that in/
/most cases the whole system appears to be tolerant to the fault and the/
/flow carries on through random memory locations but sometimes a simple/
/>call to a free makes the pointer structure to collapse and the system to/
/>go in error./

/best regards,/
/Dave/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]