Send USRP-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."


Today's Topics:

   1. Re: How do I reset the DSP on the E110?
      (Jiang, Leaf - 1006 - MITLL)
   2. usrp_e driver (Ahmed Alsawi)
   3. how to triger two usrp at a same time while using mimo    cable
      (Eddie Sun)
   4. Re: how to triger two usrp at a same time while using mimo
      cable (John Malsbury)
   5. Fwd: USRP N210 using code without console output.
      (Andrey Krasheninnikov)
   6. Rx Gain setting (Ehsan Nj)


----------------------------------------------------------------------

Message: 1
Date: Sun, 8 Apr 2012 14:19:28 -0400
From: "Jiang, Leaf - 1006 - MITLL" <[email protected]>
To: Almohanad Fayez <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [USRP-users] How do I reset the DSP on the E110?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Thank you for the feedback.  After restarting,  lpmON/OFF seems to be resetting 
the DSP correctly.  The CTRL+C may have been the problem, but lpmON/OFF seems 
to be working even with CTRL+C now.

Leaf

On Apr 7, 2012, at 10:30 PM, Almohanad Fayez wrote:

>From your output it seems you ran the LOOP example ran the MESSAGE example 
>Ctrl+C then ran the LPM module.  I don't think the DSP is forgiving of you 
>running any DSP related command before toggling power via LPM because at that 
>point it initialized the DSP, allocated shared memory, copied data to it, and 
>possibly issued the DSP send command.  I would restart and try it again, the 
>command sequence Thomas sent you should work I've used it countless times and 
>it never let me down.


Almohanad (Al) Fayez


-----Original Message-----
From: Jiang, Leaf - 1006 - MITLL <[email protected]<mailto:[email protected]>>
To: Philip Balister <[email protected]<mailto:[email protected]>>
Cc: usrp-users <[email protected]<mailto:[email protected]>>
Sent: Wed, Apr 4, 2012 9:59 am
Subject: Re: [USRP-users] How do I reset the DSP on the E110?

Hi Philip and Thomas,

I just tried the new image from http://files.ettus.com/e1xx_images/current/
and the lpm module loads without error.  The only problem now is that lpm 
doesn't seem
to be resetting the dsp.  The output below shows that the first program 
(loopgpp) runs fine, but the second program (messagegpp) freezes.  Even after 
running lpmON/OFF, the second program still freezes.  Any ideas why?

Best,
Leaf


root@usrp-e1xx:/usr/share/ti/ti-dsplink-examples# modprobe dsplinkk

root@usrp-e1xx:/usr/share/ti/ti-dsplink-examples# modprobe lpm_omap3530

root@usrp-e1xx:/usr/share/ti/ti-dsplink-examples# ./loopgpp loop.out 1024 2000 0
=============== Sample Application : LOOP ==========
==== Executing sample for DSP processor Id 0 ====
Entered LOOP_Create ()
Leaving LOOP_Create ()
Entered LOOP_Execute ()
Transferred 1000 buffers
Transferred 2000 buffers
Leaving LOOP_Execute ()
Entered LOOP_Delete ()
Leaving LOOP_Delete ()
====================================================
root@usrp-e1xx:/usr/share/ti/ti-dsplink-examples# ./messagegpp message.out 
10000 0
========== Sample Application : MESSAGE ==========
Entered MESSAGE_Create ()
^C^Croot@usrp-e1xx:/usr/share/ti/ti-dsplink-examples#

root@usrp-e1xx:/usr/share/ti/ti-dsplink-examples# ../ti-lpm-utils/lpmOFF.xv5T
==== LPM OFF Test ====
app: LPM_open
app: LPM_set(LPM_CTRL_REFCOUNTOVR)
app: LPM_off
app: LPM_close
==== LPM OFF test completed ====

root@usrp-e1xx:/usr/share/ti/ti-dsplink-examples# ../ti-lpm-utils/lpmON.xv5T
==== LPM ON Test ====
app: LPM_open
app: LPM_set(LPM_CTRL_REFCOUNTOVR)
app: LPM_on
app: LPM_close
==== LPM ON completed ====

root@usrp-e1xx:/usr/share/ti/ti-dsplink-examples# ./messagegpp message.out 
10000 0
========== Sample Application : MESSAGE ==========
Entered MESSAGE_Create ()
PROC_start () failed. Status = [0x80008052]
Leaving MESSAGE_Create ()
Entered MESSAGE_Delete ()
MSGQ_release () failed. Status = [0x8000800b]
Leaving MESSAGE_Delete ()
====================================================


On Apr 3, 2012, at 3:37 PM, Philip Balister wrote:

This is my fault. The new image should work and I will check if I have the 
upkeep to fix the issue.

Philip
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Thomas Tsou <[email protected]> wrote:

On Tue, Apr 3, 2012 at 3:12 PM, Jiang, Leaf - 1006 - MITLL

<[email protected]> wrote:

> root@e110-leaf:~# /usr/share/ti/ti-lpm-utils/lpmOFF.xv5T

> ==== LPM OFF Test ====

> app: LPM_open

> app: Error: LPM_open failed

>

> but I believe lpmON and lpmOFF failed to open because I can't load the 
> lpm_omap3530 module.

>

> root@e110-leaf:~# modprobe -f lpm_omap3530

> FATAL: Error inserting lpm_omap3530 
> (/lib/modules/3.0.0/kernel/drivers/dsp/lpm_omap3530.ko): Invalid module format



The module failing to load is problematic. I'm surprised that the

dsplink module would load but not lpm. What is your kernel version?



I copied the lpm kernel module and utilities from another image onto

my current filesystem, and can confirm that the method works.



  Thomas




________________________________


USRP-users mailing
list

[email protected]

http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com





_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120408/6a167b3b/attachment-0001.html>

------------------------------

Message: 2
Date: Sun, 8 Apr 2012 21:33:50 +0200
From: Ahmed Alsawi <[email protected]>
To: [email protected]
Subject: [USRP-users] usrp_e driver
Message-ID:
        <ca+9pi2030g-ayftf5xnbircgvi3ribhjs1fsgde2kigle+q...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear all,
i am working on E100, My application is  to send raw bytes to FPGA and
receive it back,,,
I know i will use the driver directly ... Did anyone try working on the
driver ?

- I tried to read host/usrp_e_utils/usrp-e-loopback.cpp ,,,,
it referenced macros written in the uhd which i don't fully understand.
  it uses ioctl to pass the data to driver  ,, shall i use the same way?

any suggestions or sample codes are appreciated.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120408/dc5d9537/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 9 Apr 2012 16:45:13 +0800
From: Eddie Sun <[email protected]>
To: [email protected]
Subject: [USRP-users] how to triger two usrp at a same time while
        using mimo      cable
Message-ID:
        <cab6xthnfbkx+wz04pnqfezj7tuagl3acqelrqxc_m8s0tdr...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,

     I have two USRPs both with daughter board DBSRX2 and a MIMO cable, and
I would like to use them to receive the dual frequency signal (GPS L1/L5)
at the same time.(center frequency 1575.42MHz and 1176.45MHz)

     my PC has a Ethernet Card with two port and i think i will use the
Dual ethernet, i think the result will be two ".cfile" files create by two
USRPs if i use the rx_samples_to_file.exe

     My question is that i'm not sure how to triger the both usrp at the
same time under the cygwin (the OS is Windows 7), the two commands i think
are

"C:/Program Files/UHD/share/uhd/examples/rx_samples_to_file.exe" --args
192.168.10.2 --file "D:\gps_L5.cfile" --rate 20e6 --type short --freq
1176e6 --gain 73 --bw 20e6 --ref EXTERNAL

and

"C:/Program Files/UHD/share/uhd/examples/rx_samples_to_file.exe" --args
192.168.10.3 --file "D:\gps_L1.cfile" --rate 4e6 --type short --freq 1575e6
--gain 73 --bw 4e6 --ref MIMO

what should i do to make two usrp working at same time? or i just need to
type the second command first, it triger the slave usrp, and it will hold
and wait the first command that triger the master usrp and then start
receive the at the same time?(that is just my guess)

thanks,
Eddie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120409/35825806/attachment-0001.html>

------------------------------

Message: 4
Date: Mon, 09 Apr 2012 02:06:36 -0700
From: John Malsbury <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] how to triger two usrp at a same time while
        using mimo cable
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Eddie,

I don't believe you can start sampling at the same instant simply by 
starting two seperate programs.  You must use the API to set the USRP 
time with PPS, and then command both USRPs to start streaming at the 
same time.  You are effectively looking to combine the functionality of 
rx_samples_to_file and rx_multi_samples into a single application - so I 
recommend that you take a closer look at the source code for these 
examples.  Here's a snippet from rx_multi_samples that should give you 
an idea of what has to happen for synchronized streaming:

     //make mboard 1 a slave over the MIMO Cable
         usrp->set_clock_source("mimo", 1);
         usrp->set_time_source("mimo", 1);

         //set time on the master (mboard 0)
         usrp->set_time_now(uhd::time_spec_t(0.0), 0);

         //sleep a bit while the slave locks its time to the master
         boost::this_thread::sleep(boost::posix_time::milliseconds(100));

     uhd::stream_args_t stream_args("fc32"); //complex floats
     for (size_t chan = 0; chan < usrp->get_rx_num_channels(); chan++)
         stream_args.channels.push_back(chan); //linear mapping
     uhd::rx_streamer::sptr rx_stream = usrp->get_rx_stream(stream_args);

     //setup streaming
     std::cout << std::endl;
     std::cout << boost::format(
         "Begin streaming %u samples, %f seconds in the future..."
     ) % total_num_samps % seconds_in_future << std::endl;
     uhd::stream_cmd_t 
stream_cmd(uhd::stream_cmd_t::STREAM_MODE_NUM_SAMPS_AND_DONE);
     stream_cmd.num_samps = total_num_samps;
     stream_cmd.stream_now = false;
     stream_cmd.time_spec = uhd::time_spec_t(seconds_in_future);
     usrp->issue_stream_cmd(stream_cmd); //tells all channels to stream

The rest of the work is just file I/O.

Cheers.
John




On 04/09/2012 01:45 AM, Eddie Sun wrote:
> Hi all,
>
>      I have two USRPs both with daughter board DBSRX2 and a MIMO 
> cable, and I would like to use them to receive the dual frequency 
> signal (GPS L1/L5) at the same time.(center frequency 1575.42MHz and 
> 1176.45MHz)
>
>      my PC has a Ethernet Card with two port and i think i will use 
> the Dual ethernet, i think the result will be two ".cfile" files 
> create by two USRPs if i use the rx_samples_to_file.exe
>
>      My question is that i'm not sure how to triger the both usrp at 
> the same time under the cygwin (the OS is Windows 7), the two commands 
> i think are
>
> "C:/Program Files/UHD/share/uhd/examples/rx_samples_to_file.exe" 
> --args 192.168.10.2 --file "D:\gps_L5.cfile" --rate 20e6 --type short 
> --freq 1176e6 --gain 73 --bw 20e6 --ref EXTERNAL
>
> and
>
> "C:/Program Files/UHD/share/uhd/examples/rx_samples_to_file.exe" 
> --args 192.168.10.3 --file "D:\gps_L1.cfile" --rate 4e6 --type short 
> --freq 1575e6 --gain 73 --bw 4e6 --ref MIMO
>
> what should i do to make two usrp working at same time? or i just need 
> to type the second command first, it triger the slave usrp, and it 
> will hold and wait the first command that triger the master usrp and 
> then start receive the at the same time?(that is just my guess)
>
> thanks,
> Eddie
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120409/7ac24982/attachment-0001.html>

------------------------------

Message: 5
Date: Mon, 09 Apr 2012 13:39:15 +0400
From: Andrey Krasheninnikov <[email protected]>
To: [email protected]
Subject: [USRP-users] Fwd: USRP N210 using code without console
        output.
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"




-------- ???????????? ????????? --------
?? ????: Andrey Krasheninnikov <[email protected]>
????: [email protected]
????: Tue, 03 Apr 2012 13:32:13 +0400
????: USRP N210 using code without console output.

  
  
In Windows I would like to use uhd.dll with GUI application without 
output to console. Can I disable output to console (don't use instruction 
"cout" and "cerr") for USRP N210? 


Yours faithfully A.Krasheninnnikov
    
----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120409/0b15d575/attachment-0001.html>

------------------------------

Message: 6
Date: Mon, 9 Apr 2012 03:31:07 -0700 (PDT)
From: Ehsan Nj <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [USRP-users] Rx Gain setting
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi
Would u plz let me know what is the best way to set the gain value for the Rx 
USRP. I have also access to a precise spectrum analyser. How can I use both of 
them to find out the best value for input gain?...also wud u plz let me know 
how can I measure noise floor level using USRP.??
I use XCVR2450 daughterboard
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20120409/0ded62ef/attachment-0001.html>

------------------------------

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


End of USRP-users Digest, Vol 20, Issue 9
*****************************************

Reply via email to