open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.84k stars 650 forks source link

zcu102 failed to connect fmcomms3 #62

Closed lihuanjing closed 3 years ago

lihuanjing commented 3 years ago

hello, i run your image on zcu102 , but it cannot connect to my fmcomms3, i have tried the image in two boards and all failed the failed log is posted below root@analog:~# ~/openwifi/fosdm-11ag.sh -bash: /root/openwifi/fosdm-11ag.sh: No such file or directory root@analog:~# ~/openwifi/fosdem-11ag.sh hostapd: no process found stop: Unknown instance: num_arg 0 last_input xxxxxxxxx test_mode 0 check tx_intf module is loaded or not tx_intf is loaded! check ad9361_drv module is loaded or not ad9361_drv is loaded! set RF frontend Found openwifi_ad9361_fir.ftr

JiaoXianjun commented 3 years ago

Could because your fmcomms3 firmware issue? maybe try other RF card? (another fmcomms3/4/2)

You have this error: ad9361 spi1.0: ad9361_probe : Unsupported PRODUCT_ID 0xFF

[   50.503755] sdr,tx_intf hw_init mode TX_INTF_BW_20MHZ_AT_N_10MHZ_ANT1
[   50.503760] sdr,tx_intf hw_init err 0
[   51.167702] ad9361 spi1.0: ad9361_probe : enter (ad9361)
[   51.170639] ad9361 spi1.0: ad9361_probe : Unsupported PRODUCT_ID 0xFF
[   52.230503]
[   52.230508] sdr,rx_intf dev_probe match!
[   52.230528] sdr,rx_intf dev_probe io start 0xa0004000 end 0xa0004fff name /fpga-axi@0/rx_intf@a0004000 flags 0x00000200 desc 0x00000000

Normally is should be: ad9361_probe : AD936x Rev 2 successfully initialized

[   57.774555] sdr,tx_intf hw_init mode TX_INTF_BW_20MHZ_AT_N_10MHZ_ANT1
[   57.774560] sdr,tx_intf hw_init err 0
[   58.439653] ad9361 spi1.0: ad9361_probe : enter (ad9361)
[   58.659982] ad9361 spi1.0: ad9361_probe : AD936x Rev 2 successfully initialized
[   59.469344] cf_axi_adc 99020000.cf-ad9361-lpc: ADI AIM (10.01.b) at 0x99020000 mapped to 0xffffff8009200000, probed ADC AD9361 as MASTER
[   59.489536] cf_axi_dds 99024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x99024000 mapped to 0xffffff800906a000, probed DDS AD9361
[   66.671930] 
[   66.671935] sdr,rx_intf dev_probe match!
[   66.671956] sdr,rx_intf dev_probe io start 0xa0004000 end 0xa0004fff name /fpga-axi@0/rx_intf@a0004000 flags 0x00000200 desc 0x00000000
JiaoXianjun commented 3 years ago

Or switch to another zcu102. Could be the hardware/FMC interface issue.

JiaoXianjun commented 3 years ago

Have you resolved the issue?

lihuanjing commented 3 years ago

The problem has been solved. The voltage of ZCU102 HPC0 is 0.0V, so the serial port is not active. We downloaded SCUI.exe and configured the voltage of HPC0.

JiaoXianjun commented 3 years ago

Good to know!