TWR k60 Ethernet barecode codewarrior 10.5 mac address issue

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

TWR k60 Ethernet barecode codewarrior 10.5 mac address issue

跳至解决方案
819 次查看
shiju_cg
Contributor II

Hi, I am using TWR K60DN512 and code warrior 10.5. I have imported the PE code for Ethernet communication in the example list  for twr k60DN512 board.It is working perfectly. The  mac address given in the program is uint8_t MACAddress[] = { 0x06, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; but the device mac address written on the board is  00:04:9F:01:64:3B . when i tried to replace the mac address in the program with the mac address written on board the program is not receiving data back. Can anybody tell the reason? I need to establish an Ethernet communication interface. Which mac should i use? Thanks and regards Shiju

0 项奖励
1 解答
515 次查看
LadislavVadkerti
NXP Employee
NXP Employee

Hi Shiju,

if you change the MACAddress variable, you must change the MAC address property value in the Ethernet_LDD component in the Processor Expert project too. The property value is the address which is set into the ENET module during component initialization. The variable value is the address used as the source and destination address of the transmitted ethernet frame.

Best regards,

Ladislav Vadkerti

Freescale Processor Expert Team

在原帖中查看解决方案

0 项奖励
2 回复数
516 次查看
LadislavVadkerti
NXP Employee
NXP Employee

Hi Shiju,

if you change the MACAddress variable, you must change the MAC address property value in the Ethernet_LDD component in the Processor Expert project too. The property value is the address which is set into the ENET module during component initialization. The variable value is the address used as the source and destination address of the transmitted ethernet frame.

Best regards,

Ladislav Vadkerti

Freescale Processor Expert Team

0 项奖励
515 次查看
shiju_cg
Contributor II

Hi Ladislav ,

Thank you for the reply.

Regards,

Shiju

0 项奖励