Re: [Discuss-gnuradio] GNU Radio 3.2 Release Candidate 0 posted to gnuradio.org
3.2rc0 passes distcheck on Mac OS X 10.5.6 Intel, XCode 3.1.2 (gcc 4.2), with all background requirements installed by MacPorts 1.7.0. - MLD ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] some usrp modules are missing
On Mon, Feb 02, 2009 at 02:18:28PM +, feldmaus wrote: > Hi, > > i compiled the gnuradio software correctly with this options: > ./configure --enable-gr-wxgui --enable-grc --enable-usrp \ > --enable-gr-usrp --enable-gr-audio-alsa --enable-gnuradio-examples \ > --enable-gnuradio-core --enable-gr-audio-oss > > There are some modules missing, like . > I got only this Modules to work: > * > > > The following components were skipped either because you asked not > > > to build them or they didn't pass configuration checks: > > > > usrp2-firmware > > These components will not be built. > > > * > The following GNU Radio components have been successfully configured: > > config > gruel > omnithread > gnuradio-core > pmt > mblock > usrp > usrp2 > gr-usrp > gr-usrp2 > gr-msdd6000 > gr-audio-alsa > gr-audio-oss > gr-atsc > gr-cvsd-vocoder > gr-gpio > gr-gsm-fr-vocoder > gr-pager > gr-radar-mono > gr-radio-astronomy > gr-trellis > gr-video-sdl > gr-wxgui > gr-sounder > gr-utils > gnuradio-examples > grc > > You my now run the make command to build these components. > > * > The following components were skipped either because you asked not > to build them or they didn't pass configuration checks: > > gcell > gr-gcell > gr-audio-jack > gr-audio-osx > gr-audio-portaudio > gr-audio-windows > gr-comedi > gr-qtgui > > These components will not be built. > * > > Do you have any idea ? > > Regards Markus This looks like it's working. Unless you've got a USRP2 you've got everthing you need. gcell and gr-gcell are used only on the Cell Broadband Engine. You've got gr-audio-alsa, there's no need for the other gr-audio-* Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] brief scheduled downtime for gnuradio.org
On Sun, Feb 01, 2009 at 10:00:42AM -0800, Eric Blossom wrote: > The gnuradio.org server will be down for about 15 minutes tomorrow, > Monday February 2nd, starting at 0800 Pacific Standard Time (UTC - 0800). > gnuradio.org is back up. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] OFDM modulator
Hi, I'm trying to implement an OFDM modulator. I've almost done but I have a question: In the new version of the ofdm.py (the one included in the trunk version, under the "dab" folder) I have to pass two inputs to the ofdm_mod class: the first of 96 bytes (depending on the numbers of the carreers) is the data source and that is clear, the second of 1 byte is the "control signal (frame start)". What is this control signal? Have I to create it from the data source stream? Or is a parameter? Thank you very much, Gianluca ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Make check on beagle
Here are my current notes on make check on the beagle 1) Create a user with the same UID as you on the beagle 2) nfs mount your home dir on the beagle 3) figure out how to get ntp to warp time at startup or wait for Beagle clock to sync. 4) While you are waiting cd into ./oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk and run "make -i -s check". This should do all teh needed libtool linking. you will see this error: Traceback (most recent call last): File "./qa_video_sdl.py", line 23, in from gnuradio import gr, gr_unittest File "/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/python/gnuradio/gr/__init__.py", line 43, in from gnuradio_swig_python import * File "/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/lib/swig/gnuradio_swig_python.py", line 23, in from gnuradio_swig_py_runtime import * File "/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.py", line 18, in _gnuradio_swig_py_runtime = swig_import_helper() File "/home/balister/oe/tmp/work/armv7a-angstrom-linux-gnueabi/gnuradio-3.1.3+svnr10302-r6/trunk/gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.py", line 16, in swig_import_helper if fp is not None: fp.close() UnboundLocalError: local variable 'fp' referenced before assignment I think this might be an actual python2.6 issue. 5) Log into the beagle and cd into the same directory. Run make -s check. Note that this will try and run python2.6 on the build machine. I'll try and post a log of some errors later. Philip ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] USRP Leds not blinking
Hi, I am trying to use a new USRP with two daughterboards, 1 RFX2400 and RFX900. Whenever I connect it to the power source, the fan starts to spin, but the leds don't blink. I have even tried it without any daughterboards installed, and also with the motherboard outside of the enclosure, but it still won't t work. I have tried running usbview in my computer with the USRP connected, and it just hangs until I disconnect the USRP. Using another power source (which works with another USRP) doesn't help either. Does anybody have an idea of what could be wrong? I would really appreciate any help. Best regards, Gaston ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] GMSK demod
hi, I am trying to demodulate GSM signals and captured some live GSM data using rfx900 on usrp. After running my code i encountered these following errors: -go...@ubuntu:~$ python '/home/gohar/Desktop/gsm.py' >>> gr_fir_ccf: using SSE Traceback (most recent call last): File line 90, in my_top_block().run() File line 81, in __init__omega_relative_limit = 0) TypeError: __init__() got multiple values for keyword argument 'gain_mu' The first one is regarding the FIR filter which i am using ,,, i dont know the reason for this error " gr_fir_ccf: using SSE " , as in other codes it has been used in the same way as i did: the same is also the case for my_top_block().run() and gmsk.demod() . The python code is as fellows: from gnuradio import gr, usrp, db_dbs_rx, blks2 from gnuradio import audio from gnuradio.eng_option import eng_option from optparse import OptionParser from gnuradio.blks2impl import gmsk from usrpm import usrp_dbid import sys # constant gsm_rate = 1625000.0 / 6.0 # script constant decim = 112 gain = 10 # bts channel c0 = 900.4e6 class my_top_block(gr.top_block): def __init__(self): gr.top_block.__init__(self) u = usrp.source_c(decim_rate = decim) s = usrp.pick_subdev(u, (usrp_dbid.TV_RX, usrp_dbid.TV_RX_REV_2, usrp_dbid.TV_RX_REV_3, usrp_dbid.BASIC_RX)) u.set_mux(usrp.determine_rx_mux_value(u, s)) subdev = usrp.selected_subdev(u, s) if subdev.dbid() is None: raise Exception('dbs daughterboard yyy not detected!') subdev.set_gain(gain) sps = u.adc_freq() / u.decim_rate() if sps < 2 * gsm_rate: raise Exception('sample rate too low') u.tune(0, subdev, c0 ) xcf = 150e3 xtw = 50e3 xt = gr.firdes.low_pass(1.0, sps, xcf, xtw, gr.firdes.WIN_HAMMING) xf = gr.fir_filter_ccf(1, xt) gd = gmsk.gmsk_demod(self, sps / gsm_rate, gain_mu = 0.01, omega_relative_limit = 0.05) g = gr.file_sink(gr.sizeof_gr_complex,data) self.connect(u, xf, gd,g) if __name__ == '__main__': try: my_top_block().run() except KeyboardInterrupt: pass # I will be very grateful if anyone can give me some advice to solve these problems. Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Injecting-Sampling offset
Hi, Does anybody know how to inject artificial sampling offset in the benchmark code in /gnuradio/gnuradio-examples/python/digital? Thanks Birjodh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Re: checking for boost >= 1.35... no
Stefan Bruens rwth-aachen.de> writes: > I am using the boost packages of the standard openSUSE 11.1 repository, so > in general, it should work. Thanks for your reply. I removed the Option <--with-boost=/usr/include/boost> and solved the Problem. So my whole Options i used to compile was: ./configure --enable-gr-wxgui --enable-grc --enable-usrp \ --enable-gr-usrp --enable-gr-audio-alsa --enable-gnuradio-examples \ --enable-gnuradio-core --enable-gr-audio-oss Thats it. :-) Regards Markus ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
"Just use the interface exported by user_standard.h" Do you mean I should use the usrp_standard.cc? On Mon, Feb 2, 2009 at 6:21 PM, Eric Blossom wrote: > On Mon, Feb 02, 2009 at 05:22:23PM +0500, Ujala Qasim wrote: > > Hi, > > > > I am trying to capture USB 2.0 packets sent over by the USRP in a C++ > > program. I was able to found a code that does the similar job in Linux: > > [snip] > > > I was able to successfully achieve my goal through this code in Linux. > > However, I need to implement the same task in Windows. I was initially > > suggested to look for usrp_standard.h but I have no idea how to write a > code > > (like the one above) which will incorporate this header file and be able > to > > do the actual communication. Please provide me with some guidelines in > this > > regard. > > > > Thanks. > > Ujala > > The USRP works with MS windows. There's no special code you need to > write. Just use the interface exported by user_standard.h. If you > use the code in the trunk, it includes the c++ daughterboard support. > > Eric > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] some usrp modules are missing
Hi, i compiled the gnuradio software correctly with this options: ./configure --enable-gr-wxgui --enable-grc --enable-usrp \ --enable-gr-usrp --enable-gr-audio-alsa --enable-gnuradio-examples \ --enable-gnuradio-core --enable-gr-audio-oss There are some modules missing, like . I got only this Modules to work: * The following components were skipped either because you asked not to build them or they didn't pass configuration checks: usrp2-firmware These components will not be built. * The following GNU Radio components have been successfully configured: config gruel omnithread gnuradio-core pmt mblock usrp usrp2 gr-usrp gr-usrp2 gr-msdd6000 gr-audio-alsa gr-audio-oss gr-atsc gr-cvsd-vocoder gr-gpio gr-gsm-fr-vocoder gr-pager gr-radar-mono gr-radio-astronomy gr-trellis gr-video-sdl gr-wxgui gr-sounder gr-utils gnuradio-examples grc You my now run the make command to build these components. * The following components were skipped either because you asked not to build them or they didn't pass configuration checks: gcell gr-gcell gr-audio-jack gr-audio-osx gr-audio-portaudio gr-audio-windows gr-comedi gr-qtgui These components will not be built. * Do you have any idea ? Regards Markus ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
Other then that, there are a lot of other header files and cc files that are included and I have downloaded them manually and compiling them with usrp_standard.h too, however, I can't find the header files of type sys/cdefs.h or sys/time.h On Mon, Feb 2, 2009 at 7:09 PM, Ujala Qasim wrote: > I have downloaded usrp_standard.cc and usrp_standard.h manually. I am now > trying to compile them in Microsoft Visual C++, but it is giving me a couple > of errors? > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
I have downloaded usrp_standard.cc and usrp_standard.h manually. I am now trying to compile them in Microsoft Visual C++, but it is giving me a couple of errors? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
Hi, I am trying to capture USB 2.0 packets sent over by the USRP in a C++ program. I was able to found a code that does the similar job in Linux: #include "usrp_standard.h" // Dumy Function to process USRP data void process_data(int *buffer) { } #define SAMPELS_PER_READ (512) // Must be a multiple of 128 int main (int argc, char **argv) { bool loopback_p = false; bool counting_p = false; bool width_8_p = false; int which_board = 0; int decim = 8; // 32 MB/sec double center_freq = 0; int fusb_block_size = 0; int fusb_nblocks = 0; int nchannels = 1; int gain = 0; int mode = 0; int noverruns = 0; bool overrun; int total_reads = 1; int i; int buf[SAMPELS_PER_READ]; int bufsize = SAMPELS_PER_READ*4; if (loopback_p) mode |= usrp_standard_rx::FPGA_MODE_LOOPBACK; if (counting_p) mode |= usrp_standard_rx::FPGA_MODE_COUNTING; usrp_standard_rx *urx = usrp_standard_rx::make (which_board, decim, 1, -1, mode, fusb_block_size, fusb_nblocks); if (urx == 0) { fprintf (stderr, "Error: usrp_standard_rx::make\n"); exit (1); } if (width_8_p) { int width = 8; int shift = 8; bool want_q = true; if (!urx->set_format(usrp_standard_rx::make_format(width, shift, want_q))) { fprintf (stderr, "Error: urx->set_format\n"); exit (1); } } // Set DDC center frequency urx->set_rx_freq (0, center_freq); // Set Number of channels urx->set_nchannels(1); // Set ADC PGA gain urx->set_pga(0,gain); // Set FPGA Mux urx->set_mux(0x32103210); // Board A only // Set DDC decimation rate urx->set_decim_rate(decim); // Set DDC phase urx->set_ddc_phase(0,0); urx->start(); // Start data transfer printf("USRP Transfer Started\n"); // Do USRP Samples Reading for (i = 0; i < total_reads; i++) { urx->read(&buf, bufsize, &overrun); if (overrun) { printf ("USRP Rx Overrun\n"); noverruns++; } // Do whatever you want with the data process_data(&buf[0]); } urx->stop(); // Stop data transfer printf("USRP Transfer Stoped\n"); delete urx; return 0; } I was able to successfully achieve my goal through this code in Linux. However, I need to implement the same task in Windows. I was initially suggested to look for usrp_standard.h but I have no idea how to write a code (like the one above) which will incorporate this header file and be able to do the actual communication. Please provide me with some guidelines in this regard. Thanks. Ujala ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
On Mon, Feb 02, 2009 at 07:09:21PM +0500, Ujala Qasim wrote: > I have downloaded usrp_standard.cc and usrp_standard.h manually. I am now > trying to compile them in Microsoft Visual C++, but it is giving me a couple > of errors? The easiest way to get this working is to build it using our normal build system, under Cygwin. See: http://gnuradio.org/trac/wiki/BuildGuide http://gnuradio.org/trac/wiki/WindowsInstall http://gnuradio.org/trac/wiki/CygwinInstallMain It may build under MinGW too: http://gnuradio.org/trac/wiki/MingwInstallMain You're on your own if you want to try to use Visual C++. Others before you have tried and disappeared into the void, never to be seen again... They left these scratchings in the dirt: http://gnuradio.org/trac/wiki/WindowsNativeInstall Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] USRP connector - male SMA/female F adapter availability?
Hello, I have a USRP1 with BasicRX and BasicTX daughterboards, which has female SMA connectors on the front of the box. Not finding antennas with native SMA connectors, I would like to use a GE 24731 VHF/UHF/FM antenna which has (I believe) a male F connector. Can anyone recommend a source for the female F/male SMA adapter that I believe I need? Thanks very much! J. Patrick Bedell jpbed...@mises.com ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
On Mon, Feb 02, 2009 at 05:22:23PM +0500, Ujala Qasim wrote: > Hi, > > I am trying to capture USB 2.0 packets sent over by the USRP in a C++ > program. I was able to found a code that does the similar job in Linux: [snip] > I was able to successfully achieve my goal through this code in Linux. > However, I need to implement the same task in Windows. I was initially > suggested to look for usrp_standard.h but I have no idea how to write a code > (like the one above) which will incorporate this header file and be able to > do the actual communication. Please provide me with some guidelines in this > regard. > > Thanks. > Ujala The USRP works with MS windows. There's no special code you need to write. Just use the interface exported by user_standard.h. If you use the code in the trunk, it includes the c++ daughterboard support. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
On Mon, Feb 02, 2009 at 06:30:20PM +0500, Ujala Qasim wrote: > "Just use the interface exported by user_standard.h" > Do you mean I should use the usrp_standard.cc? Yes. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Re: some usrp modules are missing
Eric Blossom schrieb: On Mon, Feb 02, 2009 at 02:18:28PM +, feldmaus wrote: There are some modules missing, like . This looks like it's working. Unless you've got a USRP2 you've got everthing you need. gcell and gr-gcell are used only on the Cell Broadband Engine. You've got gr-audio-alsa, there's no need for the other gr-audio-* Hi, the is missing. Regards Markus ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Re: some usrp modules are missing
Eric Blossom schrieb: On Mon, Feb 02, 2009 at 02:18:28PM +, feldmaus wrote: There are some modules missing, like . This looks like it's working. Unless you've got a USRP2 you've got everthing you need. gcell and gr-gcell are used only on the Cell Broadband Engine. You've got gr-audio-alsa, there's no need for the other gr-audio-* Hi, the is missing. Regards Markus ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Ring-buffer allocation
On Sun, Feb 01, 2009 at 07:56:33PM -0500, Marcus D. Leech wrote: > Eric, et al: > > How does the ring-buffer allocation work in Gnu Radio? > > For example, if I'm shuffling vectors around--let's say 1600 complex > items per vector, how many of > these vector-sized "items" are allocated in a ring buffer between a > producer and a consumer? 2 or 3 unless the guy downstream is a decimator, then we allocate at least as many as his decimation factor. > How much room is there for scaling-back on the sizes of the ring buffers > when the individual items > are really large? A couple of printfs added to gr_flat_flowgraph::allocate_buffer will tell you what's being allocated. Let me know if you find anything that looks out of line. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] extending gr-trellis to perform Viterbi MLSD on GMSK
Hi all, I've spent a few days familiarizing myself with gr-trellis as best as I can, and I'm interested in extending the gr-trellis module to handle Viterbi equalization of ISI channels for GMSK demodulation. I saw Toby Oliver's thread in Sept. '06 (http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg05615.html) discussing a possible modification with Achilleas Anastasopoulos but never saw anything checked in as a result. I'm just looking to use the trellis code to demodulate low-BT GMSK in a more optimal way than the current Gnuradio implementation, and I have similar questions to Toby's: * How should I go about modifying make_isi_lookup() to add support for two-dimensional modulations? What format is trellis expecting? * I see the test_viterbi_equalization1.py file, which appears to do MLSD on an ISI channel for 4-PAM (and other one-dimensional modulations). Am I correct that if make_isi_lookup() is modified to support quadrature modulations, simply changing the modulation type in this example would be enough to make it work? I guess I'm asking more specifically if trellis.viterbi_combined_X will support an ISI lookup table for PSK modulations without modification. * Is there a good reason I should avoid tackling this problem? I'd hate to be duplicating someone else's work in this area, or barking up the wrong tree. For further information, I've written a packet-based AIS decoder for Gnuradio, and I'm disappointed at the quality of the data coming out of the GMSK demodulator. It's 9600 symbols per second @ BT=0.3, so there's enough ISI that I think MLSD would provide significant reduction in observed BER. Besides, it seems like it would be a useful capability to have added to Gnuradio. Any other tips anyone has that might help me in doing this would certainly be welcome! Nick _ Windows Live™ Hotmail®…more than just e-mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] OFDM Updates
oh ok.. so do i need to copy the whole trunk to run the example? or do i need to copy the whole library (rev @9989)? Eric Blossom wrote: > > On Fri, Jan 30, 2009 at 06:52:24AM -0800, adib_sairi wrote: >> >> hi, >> i would like to try the OFDM example but i cannot find the >> benchmark_ofdm_tx.py and benchmark_ofdm_rx.py file in >> /gnuradio-example/python/digital. did i search it in the wrong place or >> did >> the file being remove from the gnuradio-3.1.3.tar ? > > The OFDM stuff is currently only in the trunk. > > Eric > > > ___ > 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/OFDM-Updates-tp15334667p21803051.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
Re: [Discuss-gnuradio] OFDM Updates
On Mon, Feb 02, 2009 at 06:53:32PM -0800, adib_sairi wrote: > > > oh ok.. so do i need to copy the whole trunk to run the example? or do i > need to copy the whole library (rev @9989)? $ svn co http://gnuradio.org/svn/gnuradio/trunk Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] OFDM Updates
I had download the whole trunk (Revision 10377) but i cannot run the example in it (benchmark_ofdm_tx.py) and i think it is because i does not merge it with my GNU Radio yet. I use GNU Radio 3.1.3. how can i merge the trunk with my gnu radio? can you help me for this? thank you. adib Eric Blossom wrote: > > On Mon, Feb 02, 2009 at 06:53:32PM -0800, adib_sairi wrote: >> >> >> oh ok.. so do i need to copy the whole trunk to run the example? or do i >> need to copy the whole library (rev @9989)? > > $ svn co http://gnuradio.org/svn/gnuradio/trunk > > Eric > > > ___ > 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/OFDM-Updates-tp15334667p21803896.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
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
I actually want to interface the USRP and a DSP board together. For this I need to write the USB 2.0 interface between them. I am initially trying to write a C++ code that will capture the data samples from USRP's USB 2.0 in Windows. Later, I will try to use the same code on DSP board. What information should I know before writing this interface? Also, from where I can get to know about the architecture and working of FPGA on the USRP? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] OFDM Updates
On Mon, Feb 02, 2009 at 08:45:37PM -0800, adib_sairi wrote: > > > I had download the whole trunk (Revision 10377) but i cannot run the > example in it (benchmark_ofdm_tx.py) and i think it is because i does not > merge it with my GNU Radio yet. I use GNU Radio 3.1.3. how can i merge the > trunk with my gnu radio? can you help me for this? thank you. > > adib If you mean that you have local changes that are based on the 3.1.3 tarball, then the most straight-forward way to handle this is to generate a "diff -u" between the unmodified 3.1.3 source and your modified source, then apply that difference to a virgin copy of the trunk using "patch". Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How to write USB 2.0 interface for Windows in C++?
On Tue, Feb 03, 2009 at 10:53:01AM +0500, Ujala Qasim wrote: > I actually want to interface the USRP and a DSP board together. For this I > need to write the USB 2.0 interface between them. I am initially trying to > write a C++ code that will capture the data samples from USRP's USB 2.0 in > Windows. Later, I will try to use the same code on DSP board. OK > What information should I know before writing this interface? You should have a good understanding of USB 2.0 and in particular the concepts of endpoints and types of transfers (we primarily use bulk transfers). The USB 2.0 spec is available on line. Our abstract interface to the USB primitives is contained in fusb.{h,cc}. fusb_generic.{h,cc} provides a concrete generic interface that works, but is likely to be slow. In order to change the least amount of code, create new concrete classes derived from those in fusb.h, then create appropriate fusb_sysconfig_* files to link it in. See fusb_*.{h,cc} for OS specific implementations. > Also, from where I can get to know about the architecture and > working of FPGA on the USRP? This diagram is pretty good: http://gnuradio.org/trac/wiki/UsrpRfxDiagrams The USRP FAQ is good: http://gnuradio.org/trac/wiki/UsrpFAQ And of course, you've got the FPGA code available to you: usrp/fpga/toplevel/usrp_std/usrp_std.v Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio