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.

TM4C129ENCPDT: TM4C129 EMAC does not send anything sometimes

Part Number: TM4C129ENCPDT


Looking for a lead to search bug.

What might be the reasons where EMAC *sometimes* does not send anything out (wireshark)

Heavy O/S environment, lot's of TCP open/send/close
After that "transparent to EMAC" send everything continue normally
There is NO error indication in ISR

  • Hi Amir,
    I'm going to assign your post to one of my colleagues who can help you.
  • Hello Amir. What is the version of the LwIP lib that you use? is it the 1.4.1 included with TivaWare? If so, download and replace with 2.0.2
    John
  • Hi John,

      Thanks for helping out. Amir mentioned in another post that his upper layer stacks is not LwIP based. 

  • 
    O.K. Charles. Thankzzzz. Hadn't notice that.
    All the best,
    John

     
    -----
  • so guys, after noticing that, can you hint for direction on:
    1. What may cause the EMAC not to send pkt at all?
    2. When that happends how do I know it in my firmware?
    3. Will the EMAC indicate it in the EMACIntStatus() - which macro?
    4. Will it unset the DES0_TX_CTRL_OWN in case of an error?
    5. If I set EMACIntEnable(EMAC_INT_RECEIVE | EMAC_INT_TRANSMIT) will I still get interrupt when error occurs?
    6. I HAVE READ THE "Peripheral Driver Library" - but it is not clear at all, Can you explain what is:
    EMAC_INT_TX_STOPPED, EMAC_INT_TRANSMIT, EMAC_INT_TX_NO_BUFFER and so on...
    7. Where can we find more information beside that slim user-guide?

    BTW, I am using TivaWare_C_Series 2.0.1.11577, I know it's old, but that's not the reason....
  • Hello Amir,

    Do you still need help with this post?

    The TivaWare version you are using is really old. Please use a later version of Tivaware as there are lot of bugs that have been fixed and might fix your issue. One such bug is highlighted in the following thread, which might help: e2e.ti.com/.../1316428

    Thanks,
    Sai
  • We cannot upgrade in that stage.
    However, my questions were "theoretical" and does not concern to TivaWare specific firmware version.
    If I understand how the EMAC behave, I will know how to solve the problems I described.
    I'm almost sure that there is no connection to TivaWare version. If there is error ISR bit's then it might happens, and the driver should deal with them. Currently in ALL examples I looked into, including new, it does not.