I am implementing a stop-and-wait ARQ system using RFX2400 boards.
Sometimes the transmitter suddenly stops working , and if I do ctrl+c
the programs stops but does not work wheras if I do ctrl +z, I recieve
following error after sometime:
And, if I try to run the program again, it stops communicating with USRP with following error messages:
File "./mcl_snwARQ_tx.py", line 118, in ?
main()
File "./mcl_snwARQ_tx.py", line 100, in main
fg_rx = my_rx_graph(demods[options.modulation], rx_callback, options)
File "./mcl_snwARQ_tx.py", line 30, in __init__
self.rxpath = receive_path(self, demod_class, rx_callback, options)
File "/root/gnuradio-3.0.2/gr-mcl/receive_path.py", line 59, in __init__
self._setup_usrp_source()
File "/root/gnuradio-3.0.2/gr-mcl/receive_path.py", line 119, in _setup_usrp_source
fusb_nblocks=self._fusb_nblocks)
File "/usr/local/lib/python2.4/site-packages/gnuradio/usrp.py", line 248, in __init__
fpga_filename, firmware_filename)
File "/usr/local/lib/python2.4/site-packages/gnuradio/usrp1.py", line 1229, in source_c
return _usrp1.source_c(*args)
RuntimeError: std::runtime_error
After that I need to unplug & plug the USB cable to start working
with it. Ultimately I need to do ctrl+z and then unplug-plug the USB
cable to start woking.
Can somebody help me out to resolve the problem which I am facing? I am using following settings for transmitter side:
--tx-freq 2.4G --rx-freq 2.48G -r 500k -v -m gmsk --tx-amplitude 550 --rx-gain 60
and following settings for receiver side:
--rx-freq 2.40G --tx-freq 2.48G -r 500k -v -m gmsk --tx-amplitude 2000 --rx-gain 75