完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好,
我现在的情况是,对于板子从网口接受标准以太网帧,我想把C6678芯片厂家烧写的MAC地址读取出来并填写到以太网帧的源MAC地址字段。请问我可以通过什么途径获取C6678的MAC地址?我需要看哪些模块的文档?有没有设计到这块的例程?谢谢。 |
|
相关推荐
1 个讨论
|
|
|
如果是用于SGMII通信中的MAC地址,可以用户直接填MAC头。 如果想知道6678自带的MAC地址,可以解析bootp包中的MAC地址获得。 参考EMAC手册和BOOTLOADER手册
Ethernet-Ready Announcement Format The Ethernet-ready announcement frame is made in the form of a BOOTP request so it can use a standard format. No response is processed for this message and it is constructed so that most—if not all—BOOTP and DHCP servers will discard it. The announcement frame is sent every three seconds (the time interval between the packets varies with the clock input); no retransmission is done. The frame uses the DIX MAC Header format. The MAC header contains: • Destination MAC address = H-MAC addr (from boot parameters, normally FF:FF:FF:FF:FF:FF) • Source MAC address = this device’s MAC addr (from boot parameters) • Type = IPV4 (0x800) |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
576 浏览 0 评论
1636 浏览 0 评论
2070 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1527 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1365 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1779浏览 29评论
2806浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1737浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1651浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1662浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-8 08:48 , Processed in 0.735943 second(s), Total 58, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
7189