lwip udpecho on LPC 54S0128

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lwip udpecho on LPC 54S0128

2,216件の閲覧回数
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,179件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ragof,

Please refer to readme.txt to configure your board.

 

BR

Alice

0 件の賞賛
返信

2,161件の閲覧回数
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,171件の閲覧回数
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,205件の閲覧回数
ragof
Contributor I

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

0 件の賞賛
返信

2,197件の閲覧回数
frank_m
Senior Contributor III

Debugging into the SDK function that inits the PHY ?

0 件の賞賛
返信

2,190件の閲覧回数
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,207件の閲覧回数
frank_m
Senior Contributor III

Debugging ?

Or static code analysis ?

I don't have a LPC54S0128 EVM board.

0 件の賞賛
返信