Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHello!
Well vthank you so much for your answer, but i don't know exactly why this is happening neither. I'm just compiling the simple socket server with the default options. The wear think it's this: the program worked... at the begining. But but could only send 72 bytes(I reduced the startup menu to just "Hello Nios II telnet test\n") and the leds where turning On and Off. It worked a few times... and then suddenly it stop working... since tuesday this is not reponding to anything. I've tried all, rebuilding the project, recompiling... I've tried the following: - I activated the following macros: NPDEBUG, NAIVE_PRINTF and ETH_OCM_DBG_LVL=10. - In SOPC: TX buffers are now 4096(128 was the default). I thought this could be a reason why it could only send 72 bytes. - In the PHY initialization function I'm NOW restaring the chip. While the example was working i didn't make any initialziation sequence since the chip datasheet says nothing about it. I'm also waiting for the autonegotiation to complete. My board have the KS8721BT chip, no flash, (MAC and IP are hardcoded, no DHCP enable). Why the buffers would be filled? I'm not sending anything to it :(.