完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
你好,Guy's,我希望你能帮助我有一个PIC32MZ2048ECH100和一个MII上的Micrel 8863MLLPIC32<->8863ML连接,默认引脚配置和MAC到MAC连接,HARMony Stack v1.08I在Phy驱动程序上为8863写了,Phy开发指南可以读写All Registe。R超过SMI/MIIM,但堆栈不能读取或写入工作1个月这个问题,但不能得到ETH工作请帮助你
以上来自于百度翻译 以下为原文 Hello Guy´s, I hope you can help me I have a PIC32MZ2048ECH100 and a Micrel 8863MLL PIC32 <-> 8863MLL connection over MII and default pin configuration and MAC to MAC connection Harmony Stack v1.08 I wrote my on Phy driver for 8863 followed by Phy development guide I can read and write All Register over SMI/MIIM but Stack cant read or write I work 1 month on this problem but a cant get the ETH working Please help me Thank you |
|
相关推荐
11个回答
|
|
请给出一些细节,到底发生了什么。因此,TCP/IP栈报告一个检测错误,即不能启动与PHY的任何通信?
以上来自于百度翻译 以下为原文 Give some details please, what exactly happens. So, the TCP/IP stack reports a detection error, i.e. could not initiate any communication with the PHY? |
|
|
|
Hythe堆栈走向乙醇。CcReS THE DRVVYSythPixPuxPuxPosiTebug,但不能读取PyraseReBMon寄存器!也许是因为我把MAC中的8863连接到MAC模式?
以上来自于百度翻译 以下为原文 hey the stack goes to the ethphy.c calls the _DRV_ETHPHY_SetupPhaseDetect but can't read the PHY_REG_BMCON register! maybe because i connect the 8863 in MAC to MAC mode? |
|
|
|
不确定这会影响MIM通信。显然不会有数据传输,但是你使用相同的程序来读取PHY寄存器,对吧?那么,如果你在PHY驱动程序之外做同样的代码,那对你有用吗?
以上来自于百度翻译 以下为原文 Not sure that this would affect the MIIM communication. Obviously there will be no data transfers. But you use the same routines to read the PHY registers, right? So the same code works for you if you do it outside the PHY driver? |
|
|
|
是的,我可以通过MIIM和SMI读写,这工作真的很好,还改变了端口3上的KSZ8863模式(主机连接)从PHY到MAC模式,但是堆栈不能读取寄存器,也许故障在Harmony配置中(我必须启用以太网的外围时钟5吗?)对不起,我忘了我自己写的读写功能。
以上来自于百度翻译 以下为原文 yes i can read and write over MIIM and SMI this works really good i also changed the mode of the KSZ8863 on port 3 (host connection) from PHY to MAC mode but the stack can't read the register maybe the failure is in Harmony config (did i have to enable the Peripherie clock 5 for ethernet?) sorry i forgot i wrote my own functions to read and write |
|
|
|
嘿,我把Phyaddress从0改为1,所以现在我的和谐堆栈可以通过MIIM/SMI读写寄存器,但是我没有以太网连接(启用DHCP…但没有IP,我WiRek所有,但没有数据包从接口)有什么想法?
以上来自于百度翻译 以下为原文 Hey, i changed the Phyaddress from 0 to 1 so now my Harmony Stack can read and write register over MIIM/SMI but i get no Ethernet connection (DHCP enable ... but no IP, i wireshark all but no packets from the interface) any idea? |
|
|
|
试试控制台上的“macinfo”命令。这会告诉我们更多。也许MAC<->PHY数据总线没有正确连接/工作。
以上来自于百度翻译 以下为原文 try a "macinfo" command from the console. This will tell us more. Probably the MAC <-> PHY data bus is not connected/working properly. |
|
|
|
更新:我成功地写了局域网,但不能恢复任何包从网络…我如何制作这个MaMnO命令?
以上来自于百度翻译 以下为原文 Update: i success to write to LAN but cant reseive any Packets from the net ... how can i made this macinfo command? |
|
|
|
您需要在UART或USB上启用控制台系统服务。这将允许您输入命令来检查堆栈的状态。现在您看到数据包从PIC32板中出来了吗?
以上来自于百度翻译 以下为原文 You need to enable the console system service on either UART or USB. This will allow you to type in commands to check the status of the stack. Now you see packets coming out of your PIC32 board? |
|
|
|
我的设备是一个原型,所以我没有UART或USB更新:我把连接从MAC模式切换到PHY模式,现在我可以通过KSZ发送,但是我不能接收任何东西……而且我的活动引导几乎是高的(有时会变低)……我已将ERXERR引脚连接到地面,但仍然不能感谢你的支持
以上来自于百度翻译 以下为原文 My Device is a Prototype and so i have no UART or USB Update: i switch the connection from MAC Mode to PHY Mode and now i can Send over the KSZ but i cant receive anything ... also my Activity Led is almost High (sometimes it gets Low) .... am have connected the ERXERR Pin to ground but still not able to receive thank you for your support |
|
|
|
大家好,希望我能得到您的帮助,我使用PICoCHIPS PC205处理器和KSZ88 63 MICRLE交换机,在这里我需要使用SMI接口访问全球和先进的寄存器。从MII到SMI的代码编码是我不能做的。所以请帮助我做同样的事情。我也为SPIN引脚拉了。如何将PHY ADDREST的操作码和前2位设置为10,以使用SMI接口。请引导我ASA.所以,请分享你自己写的那些函数来读写SMI/MMI寄存器。这对我很有帮助,谢谢你,Krishna K
以上来自于百度翻译 以下为原文 Hi All, Hope i can get some help from you, I'm using Picochip Pc205 processor and KSZ8863 micrel switch in which i need to access the Global & advanced registers using SMI interface. The Encoding of code from MII to SMI is something i couldn't do. So please help me in doing the same. I have the pull up for SPISN pin also. How to change set the OPCODE & first 2 bits of PHY addres to 10 --> in order to use SMI interface. Please guide me ASAP. SO, PLEASE SHARE THOSE FUNCTIONS What u wrote on your own to read/write SMI/MMI registers. THAT WILL HELP ME A LOT GUYS. Thanks in Advance, Krishna K |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5140 浏览 9 评论
1988 浏览 8 评论
1917 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3159 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2215 浏览 5 评论
708浏览 1评论
598浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
480浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
609浏览 0评论
506浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-8 22:24 , Processed in 1.276428 second(s), Total 66, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号