mcf52233的以太网通信在链路层设置它的物理地址时应该怎么填?在哪里能够获得它的物理地址?

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

mcf52233的以太网通信在链路层设置它的物理地址时应该怎么填?在哪里能够获得它的物理地址?

915 Views
18311460468
Contributor II

我用的是以太网回环模式检测收发以太帧,发送函数没有错,但是接收不到,源物理地址我写的全是0(随便写的),目的地址全FF。我想会不会是我的物理地址设置的不对才导致接收不到信息?

Labels (1)
0 Kudos
3 Replies

599 Views
miduo
NXP Employee
NXP Employee

你好,

请问你具体使用的是哪个TCP/IP STACK? 是InterNiche吗? InterNiche TCP/IP的协议栈我们官网上有例程可以参考.

0 Kudos

599 Views
18311460468
Contributor II

我没有用你说的那个协议栈,我只是想从物理层开始自己一步一步写,在链路层封装的以太帧需要填写源物理地址和目的物理地址,我的问题是我的MCF52233DEMO开发板网口的物理地址(源物理地址)要怎么写?即使使用 InterNiche TCP/IP协议栈,也需要知道板子的物理地址。或者说这些板子的基本信息在哪个寄存器里需要自己读出来?另外,重要的事情说三遍:开发板的物理地址、物理地址、物理地址我要从哪里才能获得?

在 2016-05-25 13:51:22,"miduo" <admin@community.freescale.com> 写道:

|

|

NXP Community

|

|

mcf52233的以太网通信在链路层设置它的物理地址时应该怎么填?在哪里能够获得它的物理地址?

reply from Fang Li in ColdFire/68K Microcontrollers and Processors - View the full discussion

你好,

请问你具体使用的是哪个TCP/IP STACK? 是InterNiche吗? InterNiche TCP/IP的协议栈我们官网上有例程可以参考.

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in ColdFire/68K Microcontrollers and Processors by email or at NXP Community

Following mcf52233的以太网通信在链路层设置它的物理地址时应该怎么填?在哪里能够获得它的物理地址? in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

|

|

0 Kudos

599 Views
miduo
NXP Employee
NXP Employee

你好,

我这边正好有MCF52259 DEMO 板的验证代码,你可以参考下, MCF52259 和MCF5223X 的以太网模块是一样的. 你用的源和目的地址是对的, 应该还是程序本身有问题. 请参考我发给你的验证代码.

0 Kudos