[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r6667 - gnuradio/branches/developers/gnychis/inband/us
From: |
gnychis |
Subject: |
[Commit-gnuradio] r6667 - gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband |
Date: |
Sun, 21 Oct 2007 21:52:26 -0600 (MDT) |
Author: gnychis
Date: 2007-10-21 21:52:26 -0600 (Sun, 21 Oct 2007)
New Revision: 6667
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.h
Log:
Removing FPGA debugging from the USB interface, this should move up to be
controlled by usrp_server since it can generate the register read/write packets
easily in its framework. A command should also be added in the usrp_dict to
cause the control packet which enables.
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
2007-10-22 03:46:23 UTC (rev 6666)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
2007-10-22 03:52:26 UTC (rev 6667)
@@ -51,7 +51,6 @@
// need to take number of TX and RX channels as parameter
usrp_usb_interface::usrp_usb_interface(mb_runtime *rt, const std::string
&instance_name, pmt_t user_arg)
: mb_mblock(rt, instance_name, user_arg),
- d_fpga_debug(false),
d_fake_usrp(false),
d_rx_reading(false),
d_interp_tx(128),
@@ -147,8 +146,6 @@
d_utx = NULL;
d_urx = NULL;
- d_fpga_debug=true; // WARNING: DO NOT ENABLE WITH D'BOARDS OTHER THAN
BASIC TX/RX
-
}
usrp_usb_interface::~usrp_usb_interface()
@@ -330,19 +327,6 @@
return;
}
- if(d_fpga_debug) {
- d_utx->_write_fpga_reg(FR_DEBUG_EN,0xf);
- d_utx->_write_oe(0, 0xffff, 0xffff);
- d_urx->_write_oe(0, 0xffff, 0xffff);
- d_utx->_write_oe(1, 0xffff, 0xffff);
- d_urx->_write_oe(1, 0xffff, 0xffff);
-
-// while(1){
-// for(int i=0; i<0xffff; i++)
-// d_urx->write_io(0, i, 0xffff);
-// }
- }
-
if (verbose)
std::cout << "[USRP_USB_INTERFACE] Setup RX channel\n";
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.h
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.h
2007-10-22 03:46:23 UTC (rev 6666)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.h
2007-10-22 03:52:26 UTC (rev 6667)
@@ -42,8 +42,6 @@
long d_ntx_chan;
long d_nrx_chan;
- long d_fpga_debug;
-
bool d_fake_usrp;
bool d_rx_reading;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r6667 - gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband,
gnychis <=