2009-10-14 12:41 AM
ENET example (um0248): does this even work?
2011-05-17 12:59 AM
I'm trying to run example1 from um0248, on our STR912FA board. The PHY is in loopback mode, but no transfers seem to take place. In debugging the situation, I've been looking at the internal DMA setup, which example1 uses.
I find that ENET_HandleTxPkt calls ENET_UpdateTxDscr, which properly sets the TX VALID bit, which *should* initiate the TX DMA operation. I poll the VALID bit to wait for it to clear (the indication that the DMA operation has completed, if I understand the manual correctly), but it never does. In looking further, I don't see anyplace where the other TX DMA fields (TXSAR, TXCR) are ever initialized, so I *think* that the DMA doesn't proceed because the descriptor isn't valid. In fact, those two fields are not referenced *anywhere* in the um0248 code. Am I looking at this wrong? If not, is there anywhere else that I can look for working ENET code on the STR912 ??2011-05-17 12:59 AM
hello dan2,
this example works on my mcbstr9 board. hope you can use it