MPC5748G EVB =- enet_ping_mpc5748g in debug flash mode

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

MPC5748G EVB =- enet_ping_mpc5748g in debug flash mode

ソリューションへジャンプ
1,626件の閲覧回数
karma_JC
Contributor I

Hi:

After a day of trying and various computer from Windows10 to Linux, I still CAN NOT have PCs to ping MPC5748G EVB.  The example has no modification.  The program is running in "debug flash" mode.  The code will put in "run" with braking point being disable. 

On PC side, the ethernet cable is connected directly to MPC5748 EVB Ethernet port on the board.  The IP address is static as "192.168.1.5".  The gateway is set as default gateway; or not being configured.  Also, the IP address is set to cache with MAC address using following command "arp -s 192.168.1.19 22:33:44:55:66:77" according to the instruction. 

What did I do wrong here???

Thanks

James

0 件の賞賛
返信
1 解決策
1,496件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tried it on the EVB (revD) as well, with default jumpers, setting PHY for MII mode

PetrS_0-1650369103232.png

Just commented line //#define DEVKIT in demo code.
Again I got successful ping

PetrS_1-1650369171619.png

Unfortunately have no feedback for linux...

BR, Petr

 

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
1,595件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tested this example (from SDK 3.0.3) on DEVKIT-MPC5748G and it is running. I am on WIN10.

PetrS_1-1649940586701.png

 

PetrS_0-1649940532661.png

BR, Petr

0 件の賞賛
返信
1,585件の閲覧回数
karma_JC
Contributor I

Hi PetrS:

I'm still not able to ping the MPC5748G EVB using enet_ping_mpc5748g.  The following is my setting:

 

IP_setting.jpgEtherNetSetting.jpgarp-setting.jpgarp -a

Hopefully, My setup is correct.  By the way, do you have setup for Linux PC(Ubuntu 20) as well???  I just would like to confirm Linux setting being correct.

Thanks

James

0 件の賞賛
返信
1,497件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tried it on the EVB (revD) as well, with default jumpers, setting PHY for MII mode

PetrS_0-1650369103232.png

Just commented line //#define DEVKIT in demo code.
Again I got successful ping

PetrS_1-1650369171619.png

Unfortunately have no feedback for linux...

BR, Petr

 

0 件の賞賛
返信
1,488件の閲覧回数
karma_JC
Contributor I

Hi PetrS:

Thanks for the comment.  I just figured out yesterday that I need to comment out "#define DEVKIT" in the code in order to prevent PHY mode changing to RMII.  The ping is working.

For Linux(Ubuntu 20), the code and EVB board are working as well; actually working better.  What you have to do is to manually assign static address to Ethernet port(192.168.1.5), and assigned IP/MAC pair in ARP cache with "arp -s 192.168.1.19 22:33:44:55:66:77".  This shall do the trick.

Thanks

James

0 件の賞賛
返信
1,588件の閲覧回数
karma_JC
Contributor I

Hi PetrS:

Also, can I run this under debug mode????

Thanks

James

0 件の賞賛
返信
1,589件の閲覧回数
karma_JC
Contributor I

Hi PetrS:

Thanks for the screen shoot.  Let me try again.  Be true, that was exact setting on my system with ENet example with company PC(Windows 10).  Hopefully, this computer don't have admin lock the port.  Just wondering, do you have setting for Linux PC to ping the board????

Thanks

James

タグ(1)
0 件の賞賛
返信