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.

LAUNCHXL2-RM57L: After EMACTXHdrDescPtrWrite, no packet on the wire

Part Number: LAUNCHXL2-RM57L
Other Parts Discussed in Thread: HALCOGEN

I am working on a network interface for FreeRTOS, generated board package with HalCoGen.

The basic setting is MDIO, EMAC, SCI1 enabled, MPU disabled.   Rx and Tx interrupt enabled, using MII,  MII_TX_CLK and MII_RX_CLK are set in the pinmux.

The flow is closely mapping the lwip ethernet driver.

My issue is inside EMACTransmit , after EMACTXHdrDescPtrWrite call, I could  not see the packet showing up on the wire (a BCAST packet, dhcp discover packet in this case), but the TXGOODFRAMES showed one packet is transmitted, but the TXBCASTFRAMES is not incrementing.

I am able to run lwip example on my launchpad and the packets are flowing just fine, so the problem is not on the physical hardware I presume.

What could be the issue here?  Any suggestions on what to check are greatly appreciated.

Thanks

Xueli

  • Waiting some pointers...

  • Hi Julie,

    I never saw any issue related to this before.

    Can you please make sure the following things,

    1. Please make sure to perform all the HALCoGen configurations correctly in accordance with the Lwip Example.

    2. Make sure to call, all the initialization functions.

    If you did above things correctly and still code not working, then can you please share your code to me for to reproduce and debug the issue at my end. You can send a private message so that no one can access your code.

    --

    Thanks & regards,
    Jagadish.