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.

RTOS/TMS320C6678: Lost Ethernet communication

Part Number: TMS320C6678

Tool/software: TI-RTOS

Hi everyone,

I work with TMS320C6678 with 2 ethernet pots.
My application have the two task onle (IdleTask & WorkTask).
At one of the stages of programm I'm stop the main loop of the WorkTask and back above the while(1) (the main loop), but don't make the repeated initialization of peripherals units, like PA, Queue Manager, Packet DMA and etc.
At this point I lost the ethernet communication. I check the ethernet port statictics with CSL_CPSW_3GF_STATS and the RX Good Counter is not advancing, not changing.
What's wrong?

Thank's on advance,

Leon

  • Hi,

    Could you please elaborate on the procedure you use? I am kind of confused.

    I guess you stop your main loop in WorkTask using a break point and at this very same moment you lose the ethernet communication, right? If this is the case then this sounds like a normal behaviour of the system.

    OR

    You stop your main loop with a break point and then you resume, run the program (WorkTask) again, and when you resume you have NO ethernet communication? This sounds like your app does not save its context (initialization of PA, QM, PktDMA, etc..)

    Best Regards,
    Yordan
  • Thank's.

    The issue is resolved.

    Leon.