|
From: | Krzysztof Wesołowski |
Subject: | Re: [lwip-users] lwip performance goes down if running with FreeRTOS |
Date: | Fri, 11 May 2012 08:33:41 +0200 |
I found root cause now , it is ST CORTEX M3 DMA problem when receive a large of file..
I trace the code, after lwIP performance is down, the Rx Buffer unavailable flag is always set. It means that DMA is in unknown status..
It should be enthernet driver problem ..anyone know how to fix ? thank you
/* Set Own bit in Rx descriptors: gives the buffers back to DMA */
for (i=0; i<DMA_RX_FRAME_infos->Seg_Count; i++)
{
DMARxNextDesc->Status = ETH_DMARxDesc_OWN;
DMARxNextDesc = (ETH_DMADESCTypeDef *)(DMARxNextDesc->Buffer2NextDescAddr);
}
[Prev in Thread] | Current Thread | [Next in Thread] |