Hello,
I saw a few recent posts about ethernet already, where the only thing to change was the ethernet pin setup like in this thread:
But unfortunately none of the examples is working with this change only. I have to say that i'm quite a beginner with microcontrollers...
Uart and Leds are working fine, but in enet_uip i always get warnings that pt_yield_flag is never used in psock.c. But the major problem is that i can't enable the MASTEN bit in the DMACFG-register. I tried it with the driverlibs function and writing directly into the register, but that doesn't work too (uDMAEnable(); HWREG(UDMA_CFG) = UDMA_CFG_MASTEN;). The bit is always 0.
I also tried enet_lwip.c code with dynamic ip and static ip, but it stops in main --> lwIPInit - -> lwIPPrivateInit --> netif_add and stops there in line 141 (netif.c), where it compares the following:
if (init(netif) != ERR_OK)
I tried to comment it out, because it thought it wasn't that important and got until the while-loop in the main, but i didn't get a ip - the static one didn't work.
What do i need to change to get a example working?
Thanks,
Christoph