am335x 移植rtl8189ES遇到的问题,请教大神帮忙看看

/tmp # insmod 8189es.ko
RTL871X: module init start
RTL871X: rtl8189es v4.3.10.1_13373.20150129
RTL871X: build time: Jun 14 2017 06:46:48
RTL871X: CHIP TYPE: RTL8188E
RTL871X: register rtw_netdev_ops to netdev_ops
RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
RTL871X: RF_Type is 3!!
RTL871X: EEPROM type is E-FUSE
RTL871X: =>_CardEnable
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
RTL871X: <=_CardEnable
RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
RTL871X: =>_InitPowerOn_8188ES
RTL871X: =>_CardEnable
RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
RTL871X: <=_CardEnable
RTL871X: <=_InitPowerOn_8188ES
bFWReady == _FALSE call reset 8051...
RTL871X: =====> _8051Reset88E(): 8051 reset success .
RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
RTL871X: efuse_read_phymap_from_txpktbuf reg_0x106:0x00, write 0x69
RTL871X: efuse_read_phymap_from_txpktbuf reg_0x106:0x69
RTL871X: efuse_read_phymap_from_txpktbuf dbg_addr:0x0
RTL871X: efuse_read_phymap_from_txpktbuf write reg_0x143:0x00

之后卡住了,

代码: while(!(reg_0x143=rtw_read8(adapter, REG_TXPKTBUF_DBG))//dbg
//while(rtw_read8(adapter, REG_TXPKTBUF_DBG) & BIT0
&& (passing_time=rtw_get_passing_time_ms(start))<1000
) {
DBG_871X("%s polling reg_0x143:0x%02x, reg_0x106:0x%02x\n", FUNCTION, reg_0x143, rtw_read8(adapter, 0x106));
rtw_usleep_os(100);
}

    lo32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L);
    hi32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H);



    在lo32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L);卡住不能动了

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐