USRP2 USRPN210 烧写

Load the images onto the SD card (USRP2 only)

Warning! Use the usrp2_card_burner.py with caution. If you specify the wrong device node, you could overwrite your hard drive. Make sure that --dev= specifies the SD card.

Warning! It is possible to use 3rd party SD cards with the USRP2. However, certain types of SD cards will not interface with the CPLD:

  • Cards can be SDHC, which is not a supported interface.
  • Cards can have unexpected timing characteristics.

For these reasons, we recommend that you use the SD card that was supplied with the USRP2.

Use the card burner tool (unix)

sudo <install-path>/share/uhd/utils/usrp2_card_burner_gui.py

-- OR --

cd <install-path>/share/uhd/utils
sudo ./usrp2_card_burner.py --dev=/dev/sd<XXX> --fpga=<path_to_fpga_image>
sudo ./usrp2_card_burner.py --dev=/dev/sd<XXX> --fw=<path_to_firmware_image>

Use the --list option to get a list of possible raw devices. The list result will filter out disk partitions and devices too large to be the sd card. The list option has been implemented on Linux, Mac OS X, and Windows.

Use the card burner tool (windows)

<path_to_python.exe> <install-path>/share/uhd/utils/usrp2_card_burner_gui.py

Load the images onto the on-board flash (USRP-N Series only)

The USRP-N Series can be reprogrammed over the network to update or change the firmware and FPGA images. When updating images, always burn both the FPGA and firmware images before power cycling. This ensures that when the device reboots, it has a compatible set of images to boot into.

Note: Different hardware revisions require different FPGA images. Determine the revision number from the sticker on the rear of the chassis. Use this number to select the correct FPGA image for your device.

Use the net burner tool (unix)

<install-path>/share/uhd/utils/usrp_n2xx_net_burner_gui.py

-- OR --

cd <install-path>/share/uhd/utils
./usrp_n2xx_net_burner.py --addr=<ip address> --fw=<path for firmware image>
./usrp_n2xx_net_burner.py --addr=<ip address> --fpga=<path to FPGA image>

Use the net burner tool (Windows)

<path_to_python.exe> <install-path>/share/uhd/utils/usrp_n2xx_net_burner_gui.py

Device recovery and bricking

Its possible to put the device into an unusable state by loading bad images. Fortunately, the USRP-N Series can be booted into a safe (read-only) image. Once booted into the safe image, the user can once again load images onto the device.

The safe-mode button is a pushbutton switch (S2) located inside the enclosure. To boot into the safe image, hold-down the safe-mode button while power-cycling the device. Continue to hold-down the button until the front-panel LEDs blink and remain solid.

When in safe-mode, the USRP-N device will always have the IP address 192.168.10.2

阅读更多
个人分类: USRP
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭