日誌


2016/05/20

もう一台のUSRPの準備

Tweet ThisSend to Facebook | by 福嶋(卒研2015)
Ubuntu16.04+gnuradio3.7.9.1-2ubuntu1の環境でUSRPN200のFPGAイメージとファームウエアを書き換えした。

./usrp_n2xx_net_burner.py --addr=192.168.10.3 --fpga=/usr/share/uhd/images/usrp_n200_r4_fpga.bin
USRP-N2XX found.

************************************************************************************************
WARNING: This utility will be removed in an upcoming version of UHD. In the future, use
         this command:

uhd_image_loader --args="type=usrp2,addr=192.168.10.3" \
    --no-fw \
    --fpga-path="/usr/share/uhd/images/usrp_n200_r4_fpga.bin"

************************************************************************************************

Hardware type: n200_r4
Flash size: 4194304
Sector size: 65536

Begin FPGA write: this should take about 1 minute...
Erasing 1572864 bytes at 1572864
Writing image
Verifying data
Read back 894912 bytes
Success.
Time elapsed: 35.059966 seconds




sudo ./usrp_n2xx_net_burner.py --addr=192.168.10.3 --fw=/usr/share/uhd/images/usrp_n200_fw.bin
USRP-N2XX found.

************************************************************************************************
WARNING: This utility will be removed in an upcoming version of UHD. In the future, use
         this command:

uhd_image_loader --args="type=usrp2,addr=192.168.10.3" \
    --fw-path="/usr/share/uhd/images/usrp_n200_fw.bin" \
    --no-fpga

************************************************************************************************

Hardware type: n200_r4
Flash size: 4194304
Sector size: 65536

Begin firmware write: this should take about 1 second...
Erasing 31744 bytes at 3145728
Writing image
Verifying data
Read back 16383 bytes
Success.
Time elapsed: 1.035759 seconds


sotsu2016@sotsu2016-pc:/usr/lib/uhd/utils$ uhd_usrp_probe
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

-- Opening a USRP2/N-Series device...
-- Current recv frame size: 1472 bytes
-- Current send frame size: 1472 bytes
-- Detecting internal GPSDO.... No GPSDO found

UHD Warning:
    Unable to set the thread priority. Performance may be negatively affected.
    Please see the general application notes in the manual for instructions.
    EnvironmentError: OSError: error in pthread_setschedparam
  _____________________________________________________
 /
|       Device: USRP2 / N-Series Device
|     _____________________________________________________
|    /
|   |       Mboard: N200r4
|   |   hardware: 2576
|   |   mac-addr: 00:80:2f:0a:cf:ff
|   |   ip-addr: 192.168.10.3
|   |   subnet: 255.255.255.255
|   |   gateway: 255.255.255.255
|   |   gpsdo: none
|   |   serial: F30166
|   |   FW Version: 12.4
|   |   FPGA Version: 11.1
|   |  
|   |   Time sources: none, external, _external_, mimo
|   |   Clock sources: internal, external, mimo
|   |   Sensors: mimo_locked, ref_locked
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 0
|   |   |   Freq range: -50.000 to 50.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 1
|   |   |   Freq range: -50.000 to 50.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   |   ID: Basic RX (0x0001)
|   |   |   Serial: ECR00Z0RB
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: AB
|   |   |   |   Name: BasicRX (AB)
|   |   |   |   Antennas:
|   |   |   |   Sensors:
|   |   |   |   Freq range: -250.000 to 250.000 MHz
|   |   |   |   Gain Elements: None
|   |   |   |   Bandwidth range: 500000000.0 to 500000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: BA
|   |   |   |   Name: BasicRX (BA)
|   |   |   |   Antennas:
|   |   |   |   Sensors:
|   |   |   |   Freq range: -250.000 to 250.000 MHz
|   |   |   |   Gain Elements: None
|   |   |   |   Bandwidth range: 500000000.0 to 500000000.0 step 0.0 Hz
|   |   |   |   Connection Type: QI
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: A
|   |   |   |   Name: BasicRX (A)
|   |   |   |   Antennas:
|   |   |   |   Sensors:
|   |   |   |   Freq range: -250.000 to 250.000 MHz
|   |   |   |   Gain Elements: None
|   |   |   |   Bandwidth range: 250000000.0 to 250000000.0 step 0.0 Hz
|   |   |   |   Connection Type: I
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: B
|   |   |   |   Name: BasicRX (B)
|   |   |   |   Antennas:
|   |   |   |   Sensors:
|   |   |   |   Freq range: -250.000 to 250.000 MHz
|   |   |   |   Gain Elements: None
|   |   |   |   Bandwidth range: 250000000.0 to 250000000.0 step 0.0 Hz
|   |   |   |   Connection Type: Q
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: A
|   |   |   |   Name: ads62p44
|   |   |   |   Gain range digital: 0.0 to 6.0 step 0.5 dB
|   |   |   |   Gain range fine: 0.0 to 0.5 step 0.1 dB
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 0
|   |   |   Freq range: -50.000 to 50.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: 0
|   |   |   |   Name: Unknown (0xffff) - 0
|   |   |   |   Antennas:
|   |   |   |   Sensors:
|   |   |   |   Freq range: 0.000 to 0.000 MHz
|   |   |   |   Gain Elements: None
|   |   |   |   Bandwidth range: 0.0 to 0.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: A
|   |   |   |   Name: ad9777
|   |   |   |   Gain Elements: None

sotsu2016@sotsu2016-pc:/usr/lib/uhd/utils$ uhd_find_devices
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    type: usrp2
    addr: 192.168.10.3
    name:
    serial: F30166
11:44 | 投票する | 投票数(2) | コメント(0)