Sunday, October 31, 2010

Re: [Discuss-gnuradio] ubuntu 10.10 source build pre-requisites

I just upgraded 10.04 to 10.10 and compiled gnuradio from git
repository without any problems, thus I would just use instructions
for 10.04.

Jakub

On Wed, Sep 29, 2010 at 6:55 PM, Arturo Rinaldi <arty.net2@gmail.com> wrote:
>  Are there any news about the pre-requisites for source build for the new
> upcoming Ubuntu 10.10 distro ?
>
> thx in advance, Arturo
>
> _______________________________________________
> 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

Re: [Discuss-gnuradio] Gnuradio build on cygwin failed with usrp

Kyle Zhou wrote:

> Updated git repository on my cygwin(1.7.7-1)+winxp box this weekend and
> tried
> rebuild gnuradio
> ./configure reported usrp is not to be built due to not able to detect
> libusb
> I do have libusb-win32 0.1.12.2-1 in cygwin
> Looked at the config.log, I found it insists on checking pkgconfig file
> libusb.pc,
> which does not exist.
> I manually created that file. Then it goes a bit further.
[...]
> configure:25136: checking libusb for symbol usb_debug in library usb
> configure:25150: gcc -o conftest.exe -I/usr/include conftest.c -lusb
> >&5
> /tmp/ccaJXA3I.o:conftest.c:(.text+0x2c): undefined reference to
> `_usb_debug'

It appears that this was broken (for Cygwin) in the latest git commit
(ddbb914d) of config/usrp_libusb.m4. My copy of libusb-win32 0.1.12.2-1
does not have the symbol usb_debug in either the .h file or the shared
library.

Could someone review the change to usrp_libusb.m4 and see if it could be
made to function again under Cygwin? Or explain why the change was made so
someone else (like me?) can suggest an alternative?

In the meanwhile you can work around the problem by modifying
config/usrp_libusb.m4 to omit the check for usb_debug then rerunning
./bootstrap.

-- Don W.


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Quick WBX question

On Sun, Oct 31, 2010 at 6:45 PM, Steven Clark <steven.p.clark@gmail.com> wrote:
> The 100mW transmit spec, is that at +0dB gain, or at +25dB gain (max)?

Max

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] MP3 file transmission

Hello Zimran Rafique:

People from the community please correct me if I'm wrong here, but it doesn't matter what kind of file you're trying to transmit (it doesn't matter what kind of file you're opening with the File Source block). It's just bits. You don't need to convert MP3 to PCM. As long as you can open the MP3 file and read the bits, then you should be able to transmit them.

Can you be more specific as to how the File Source block failed? What error(s) do you see?

Steve McMahon


--- On Mon, 11/1/10, hafiz zimran <zimran78@yahoo.com> wrote:

From: hafiz zimran <zimran78@yahoo.com>
Subject: [Discuss-gnuradio] MP3 file transmission
To: discuss-gnuradio@gnu.org
Date: Monday, November 1, 2010, 1:02 AM

Hi
I am trying to transmit MP3 file using GRC, USRP2 and WBX with "FILE SOURCE"(GRC) block but failed.
How can I convert MP3 file to DAT file?
 
Waiting for response
 
Zimran Rafique


 
-----Inline Attachment Follows-----

_______________________________________________
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

[Discuss-gnuradio] Quick WBX question

The 100mW transmit spec, is that at +0dB gain, or at +25dB gain (max)?

Re: [Discuss-gnuradio] Does anybody have sucessfully installed GNURadio on Windows

Matt Dunstan wrote:

> OK, I really don't know what to do with that GNU Radio. I tried to install
> it many times with CygWin and MinGW but no success, this is why I have
> this
> question: does anybody have sucessfully installed GNU Radio on Windows OS

Yes, I have installed it on Windows many times using both Cygwin and MinGW,
and run it on Windows routinely.

> (on
> the site of Ettus Research it's written: it works under Win 7, XP ...)? or
> maybe
> everybody is working under Linux and I shouldn't try to install GNU Radio
> on
> Windows because I waste my time as I did in the last 3 month.

Have you followed the instructions at
http://gnuradio.org/redmine/wiki/gnuradio/CygwinInstallMain or
http://gnuradio.org/redmine/wiki/gnuradio/MingwInstallMain? Have you asked
for help? It is true that both Cygwin and MinGW and the required
third-party libraries can change over time and cause things to stop working,
but if you report problems to this list someone will try to help.

Best regards,

-- Don W.


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] MP3 file transmission

Hi
I am trying to transmit MP3 file using GRC, USRP2 and WBX with "FILE SOURCE"(GRC) block but failed.
How can I convert MP3 file to DAT file?
 
Waiting for response
 
Zimran Rafique

 

[Discuss-gnuradio] LFTX and LFRX synchronization on one USRP1

begin:vcard
n:;
adr:;;;;;;
version:2.1
end:vcard
Dear all,

How to run the transmission path and receiving path alternatively in terms of time, for building the synchronization block for a radio system. This radio system are built on one USRP1 with LFTX and LFRX plug-in. Actually, the transmission path and receiving path are working well on two USRP1 with LFTX and LFRX plug-in separately. I am wondering how to put them together on one USRP1 and schedule them to work alternatively in terms of time?

Thank you so much for the help!

Sincerely,
Yan

[Discuss-gnuradio] starting up WBX

Dear community,

I'm looking for a HOWTO that describes how to get the WBX/USRP2 up and
running in a basic application. I already got the LFRX board
operational, but I'm not sure hw to do the same with the WBX.

Thanks ahead
Markus
DL8RDS


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] How is gain sorted between the two LNAs around the mixer in the XCVR2450

Hello,

I would like to know how the gain setting (up to 92 dB in Rx mode) of the MAXIM2829 is sorted between the two amplifiers placed around the mixer.

I is clear in the data sheet what the total gain is depending on the gain settings but it is not clear where the gain is. Most of them can be before the mixer (RF gain), or after the mixing (BB gain)......Is it possible to find it out? I would like to model this receiver.

Many thanks,
Jorge.

Re: [Discuss-gnuradio] GRC 3.3.0 block documentation missing

On 10/29/10 7:55 PM, Michael Dickens wrote:
> I think it's not an oversight; maybe it's a feature? If you installed GNU Radio via MacPorts' "gnuradio" port (or "gnuradio-*"), you need to do "sudo port install gnuradio +docs" to get the docs. I made them separate because not everyone wants them& they do take extra time to be created.
>
> You (or someone) need to install "doxygen" to get documentation. Looks like GNU Radio's build system auto-magically, and quietly, disables documentation if doxygen isn't available (meaning, 'configure' says it cannot find doxygen but 'docs' is still enabled in the list of components to be build; the disabling comes when it is time to actually build the docs). This should probably be fixed, since it is confusing.
>
> It's very straight forward to get documentation on OSX using MacPorts:
>
> sudo port install doxygen
>
> then re-run configure& make if you're building from GIT. Hope this helps! - MLD
>

Thanks Mike! That did the trick. I ran

"sudo port install doxygen"

followed by

"sudo port -f install gnuradio-companion +docs"

Had to use the "force" switch since gnuradio-companion was already
installed without the "-docs" variant, and install complains if
the variants don't match.

Just for reference, I'm using OSX 10.6.4 on a 17" MacBook Pro,
installing GR 3.3.0 via MacPorts, and building everything
32-bit by default.


@(^.^)@ Ed

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Gnuradio build on cygwin failed with usrp

Updated git repository on my cygwin(1.7.7-1)+winxp box this weekend and tried rebuild gnuradio
./configure reported usrp is not to be built due to not able to detect libusb
I do have libusb-win32 0.1.12.2-1 in cygwin
Looked at the config.log, I found it insists on checking pkgconfig file libusb.pc, which does not exist.
I manually created that file. Then it goes a bit further.

configure:24742: Checking for LIBUSB version 'libusb'
configure:24890: checking for USB
configure:24898: $PKG_CONFIG --exists --print-errors "${libusb_name}"
configure:24901: $? = 0
configure:24946: $PKG_CONFIG --exists --print-errors "${libusb_name}"
configure:24949: $? = 0
configure:24966: $PKG_CONFIG --exists --print-errors "${libusb_name}"
configure:24969: $? = 0
configure:25017: result: yes
configure:25039: checking libusb for header usb.h
configure:25054: gcc -c -I/usr/include conftest.c >&5
configure:25054: $? = 0
configure:25060: result: yes
configure:25089: checking libusb for function usb_bulk_write in library usb
configure:25107: gcc -o conftest.exe conftest.c -lusb >&5
configure:25107: $? = 0
configure:25114: result: yes
configure:25136: checking libusb for symbol usb_debug in library usb
configure:25150: gcc -o conftest.exe -I/usr/include conftest.c -lusb >&5
/tmp/ccaJXA3I.o:conftest.c:(.text+0x2c): undefined reference to `_usb_debug'

I really don't know how that can be failed? checked the libusb-win32 source codes that usb_debug is indeed in usb.c

I feel gnuradio support in cygwin is becoming more and more fragile.

anyone has success in building usrp in cygwin recently?

Thanks
Kyle
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Still can't install gr-ais, some help please?

I've searched for libgnuradio-core.so with find / -iname
"libgnuradio-core.so" and found nothing.
But there are libgnuradio-core.so.0 and libgnuradio-core.so.0.0.0 at
/usr/lib/
Aren't they the same with libgnuradio-core.so?


How do I set PKG_CONFIG_PATH?
Do I rewrite this block in configure:
if test x${PKG_CONFIG_PATH} = x; then
PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig
else

PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig:${PKG_CONFIG_PATH}
fi
export PKG_CONFIG_PATH
with:
PKG_CONFIG_PATH=/usr/lib/pkgconfig
export PKG_CONFIG_PATH
???

I've somehow came to a stupid idea of replacing missing libgnuradio-core.so
with a renamed copy of libgnuradio-core.so.0
and configure with ./configure --prefix=/usr but this has also failed. Not a
surprise actually))

Nick Foster-4 wrote:
>
> Did you set PKG_CONFIG_PATH to the location of your Gnuradio
> installation? If not, find the location of libgnuradio-core.so and add
> it to the PKG_CONFIG_PATH. On my Ubuntu box this file was installed
> to /usr/local/lib, so we add /usr/local/lib/pkgconfig to the
> PKG_CONFIG_PATH:
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
>

--
View this message in context: http://old.nabble.com/Still-can%27t-install-gr-ais%2C-some-help-please--tp30062049p30097892.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

Saturday, October 30, 2010

Re: [Discuss-gnuradio] Best practice to power up USRP

On 10/27/2010 01:35 PM, Alberto Trentadue wrote:
> I would connect to Matt's question to ask
> about ground loops.
> Sometimes, when the USRP is connected to the antenna outside and I insert the DC plug, I see
> sparkles on the ground shield of the plug, when it touches the enclosure.
>
> I decided to connect the PC and other
> devices to a common GND, but I don't see any way to ground the USRP box.
> Would you recommend to create a external GND
> connection point on the USRP enclosure?
>
> Thanks
> Alberto


The power supply is isolated. The shield on your coax is connected to
the USRP ground.

Matt

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] WBX Low Frequency Limit

On 10/30/2010 04:47 PM, Eric Cottrell wrote:
> Hello,
>
> I just got my WBX board and it works great in my USRP2. If it has 30 MHz BW then I can try foolish stuff like decoding all VHF ACARS frequencies with parallel decoders.
>
> When I do a USRP2 Probe the minimum Frequency is higher than advertised.
>
> Freq Range (min, max):
> 68750000.0 Hz
> 2200000000.0 Hz
>

Thats the limitations on the daughter-board LO. In combination with the
FPGA DSP, the overall chain you can tune you down to 68.75MHz - BW/2 +
host_rate/2, where BW is 40MHz:
http://www.ettus.com/uhd_docs/manual/html/dboards.html#wbx-series

You can tune lower depending upon how much of your baseband spectrum
that you are willing to tolerate outside of the passband of the WBX.

-Josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] WBX Low Frequency Limit

Hello,

I just got my WBX board and it works great in my USRP2. If it has 30 MHz BW then I can try foolish stuff like decoding all VHF ACARS frequencies with parallel decoders.

When I do a USRP2 Probe the minimum Frequency is higher than advertised.

Freq Range (min, max):
68750000.0 Hz
2200000000.0 Hz

I loaded the latest Raw Ethernet, WBX versions of the fpga and firmware on the web page.

I also assume the UDP stuff is experimental.

73 Eric

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Problem of using UHD blocks as Tx & Rx

Thanks Jason,

Sorry, I told you wrong reference clock. I have used 10MHz reference clocks
for the test again, and I still got the same results as the previous post.
Could you please give me some suggestions about the problem?

Cheers,
Hongliang


Jason Abele wrote:
>
>> I used a signal generator and a spliter to provide two identical 100MHz
>> ref.
>> clocks for the boards.
>
> The ref clock needs to be 10MHz rather than 100MHz
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>

--
View this message in context: http://old.nabble.com/Problem-of-using-UHD-blocks-as-Tx---Rx-tp30069825p30094576.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] USRP1 + gps reference clock

Modify the usrp so that it is in slave clocking mode. Then feed a GPS
stabilized master clock onto the board. The on board clock is 64 MHz,
but e.g., 60 MHz is known to also work, and it is easier to generate
from 10 MHz.

http://gnuradio.org/redmine/wiki/1/USRPClockingNotes

You basically need to follow these steps:
- Solder an SMA connector into J2001. This is the clock input. Be
careful when soldering the SMA connector so you don't break the
delicate trace from J2001 to C927.
- Move R2029 to R2030. This disables the onboard clock. R2029/R2030 is
a 0-ohm resistor.
- Move C925 to C926.
- Remove C924.

The only way to get PPS is to use the gr-gpio firmware, which can be
used to insert digital signals into the least significant bits of I
and Q.

juha

On Sat, Oct 30, 2010 at 14:51, Dawid SQ6EMM <sq6emm+gnuradio@hamradio.pl> wrote:
> Hello,
>
> is it possible to "stabilize" USRP1 clock using external GPS reference
> clock of 10MHz?
>
> Regards,
>
> Dawid.
>
>
> _______________________________________________
> 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

[Discuss-gnuradio] USRP1 + gps reference clock

Hello,

is it possible to "stabilize" USRP1 clock using external GPS reference
clock of 10MHz?

Regards,

Dawid.


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Friday, October 29, 2010

[Discuss-gnuradio] How can I add channel encoder/decoder and equalizer in usrp_transmit_path.py and usrp_receive_path.py?

Hi:

I am new to gnuradio and have a question regarding how to build a communication link from scratch. 

This is the communication link I want to build:

Tx link: 
Data bit stream -> Hamming Coding -> QAM modulation -> add training sequence -> (send to the air)  

Rx link:
QAM demodulation  -> Decision feedback equalizer -> Hamming Decoding -> Bit stream

It seems that the existing gnuradio example usrp_transmit_path.py and usrp_receive_path.py don't have channel coding and equalization.

Does anyone know how to (1) add channel encoder and training sequence in usrp_transmit_path.py, and (2) add the equalizer and channel decoder in usrp_transmit_path.py?  

If it is too easy for a beginner to modify the example code, what could be a better way to build up such a communication link?

Thanks,
Rachel

[Discuss-gnuradio] Problem in synchronization of PAL receiver system

Hi all,

Is there synchronization program available for PAL tv receiver? I am using latest GNU Radio version. Could anyone please help me in this regard... 
--
http://amritasenthil.wordpress.com/

Re: [Discuss-gnuradio] GRC 3.3.0 block documentation missing

On Oct 29, 2010, at 2:53 PM, Ed Criscuolo wrote:
> On 10/29/10 12:29 PM, Josh Blum wrote:
>> Did you build and install the doxygen documentation?
>
> I installed under OSX 10.6.4 using Michael Dickens' macports
> packaging of 3.3.0
>
>> Look at<prefix>/etc/gnuradio/conf.d/grc.conf
>> Is there documentation in the directory specified by doc_dir?
>
> No, there is not.
>
> I did further checking, and there is no doxygen package installed.
> Further, doing a search of all "gnuradio*" packages in the
> repository showed nothing that looked like a documentation package.
>
> Michael, is this an oversight, or am I missing something?


I think it's not an oversight; maybe it's a feature? If you installed GNU Radio via MacPorts' "gnuradio" port (or "gnuradio-*"), you need to do "sudo port install gnuradio +docs" to get the docs. I made them separate because not everyone wants them & they do take extra time to be created.

You (or someone) need to install "doxygen" to get documentation. Looks like GNU Radio's build system auto-magically, and quietly, disables documentation if doxygen isn't available (meaning, 'configure' says it cannot find doxygen but 'docs' is still enabled in the list of components to be build; the disabling comes when it is time to actually build the docs). This should probably be fixed, since it is confusing.

It's very straight forward to get documentation on OSX using MacPorts:

sudo port install doxygen

then re-run configure & make if you're building from GIT. Hope this helps! - MLD


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

RE: [Discuss-gnuradio] how can I call my own block from python

Try :-

 

make install

 

after make check

 

From: discuss-gnuradio-bounces+dr=drelectro.com@gnu.org [mailto:discuss-gnuradio-bounces+dr=drelectro.com@gnu.org] On Behalf Of ömer günay
Sent: Thursday, 28 October 2010 6:00 AM
To: gnu radio
Subject: [Discuss-gnuradio] how can I call my own block from python

 

Hello
I am trying to write my own block. I wrote the required files  and then worked the below statements sequentially in the terminal
   -bootstrap
   -configure
   -make
   -make check
then at the end I get
  - ran 2 tests in 0.004s
  - OK
  - PASS: run_tests
  - 1 test passed
I saved the files related to this block on desktop and called it my_block.
But now I am trying to call this block to python but i can't. Every time i get en error 'no such module is defined'.
What can i do now? Is there any thing i missed?
Thanks your supports.

Re: [Discuss-gnuradio] Does anybody have sucessfully installed GNU Radio on Windows

On Fri, Oct 29, 2010 at 01:54:19PM -0700, Matt Dunstan wrote:
> Hi,
>
>     OK, I really don't know what to do with that GNU Radio. I tried to install
> it many times with CygWin and MinGW but no success, this is why I have this
> question: does anybody have sucessfully installed GNU Radio on Windows OS (on
> the site of Ettus Research it's written: it works under Win 7, XP ...)? or maybe
> everybody is working under Linux and I shouldn't try to install GNU Radio on
> Windows because I waste my time as I did in the last 3 month. One may ask why
> Windows and not Linux: because this is the OS I'm used to and I found it very
> easy to make any kind of software for my projects. Thank you very much for any
> answer. Maybe after 3 month finally I will be able to see a signal on my screen,
> that would be one of the biggest miracles in the world. If it will not start
> than I will throw it away and find other hardware that is more Windows friendly
> (DLL drivers and others) and that will help me to make some real world
> applications because I don't want to use it only to see some signals I want to
> get and send real data (data packages).
>
> Best Regards,
> Matt Dunstan.

Hi Matt,

This is a follow up to Nick's answer.

GNU Radio, like most free software projects, is supported by volunteer
efforts. It is the case that most active developers here tend to
favor the *nix platforms, for reasons quite similar to yours, plus a
lot having to do with freedom. But that's a different conversation.

That said, we do try to avoid doing anything that would make GNU Radio
NOT work on any platform, including the variety of Microsoft OS's. We
have users running under Linux (or course), but also OS/X and BSD too.
We also have active users running on x86, x86-64, PPC (32 and 64-bit)
and ARM, so the system as a whole has proven to be quite portable.

If you are interested in better support under Windows, then you, or
perhaps somebody you know, are probably in the best position to make
that happen. We would be delighted to have good, solid support for
Windows, but that's going to take some effort from somebody. There
are many experts on this list who are masters in multiple domains.
At least some of them have deep knowledge of the guts of GNU Radio and
have substantial experience with portability concerns surrounding big,
complex s/w systems. If you ask good questions, there's a pretty good
chance that these folks will step up to answer your questions.

If you're interested in helping with windows issues, we'd love to have
your assistance. This is all about growing a bigger pile of high
quality free software.

Finally, we've found that the suggestions mentioned in the link below
have worked well at soliciting quality responses on this mailing list.

http://gnuradio.org/redmine/wiki/1/ReportingErrors

Thanks for writing. Sorry to hear about your pain.
We'd love to have better support on windows. Perhaps you could help?

Eric

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] possible error in "gr_single_pole_iir.h"

I think there is an error in this file:
some o_types are declared erroneously as tap_types

here is the output of the diff between new and old:

Achilleas
----------------------------------

diff gr_single_pole_iir.h gr_single_pole_iir_old.h

74c74
< o_type prev_output () { return d_prev_output; }
---
> tap_type prev_output () { return d_prev_output; }
79c79
< o_type d_prev_output;
---
> tap_type d_prev_output;
90c90
< o_type output;
---
> tap_type output;

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Does anybody have sucessfully installed GNU Radio on Windows

On Fri, 2010-10-29 at 13:54 -0700, Matt Dunstan wrote:
> Hi,
>
> OK, I really don't know what to do with that GNU Radio. I tried to
> install it many times with CygWin and MinGW but no success, this is
> why I have this question: does anybody have sucessfully installed GNU
> Radio on Windows OS (on the site of Ettus Research it's written: it
> works under Win 7, XP ...)?

Yes. Some people have successfully run Gnuradio under Windows. Most
people are using Linux as it is better-supported. The installation
process might not be as straightforward as under Linux. The Ettus UHD
drivers work on Windows.

> or maybe everybody is working under Linux and I shouldn't try to
> install GNU Radio on Windows because I waste my time as I did in the
> last 3 month. One may ask why Windows and not Linux: because this is
> the OS I'm used to and I found it very easy to make any kind of
> software for my projects. Thank you very much for any answer. Maybe
> after 3 month finally I will be able to see a signal on my screen,
> that would be one of the biggest miracles in the world. If it will not
> start than I will throw it away and find other hardware that is more
> Windows friendly (DLL drivers and others) and that will help me to
> make some real world applications because I don't want to use it only
> to see some signals I want to get and send real data (data packages).

Asking specific questions ("when I do X it gives Y instead of the
expected Z: here are the things I tried, and here are the relevant
configuration files") will probably net better results than "has anyone
else gotten it to work". Good questions tend to get answered, and
specific bugs brought to our attention tend to get fixed.

--n

>
> Best Regards,
> Matt Dunstan.
>
> _______________________________________________
> 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

Re: [Discuss-gnuradio] Problem in using trellis Error, correction en- and decoder

There are a couple of potential problems with your flowgraph:

1) the trellis encoder outputs unpacked bytes. For example, if your FSM
has output cardinality 4 then it outputs 2 useful bits per byte.
Are you sure you are handling this the right way at the packet encoder?
I do not know how that block works but you should check it.

however, the main problem is the following

2) You need to substitute the "trellis viterbi" by the "trellis viterbi
combo" block and input as parameters the kind of "distance" metric you
want and the corresponding constellation, etc. To do that you need to
know what is the output of the packet decoder...

I have never worked with packet en/decoder so i cannot help with these.

Achilleas

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Punt :)

I know... working on it :(

Thanks for the tip, though.

Tom


On Fri, Oct 29, 2010 at 3:41 PM, William Pretty Security Inc
<bill.pretty@xplornet.com> wrote:
> Looks like gnuradio is down again L
>
>
>
>
>
>
>
> "Strategy without tactics is the slowest route to victory. Tactics without
> strategy is the noise before defeat. " Sun Tzu
>
>
>
> _______________________________________________
> 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

[Discuss-gnuradio] Does anybody have sucessfully installed GNU Radio on Windows

Hi,
 
    OK, I really don't know what to do with that GNU Radio. I tried to install it many times with CygWin and MinGW but no success, this is why I have this question: does anybody have sucessfully installed GNU Radio on Windows OS (on the site of Ettus Research it's written: it works under Win 7, XP ...)? or maybe everybody is working under Linux and I shouldn't try to install GNU Radio on Windows because I waste my time as I did in the last 3 month. One may ask why Windows and not Linux: because this is the OS I'm used to and I found it very easy to make any kind of software for my projects. Thank you very much for any answer. Maybe after 3 month finally I will be able to see a signal on my screen, that would be one of the biggest miracles in the world. If it will not start than I will throw it away and find other hardware that is more Windows friendly (DLL drivers and others) and that will help me to make some real world applications because I don't want to use it only to see some signals I want to get and send real data (data packages).
 
Best Regards,
Matt Dunstan.

[Discuss-gnuradio] Punt :)

Looks like gnuradio is down again L

 

 

 

“Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat. ” Sun Tzu

 

Re: [Discuss-gnuradio] GRC 3.3.0 block documentation missing

On 10/29/10 12:29 PM, Josh Blum wrote:
> Did you build and install the doxygen documentation?
>

I installed under OSX 10.6.4 using Michael Dickens' macports
packaging of 3.3.0

> Look at<prefix>/etc/gnuradio/conf.d/grc.conf
> Is there documentation in the directory specified by doc_dir?
>

No, there is not.

I did further checking, and there is no doxygen package installed.
Further, doing a search of all "gnuradio*" packages in the
repository showed nothing that looked like a documentation package.

Michael, is this an oversight, or am I missing something?

@(^.^)@ Ed


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Problem of using UHD blocks as Tx & Rx

> I used a signal generator and a spliter to provide two identical 100MHz ref.
> clocks for the boards.

The ref clock needs to be 10MHz rather than 100MHz

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: Fwd: Re: [Discuss-gnuradio] USRP2, is that possible to skip the Ethernet and pass data through general purpose (physically accessible) inputs to the FPGA?

Malihe,

Please look here for schematics.
http://www.ettus.com/download

Nick

On Fri, 2010-10-29 at 10:36 -0600, Malihe Ahmadi wrote:
> Can anybody help me with this? I need a full schematics of RFX2400,
> the one available on gnuradio's site is not complete!
>
> -------- Original Message --------
> Subject:
> Re: [Discuss-gnuradio] USRP2, is
> that possible to skip the Ethernet
> and pass data through general
> purpose (physically accessible)
> inputs to the FPGA?
> Date:
> Thu, 28 Oct 2010 20:00:53 -0600
> From:
> Malihe Ahmadi
> <ahmadina@ualberta.ca>
> To:
> Nick Foster <nick@ettus.com>
>
>
> Hi Nick,
>
> I actually changed the nsgpio module so that io_tx_06 and io_rx_06 have
> fix value and the board is always configured as full duplex but yet the
> pin 8 (ENOP, on and off switch for RF output) of the U101( AD8349, the
> modulator) is switching on and off and I don't know which signal is
> controlling it (b/c it is not shown in the schematics). Can you please
> send me the complete schematics of RFX2400 or tell me how to control pin
> ENOP of the U101?
>
> Thanks,
> Malihe
> Hi Nick,
>
> I had few interesting observation yesterday.
> First of all, I followed what you recommended, stock FPGA and firmware
> image and the sin wave at TX. looking at the GRC's FFT, I realized that
> the 1.1MHz spike is there but not always, it is choppy, I see either the
> spike or white noise! with this setup, I was probing different points on
> the RFX2400 db and I found in (please look at the schematic) in U209 pin
> 1 is always 0 and pin 2 is always 1, but in U202 pin 1 is sometime 0 and
> sometime 1 and pin 2 is its complement. that means TX/RX is not always
> derived with RF_TX! (and I think that is exactly why the source is
> choppy and the received signal is choppy ...). Also looking at pin 8
> (ENOP, on and off switch for RF output) of the U101( AD8349, the
> modulator), I found that pin is sometime 0 and sometime 1 (it seems it
> follows the same pattern as pin 2 of U202), but I can't find what signal
> is controlling that pin on the schematics?! do you know which signal it
> is? thus my understanding is that the firmware is not translating the
> full duplex configuration on the GRC to the correct values on U202 and
> 101. I'd like to take the control of those signals (io_tx_06 and
> io_rx_o6 and whatever else) out of the firmware and fix them in FPGA
> code and see what happens! but first Id' like to know your comments on
> these observations.
>
> Thanks,
> Malihe
>
> On 26/10/2010 7:12 PM, Nick Foster wrote:
> > Malihe,
> >
> > Please run the USRP2 with a stock FPGA and firmware image. Modify your
> > GRC flowgraph so the transmit frequency is 2.451GHz, and the receive
> > frequency is 2.450GHz with gain 50. Instead of a constant source, use a
> > complex sine wave source of amplitude 0.3 and frequency 100kHz. You
> > should see a spike at 1.1MHz on your GRC FFT and your spectrum analyzer
> > should show a spike at 2.4511MHz. Please let me know what your results
> > are. It is impossible to determine if the problem is the USRP2 or not
> > while you are running your custom FPGA code.
> >
> > Nick
> >
> > On Tue, 2010-10-26 at 17:38 -0600, Malihe Ahmadi wrote:
> >> Hi Nick,
> >>
> >> When I was talking about the spectrum, I didn't mean the FFT, I meant
> >> the spectrum analyzer we have in the lab, and I can see the spectrum of
> >> RF1 output which is a carrier at 2.45GHz with some data on top of it. on
> >> the FFT though, I believe the spike is just the carrier detected in the
> >> RX path and it seems there is no significant signal coming in on top of
> >> that!
> >> I captured those ADC and DAC plots more than few minutes after I turned
> >> on the board and run the GRC.
> >> I actually run the same GRC with two antenna, one connected to RF1 and
> >> the second one connected to RF2, yet I am capturing the exact same data
> >> from ADC and DAC.
> >> here is the new experiment I am running and it made me even more
> >> suspicious to the RX path (the reason I am running this experiment is
> >> that the DAC gets a continuous non zero flow of data and it lasts enough
> >> for the receiver to settle as you said it is required) :
> >> I am generating a 16 bit counter that counts from 0 to 2^16-1. this
> >> counter is connected to the dac_a while dac_b is always zero. I did this
> >> experiment with both antenna and also terminated RF1 and RF2 and their
> >> result was the same.In both cases the ADC data (_a and _b) is very
> >> small, then I increased the RX gian to 60dB and yet the ADC data has no
> >> relation with the DAC data (actually with 60dB gain, it seems to be an
> >> amplified white noise!). Then I decided to check some points on the
> >> board itself. I looked at the pin 16 of the AD834X and I could see the
> >> saw tooth wave. then I looked at pin 8 and 22 of the AD8347 and they are
> >> both constantly high with very small bump at some points! That seems not
> >> right to me!
> >>
> >> Thanks,
> >> Malihe
> >> Nick Foster wrote:
> >>> Malihe,
> >>>
> >>> Your USRP2 is fine, just as your GRC image shows. That FFT isn't showing
> >>> your TX spectrum, it's showing your RX spectrum from the USRP2 source.
> >>> Here's how it works. There are two things wrong -- first, you aren't
> >>> waiting long enough for the receiver to settle, like I told you to do
> >>> before. Your ADC plot is a big spike because it's just been initialized
> >>> and tuned. Wait a whole 100ms after starting the streaming and after
> >>> tuning before you take a plot of received data, so your receiver can
> >>> tune and settle. This of course means your DAC signal will have to last
> >>> long enough for your receiver to settle, as well. Second, you have
> >>> roughly 60dB of loss between your TX and RX, and so your RX amplitude
> >>> will probably be less than 100 counts (assuming you have 0dB RX gain
> >>> setting). This is fine for receiving, but if you are just looking at the
> >>> absolute raw ADC data with a vertical scale of 30000 you of course won't
> >>> see a thing.
> >>>
> >>> --n
> >>>
> >>> On Mon, 2010-10-25 at 20:19 -0600, Malihe Ahmadi wrote:
> >>>
> >>>> Hi Nick,
> >>>> I thought I should just add the Chipscope to your original FPGA code to
> >>>> test the ADC data, that way I am sure I didn't break anything. on the
> >>>> board I am terminating both RF1 and Rf2 and counting on the leakage as
> >>>> you said. I have a snapshot of the grc I am running attached and also
> >>>> three plots of the ADC and DAC data separately and also one with ADC and
> >>>> DAC on top of each other. as you can see the ADC data is always like a
> >>>> noise which means the RX RF path is not working (I think TX RF path is
> >>>> ok because I can see the TX output spectrum). Do you agree with me? Do
> >>>> you think I am not configuring the RX properly?
> >>>> How do you guys test the board functionality? id there a simple test I
> >>>> can do? any test points I need to monitor?
> >>>> I am stock and I can't do anything now! I really need some help ...
> >>>>
> >>>> Thanks,
> >>>> Malihe
> >>>> Nick Foster wrote:
> >>>>
> >>>>> It's sort of a weird way to look at the data... one thing I would
> >>>>> suggest is that it can take up to 50ms for ADC data to settle after
> >>>>> initializing the USRP2 due to daughterboard tuning, so if this data is
> >>>>> captured right on initialization it could be seeing transients left over
> >>>>> from tuning.
> >>>>>
> >>>>> On Thu, 2010-10-21 at 17:48 -0600, Malihe Ahmadi wrote:
> >>>>>
> >>>>>
> >>>>>> Hi Nick,
> >>>>>>
> >>>>>> I am testing the ADC data to see if what I get makes sense. in FPGA, the
> >>>>>> DAC data is connected to a 16 bit counter, which runs at dsp clock rate
> >>>>>> and has a reset, and the ADC output is connected to Chipscope. in GRC, I
> >>>>>> am instantiating an USRP2 sink and also a USRP2 source, and their gain
> >>>>>> is both 0dB, LO frequency of both of them is 2.45GHz and LO offset is
> >>>>>> default. on the board, I am terminating both RF1 and Rf2 (thus I am just
> >>>>>> counting on the leakage, and assume the leakage is enough to trigger the
> >>>>>> receiver). Attached are two ADC and DAC shots captured by Chipscope.
> >>>>>> you can see whether the counter is in reset (all zeros) or not, ADC data
> >>>>>> is almost always zeros with random large spikes! does this make sense to
> >>>>>> you? and if so, do you have any explanation for it?
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Malihe
> >>>>>>
> >>>>>>
> >>>>>> Nick Foster wrote:
> >>>>>>
> >>>>>>
> >>>>>>> On Wed, 2010-10-20 at 12:24 -0600, Malihe Ahmadi wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> which host code does the initialization of ADC/DAC/LO?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>> Okay, I was a little wrong before, sorry -- some of the low-level
> >>>>>>> initialization routines are in firmware in the old USRP2 code that ships
> >>>>>>> with Gnuradio. I'm much more familiar with the newer UHD driver, which
> >>>>>>> does all the initialization on the host side. In the older code (which
> >>>>>>> you're using), the DAC initialization is done in
> >>>>>>> gnuradio/usrp2/firmware/lib/ad9777.c. The host code commands that
> >>>>>>> initialization in gnuradio/usrp2/host/lib/usrp2_impl.cc.
> >>>>>>>
> >>>>>>> The USRP2 does not do any significant ADC initialization, as we use the
> >>>>>>> default settings. The only significant ADC control done by the host is
> >>>>>>> to power it up.
> >>>>>>>
> >>>>>>> I'm not really sure what your approach is right now to getting the
> >>>>>>> registers set. Are you planning on writing your own host code,
> >>>>>>> transport, and firmware, or are you planning on modifying existing host
> >>>>>>> code to change the existing settings?
> >>>>>>>
> >>>>>>> If you use the UHD drivers, much of the custom initialization that you
> >>>>>>> need to do can probably be accomplished from a C++ program that
> >>>>>>> interfaces through UHD, instead of modifying the host code itself. UHD
> >>>>>>> allows you to access much deeper into the driver than the old USRP2
> >>>>>>> drivers.
> >>>>>>>
> >>>>>>> Nick
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> Nick Foster wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> The ADC and DAC are not initialized at all on startup until the host
> >>>>>>>>> code initializes them; the FPGA does no initialization of the ADC or
> >>>>>>>>> DAC. The CORDIC is set by registers but should default to 0Hz. See
> >>>>>>>>> cordic.v.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Tue, 2010-10-19 at 19:22 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>> Can you also tell me which file contains the value of center frequency
> >>>>>>>>>> (both Tx and RX) and DAC IF frequency which the board is programed with
> >>>>>>>>>> right after power up?
> >>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>> nsgpio
> >>>>>>>>>>>
> >>>>>>>>>>> On Tue, 2010-10-19 at 18:35 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>> Regarding Q2, which FPGA module keeps the setting of GPIO pins?
> >>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>> On Tue, 2010-10-19 at 15:56 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Q1: I have programed the FPGA with my own transmitter + receiver logic
> >>>>>>>>>>>>>> +Chipscope. Then I powered up the board, while there is an antenna
> >>>>>>>>>>>>>> connected to RX port (on the RFX2400 db) and TX/RX port (on the RFX2400
> >>>>>>>>>>>>>> db) is connected to spectrum analyzer.I am driving DAC inputs (both a
> >>>>>>>>>>>>>> and b) with all zeros (so there is no spectrum)and monitoring the ADC
> >>>>>>>>>>>>>> input using Chipscop. What I see is that the ADC is passing FPGA 14 bit
> >>>>>>>>>>>>>> data which is covering pretty much the full range (all the bits are
> >>>>>>>>>>>>>> actively changing). where did ADC got this data from? any idea?
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>> If you have an antenna connected to the RFX2400, and you are seeing ADC
> >>>>>>>>>>>>> data, I'm guessing you're picking up some RF. Please note that the ADC
> >>>>>>>>>>>>> is using two's-complement format, so all the bits will change on a zero
> >>>>>>>>>>>>> crossing.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Q2: on the first page of RFX2400, there is a table with 5 columns, I am
> >>>>>>>>>>>>>> interested in configuring the db board so that it is "Full duplex TX and
> >>>>>>>>>>>>>> Rx", how do I do that? (how do I set A1 B1 A2 B2 to be "0101")?
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>> If you are using the Gnuradio drivers or UHD, the daughterboard driver
> >>>>>>>>>>>>> will take care of this for you. Just add a USRP sink and source to your
> >>>>>>>>>>>>> flowgraph and the driver will handle setting up the daughterboard. If
> >>>>>>>>>>>>> you aren't using our drivers, you will have to set the appropriate GPIO
> >>>>>>>>>>>>> pins either by fixing them in the FPGA, or writing your own code to poke
> >>>>>>>>>>>>> the appropriate GPIO register.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Q3: If I 'd like to connect the TX and RX of the db together with a
> >>>>>>>>>>>>>> cable, do I need any attenuator? if so, how much?
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>> Use at least 30dB. Connecting them together without an attenuator will
> >>>>>>>>>>>>> fry the receiver. The TX/RX switch has enough leakage (-60dB) that you
> >>>>>>>>>>>>> should be able to just terminate the TX and RX ports with 50 ohm
> >>>>>>>>>>>>> terminations and receive TX leakage on the RX path -- no connection
> >>>>>>>>>>>>> required.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Due to my schedule it's easiest to continue conversation via email. I am
> >>>>>>>>>>>>>>> also often available on IRC (Freenet) as "bistromath".
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On Fri, 2010-10-15 at 12:16 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I am quite confused with my observation of DAC and ADC data and also the
> >>>>>>>>>>>>>>>> spectrum of the TX. I would very much like to have an intercative
> >>>>>>>>>>>>>>>> conversation with you, anytime you prefer, it could be anytime during
> >>>>>>>>>>>>>>>> the day any day of the week. I can call you or we can skype. Do you
> >>>>>>>>>>>>>>>> think that would work for you at all? otherwise I have to write quite
> >>>>>>>>>>>>>>>> long email and I know I can't learn as much as talking to you!
> >>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> That message is normal and doesn't indicate anything wrong with your
> >>>>>>>>>>>>>>>>> setup. It just means that realtime scheduling is not enabled, which
> >>>>>>>>>>>>>>>>> isn't a problem for normal use. Your problem is somewhere else.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On Thu, 2010-10-07 at 11:36 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> I did what you said, and I eventually got the USRP2 working for me with
> >>>>>>>>>>>>>>>>>> my own TX code in FPGA while I just add my code on top of yours and I
> >>>>>>>>>>>>>>>>>> didn't change a thing in your codes. That way I got find_usrp working
> >>>>>>>>>>>>>>>>>> for me and I also have been able to configure the board as a TX only
> >>>>>>>>>>>>>>>>>> using GRC. but now I want to add my RX FPGA code as well and there is
> >>>>>>>>>>>>>>>>>> barely enough room for it. I wonder if I can remove anything in your
> >>>>>>>>>>>>>>>>>> code without breaking its communication with the firmware (I actually
> >>>>>>>>>>>>>>>>>> removed RAM logic as well as SERDES logic and expansion logic and added
> >>>>>>>>>>>>>>>>>> my RX logic, and I burned that .bin file into the SD card, after that I
> >>>>>>>>>>>>>>>>>> could get find_usrps working for me but as soon as I try to configure
> >>>>>>>>>>>>>>>>>> the board as TX/RX using GRC it breaks and gives me this error : "Fail
> >>>>>>>>>>>>>>>>>> to set real time scheduling", and after that find_usrps doesn't work
> >>>>>>>>>>>>>>>>>> either!, do you know what that error means? which part did I break?)
> >>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> The first thing I'd do is compile a *stock* FPGA image with NO changes,
> >>>>>>>>>>>>>>>>>>> to ensure that your toolchain is producing correct images. After that,
> >>>>>>>>>>>>>>>>>>> get Wireshark or another Ethernet sniffing program on the wire and make
> >>>>>>>>>>>>>>>>>>> sure the firmware is able to send back and forth. If that seems OK,
> >>>>>>>>>>>>>>>>>>> you'll have to get into the host driver code and start tracing it
> >>>>>>>>>>>>>>>>>>> through there to see where it quits.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Another thought is that by removing the DSP and ADC, the firmware is
> >>>>>>>>>>>>>>>>>>> prevented from booting all the way. The firmware initializes these two
> >>>>>>>>>>>>>>>>>>> components, and if they aren't available it may hang while attempting to
> >>>>>>>>>>>>>>>>>>> read or write values to their ports on the Wishbone bus. If this is the
> >>>>>>>>>>>>>>>>>>> case, you will have to modify the firmware as well in order to work for
> >>>>>>>>>>>>>>>>>>> your application.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> On Wed, 2010-09-22 at 20:00 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Nick,
> >>>>>>>>>>>>>>>>>>>> here is what I did:
> >>>>>>>>>>>>>>>>>>>> I commented out Expansion interface and also SERDES interface (because I
> >>>>>>>>>>>>>>>>>>>> don't need them) and also ADC (b/c I just need the board to be TX) in
> >>>>>>>>>>>>>>>>>>>> u2_rev3.v and then I added chipscope to this top module (to stimulate
> >>>>>>>>>>>>>>>>>>>> some signals). I use u2_core.v (not u2_core_udp) and in that module I
> >>>>>>>>>>>>>>>>>>>> just replaced your DSP module with my own DSP module, and that is all. I
> >>>>>>>>>>>>>>>>>>>> didn't change anything regarding the processor or Ethernet! and now my
> >>>>>>>>>>>>>>>>>>>> chipscope and DSP inside FPGA seems to be working, but yet I get USRP2
> >>>>>>>>>>>>>>>>>>>> not found when I type find_usrps :(
> >>>>>>>>>>>>>>>>>>>> Do you think it is because I used u2_core instead of u2_core_udp? what
> >>>>>>>>>>>>>>>>>>>> else could it be?
> >>>>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> It is likely that the Ethernet MAC interface in your custom FPGA image
> >>>>>>>>>>>>>>>>>>>>> is not correctly communicating with the firmware running in the
> >>>>>>>>>>>>>>>>>>>>> Microblaze processor core. The firmware must be able to communicate with
> >>>>>>>>>>>>>>>>>>>>> the host via Ethernet in order to function properly.
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> On Wed, 2010-09-22 at 19:06 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>>>>>>>>> I burned SD card with the fw and the FPGA image from link you said, and
> >>>>>>>>>>>>>>>>>>>>>> find_usrps worked. Then I burned SD card with my custom FPGA image and
> >>>>>>>>>>>>>>>>>>>>>> the same fw, but find_usrps doesn't work. Any suggestion?
> >>>>>>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> I should have read more closely. If you are using find_usrps, you are
> >>>>>>>>>>>>>>>>>>>>>>> using the raw Ethernet FPGA and firmware. That's fine, it should work,
> >>>>>>>>>>>>>>>>>>>>>>> but it changes the stock FPGA image and firmware you should be using.
> >>>>>>>>>>>>>>>>>>>>>>> The stock FPGA image for your USRP2 can be found here:
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> http://code.ettus.com/redmine/ettus/projects/public/wiki/U2binaries
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> It is the "Raw Ethernet" FPGA image, the first link on the page.
> >>>>>>>>>>>>>>>>>>>>>>> Download the corresponding firmware image as well. This would be the
> >>>>>>>>>>>>>>>>>>>>>>> "Raw Ethernet, No WBX or XCVR" image. Load both of these onto the SD
> >>>>>>>>>>>>>>>>>>>>>>> card with the usrp2_card_burner_gui.py program. Verify that find_usrps
> >>>>>>>>>>>>>>>>>>>>>>> works correctly, and then try again with your custom FPGA image.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> On Mon, 2010-09-20 at 16:08 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Nick, we got our USRP2 boards from Ettus in Aug. How do I know which
> >>>>>>>>>>>>>>>>>>>>>>>> firmware was used before on them? (what is the difference of UHD and
> >>>>>>>>>>>>>>>>>>>>>>>> non-UHD fw?) we have a few SD card with USRP2 boards, can I download the
> >>>>>>>>>>>>>>>>>>>>>>>> fw from one of those and load it on the SD card I am working with now?
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Try loading the stock firmware, downloaded from the website, back onto
> >>>>>>>>>>>>>>>>>>>>>>>>> the memory card and make sure that the upload process works for you.
> >>>>>>>>>>>>>>>>>>>>>>>>> Make sure that if you are using UHD firmware images (from
> >>>>>>>>>>>>>>>>>>>>>>>>> http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki) you
> >>>>>>>>>>>>>>>>>>>>>>>>> are also using corresponding UHD firmware.
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> On Mon, 2010-09-20 at 14:42 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> I programmed the FPGA (and only FPGA), and basically all I have changed
> >>>>>>>>>>>>>>>>>>>>>>>>>> in it is that I replaced the DSP module with mine where it gets its
> >>>>>>>>>>>>>>>>>>>>>>>>>> inputs from Chipscope module, but after powering up the broad, the
> >>>>>>>>>>>>>>>>>>>>>>>>>> "find_usrps" returns "NO USRP2 FOUND". What could be the reason for
> >>>>>>>>>>>>>>>>>>>>>>>>>> that? Does that mean I can't program the RF center frequency and other
> >>>>>>>>>>>>>>>>>>>>>>>>>> parameters through Ethernet?
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> The SD card is not recognized by Linux because it is not formatted with
> >>>>>>>>>>>>>>>>>>>>>>>>>>> a filesystem. The GUI card burner program (usrp2_card_burner_gui.py)
> >>>>>>>>>>>>>>>>>>>>>>>>>>> should see the SD card in its list of devices. Usually it comes up
> >>>>>>>>>>>>>>>>>>>>>>>>>>> as /dev/mmcblk0. You might have to run the program as root to have
> >>>>>>>>>>>>>>>>>>>>>>>>>>> permission to write to the SD card.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, 2010-09-17 at 20:24 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> I just inserted the SD card into the USB SDHC memory adapter and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> connected the adapter to my computer, but linux doesn't seem to know
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> that as a device (since I don't see any folder in My compute for that),
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> how do I get to pick the right path to the device (USB) to burn to SD card?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> The file that is written to the SD card is actually the .bin file. ISE
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> should produce both a .bit and a .bin when it compiles.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, 2010-09-17 at 18:48 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> by FPGA image do you mean the .bit file? Thanks,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Use the USRP2 card burner utility, located in the UHD host code as
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> host/utils/usrp2_card_burner_gui.py. It is also installed
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to /usr/local/share/uhd/utils/ by default. You may have to run the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> program as root.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If you only specify an FPGA image when you run the program, the firmware
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> image will not be overwritten.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, 2010-09-15 at 12:27 -0600, Malihe Ahmadi wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have changed the FPGA code and I have built the bit file for it. I
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> would like to keep the same firmware but just change the FPGA code. What
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> should I do now?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Your understanding is basically correct. I misunderstood your request -- I didn't realize you had an existing FPGA design you were integrating with the USRP2, and figured you were going about things the hard way.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nothing happens to Ethernet packets between the host transmission and GMII_TX -- the USRP2 MAC receives the same data that goes out the host MAC. I was trying to say that modulation is typically done in Gnuradio, not in the FPGA, and so data on the wire is typically baseband modulated and not a data bitstream. If you are implementing the modulation in FPGA you are of course free to define the data on the wire however you like.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> For your purposes you should be able to take your data straight from the MAC and buffer and encode it in whatever way you see fit.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ----------------------------------------
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Date: Thu, 2 Sep 2010 18:30:22 -0600
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: ahmadina@ualberta.ca
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: bistromat@hotmail.com
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CC: discuss-gnuradio@gnu.org
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re: [Discuss-gnuradio] USRP2, is that possible to skip the Ethernet and pass data through general purpose (physically accessible) inputs to the FPGA?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Nick,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I think I should explain my project better. We are developing a physical
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> layer protocol for an asynchronous packet based transceiver all in
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Verilog. The design has been simulated so far using ModelSim. The target
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> of the project is the VLSI fabrication of this design. Thus all the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> signal processing (digital modulation (for now we are interested in BPSK
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> digital modulation), packetization, spreading, filtering ) has to be
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> done in FPGA, and it should be as stand alone as possible. The reason we
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> picked USRP2 was that it was a compact board with RF specification quite
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> close to our requirements. Our understanding was that we can get one
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> computer (host) to transmit stream of bits to the USRP2, do the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing in FPGA and send the data over air, and the second USRP2
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> would capture the signal and again FPGA would do the processing and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventually pass the data (through Ethernet) to the second host
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (computer). I thought, if I generate a stream of bits in the first host
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (TX) and do BPSK modulation and pass them to the USRP2 using Gnuradio,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the two 16 bit I and Q port that I get at the DSP core of the FPGA are
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> two bytes of that stream of bits and now I can continue with
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> packetization and the rest of my processing inside FPGA (basically
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> replacing the interpolation module with my spreading module) and redo
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> that process at the receiver to retrieve the generated bit stream.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have already read through the DSP codes inside the FPGA. What I
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> understand from your email below was that I can't retrieve the bit
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> stream (generated at the host) in the FPGA and the 16 bits I and Q are
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> modulated, shaped sample representation of the bit stream. This is a bit
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> confusing for me because I thought (assuming the host just generates the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bits and does the BPSK modulation) the Ethernet decoder (DP83865) of the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> USRP2 is basically compensating (undo-ing) the processing that was
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> performed on the bits (by Ethernet encoder) right before they leave the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> host (computer) so that the Ethernet becomes transparent. If that is not
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the case, my only solution is to pass the bit stream to the FPGA using
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the debug port!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Would you please let me know which part of my assumption is wrong?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Malihe
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick Foster wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>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
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Actually we are using the USRP2 not for a SDR application, but we are
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> using it to test our physical layer asynchronous backet based
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> communication. For that I have to change the FPGA code and remove the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> interpolation/decimation and replace it with a spreading scheme.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Assuming your spreading doesn't bring your bandwidth over around 25MHz, you should be able to do the spreading operation on the host and transmit the spread baseband data to the USRP2 via Gnuradio. The host typically does not send unmodulated data to the USRP2; the host side, usually using Gnuradio, performs the desired DSP operations on your raw information such as spreading, shaping, and modulating, and sends the resulting complex waveform to the USRP2 as raw 16-bit samples. The USRP2 itself knows nothing about your original unmodulated data.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> that I need to know exactly what is the nature of data I am receiving at
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the FPGA and what is its maximum rate or forget about Ethernet and get a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> separate bus for me to pass the data to the FPGA .
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The data you are receiving at the FPGA is whatever you send to it -- the interpolation rate you pick determines the sample rate the USRP2 will run at. The interpolator will handle upsampling the raw samples to match the data rate the DACs run at. It's up to you (using Gnuradio) to encode your data into an appropriate waveform for your application.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Assuming I want to use Ethernet, let's say I want to send the stream
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '0100001', and I pick DBPSK as the modulation. can you please explain
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what is the relation of the DBPSK modulated data and "GMII_RXD" input to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the FPGA or "sample" input to the dsp_core_tx? is that FPGA receives 8
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bits per symbol sent over Ethernet?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Whatever raw samples you send into gnuradio get sent to the FPGA (I'm simplifying here: see the link below for details). The USRP2 itself does not know or care that you are using DBPSK or that you are sending '0100001'. It sounds like you might have a misconception of exactly what the USRP2 is doing. This FAQ is for the USRP1, but the overall description applies also to the USRP2:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://gnuradio.org/redmine/wiki/gnuradio/UsrpFAQ
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Also, do you have a ready to use Python code for USRP2 device which
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> generates for example a SIN wave at the transmitter and captures it at
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the receives?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> A simple GRC flowgraph would perform this function for you. You can use a signal source to feed a USRP2 sink, and then a USRP2 source to feed an FFT sink (or whatever sink you like). The parameters for these blocks depend on what daughterboards you are using for TX and RX and whether you are using the UHD driver or not.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nick
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Discuss-gnuradio mailing list
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Discuss-gnuradio@gnu.org
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >>>>>>>>>>>>>>>>>>>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>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>>>
> >>>
> >>>
> >
> _______________________________________________
> 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