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: We have adopted the RMII mode circuit design for the Ethernet interface from the TMS570LC4357 HDK development board. However, we are unable to ping the computer host.

Part Number: TMS570LC4357

We are using the official software version v00.04.00, and the configuration in the HCG is as follows:

1、Pin Muxing

2、Input Pin Muxing

3、Special Pin Muxing

4、EMAC Configuration

5、VIM Channel 64-95

6、VIM RAM

7、GCM

8、PLL

May I ask if there are any errors in the configuration on the HCG?

My modifications in project v00.04.00 are as follows:

1、The modifications to the function EMAC_LwIP_Main are as follows:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
void EMAC_LwIP_Main (uint8_t * macAddress)
{
unsigned int ipAddr;
uint8_t testChar;
struct in_addr devIPAddress;
//iommUnlock();
//iommMuxEnableMdio();
//iommMuxEnableMii();
//iommLock();
// sciInit();
/* Enable the interrupt generation in CPSR register */
IntMasterIRQEnable();
_enable_FIQ();
sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
sciDisplayText(sciREGx, txtTitle, sizeof(txtTitle));
sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
sciDisplayText(sciREGx, txtTI, sizeof(txtTI));
sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

2、The modifications to the function sciDisplayText are as follows:

Fullscreen
1
2
3
4
5
6
7
8
void sciDisplayText(sciBASE_t *sci, uint8_t *text,uint32_t length)
{
// while(length--)
// {
// while ((sci->FLR & 0x4) == 4); /* wait until busy */
// sciSendByte(sci,*text++); /* send out text */
// };
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

3、The modifications in lwiplib.h are as follows:

Fullscreen
1
2
3
#define IPADDR_USE_STATIC 1
#define IPADDR_USE_DHCP 0
#define IPADDR_USE_AUTOIP 0
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

4、The modifications in lwipopts.h are as follows:

#define LWIP_DHCP                       0

My Ethernet configuration on the computer host side is as follows:

IP:192.168.2.43

NETMASK:255.255.255.0

GATEWAY:192.168.2.254

Despite attempting to ping our custom hardware from the computer host, I am unable to establish a successful connection. I cannot identify the cause of the issue.

x 出现错误。请重试或与管理员联系。