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.

TMS570LC4357: Ethernet And EMIF issue

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Dear e2e,

I'm using TMS570LC4357

I want to use ethernet & emif in my custom board , 

Halcogen 04.07.00,  CCS ver 7.3

1. I am unable to configure the ethernet, using the new halcogen generated code, but if i use the Lwip demo .dil file it is working.

What might be the issue ? or should i use the older version of Halcogen. I have followed the wiki page to configure the ethernet but unsuccessful.

The ethernet config gets stuck at this line
while(((EMACSwizzleData(curr_bd->flags_pktlen)) & EMAC_BUF_DESC_OWNER) == EMAC_BUF_DESC_OWNER)
{
}


I have gone through various posts but didn't find a solution.

2. With the Lwip demo ethernet works fine in my custom board ,but if I configure EMIF , i cannot read data from EMIF it displays junk values.

I have cross verified that none of the ethernet or emif pins are same.

Please help resolve this issue

  • Hello Shanmukh,

    What are the differences you are seeing in initializing the EMAC module for the LWIP application between 4.07.00 and 4.06.xx? I don't believe there were any changes in this area for the Halcogen tool. I will foreard to our Halcogen team to see if there is any assistance they can provide. It might be helpful if you can post your project files so we can recreate the issue.

    For EMIF, have you been able to get this to work independently of the LwIP demo?
  • Hi Chuck,

    Thank you for the reply, below i have attached two screenshots,

    In one I get conflicts on T4 & U7 pins this one from is lwip demo

    This one is new version i do not get conflicts on T4 & U7 pins Halcogen 04.07.00

    Yes I am able to work on EMIF independently without lwip demo.

  • Hi Chuck,

    There is a conflict on pin T4 & U7 in lwip demo,

    When i create a new project with new Halcogen 04.07.00, there is no conflict on pin T4 & U7, and its not working.
    It gets stuck at this line
    while(((EMACSwizzleData(curr_bd->flags_pktlen)) & EMAC_BUF_DESC_OWNER) == EMAC_BUF_DESC_OWNER)
    {
    }


    Yes i'm able to work on EMIF independently.
  • Hi, Chuck Davenport

    Did you find the issue ?

    Could you send a demo ethernet code for tms570 HDK or launchpad tms570lc43x