lwip udpecho on LPC 54S0128

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

lwip udpecho on LPC 54S0128

2,863 次查看
ragof
Contributor I

I'm using the LPC controller as a communication hub to relay messages from ethernet to 2x UART and 1x CAN. To begin with, I loaded the lwip_udpecho_bm example. I get the following error on the serial console: "Cannot initialize PHY."

I did verify the right jumper settings on the EVM. Any help here is much appreciated.

标签 (1)
0 项奖励
回复
7 回复数

2,826 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ragof,

Please refer to readme.txt to configure your board.

 

BR

Alice

0 项奖励
回复

2,808 次查看
ragof
Contributor I

@Alice_Yang @frank_m

I was using the wrong SDK, LPC54S018M-EVK instead of LPC54S018-EVK. Sorry for the trouble, and I really appreciate the support.

BR,

Raghav

0 项奖励
回复

2,818 次查看
ragof
Contributor I

Hi Alice, I did look into the readme.txt file and it still fails.

I don't have the JP14 and JP15 on Rev.F of the EVK. Would this be an issue?

0 项奖励
回复

2,852 次查看
ragof
Contributor I

This was during the debugging. It's an SDK example.

0 项奖励
回复

2,844 次查看
frank_m
Senior Contributor III

Debugging into the SDK function that inits the PHY ?

0 项奖励
回复

2,837 次查看
ragof
Contributor I

I've attached the debug stack and the snippet of the code where it fails.

File: fsl_phylan87201.c,
line 79: (regValue != PHY_CONTROL_ID1) 

The regValue is always 0. It is never equal to the PHY_CONTROL_ID1, which is defined to be 7. Maybe the MDIO read is not successful. I also tried this on the second EVM just to be sure and have the same issue.

ragof_0-1636564591496.png 

ragof_1-1636564866818.png

 

 

0 项奖励
回复

2,854 次查看
frank_m
Senior Contributor III

Debugging ?

Or static code analysis ?

I don't have a LPC54S0128 EVM board.

0 项奖励
回复