完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
I am devloping Ethernet IP101A with RMII interface on AM335x wince7 platform. Now IP101A is detected successfully. but can not get IP address with DHCP mode; if set static IP, then can not pin successfully the wince on PC. I also check the interrupt in |
|
相关推荐
4个回答
|
|
看了一下你的log,这个地方:你是要把他配成XGMII?我们的335的千兆网只支持RGMII
PID:00400002 TID:01370006 LinkSpeed is not currently supported. PID:00400002 TID:01370006 LinkDuplex is not currently supported. PID:00400002 TID:01370006 Cpsw_read_port_setting: read subkey failed PID:00400002 TID:01370006 Read port settings failed PID:00400002 TID:01370006 Xgmii_sel=45 PID:00400002 TID:01370006 Xgmii_sel=45 |
|
|
|
hwjj940056201 发表于 2018-5-15 04:40 Dear Steven liu, appreciate your replying. maybe my information misguid you. below is my code: as below red colour code, I want use RMII interface control IP101A ic. so I set GMII_SEL = 0x45. NdisSetPhysicalAddressHigh(PhysicalAddress2, 0); NdisSetPhysicalAddressLow (PhysicalAddress2, AM33X_DEVICE_CONF_REGS_PA); Status = NdisMMapIoSpace((VOID*)&ControlRegsBase, pAdapter->AdapterHandle, PhysicalAddress2, sizeof(AM33X_DEVICE_CONF_REGS)); pControlRegs = NULL; if(Status == NDIS_STATUS_SUCCESS) [ pControlRegs=(AM33X_DEVICE_CONF_REGS *)ControlRegsBase; RETAILMSG(1,(L"Xgmii_sel=%xrn", pControlRegs->GMII_SEL)); pControlRegs->GMII_SEL = 0x45; RETAILMSG(1,(L"Xgmii_sel=%xrn", pControlRegs->GMII_SEL)); ] else [ RETAILMSG(1,(L"AM33X_DEVICE_CONF_REGS_PA NdisMMapIoSpace failrn")); ] |
|
|
|
hwjj940056201 发表于 2018-5-15 04:40 I want set gmii_sel register to 0x45 value |
|
|
|
TI AM3359 WINCE7 BSP BSP_WINCE_ARM_A8_02_30_00 don't support RMII interface driver. I already fixed this issue: I add below red code: Cpsw3g_adapter.c (platformcommonsrcsoccommon_ti_v1am33xcpsw3gminiport) // phyChan is 0 based. in this case it is already the right index. no // need to convert using P2I(). static void Cpsw3g_cpgmac_control(PCPSW3G_ADAPTER pAdapter, UINT32 phyChan) [ UINT32 macControlVal; macControlVal = pAdapter ->pCpsw3gRegsBase->SL_Regs[phyChan].SL_MacControl; if (pAdapter->PhyDevice[phyChan].link_duplex == FULL_DUPLEX) macControlVal |= (0x1 << CPMAC_MACCONTROL_FULLDUPLEXEN_SHIFT); else macControlVal &= ~(0x1 << CPMAC_MACCONTROL_FULLDUPLEXEN_SHIFT); if (pAdapter->PhyDevice[phyChan].link_speed == 1000000) macControlVal |= ((0x1 << CPMAC_MACCONTROL_GIGABITEN_SHIFT) | (0x1 << CPMAC_MACCONTROL_GIGFORCE_SHIFT)); else macControlVal &= ~((0x1 << CPMAC_MACCONTROL_GIGABITEN_SHIFT) | (0x1 << CPMAC_MACCONTROL_GIGFORCE_SHIFT)); macControlVal |= (0x1 << CPMAC_MACCONTROL_IFCTLA_SHIFT); // macControlVal |= (0x1 << CPMAC_MACCONTROL_IFCTLB_SHIFT); pAdapter ->pCpsw3gRegsBase->SL_Regs[phyChan].SL_MacControl = macControlVal; RETAILMSG(1,(L"Cpsw3g_cpgmac_control:%d, %xrn", phyChan,pAdapter ->pCpsw3gRegsBase->SL_Regs[phyChan].SL_MacControl)); ] |
|
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
683 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
599 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1054 浏览 1 评论
740 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
524 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
163浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
127浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
127浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
123浏览 12评论
TPA6304-Q1: TPA6304 两片公用一组I2C的话,其中一片配置不成功怎么办
170浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 05:37 , Processed in 1.054003 second(s), Total 86, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号