Hi. I'm trying to receive data from fec. But it succeeds only once. I can't manage to receive any next packet.
Trying to check (bdrx->Status & SDMA_BD_MASK_READY) to know if something new has arrived. But rxBuff does not change.
Tried calling TaskStart(rxTaskId, TASK_AUTOSTART_ENABLE, rxTaskId, TASK_INTERRUPT_ENABLE) once and periodically.
What does TASK_AUTOSTART_ENABLE mean?
Look at fec_demo example in the MPC5200_Quick_Start software (http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN2757SW&location=null&fr=gtl&Paren...).
Install this software and use the following path to documentation: C:\Program Files (x86)\Freescale\MPC5200_Quick_Start r0.9\doc\BestComm.
See documentation for BestComm API for Ethernet using in the Sections A.1.3 and A.1.4 of this document.
This software contains simple fec-demo program example.