lwip udpecho on LPC 54S0128

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lwip udpecho on LPC 54S0128

2,711 Views
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.

Labels (1)
0 Kudos
Reply
7 Replies

2,674 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ragof,

Please refer to readme.txt to configure your board.

 

BR

Alice

0 Kudos
Reply

2,656 Views
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 Kudos
Reply

2,666 Views
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 Kudos
Reply

2,700 Views
ragof
Contributor I

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

0 Kudos
Reply

2,692 Views
frank_m
Senior Contributor III

Debugging into the SDK function that inits the PHY ?

0 Kudos
Reply

2,685 Views
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 Kudos
Reply

2,702 Views
frank_m
Senior Contributor III

Debugging ?

Or static code analysis ?

I don't have a LPC54S0128 EVM board.

0 Kudos
Reply