Part Number: AM6422
Other Parts Discussed in Thread: SYSCONFIG
Hello,
We are using SDK 11.2. In the configuration, the number of DMA transmit channels is set to 8. Due to the GPTP feature, we are using 2 transmit and 2 receive channels. Both transmit channel counts are set to 8, and both receive channel counts are set to 16. Now we would like to change receive channel 0 to 32 or more, but we get an error during initialization. The code enters
LwipifEnetAppCb_getRxHandleInfo and fails in the for loop when allocating pPktInfo .
for (i = 0U; i < rxChInfo.maxNumRxPkts; i++)
{
pPktInfo = EnetMem_allocEthPkt(&inArgs->cbArg,
ENETDMA_CACHELINE_ALIGNMENT,
ENET_ARRAYSIZE(scatterSegments),
scatterSegments);
EnetAppUtils_assert(pPktInfo != NULL);
...
}
The assertion fails because EnetMem_allocEthPkt returns NULL. How should we modify the configuration? to enlarge the receive buffer pool?




