Difference between revisions of "GNURadio: UHD"

From OnnoWiki
Jump to navigation Jump to search
Line 36: Line 36:
  
 
==Test==
 
==Test==
 +
 +
===Test clock 52MHz===
 +
 +
cd /usr/local/bin
 +
./uhd_usrp_probe --args="master_clock_rate=52e6"
 +
 +
===Test Benchmark===
 +
 +
cd ~/src/uhd.git/host/build/examples
 +
./benchmark_rate --rx_rate 1000000 --tx_rate 1000000
  
 
==Referensi==
 
==Referensi==

Revision as of 04:26, 13 August 2012

Download

echo "/usr/local/lib" >> /etc/ld.so.conf
cd /usr/local/src
git clone git://ettus.sourcerepo.com/ettus/uhd.git uhd.git

Compile

cd /usr/local/src/uhd.git/host/
mkdir build
cd /usr/local/src/uhd.git/host/build
cmake -DENABLE_E100=OFF -DENABLE_USRP2=OFF -DENABLE_USRP1=ON -DENABLE_B100=OFF ../
make
make test
make install
ldconfig

Make sure that libuhd.so is in your LD_LIBRARY_PATH, or add it to /etc/ld.so.conf and make sure to run:

sudo ldconfig

Install UHD USRP ke udev

cd /usr/local/share/uhd/utils
sudo cp uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules


Install Image 003.004.002-180-gb6bb13bc

rm -Rf /usr/share/uhd/images/*
rm -Rf /usr/local/share/uhd/images/*
cd ~
tar zxvf uhd-images_003.004.002-180-gb6bb13bc.tar.gz
mv ~/uhd-images_003.004.002-180-gb6bb13bc/share/uhd/images/* /usr/local/share/uhd/images/

Test

Test clock 52MHz

cd /usr/local/bin
./uhd_usrp_probe --args="master_clock_rate=52e6"

Test Benchmark

cd ~/src/uhd.git/host/build/examples
./benchmark_rate --rx_rate 1000000 --tx_rate 1000000

Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

Ettus E110

GPRS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video