This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Help! Could not send telegram (UDP, LWIP)

Other Parts Discussed in Thread: TLK110

Hello,

My system C6743 + TLK110, RMII mode.

I've got link with TLK110, but I have trouble with UDP communication.

I don't use BIOS but use LWIP which is included in Start Ware. No system.

I can't send or receive UDP.

I changed very few.

This LWIP never answered at ARP request form connected PC.

Somebody help me. where do I start?

I can see the RXD0, RXD1, CRS signal from TLK110, at every time Connected PC sent anything.

but I can only see TXEN, TXD0, TXD1 at the lwIPInit(...) function running. after one tx interrupt occur, no more TXEX, TXD0, TXD1 signal generated.

Help, please.

  • Any body There?

    Now I could see TXEN signal on the TLK110 pin.

    When I traced step by step, I found ARP table was filled with garbage data.

    After clear this area, TXD signal seemed sent. I can see ACT LED blinking. and the RJ45 connector LED on the connected PC also blinking.

    But the packet sniffer does not report anything. Is hardware oked, if LINK is established? Why does the sniffer couldn't catch anything?

     

    I found, in EMACMIIEnable routine, EMAC_MACCONTROL_GMIIEN bit was written.

    After I change it to 0x8039 (RMIISPEED=100Mbps,  GMIIEN, TXFLOWEN, RXBUFFERFLOWEN, FULLDUPLEX),

    The packet sniffer can get UDP from C6743.

    When I remove GMIIEN, no transfer is occur.

    Is it solved?

    Give me some advice about this situation.

    Thank you 

    Suno

  • Suno,

    I have moved your post to the OMAP-L13x, AM1x and C674x Processors Forumas it sounds like your questions are related to configuration of the C6743.  I believe the experts monitoring this forum should be able to provide you with the necessary guidance.

    Regarding your general questions on Ethernet and link, it is possible for an Ethernet Phy to achieve a link, but still have problems with transmission or reception of data.  However, in most cases, if the Phy can link, it should transmit and receive cleanly.  If resolve your questions about configuration of the C6743, but you continue to encounter problems with packet traffic through the Phy, please open a new post on the Ethernet forum and we will help you resolve those problems.

    Patrick

  • Dear Patrick,

    You are right.

    PHY no problem.

    The problems are come from LWIP-1.3.2 global variable, which is non initialized.

    I found it in LWIP forum

    Thank you.

    Suno.