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: Failure of EMAC initialization through LWIP1.4.1

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Hi Ti,

I use a customized board here.

For the EMAC functionality, I have used the LWIP version 1.4.1. Code composer studio v7.3.0 and Halcogen version 4.6.0

I have made the HALcogen configurations for EMAC as mentioned in the below link: 

processors.wiki.ti.com/.../HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration                   

There are two set of terminals in the HALcogen: in the "PINMUX" tab, under the "Input Pin Muxing" tab: one is the Default terminal and the other is the Alternate terminal.

Customized Hardware #1: I use the pins from the Default terminal column, the EMAC just works fine.

Customized Hardware #2: I use the alternate terminal column pins because as per the hardware design, the LWIP does not initialize the LWIP TCP/IP stack. What are the changes in HALcogen configurations if any apart from the above link?  The function "lwIPInit()" does not return resulting in failure of EMAC.

Kindly, provide some suggestions on the same.

Thanks and regards,

Vivek

  • Hello Vivek,

    There are secondary terminals for MII and RMII. Those secondary terminals are compatible with LS31x/RM48/LS12x devices etc. If your board uses the default terminals for MII, you should not use the secondary terminals in HALCoGen to generate your code.