Hi, I don't have USRP but just USRP2. I think you should try this part of code : svn co https://www.cgran.org/cgran/projects/bbn_80211/branches/usrp2_version there are the bbn_80211b_rx.py & bbn_80211b_tx.py files wich work fine for many of us between 2 USRP2. I used these options: ./bbn_80211b_tx.py -f 2.4G -e eth1 -i 24 -r 20 and ./bbn_80211b_rx.py -f 2.4G -v
try them and tell us about the results. Ben Yahmed > > Hi, > > I have already tried to use USRP2 as transmitter and USRP1 as receiver > using > transmit_path_usrp2 file for usrp2. However I am not able to figure out > the > bit rate, interpolation and decimation rate to be set for successful > communication. I am not able to catch the packets using USRP1. Were you > able > to transmit using USRP2 and receive using USRP1. If yes, please let me > know > what frequency you used, what were the command line parameters and also if > you made any changes in the python code for either usrp1 or usrp2. > > Thanks for your help in advance. > > Kushal > > > Ben Yahmed wrote: >> >> Hi, >> I replaced your USRP2'mac adress with mine and tryed the code but no >> received packet even with USRP2. I suggest that you use the >> usrp2_version >> branch code to transmit packets with USRP2 and try to catch them with >> USRP1 since this code works fine for many of us. >> >> Ben Yahmed >> >>> >>> Hi, >>> >>> I don't have two usprp2. So I am trying to communicate between usrp1 >>> and >>> usrp2. Moreover, in the transmit_path.py file I have hard coded my >>> usrp2's >>> mac address so you would have to replace it with yours before using it. >>> If >>> there are any other problems with the code then please let me know >>> >>> Smith >>> >>> >>> Ben Yahmed wrote: >>>> >>>> Hi, >>>> Did you try to send and receive packets between 2 USRP2? I tryed but >>>> without any result. Are you sure that it's working correctly? I will >>>> have a look to the code in more details and tell you if something will >>>> work. >>>> >>>> Ben Yahmed >>>> >>>> >>>> Smith L. wrote: >>>>> Hi, >>>>> >>>>> This is what I get when I run benchmark _tx.py and benchmark_rx.py >>>>> respectively on USRP2 with transmit_path_usrp2.py and >>>>> receive_path_usrp2.py >>>>> respectively: >>>>> >>>>> benchmark_tx.py:- >>>>> >>>>> m...@mcrl-desktop:~/gnuradio/gnuradio-examples/python/digital$ sudo >>>>> ./benchmark_tx.py -f 2400M -v >>>>> usrp2::ctor reset_db failed >>>>> usrp2::ctor set_rx_gain failed >>>>> usrp2::ctor set_tx_interp failed >>>>> usrp2::ctor set_rx_scale_iq failed >>>>> >>>>>>>> gr_fir_fff: using SSE >>>>>>>> >>>>> bits per symbol = 1 >>>>> Gaussian filter bt = 0.35 >>>>> Using TX d'board 43 >>>>> Tx amplitude 12000 >>>>> modulation: gmsk_mod >>>>> bitrate: 500kb/s >>>>> samples/symbol: 2 >>>>> interp: 100 >>>>> Tx Frequency: 2.4G >>>>> ...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................m...@mcrl-desktop:~/gnuradio/gnuradio-examples/python/digital$ >>>>> >>>>> benchmark_rx.py:- >>>>> >>>>> m...@mcrl-desktop:~/gnuradio/gnuradio-examples/python/digital$ sudo >>>>> ./benchmark_rx.py -f 2400M -v >>>>> usrp2::ctor reset_db failed >>>>> >>>>>>>> gr_fir_fff: using SSE >>>>>>>> >>>>> bits per symbol = 1 >>>>> M&M clock recovery omega = 2.000000 >>>>> M&M clock recovery gain mu = 0.175000 >>>>> M&M clock recovery mu = 0.500000 >>>>> M&M clock recovery omega rel. limit = 0.005000 >>>>> frequency error = 0.000000 >>>>> >>>>> Receive Path: >>>>> Using RX d'board 39 >>>>> Rx gain: 35 >>>>> modulation: gmsk_demod >>>>> bitrate: 500kb/s >>>>> samples/symbol: 2 >>>>> decim: 100 >>>>> Rx Frequency: 2.4G >>>>> >>>>> >>>>> Now the same thing for usrp1 but using transmit_path.py and >>>>> receive_path.py >>>>> which is already provided in gnuradio: >>>>> >>>>> benchmark_tx.py:- >>>>> >>>>> m...@mcrl-desktop:~/gnuradio/gnuradio-examples/python/digital$ sudo >>>>> ./benchmark_tx.py -f 2400M -v >>>>> >>>>>>>> gr_fir_fff: using SSE >>>>>>>> >>>>> bits per symbol = 1 >>>>> Gaussian filter bt = 0.35 >>>>> Using TX d'board A: Flex 2400 Tx MIMO B >>>>> Tx amplitude 12000 >>>>> modulation: gmsk_mod >>>>> bitrate: 500kb/s >>>>> samples/symbol: 2 >>>>> interp: 128 >>>>> Tx Frequency: 2.4G >>>>> ...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................m...@mcrl-desktop:~/gnuradio/gnuradio-examples/python/digital$ >>>>> >>>>> benchmark_rx.py:- >>>>> >>>>> m...@mcrl-desktop:~/gnuradio/gnuradio-examples/python/digital$ sudo >>>>> ./benchmark_rx.py -f 2400M -v >>>>> >>>>>>>> gr_fir_fff: using SSE >>>>>>>> >>>>> bits per symbol = 1 >>>>> M&M clock recovery omega = 2.000000 >>>>> M&M clock recovery gain mu = 0.175000 >>>>> M&M clock recovery mu = 0.500000 >>>>> M&M clock recovery omega rel. limit = 0.005000 >>>>> frequency error = 0.000000 >>>>> >>>>> Receive Path: >>>>> Using RX d'board A: Flex 2400 Rx MIMO B >>>>> Rx gain: 45 >>>>> modulation: gmsk_demod >>>>> bitrate: 500kb/s >>>>> samples/symbol: 2 >>>>> decim: 64 >>>>> Rx Frequency: 2.4G >>>>> >>>>> I am using the same pick_bitrate.py file that is already provided in >>>>> gnuradio. As it can be seen that both usrp systems have the default >>>>> bit >>>>> rate >>>>> irrespective of whether it acts as receiver or transmitter. My >>>>> concern >>>>> is >>>>> with the interpolation and decimation. Do I need to make changes to >>>>> the >>>>> pick_bitrate.py file for USRP2? If yes, then what kind of changes. I >>>>> also >>>>> observed that even though USRP2 shows a bit rate of 500kbps, however >>>>> I >>>>> believe that its transmitting too fast which does not allow USRP1 to >>>>> receive >>>>> correctly.I would greatly appreciate any help in this matter. >>>>> >>>>> Thanks in advance. >>>>> >>>>> Smith >>>>> >>>>> Eric Blossom wrote: >>>>> >>>>>> On Tue, Apr 14, 2009 at 01:48:21PM -0700, Smith L. wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I am trying to establish communication between USRP2 and USRP1. I >>>>>>> am >>>>>>> using >>>>>>> RFX2400 daughterboard. I am using Ubuntu 8.10. I am using the svn >>>>>>> version >>>>>>> of >>>>>>> GNU Radio. I dont know the revision number. I am not able to >>>>>>> receive >>>>>>> anything on USRP2 when USRP1 is transmitting and vice versa. The >>>>>>> python >>>>>>> codes for USRP2 work perfectly fine. I guess there is some problem >>>>>>> with >>>>>>> the >>>>>>> ADC and DAC incompatibility (interpolation and decimation) between >>>>>>> USRP2 >>>>>>> and >>>>>>> USRP1. I am attaching all the necessary files that I am using >>>>>>> currently. >>>>>>> I >>>>>>> would appreciate if someone can look at these files and help me to >>>>>>> sort >>>>>>> out >>>>>>> the problem. >>>>>>> >>>>>> My guess is that the two are not running at the same bit rate. >>>>>> You haven't provided us much to go on. >>>>>> >>>>>> Please see http://gnuradio.org/trac/wiki/ReportingErrors, and try >>>>>> asking again. >>>>>> >>>>>> Eric >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Discuss-gnuradio mailing list >>>>>> Discuss-gnuradio@gnu.org >>>>>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Discuss-gnuradio mailing list >>>> Discuss-gnuradio@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/USRP2-benchmark_rx.py%2C-benchmark_tx.py%2C-transmit_path_usrp2.py%2C-receive_path_usrp2.py%2C-pick_bitrate.py-tp23047724p23221979.html >>> Sent from the GnuRadio mailing list archive at Nabble.com. >>> >>> >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list >>> Discuss-gnuradio@gnu.org >>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >> >> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> > > -- > View this message in context: > http://www.nabble.com/USRP2-benchmark_rx.py%2C-benchmark_tx.py%2C-transmit_path_usrp2.py%2C-receive_path_usrp2.py%2C-pick_bitrate.py-tp23047724p23242234.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio