[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] USRP2 missing Quadrature samples

From: Leslie Choong
Subject: Re: [Discuss-gnuradio] USRP2 missing Quadrature samples
Date: Fri, 30 Jan 2009 16:24:55 -0800

So I've pulled down the most recent trunk and re-built gnuradio. One
thing I noticed that I forgot about was that running make in
gnuradio/usrp2 does not produce a txrx.bin under usrp2/firmware/apps.
I must have copied the latest one sitting in the trunk which is dated
Dec 31st (same date as the FPGA binary blob).

I looked into it and it seems like ./configure did not find mb-gcc
(the microblaze toolchain). I installed the pre-compiled binary from
instructions here:

And then after configuring and running make I get this error:
make[3]: Entering directory `/home/leslie/gnuradio/usrp2/firmware/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DHAL_IO_USES_UART  -I../include
-I../lib  --std=gnu99 -Wall -Werror-implicit-function-declaration
-mxl-soft-div -msoft-float -mxl-soft-mul -mxl-barrel-shift -g -O2 -MT
abort.o -MD -MP -MF ".deps/abort.Tpo" -c -o abort.o abort.c; \
        then mv -f ".deps/abort.Tpo" ".deps/abort.Po"; else rm -f
".deps/abort.Tpo"; exit 1; fi
cc1: error: unrecognized command line option "-mxl-soft-div"
cc1: error: unrecognized command line option "-mxl-soft-mul"
cc1: error: unrecognized command line option "-mxl-barrel-shift"
make[3]: *** [abort.o] Error 1

I'm still looking into what these errors could mean. Perhaps this is
the problem mentioned in the wiki about using gcc 4.3 with the
microblaze toolchain? This is all on Ubuntu 8.10, which is gcc 4.3.2 I

Does it make a difference that I'm using the pre-built txrx.bin? From
reading through the list as long as I use the trunk binaries, they
should work with the latest version of GNURadio.

Or could this be a hardware issue? I've tried reseating the
daughterboard as well. I'll be testing out on a second USRP2 next week
to see if one of the ADCs (or that path to it) is broken.

In the meantime, any comments or suggestions are very welcome. Thanks
for the help!

On Fri, Jan 30, 2009 at 2:14 PM, Leslie Choong <address@hidden> wrote:
> Thanks for the replies.
> I have checked the Quadrature values and they are indeed 0.0
> I had already followed the steps to flash the SD card (using the one
> that came with the USRP2) and used the firmware (txrx.bin) that
> gnuradio (rev 10306) produced using make. I used the latest
> u2_rev3.bin (dated Dec 31) that is sitting in
> http://gnuradio.org/releases/usrp2-bin/trunk/
> Just to check I redid the whole process of flashing and retried my
> tests and had the same results.
> Should I suspect my svn revision and update to the latest? I'll try
> that for now, but if anyone has suggestions I'm all ears :) Thanks for
> the help so far!
> -Leslie
> On Fri, Jan 30, 2009 at 12:26 PM, Michael Ossmann <address@hidden> wrote:
>> On Fri, Jan 30, 2009 at 11:30:40AM -0800, Leslie Choong wrote:
>>> 2. More importantly, I am not seeing any quadrature component in the
>>> IQ-plot (besides the noise at the beginning).
>> I had this problem or one very similar when I had upgraded the
>> firmware on the SD card without upgrading the FPGA build on the
>> card.  See:
>> http://gnuradio.org/trac/wiki/USRP2UserFAQ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]