Re: [USRP-users] PPS sync with USRP E310 timeout error

2017-08-07 Thread Cho, Daniel J (332C) via USRP-users
Hello Derek,

I tried out what was said below on the thread with a 5V high 0V low square wave 
with a 20% duty cycle inputted into the sync port of the USRPs.  I used the 
follow code to sync them up:

if (not time_source.empty()) usrp->set_time_source(time_source);



//set the time at an unknown pps (will throw if no pps)


std::cout << std::endl << "Attempt to detect the PPS and set the time..." << 
std::endl << std::endl;


usrp->set_time_unknown_pps(uhd::time_spec_t(0.0));


std::cout << std::endl << "Success!" << std::endl << std::endl;


I inserted these lines of code in the rx_samples_to_file and 
tx_samples_from_file but when I run rx_samples_to_file, I get a timeout error.
How can I get around this?

Thanks

From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Wednesday, August 2, 2017 9:35 AM
To: Cho, Daniel J (332C) 
Cc: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] PPS sync with USRP E310 timeout error

Hi,
Sorry, I spoke poorly there. set_time_unknown_pps will fail if it does not see 
a 1PPS edge within a 1+epsilon second window. However, because you were using a 
sine wave the exact time that the "edge" of the pulse could vary. When 
distributing a time reference a fast rising edge is key to getting good 
temporal accuracy.
If you want to verify that both USRPs are set to the same time you should call 
the get_time_last_pps function after setting the time on both synchronously. 
The sync_to_gps code has a routine which would be useful.
https://github.com/EttusResearch/uhd/blob/maint/host/examples/sync_to_gps.cpp#L145
Regards,
Derek

On Wed, Aug 2, 2017 at 4:09 PM, Cho, Daniel J (332C) 
> wrote:
Hello Derek,

I thought the “set_time_unknown_pps” checks to confirm that the time is 
correctly set?
If that doesn’t, how do I know that the sync is set correctly without using a 
spectrum analyzer?

Thanks

From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Wednesday, August 2, 2017 7:33 AM
To: Cho, Daniel J (332C) 
>
Cc: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] PPS sync with USRP E310 timeout error

Hello Daniel,
There is no check in your code to confirm that the time is correctly set. The 
1PPS signal should be a square wave rather than a sine wave. It is a logic 
signal rather than an RF one and the sync port is designed to handle it.
http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_hw_pps
The Octoclock which we use produces a 20% duty cycle square wave with 5V high 
and 0V low.

Regards,
Derek

On Wed, Aug 2, 2017 at 2:10 AM, Cho, Daniel J (332C) via USRP-users 
> wrote:
Hello –

I am using 2 USRP E310 which I would like to frequency sync together.  I am 
using a frequency generator which is generating a 1 PPS (1Hz sine wave) signal 
which I put through a power splitter to provide both USRPs with the same 1 PPS 
signal.  I configured the rx_samples_to_file and tx_samples_from_file codes to 
allow me to use the external 1PPS signal by including the following into the 
code:


//sleep off if gpsdo detected and time next pps already set


boost::this_thread::sleep(boost::posix_time::seconds(1));



//set time source if specified


if (not time_source.empty()) usrp->set_time_source(time_source);



//set the time at an unknown pps (will throw if no pps)


std::cout << std::endl << "Attempt to detect the PPS and set the time..." << 
std::endl << std::endl;


usrp->set_time_unknown_pps(uhd::time_spec_t(0.0));


std::cout << std::endl << "Success!" << std::endl << std::endl;


When I run the rx_samples_to_file code with the above code included, I get a 
timeout error.  I found that it was due to the line 
“usrp->set_time_unknown_pps(uhd::time_spec_t(0.0));”
How can I get my two USRPs frequency synced without getting this error?

Also, I saw that the 1 PPS signal provided to the USRP should be 3.3V – 5V.  
When I put a 1 PPS signal that strong on the spectrum analyzer, it shows a 
power output above +10 dBm.  I know that the max RX input power is -15 dBm so I 
was hesitant to input a 1 PPS signal that strong.  The 1 PPS signal I put into 
the sync port was 100 mV.  Even with a 1 PPS signal with an output power of 
100mV, I am still able to run the test_pps_input program successfully.

So in summary, should I just send a 1 PPS signal with a power output above +10 
dBm which equates to the 3.3V – 5V to the sync port even though I am able to 
run the test_pps_input program successfully with 100mV?  How can I get the 
rx_samples_to_file program to run successfully without giving me a timeout 
error using the above lines of code?

Thanks

___
USRP-users mailing list
USRP-users@lists.ettus.com

Re: [USRP-users] Determining if an X300 is connected via 10 GigE or 1 GigE

2017-08-07 Thread Nicolas Cuervo via USRP-users
Hi Nathan,

we believe you are right. Nice catch! The line you suggested as culprit is
already corrected and merged and will be pushed public in the near future.

Thanks!

-N

On Mon, Aug 7, 2017 at 5:07 PM, Perelman, Nathan <
nperel...@lgsinnovations.com> wrote:

> Using the HG image I am seeing a rate greater than 1 billion bytes/second
> even when connected via 1G (see below). This is with UHD 3.10.1.1. I had
> missed the part where it does set the rate to the 1 Gig constant in the
> current code. Looking at the code I think this line might be wrong?
> https://github.com/EttusResearch/uhd/blob/7ac01c7f979aab8fac5e62f596ff0a
> f52cedec40/host/lib/usrp/x300/x300_impl.hpp#L86 . Shouldn’t that be 1e9
> for 1 GigE?
>
>
>
> $ uhd_usrp_probe --args addr=192.168.20.2 --double /mboards/0/link_max_rate
>
> linux; GNU C++ version 5.3.1 20160406 (Red Hat 5.3.1-6); Boost_106000;
> UHD_003.010.001.001-0-unknown
>
>
>
> -- X300 initialization sequence...
>
> -- Determining maximum frame size... 1472 bytes.
>
> -- Setup basic communication...
>
> -- Loading values from EEPROM...
>
> -- Setup RF frontend clocking...
>
> -- Radio 1x clock:200
>
> -- Detecting internal GPSDO Found an internal GPSDO: LC_XO, Firmware
> Rev 0.929a
>
> -- [DMA FIFO] Running BIST for FIFO 0... pass (Throughput: 1172.9MB/s)
>
> -- [DMA FIFO] Running BIST for FIFO 1... pass (Throughput: 1184.8MB/s)
>
> -- [RFNoC Radio] Performing register loopback test... pass
>
> -- [RFNoC Radio] Performing register loopback test... pass
>
> -- [RFNoC Radio] Performing register loopback test... pass
>
> -- [RFNoC Radio] Performing register loopback test... pass
>
> -- Performing timer loopback test... pass
>
> -- Performing timer loopback test... pass
>
> 1.21333e+09
>
>
>
> -Nathan
>
>
>
> *From:* Nicolas Cuervo [mailto:nicolas.cue...@ettus.com]
> *Sent:* Monday, August 7, 2017 7:42 AM
> *To:* Perelman, Nathan 
> *Cc:* usrp-users 
> *Subject:* Re: [USRP-users] Determining if an X300 is connected via 10
> GigE or 1 GigE
>
>
>
> Hello Nathan,
>
>
>
> I think you are referring only to the values that are set in the creation
> of the "max_link_branch" of the property tree. In one version of the code
> (the one you highlighted at [1]) has only the branch called "link_max_rate"
> and this one is created and set to either the PCIE max rate or the 10G max
> rate with the following statements
>
>
>
> _tree->create(mb_path / "link_max_rate").set(X300_MAX_RATE_PCIE);
> //L396
>
>   _tree->create(mb_path / "link_max_rate").set(X300_MAX_RATE_10GIGE);
> //L462
>
>
>
> then, depending on the FPGA image that is loaded, this same branch is set
> to different values for the max rate, including the 1G Ethernet:
>
>
>
> 
> _tree->access("/mboards/"+boost::lexical_cast(mb_index)
> / "link_max_rate").set(X300_MAX_RATE_1GIGE); //L1140
>
>
>
> For the other version (highlighted at [2]), however, this last assignment
> is done a little bit differently, but keeping the same logic [2.a].
>
>
>
> Now, it is not clear to me if your question raises an unexpected behavior
> of if you are only asking about the logic behind scenes. I mean, are
> retrieving this value using different FPGA images and always getting the
> 10G maximum link rate? or if you are only asking about the how this is done
> in the code? On a quick view, the branch value is being set to the correct
> max rate depending on the FPGA image that you are loading into the device,
> which is the same logic in the two mentioned versions.
>
> Regards,
>
> -Nicolas
>
>
>
> [1] https://github.com/EttusResearch/uhd/blob/
> 6a72c16ee909af95b6965f26fb588a29485ef414/host/lib/usrp/x300/x300_impl.cpp
>
> [2] https://github.com/EttusResearch/uhd/blob/
> 7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/x300_impl.cpp
>
> [2.a] https://github.com/EttusResearch/uhd/blob/
> 7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/
> x300_impl.cpp#L1202
>
>
>
> On Fri, Jul 28, 2017 at 1:03 AM, Perelman, Nathan via USRP-users <
> usrp-users@lists.ettus.com> wrote:
>
> I had been looking at /mboards/0/link_max_rate to determine if an X300 was
> connected via 10 GigE or 1 GigE. However it seems like sometime between
> when that was implemented for the X300 ( https://github.com/
> EttusResearch/uhd/commit/6a72c16ee909af95b6965f26fb588a29485ef414 ) and
> now ( https://github.com/EttusResearch/uhd/blob/
> 7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/
> x300_impl.cpp#L676 ) that was changed to always return the 10 G rate even
> when connected via 1 G. Is there another way to determine how an X300 is
> connected?
>
> -Nathan
>
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
>
___
USRP-users mailing list
USRP-users@lists.ettus.com

[USRP-users] Buffer underrun issue with simultaneous transmit and receive on the X310

2017-08-07 Thread Jason W Zheng via USRP-users
Hi,


I'm building an application where I receive data from the x310, process the 
data, then transmit it out. I have 3 separate threads running, one for each 
task. The receive task is constantly receiving data from the x310 at 200MS/s 
and putting it into a buffer. The process task takes data from the receive 
buffer, processes it, and puts it into a transmit buffer. The transmit task is 
constantly transmitting data from the transmit buffer at 12.5 MS/s.


I get constant underruns (U's on the console) when I try to receive and 
transmit from the same channel on the x310. However, when I transmit and 
receive on separate channels, underruns no longer occur. I would like to figure 
out a solution to this problem as I want to processes two 200MS/s streams on 1 
x310.


This problem occurs no matter the sample rates. I've tried lowering the receive 
rate to 50MS/s (while transmitting 4x the data to balance things out) and there 
are still constant underruns though at a lower rate.  I know processing time is 
not the issue as I've profiled the time it takes to process, and I have even 
removed the processing task from the application altogether (receive data to a 
buffer and do nothing with the data; constantly transmit 0's from the transmit 
buffer) and the underruns still occur.


I'm running on UHD 3.11.0, and the x310 is is configured with basic TX/RX 
daughterboards and flashed with the XG image for use over two 10 gig ethernet 
links.


Thanks,

Jason

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] Problem with port on USRP X310

2017-08-07 Thread Nolan, Kaylee via USRP-users
Hello,

I have my USRP X310 connected through Ethernet cable into eth1 port on a
dell desktop with the following information

Ubuntu 14.04 64 bit ,
Intel Core i7-377 CPU @ 3.4GHz x 8
Git version 1.9.1
Kernel version 3.19.0-61-lowlatency


My computer is having a problem recognizing my USRP X310 and after viewing
packets on Wireshark I believe it is due to the fact I am communicating
with port 49152 which is a closed port.  I ran a port scan and I have found
that the only open port appears to be 49158.  The uhd probe command cannot
locate my device even with the correct ip address specified and the uhd
find devices command does not return any devices either. Is there any way
to specify which port I am connecting to?  I have already tried all the
communication troubleshooting suggestions from the manual and have verified
through wireshark that the uhd commands are being transmitted to the USRP
at the specified IP address.

Thank you in advance for the help

Kaylee Nolan
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Marcus Müller via USRP-users
Dear Konstantin,

> Could the issue be that the ehternet cable that is in the unit is not
> a crossover cable.
no, that is usually not the case. If you're getting as far as being
asked for a password, your SSH client is connecting to /something/. So,
we can rule low-level network out.

Best regards,

Marcus


On 08/07/2017 08:45 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN
TECHNOLOGIES INC] via USRP-users wrote:
>
> Dekek,
>
>  
>
> Could the issue be that the ehternet cable that is in the unit is not
> a crossover cable..  Again, I am connecting the laptop ehternet NIC
> card directly to the E310…  I am assuming I need a crossover cable
> since I am hooking this up without going through a router that
> automatically assigns the IP address via DHCP…
>
>  
>
> If am done working on this today.. Will tell you tomorrow.
>
>  
>
> Again, this is something that is not mentioned in your app papers…
>
>  
>
> I realize that I am not a Linux expert and/or a network IP expert.. I
> am a comm design expert though….  My point is, if this crossover cable
> was needed, it should be better documented in your getting started
> documents.
>
>  
>
>  
>
> Konstantin
>
>  
>
> *From:*Derek Kozel [mailto:derek.ko...@ettus.com]
> *Sent:* Monday, August 07, 2017 12:47 PM
> *To:* Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
> 
> *Cc:* Nate Temple ; usrp-users@lists.ettus.com
> *Subject:* Re: [USRP-users] When ssh'ing Getting prompt for Password Issue
>
>  
>
> Hello,
>
> Yes, a micro SD card adapter is needed. I'm going to add to our
> documentation to highlight that point. There is no way to overwrite
> the entire SD remotely. This is true for nearly every embedded system.
>
> We do not have any recommended micro SD card adapter. There are many
> from good brands such as Kingston, Anker, and Transcend on Amazon. I
> have yet to encounter an adapter which will not work, including the $2
> Kingston one. I use a USB3 one which supports many different card formats.
>
> Regards,
>
> Derek
>
>  
>
> On Mon, Aug 7, 2017 at 5:08 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN
> TECHNOLOGIES INC]  > wrote:
>
> Again… This was not explained clearly….
>
>  
>
> Are you stating I need a micro SD Card adapter/burner to do this?
>
>  
>
> I thought I just leave it hooked up to the E310 with the SD card
> in it and this can be done?
>
>  
>
> Please clarify… And if I do need a burner, which one do you
> suggest I buy…
>
>  
>
> Thanks….
>
>  
>
>  
>
>  
>
>  
>
> *From:*Derek Kozel [mailto:derek.ko...@ettus.com
> ]
> *Sent:* Monday, August 07, 2017 12:03 PM
> *To:* Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
> >
> *Cc:* Nate Temple  >; usrp-users@lists.ettus.com
> 
>
>
> *Subject:* Re: [USRP-users] When ssh'ing Getting prompt for
> Password Issue
>
>  
>
> Hi Konstantin,
>
> We have no way of knowing what device the SD Card will enumerate
> as. There are many guides online for using utilities like fdisk
> and dmesg to find the name of the device.
>
> Using Windows or Linux you will need to remove the micro SD card
> and use a USB to micro SD card adapter to mount the disk on your
> host computer.
>
> I'm sorry you are having such difficulty with the E310. There is a
> fair amount of Linux knowledge which is assumed by the manuals and
> which is necessary to use the E310 effectively. We can continue
> helping as possible, but it will be faster and hopefully somewhat
> less frustrating to make use of the many Linux guides available.
>
> Here is one from SparkFun which covers Windows and Linux.
> https://learn.sparkfun.com/tutorials/sd-cards-and-writing-images
>
>  
>
> Regards,
>
> Derek
>
>  
>
> On Mon, Aug 7, 2017 at 4:42 PM, Matheou, Konstantin J.
> (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users
> >
> wrote:
>
>
> Nate,
>
> I was unsuccessful with the Windows approach mainly that the
> file downloaded is a tar
>
> When trying to use the Win32Image software, it did not find
> the drive to connect when I had the E310 hooked up via
> ethernet...  Even though I was able to ping to it through the
> NIC card.
>
> So, I came up with the option to create a shared drive between
> my Windows and Linux VM OS.  This took a little work to figure
> out, but now, I was able to move the unzipped tar file (done
> by Win7) to the VM Linux OS.
>
> Now, I can use the commands using this 

Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users
Dekek,

Could the issue be that the ehternet cable that is in the unit is not a 
crossover cable..  Again, I am connecting the laptop ehternet NIC card directly 
to the E310…  I am assuming I need a crossover cable since I am hooking this up 
without going through a router that automatically assigns the IP address via 
DHCP…

If am done working on this today.. Will tell you tomorrow.

Again, this is something that is not mentioned in your app papers…

I realize that I am not a Linux expert and/or a network IP expert.. I am a comm 
design expert though….  My point is, if this crossover cable was needed, it 
should be better documented in your getting started documents.


Konstantin

From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Monday, August 07, 2017 12:47 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 

Cc: Nate Temple ; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hello,
Yes, a micro SD card adapter is needed. I'm going to add to our documentation 
to highlight that point. There is no way to overwrite the entire SD remotely. 
This is true for nearly every embedded system.
We do not have any recommended micro SD card adapter. There are many from good 
brands such as Kingston, Anker, and Transcend on Amazon. I have yet to 
encounter an adapter which will not work, including the $2 Kingston one. I use 
a USB3 one which supports many different card formats.
Regards,
Derek

On Mon, Aug 7, 2017 at 5:08 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
TECHNOLOGIES INC] 
> wrote:
Again… This was not explained clearly….

Are you stating I need a micro SD Card adapter/burner to do this?

I thought I just leave it hooked up to the E310 with the SD card in it and this 
can be done?

Please clarify… And if I do need a burner, which one do you suggest I buy…

Thanks….




From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Monday, August 07, 2017 12:03 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 
>
Cc: Nate Temple >; 
usrp-users@lists.ettus.com

Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hi Konstantin,
We have no way of knowing what device the SD Card will enumerate as. There are 
many guides online for using utilities like fdisk and dmesg to find the name of 
the device.
Using Windows or Linux you will need to remove the micro SD card and use a USB 
to micro SD card adapter to mount the disk on your host computer.
I'm sorry you are having such difficulty with the E310. There is a fair amount 
of Linux knowledge which is assumed by the manuals and which is necessary to 
use the E310 effectively. We can continue helping as possible, but it will be 
faster and hopefully somewhat less frustrating to make use of the many Linux 
guides available.
Here is one from SparkFun which covers Windows and Linux.
https://learn.sparkfun.com/tutorials/sd-cards-and-writing-images

Regards,
Derek

On Mon, Aug 7, 2017 at 4:42 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
TECHNOLOGIES INC] via USRP-users 
> wrote:

Nate,

I was unsuccessful with the Windows approach mainly that the file downloaded is 
a tar

When trying to use the Win32Image software, it did not find the drive to 
connect when I had the E310 hooked up via ethernet...  Even though I was able 
to ping to it through the NIC card.

So, I came up with the option to create a shared drive between my Windows and 
Linux VM OS.  This took a little work to figure out, but now, I was able to 
move the unzipped tar file (done by Win7) to the VM Linux OS.

Now, I can use the commands using this link...  My question is what should I 
use for

http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_upgrade_sd_card

 ?  is it /dev/sdb ?

Thanks

Konstantin



-Original Message-
From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
Sent: Sunday, August 06, 2017 3:51 PM
To: 'Nate Temple' >
Cc: Philip Balister >; 
usrp-users@lists.ettus.com
Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue

Nate,

Thanks for the instructions...

I am trying to download the tz file from the website using the VM Linux OS.  My 
browser locks up.

I also did download the tx file in Windos, but I am unable to connect with the 
E310 via Ethernet over my Ethernet connection.

Since the installation instructions commands are in Linux, would you please 
assist me as to why I cannot download the file via the VM?

Thanks

Konstantin

-Original 

Re: [USRP-users] B210 MIMO, 4 Channel s

2017-08-07 Thread Marcus Müller via USRP-users
Hi Masoud,

no, the B2xx series is not capable of being grouped in multi_usrps.

Best regards,

Marcus


On 08/07/2017 04:56 PM, Masoud Naderpour via USRP-users wrote:
> Hi,
> Is it possible to boost the number of MIMO channels of B210 by adding
> multiple USRP B210 devices to the same host?
>
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users
Thanks for the response…

I just called Best Buy and they confused me. They stated you cannot write 
‘files’ to USB SD micro card reader…

I am assuming doing the image is not the same as writing ‘files’…. it is a form 
of reformatting, so it can be done.

I will go buy one now….

Till my next e-mail.

Again, I am a little perturbed that I have to go through this.  But, it has 
been a learning activity, and allowed me to learn Linux, but in a more 
frustrating fahion.

Thanks,

Konstantin



From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Monday, August 07, 2017 12:47 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 

Cc: Nate Temple ; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hello,
Yes, a micro SD card adapter is needed. I'm going to add to our documentation 
to highlight that point. There is no way to overwrite the entire SD remotely. 
This is true for nearly every embedded system.
We do not have any recommended micro SD card adapter. There are many from good 
brands such as Kingston, Anker, and Transcend on Amazon. I have yet to 
encounter an adapter which will not work, including the $2 Kingston one. I use 
a USB3 one which supports many different card formats.
Regards,
Derek

On Mon, Aug 7, 2017 at 5:08 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
TECHNOLOGIES INC] 
> wrote:
Again… This was not explained clearly….

Are you stating I need a micro SD Card adapter/burner to do this?

I thought I just leave it hooked up to the E310 with the SD card in it and this 
can be done?

Please clarify… And if I do need a burner, which one do you suggest I buy…

Thanks….




From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Monday, August 07, 2017 12:03 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 
>
Cc: Nate Temple >; 
usrp-users@lists.ettus.com

Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hi Konstantin,
We have no way of knowing what device the SD Card will enumerate as. There are 
many guides online for using utilities like fdisk and dmesg to find the name of 
the device.
Using Windows or Linux you will need to remove the micro SD card and use a USB 
to micro SD card adapter to mount the disk on your host computer.
I'm sorry you are having such difficulty with the E310. There is a fair amount 
of Linux knowledge which is assumed by the manuals and which is necessary to 
use the E310 effectively. We can continue helping as possible, but it will be 
faster and hopefully somewhat less frustrating to make use of the many Linux 
guides available.
Here is one from SparkFun which covers Windows and Linux.
https://learn.sparkfun.com/tutorials/sd-cards-and-writing-images

Regards,
Derek

On Mon, Aug 7, 2017 at 4:42 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
TECHNOLOGIES INC] via USRP-users 
> wrote:

Nate,

I was unsuccessful with the Windows approach mainly that the file downloaded is 
a tar

When trying to use the Win32Image software, it did not find the drive to 
connect when I had the E310 hooked up via ethernet...  Even though I was able 
to ping to it through the NIC card.

So, I came up with the option to create a shared drive between my Windows and 
Linux VM OS.  This took a little work to figure out, but now, I was able to 
move the unzipped tar file (done by Win7) to the VM Linux OS.

Now, I can use the commands using this link...  My question is what should I 
use for

http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_upgrade_sd_card

 ?  is it /dev/sdb ?

Thanks

Konstantin



-Original Message-
From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
Sent: Sunday, August 06, 2017 3:51 PM
To: 'Nate Temple' >
Cc: Philip Balister >; 
usrp-users@lists.ettus.com
Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue

Nate,

Thanks for the instructions...

I am trying to download the tz file from the website using the VM Linux OS.  My 
browser locks up.

I also did download the tx file in Windos, but I am unable to connect with the 
E310 via Ethernet over my Ethernet connection.

Since the installation instructions commands are in Linux, would you please 
assist me as to why I cannot download the file via the VM?

Thanks

Konstantin

-Original Message-
From: Nate Temple [mailto:nate.tem...@ettus.com]
Sent: Friday, August 04, 2017 12:30 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 

Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Derek Kozel via USRP-users
Hello,

Yes, a micro SD card adapter is needed. I'm going to add to our
documentation to highlight that point. There is no way to overwrite the
entire SD remotely. This is true for nearly every embedded system.

We do not have any recommended micro SD card adapter. There are many from
good brands such as Kingston, Anker, and Transcend on Amazon. I have yet to
encounter an adapter which will not work, including the $2 Kingston one. I
use a USB3 one which supports many different card formats.

Regards,
Derek

On Mon, Aug 7, 2017 at 5:08 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN
TECHNOLOGIES INC]  wrote:

> Again… This was not explained clearly….
>
>
>
> Are you stating I need a micro SD Card adapter/burner to do this?
>
>
>
> I thought I just leave it hooked up to the E310 with the SD card in it and
> this can be done?
>
>
>
> Please clarify… And if I do need a burner, which one do you suggest I buy…
>
>
>
> Thanks….
>
>
>
>
>
>
>
>
>
> *From:* Derek Kozel [mailto:derek.ko...@ettus.com]
> *Sent:* Monday, August 07, 2017 12:03 PM
> *To:* Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] <
> konstantin.j.math...@nasa.gov>
> *Cc:* Nate Temple ; usrp-users@lists.ettus.com
>
> *Subject:* Re: [USRP-users] When ssh'ing Getting prompt for Password Issue
>
>
>
> Hi Konstantin,
>
> We have no way of knowing what device the SD Card will enumerate as. There
> are many guides online for using utilities like fdisk and dmesg to find the
> name of the device.
>
> Using Windows or Linux you will need to remove the micro SD card and use a
> USB to micro SD card adapter to mount the disk on your host computer.
>
> I'm sorry you are having such difficulty with the E310. There is a fair
> amount of Linux knowledge which is assumed by the manuals and which is
> necessary to use the E310 effectively. We can continue helping as possible,
> but it will be faster and hopefully somewhat less frustrating to make use
> of the many Linux guides available.
>
> Here is one from SparkFun which covers Windows and Linux.
> https://learn.sparkfun.com/tutorials/sd-cards-and-writing-images
>
>
>
> Regards,
>
> Derek
>
>
>
> On Mon, Aug 7, 2017 at 4:42 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN
> TECHNOLOGIES INC] via USRP-users  wrote:
>
>
> Nate,
>
> I was unsuccessful with the Windows approach mainly that the file
> downloaded is a tar
>
> When trying to use the Win32Image software, it did not find the drive to
> connect when I had the E310 hooked up via ethernet...  Even though I was
> able to ping to it through the NIC card.
>
> So, I came up with the option to create a shared drive between my Windows
> and Linux VM OS.  This took a little work to figure out, but now, I was
> able to move the unzipped tar file (done by Win7) to the VM Linux OS.
>
> Now, I can use the commands using this link...  My question is what should
> I use for
>
> http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_upgrade_sd_card
>
>  ?  is it /dev/sdb ?
>
> Thanks
>
> Konstantin
>
>
>
> -Original Message-
> From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
> Sent: Sunday, August 06, 2017 3:51 PM
> To: 'Nate Temple' 
> Cc: Philip Balister ; usrp-users@lists.ettus.com
> Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue
>
> Nate,
>
> Thanks for the instructions...
>
> I am trying to download the tz file from the website using the VM Linux
> OS.  My browser locks up.
>
> I also did download the tx file in Windos, but I am unable to connect with
> the E310 via Ethernet over my Ethernet connection.
>
> Since the installation instructions commands are in Linux, would you
> please assist me as to why I cannot download the file via the VM?
>
> Thanks
>
> Konstantin
>
> -Original Message-
> From: Nate Temple [mailto:nate.tem...@ettus.com]
> Sent: Friday, August 04, 2017 12:30 PM
> To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] <
> konstantin.j.math...@nasa.gov>
> Cc: Philip Balister ; usrp-users@lists.ettus.com
> Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue
>
> Hi Konstantin,
>
> In regards to the page not showing instructions, please copy and paste the
> full links listed below. If you note within the screenshot you posted, you
> have the URL of:
>
> "https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resource;
>
> The full address is:
>
> "https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_
> Hardware_Resources#SD_Card_Images"
>
> In regards to the permission denied prompt that is being given in your
> terminal screenshot -- This is because the command that you are issuing
> "/etc/network/interfaces" is not valid. When you issue a command that is
> the path to a file such as that, the system is attempting to pass the file
> and execute it via the default shell (/bin/sh). I suspect you're attempting
> to edit 

Re: [USRP-users] PPS and REF out form a X310 and leakage problem

2017-08-07 Thread Derek Kozel via USRP-users
Hello Jorge,

The Octoclock is sold in two versions, one with an internal GPSDO and one
that requires an external source.

The X310 and X300 both do not support daisy chaining. There are a few
issues with it, one of the key ones being propagation delay. If the 1PPS
signal was passed from one unit to the next again and again it would arrive
at the different USRPs at different times, ruining synchronization.

The configuration should work with one of the X310s supplying the 10 MHz
and 1 PPS. However it would be better to have the Octoclock's 10 MHz and
1PPS outputs connected to all four of the X310s. The X310 will always
output it's signals so can still be used as the source but by using the
external reference on all USRPs the 1PPS signals will be aligned at all
units rather than having the master be earlier than the others due to
propagation delays.

Do you see the PPS light flashing on the Octoclock? What do the other
lights show?

Which USRP is failing to synchronize? If you only try to synchronize the
slave USRPs does that work?

Regards,
Derek

On Mon, Aug 7, 2017 at 3:28 PM, Jorge Chen via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Hi all
>
>
>
> I’d like to build up 8X8 MIMO system using 4 USRP X310.
>
> To synchronize time between all of them, I used to use a function
> generator to feed both 1 PPS and 10 MHz reference clock to them.
>
> Today, I got an Octoclock which I thought it is able to provide both
> synchronization signal, but it is said that “For the OctoClock, there is
> no internal timing or clocking source, so the OctoClock will always use
> external 10 MHz and 1 PPS sources, regardless of the position of the switch.”
> in the UHD manual.
>
>
>
> So, I plan to use one of the X310 to feed the synchronization signal to
> the Octoclock REF input and connect other X310s to the REF output,
> like the block diagram below.
>
>
>
> [image: 內置圖片 1]
>
> 1.
>
> I use the LTS version of UHD (3.9.6).
>
> And I use the commands like:
>
>  //Lock mboard clocks
>
>  tx_usrp->set_clock_source("internal",0);
>
>  tx_usrp->set_clock_source("external",1);
>
> But it always show the error message:
>
> Error: RuntimeError: Reference Clock PLL failed to lock to external source.
>
>
>
> I wonder if the commands or my thought were wrong or this function is not
> supported?Because I found some discussions (March, 2017) in the mailing
> list talked about the X310 is not supported for daisy-chaining. By the way,
> is X300 not supported neither?
>
>
>
>
>
> 2.
>
> The other problem is that when I use a terminator to terminate the TX/RX
> port, I can still discover the signal through the spectrum analyzer by
> connecting an antenna. Is the signal leaked from somewhere? And how to
> prevent it?
>
>
>
>
>
> Thanks in advance!
>
> Jorge
>
>
>
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users
Again… This was not explained clearly….

Are you stating I need a micro SD Card adapter/burner to do this?

I thought I just leave it hooked up to the E310 with the SD card in it and this 
can be done?

Please clarify… And if I do need a burner, which one do you suggest I buy…

Thanks….




From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Monday, August 07, 2017 12:03 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 

Cc: Nate Temple ; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hi Konstantin,
We have no way of knowing what device the SD Card will enumerate as. There are 
many guides online for using utilities like fdisk and dmesg to find the name of 
the device.
Using Windows or Linux you will need to remove the micro SD card and use a USB 
to micro SD card adapter to mount the disk on your host computer.
I'm sorry you are having such difficulty with the E310. There is a fair amount 
of Linux knowledge which is assumed by the manuals and which is necessary to 
use the E310 effectively. We can continue helping as possible, but it will be 
faster and hopefully somewhat less frustrating to make use of the many Linux 
guides available.
Here is one from SparkFun which covers Windows and Linux.
https://learn.sparkfun.com/tutorials/sd-cards-and-writing-images

Regards,
Derek

On Mon, Aug 7, 2017 at 4:42 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
TECHNOLOGIES INC] via USRP-users 
> wrote:

Nate,

I was unsuccessful with the Windows approach mainly that the file downloaded is 
a tar

When trying to use the Win32Image software, it did not find the drive to 
connect when I had the E310 hooked up via ethernet...  Even though I was able 
to ping to it through the NIC card.

So, I came up with the option to create a shared drive between my Windows and 
Linux VM OS.  This took a little work to figure out, but now, I was able to 
move the unzipped tar file (done by Win7) to the VM Linux OS.

Now, I can use the commands using this link...  My question is what should I 
use for

http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_upgrade_sd_card

 ?  is it /dev/sdb ?

Thanks

Konstantin



-Original Message-
From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
Sent: Sunday, August 06, 2017 3:51 PM
To: 'Nate Temple' >
Cc: Philip Balister >; 
usrp-users@lists.ettus.com
Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue

Nate,

Thanks for the instructions...

I am trying to download the tz file from the website using the VM Linux OS.  My 
browser locks up.

I also did download the tx file in Windos, but I am unable to connect with the 
E310 via Ethernet over my Ethernet connection.

Since the installation instructions commands are in Linux, would you please 
assist me as to why I cannot download the file via the VM?

Thanks

Konstantin

-Original Message-
From: Nate Temple [mailto:nate.tem...@ettus.com]
Sent: Friday, August 04, 2017 12:30 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 
>
Cc: Philip Balister >; 
usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hi Konstantin,
In regards to the page not showing instructions, please copy and paste the full 
links listed below. If you note within the screenshot you posted, you have the 
URL of:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resource;

The full address is:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resources#SD_Card_Images;

In regards to the permission denied prompt that is being given in your terminal 
screenshot -- This is because the command that you are issuing 
"/etc/network/interfaces" is not valid. When you issue a command that is the 
path to a file such as that, the system is attempting to pass the file and 
execute it via the default shell (/bin/sh). I suspect you're attempting to edit 
the file, which can be done with the utility "vi", such as "vi 
/etc/network/interfaces".

I would suggest starting with a fresh "release-4" image for the E310 at this 
point.

You will need to download the .xz file of the release image for the speed grade 
of your device (details are in the link below for which SG you need based on 
the serial number), and then decompress it with a 7z (7zip) or other similar 
tool. You will then need to burn the image to the SD card, which can be done 
with WinDisk32Imager or the Linux utility "dd", or "bmaptool".

The default setting for the "release-4" image will give the 

Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Derek Kozel via USRP-users
Hi Konstantin,

We have no way of knowing what device the SD Card will enumerate as. There
are many guides online for using utilities like fdisk and dmesg to find the
name of the device.

Using Windows or Linux you will need to remove the micro SD card and use a
USB to micro SD card adapter to mount the disk on your host computer.

I'm sorry you are having such difficulty with the E310. There is a fair
amount of Linux knowledge which is assumed by the manuals and which is
necessary to use the E310 effectively. We can continue helping as possible,
but it will be faster and hopefully somewhat less frustrating to make use
of the many Linux guides available.

Here is one from SparkFun which covers Windows and Linux.
https://learn.sparkfun.com/tutorials/sd-cards-and-writing-images

Regards,
Derek

On Mon, Aug 7, 2017 at 4:42 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN
TECHNOLOGIES INC] via USRP-users  wrote:

>
> Nate,
>
> I was unsuccessful with the Windows approach mainly that the file
> downloaded is a tar
>
> When trying to use the Win32Image software, it did not find the drive to
> connect when I had the E310 hooked up via ethernet...  Even though I was
> able to ping to it through the NIC card.
>
> So, I came up with the option to create a shared drive between my Windows
> and Linux VM OS.  This took a little work to figure out, but now, I was
> able to move the unzipped tar file (done by Win7) to the VM Linux OS.
>
> Now, I can use the commands using this link...  My question is what should
> I use for
>
> http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_upgrade_sd_card
>
>  ?  is it /dev/sdb ?
>
> Thanks
>
> Konstantin
>
>
>
> -Original Message-
> From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
> Sent: Sunday, August 06, 2017 3:51 PM
> To: 'Nate Temple' 
> Cc: Philip Balister ; usrp-users@lists.ettus.com
> Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue
>
> Nate,
>
> Thanks for the instructions...
>
> I am trying to download the tz file from the website using the VM Linux
> OS.  My browser locks up.
>
> I also did download the tx file in Windos, but I am unable to connect with
> the E310 via Ethernet over my Ethernet connection.
>
> Since the installation instructions commands are in Linux, would you
> please assist me as to why I cannot download the file via the VM?
>
> Thanks
>
> Konstantin
>
> -Original Message-
> From: Nate Temple [mailto:nate.tem...@ettus.com]
> Sent: Friday, August 04, 2017 12:30 PM
> To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] <
> konstantin.j.math...@nasa.gov>
> Cc: Philip Balister ; usrp-users@lists.ettus.com
> Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue
>
> Hi Konstantin,
>
> In regards to the page not showing instructions, please copy and paste the
> full links listed below. If you note within the screenshot you posted, you
> have the URL of:
>
> "https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resource;
>
> The full address is:
>
> "https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_
> Hardware_Resources#SD_Card_Images"
>
> In regards to the permission denied prompt that is being given in your
> terminal screenshot -- This is because the command that you are issuing
> "/etc/network/interfaces" is not valid. When you issue a command that is
> the path to a file such as that, the system is attempting to pass the file
> and execute it via the default shell (/bin/sh). I suspect you're attempting
> to edit the file, which can be done with the utility "vi", such as "vi
> /etc/network/interfaces".
>
> I would suggest starting with a fresh "release-4" image for the E310 at
> this point.
>
> You will need to download the .xz file of the release image for the speed
> grade of your device (details are in the link below for which SG you need
> based on the serial number), and then decompress it with a 7z (7zip) or
> other similar tool. You will then need to burn the image to the SD card,
> which can be done with WinDisk32Imager or the Linux utility "dd", or
> "bmaptool".
>
> The default setting for the "release-4" image will give the E310 a static
> IP address of 192.168.10.2. If you then put your VM NIC Settings into a
> Bridged Mode, and set a static IP Address within the VM to "192.168.1.3",
> you should be able to connect to the E310 with the root account and no
> password via SSH.
>
>
> https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_
> Getting_Started_Guides#Serial_Console_Connectivity
> http://files.ettus.com/e3xx_images/
> https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_
> Hardware_Resources#SD_Card_Images
>
>
>
> Regards,
> Nate Temple
>
>
>
> > On Aug 4, 2017, at 9:29 AM, Matheou, Konstantin J. (GRC-LCI0)[ZIN
> TECHNOLOGIES INC]  wrote:
> >
> > Nate,
> >
> > I am close to returning this unit.
> >
> > I feel that I am 

Re: [USRP-users] Fw: a few questions on rfnoc

2017-08-07 Thread Dario Pennisi via USRP-users
Hi Nicolas,
Thank you very much for your quick response.
Regarding variable packet sizes the output of my block is going straight to the 
host side and I am not planning these to connect to other blocks. In this case 
do you see any issue? Will uhd and gnuradio cope with that or will I have 
issues?

Regarding timing I was referring to a relationship between input and output 
packets. I understand these can be unrelated and basically I just have to 
generate the right chdr on the output side but just wanted to cross check.

Regarding message ports the point is that my block is a sort of protocol 
decoder so the idea is to input samples and output metadata when a packet is 
received. In rfnoc_fosphor_c_impl::handle_cfg_message message port is an input 
whereas I was considering treating output data as an output message port as it 
is a more logical representation of what I am outputting. In any case if data 
can be output in discontinuous, variable length bursts then I don’t see any 
problem in using stream…

Finally, regarding tutorial… the link you sent me is exactly what I studied so 
far but it contains little information on how to code C implementations to 
support RFNoC blocks. As you may have guessed I have to perform some 
significant post processing on data and for me xml block descriptors are not 
enough. For this reason I was looking for the rfnoc-tutorial/lib/gain_impl.cc 
file referred in your link which I can’t find anywhere.

Thanks,

Dario Pennisi

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users
OK...  I could not wait.. I tried both...

Btw, I had to install the dd utility too  All these intermediate steps 
would of have been nice to have listed for novice users...

Anyway, I tried the mmcblck0 directory for my E310 and it didi transfer the 
files over

Now, I am assuming I should be able to use the ssh commands which was the issue 
from the beginning...

Tell me if this is the case  I hope to hear from you soon.

Konstantin

-Original Message-
From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 
Sent: Monday, August 07, 2017 11:43 AM
To: 'Nate Temple' 
Cc: 'Philip Balister' ; 'usrp-users@lists.ettus.com' 

Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue


Nate,

I was unsuccessful with the Windows approach mainly that the file downloaded is 
a tar

When trying to use the Win32Image software, it did not find the drive to 
connect when I had the E310 hooked up via ethernet...  Even though I was able 
to ping to it through the NIC card.

So, I came up with the option to create a shared drive between my Windows and 
Linux VM OS.  This took a little work to figure out, but now, I was able to 
move the unzipped tar file (done by Win7) to the VM Linux OS.

Now, I can use the commands using this link...  My question is what should I 
use for

http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_upgrade_sd_card

 ?  is it /dev/sdb ?

Thanks

Konstantin



-Original Message-
From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
Sent: Sunday, August 06, 2017 3:51 PM
To: 'Nate Temple' 
Cc: Philip Balister ; usrp-users@lists.ettus.com
Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue

Nate,

Thanks for the instructions...

I am trying to download the tz file from the website using the VM Linux OS.  My 
browser locks up.

I also did download the tx file in Windos, but I am unable to connect with the 
E310 via Ethernet over my Ethernet connection.

Since the installation instructions commands are in Linux, would you please 
assist me as to why I cannot download the file via the VM?

Thanks

Konstantin

-Original Message-
From: Nate Temple [mailto:nate.tem...@ettus.com]
Sent: Friday, August 04, 2017 12:30 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 

Cc: Philip Balister ; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hi Konstantin,

In regards to the page not showing instructions, please copy and paste the full 
links listed below. If you note within the screenshot you posted, you have the 
URL of:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resource;

The full address is:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resources#SD_Card_Images;

In regards to the permission denied prompt that is being given in your terminal 
screenshot -- This is because the command that you are issuing 
"/etc/network/interfaces" is not valid. When you issue a command that is the 
path to a file such as that, the system is attempting to pass the file and 
execute it via the default shell (/bin/sh). I suspect you're attempting to edit 
the file, which can be done with the utility "vi", such as "vi 
/etc/network/interfaces". 

I would suggest starting with a fresh "release-4" image for the E310 at this 
point. 

You will need to download the .xz file of the release image for the speed grade 
of your device (details are in the link below for which SG you need based on 
the serial number), and then decompress it with a 7z (7zip) or other similar 
tool. You will then need to burn the image to the SD card, which can be done 
with WinDisk32Imager or the Linux utility "dd", or "bmaptool". 

The default setting for the "release-4" image will give the E310 a static IP 
address of 192.168.10.2. If you then put your VM NIC Settings into a Bridged 
Mode, and set a static IP Address within the VM to "192.168.1.3", you should be 
able to connect to the E310 with the root account and no password via SSH. 


https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Getting_Started_Guides#Serial_Console_Connectivity
http://files.ettus.com/e3xx_images/
https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resources#SD_Card_Images



Regards,
Nate Temple



> On Aug 4, 2017, at 9:29 AM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
> TECHNOLOGIES INC]  wrote:
> 
> Nate,
>  
> I am close to returning this unit.
>  
> I feel that I am doing everything correctly…
>  
> 1)  I setup the IP static address correctly in the interfaces via the 
> serial cable – proof that I can ping to it from both Linux and Windows
> 2)  I double checked both sshd_config files in E310 and Linux VM OS – 
> both have the permission parameter to have 

Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users

Nate,

I was unsuccessful with the Windows approach mainly that the file downloaded is 
a tar

When trying to use the Win32Image software, it did not find the drive to 
connect when I had the E310 hooked up via ethernet...  Even though I was able 
to ping to it through the NIC card.

So, I came up with the option to create a shared drive between my Windows and 
Linux VM OS.  This took a little work to figure out, but now, I was able to 
move the unzipped tar file (done by Win7) to the VM Linux OS.

Now, I can use the commands using this link...  My question is what should I 
use for

http://files.ettus.com/manual/page_usrp_e3x0.html#e3x0_upgrade_sd_card

 ?  is it /dev/sdb ?

Thanks

Konstantin



-Original Message-
From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 
Sent: Sunday, August 06, 2017 3:51 PM
To: 'Nate Temple' 
Cc: Philip Balister ; usrp-users@lists.ettus.com
Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password Issue

Nate,

Thanks for the instructions...

I am trying to download the tz file from the website using the VM Linux OS.  My 
browser locks up.

I also did download the tx file in Windos, but I am unable to connect with the 
E310 via Ethernet over my Ethernet connection.

Since the installation instructions commands are in Linux, would you please 
assist me as to why I cannot download the file via the VM?

Thanks

Konstantin

-Original Message-
From: Nate Temple [mailto:nate.tem...@ettus.com]
Sent: Friday, August 04, 2017 12:30 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 

Cc: Philip Balister ; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hi Konstantin,

In regards to the page not showing instructions, please copy and paste the full 
links listed below. If you note within the screenshot you posted, you have the 
URL of:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resource;

The full address is:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resources#SD_Card_Images;

In regards to the permission denied prompt that is being given in your terminal 
screenshot -- This is because the command that you are issuing 
"/etc/network/interfaces" is not valid. When you issue a command that is the 
path to a file such as that, the system is attempting to pass the file and 
execute it via the default shell (/bin/sh). I suspect you're attempting to edit 
the file, which can be done with the utility "vi", such as "vi 
/etc/network/interfaces". 

I would suggest starting with a fresh "release-4" image for the E310 at this 
point. 

You will need to download the .xz file of the release image for the speed grade 
of your device (details are in the link below for which SG you need based on 
the serial number), and then decompress it with a 7z (7zip) or other similar 
tool. You will then need to burn the image to the SD card, which can be done 
with WinDisk32Imager or the Linux utility "dd", or "bmaptool". 

The default setting for the "release-4" image will give the E310 a static IP 
address of 192.168.10.2. If you then put your VM NIC Settings into a Bridged 
Mode, and set a static IP Address within the VM to "192.168.1.3", you should be 
able to connect to the E310 with the root account and no password via SSH. 


https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Getting_Started_Guides#Serial_Console_Connectivity
http://files.ettus.com/e3xx_images/
https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resources#SD_Card_Images



Regards,
Nate Temple



> On Aug 4, 2017, at 9:29 AM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
> TECHNOLOGIES INC]  wrote:
> 
> Nate,
>  
> I am close to returning this unit.
>  
> I feel that I am doing everything correctly…
>  
> 1)  I setup the IP static address correctly in the interfaces via the 
> serial cable – proof that I can ping to it from both Linux and Windows
> 2)  I double checked both sshd_config files in E310 and Linux VM OS – 
> both have the permission parameter to have no password for login.
> 3)  VM is in network bridged mode too, as you suggested.
>  
> When I hookup the Ethernet, I am able to ping, but when I do the ssh command 
> to login, I am still getting the permission denied.
>  
> Please tell me any last items to double check before I return the unit, or if 
> I can get someone on the phone to assist me with this issue.
>  
> Thanks,
>  
> Konstantin
>  
> From: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC]
> Sent: Friday, August 04, 2017 10:11 AM
> To: 'Nate Temple' 
> Cc: 'Philip Balister' ; 
> 'usrp-users@lists.ettus.com' 
> Subject: RE: [USRP-users] When ssh'ing Getting prompt for Password 
> Issue
>  
> I did the following instructions on the Linux VM, not the 

Re: [USRP-users] Fw: a few questions on rfnoc

2017-08-07 Thread Nicolas Cuervo via USRP-users
Hello Dario,


We are creating a RFNoC block that inputs a continuous flow of data and
> needs to output an irregular burst of variable length.
>
> I tried to research a bit but didn’t found a final answer on the following
> questions:
>
>1. Packets to and from RFNoC blocks need to have a min/max/fixed
>length? Apparently not and if I didn’t misunderstand it is also possible to
>send packets without the length so that their length could be variable but
>just want to be sure
>
> If what you mean is that you might not have to deal with packet length in
your code... Then it is possible. Because the axi wrapper is the one who
forms packets for you, and it will calculate the length for you as well. As
long as you use axi stream with tlast correctly, you won't have to care
about packet length. Your code will only see axi going in and coming out.

About variable packet sizes within the same code from the host can mess up
a lot of things. The rfnoc infra might be supporting that. But some blocks
don't. Like the DDC or the DUC blocks. So if you use them with your block,
it just wont work.

 Is there any timing related requirement on when packets are sent/received?


It's not clear what you mean by "timing" here exactly. Your design should
meet FPGA timing, and that is an implementation requirement in order to
avoid undefined behavior. If you are asking about "timed commands", then it
depends on your application. If you need synchronized channels, then you
required timed commands, for example.

My output port would basically resemble a message port… I seem to
> understand that there is some work in progress to support message outputs
> from RFNoC blocks but didn’t really understand if this is really feasible
> or not. If it is where can I find some examples?



>

There are some implementations that have done something alike to a message
port [1]. However, message ports are *not* supported yet in the RFNoC
framework, although there are plans to implement this feature. You might
want to check how rfnoc-fosphor has an alike implementation with the
method rfnoc_fosphor_c_impl::handle_cfg_message, which could be helpful for
what you want to achieve.

The code for rfnoc-fosphor can be found within gr-ettus [2]


 On the host side I need to add some custom C code so was looking for the
> tutorial here (http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_
> Tutorials) but this link does not seem to work anymore and on git there
> seem to be no trace of it. is there any sample skeleton with the block
> implementation to just manage data from a stream and read/write registers?


You might be better off with the RFNoC development guided tutorial here
[3].

Regards,
- Nicolas

[1] https://archive.fosdem.org/2015/schedule/event/rfnocfosphor/
[2] https://github.com/EttusResearch/gr-ettus
[3] https://kb.ettus.com/Getting_Started_with_RFNoC_Development
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Determining if an X300 is connected via 10 GigE or 1 GigE

2017-08-07 Thread Perelman, Nathan via USRP-users
Using the HG image I am seeing a rate greater than 1 billion bytes/second even 
when connected via 1G (see below). This is with UHD 3.10.1.1. I had missed the 
part where it does set the rate to the 1 Gig constant in the current code. 
Looking at the code I think this line might be wrong? 
https://github.com/EttusResearch/uhd/blob/7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/x300_impl.hpp#L86
 . Shouldn’t that be 1e9 for 1 GigE?

 

$ uhd_usrp_probe --args addr=192.168.20.2 --double /mboards/0/link_max_rate

linux; GNU C++ version 5.3.1 20160406 (Red Hat 5.3.1-6); Boost_106000; 
UHD_003.010.001.001-0-unknown

 

-- X300 initialization sequence...

-- Determining maximum frame size... 1472 bytes.

-- Setup basic communication...

-- Loading values from EEPROM...

-- Setup RF frontend clocking...

-- Radio 1x clock:200

-- Detecting internal GPSDO Found an internal GPSDO: LC_XO, Firmware Rev 
0.929a

-- [DMA FIFO] Running BIST for FIFO 0... pass (Throughput: 1172.9MB/s)

-- [DMA FIFO] Running BIST for FIFO 1... pass (Throughput: 1184.8MB/s)

-- [RFNoC Radio] Performing register loopback test... pass

-- [RFNoC Radio] Performing register loopback test... pass

-- [RFNoC Radio] Performing register loopback test... pass

-- [RFNoC Radio] Performing register loopback test... pass

-- Performing timer loopback test... pass

-- Performing timer loopback test... pass

1.21333e+09

 

-Nathan

 

From: Nicolas Cuervo [mailto:nicolas.cue...@ettus.com] 
Sent: Monday, August 7, 2017 7:42 AM
To: Perelman, Nathan 
Cc: usrp-users 
Subject: Re: [USRP-users] Determining if an X300 is connected via 10 GigE or 1 
GigE

 

Hello Nathan,

 

I think you are referring only to the values that are set in the creation of 
the "max_link_branch" of the property tree. In one version of the code (the one 
you highlighted at [1]) has only the branch called "link_max_rate" and this one 
is created and set to either the PCIE max rate or the 10G max rate with the 
following statements

 

_tree->create(mb_path / "link_max_rate").set(X300_MAX_RATE_PCIE);   
//L396

  _tree->create(mb_path / "link_max_rate").set(X300_MAX_RATE_10GIGE); 
//L462

 

then, depending on the FPGA image that is loaded, this same branch is set to 
different values for the max rate, including the 1G Ethernet:

 


_tree->access("/mboards/"+boost::lexical_cast(mb_index) / 
"link_max_rate").set(X300_MAX_RATE_1GIGE); //L1140

 

For the other version (highlighted at [2]), however, this last assignment is 
done a little bit differently, but keeping the same logic [2.a]. 

 

Now, it is not clear to me if your question raises an unexpected behavior of if 
you are only asking about the logic behind scenes. I mean, are retrieving this 
value using different FPGA images and always getting the 10G maximum link rate? 
or if you are only asking about the how this is done in the code? On a quick 
view, the branch value is being set to the correct max rate depending on the 
FPGA image that you are loading into the device, which is the same logic in the 
two mentioned versions.

Regards,

-Nicolas

 

[1] 
https://github.com/EttusResearch/uhd/blob/6a72c16ee909af95b6965f26fb588a29485ef414/host/lib/usrp/x300/x300_impl.cpp

[2] 
https://github.com/EttusResearch/uhd/blob/7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/x300_impl.cpp

[2.a] 
https://github.com/EttusResearch/uhd/blob/7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/x300_impl.cpp#L1202

 

On Fri, Jul 28, 2017 at 1:03 AM, Perelman, Nathan via USRP-users 
 wrote:

I had been looking at /mboards/0/link_max_rate to determine if an X300 was 
connected via 10 GigE or 1 GigE. However it seems like sometime between when 
that was implemented for the X300 ( 
https://github.com/EttusResearch/uhd/commit/6a72c16ee909af95b6965f26fb588a29485ef414
 ) and now ( 
https://github.com/EttusResearch/uhd/blob/7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/x300_impl.cpp#L676
 ) that was changed to always return the 10 G rate even when connected via 1 G. 
Is there another way to determine how an X300 is connected?

-Nathan


___
USRP-users mailing list
USRP-users@lists.ettus.com  
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

 



smime.p7s
Description: S/MIME cryptographic signature
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Help with rx_multi_sample

2017-08-07 Thread Julian Arnold via USRP-users
Hey,

it would be good if you could give a little bit more information.
How does your initialization look like?
How does your stream command look like?

Cheers,

On 08/07/2017 04:30 PM, Snehasish Kar wrote:
>
> Hey
>
> Thanks that worked, there was problem in
> initializing stream_args_rx.channels
>
>
> Now a new error is popping up. Can you please help with that.
>
>
>
> UHD Error:
> The receive packet handler failed to time-align packets.
> 1002 received packets were processed by the handler.
> However, a timestamp match could not be determined.
>
> BR
>
> Snehasish
>
> 
> *From:* Julian Arnold 
> *Sent:* Monday, August 7, 2017 5:42:55 PM
> *To:* Snehasish Kar; usrp-users@lists.ettus.com
> *Subject:* Re: [USRP-users] Help with rx_multi_sample
>  
> Hey,
>
> how do you initialize your usrp and the streamer?
> Do you specify two channels when creating the streamer? E.g.:
>
> uhd::stream_args_t stream_args_rx("fc32", "sc16");
> stream_args_rx.channels = {0ul,1ul};
> this->rx_streamer = this->usrp->get_rx_stream(stream_args_rx);
>
> Cheers,
>
> On 08/07/2017 01:52 PM, Snehasish Kar wrote:
> >
> > But when I am setting so, I see only the LED of one daughter board
> > glowing. So it still receiving data from one daughter board. Please
> > help me with it.
> >
> >
> > BR
> >
> > Snehasish
> >
> > 
> > *From:* Julian Arnold 
> > *Sent:* Monday, August 7, 2017 4:46:14 PM
> > *To:* Snehasish Kar; usrp-users@lists.ettus.com
> > *Subject:* Re: [USRP-users] Help with rx_multi_sample
> > 
> > Hey Snehasish,
> >
> > it should be A:0 B:0 instead of 0:A 0:B.
> > E.g.: usrp->set_rx_subdev_spec(uhd::usrp::subdev_spec_t("A:0 B:0"));
> >
> > Cheers,
> > Julian
> >
> > On 08/07/2017 12:39 PM, Snehasish Kar via USRP-users wrote:
> > >
> > > Hello
> > >
> > >
> > > I tried setting subdev to subdev("0:A 0:B") as described in the
> > > example "rx_multi_samples" . But its giving me an error saying Invalid
> > > daughter-board frontend name : A. I am using NI USRP 2954R.
> > >
> > >
> > > Please help me with it.
> > >
> > >
> > > BR
> > >
> > > Snehasish
> > >
> > >
> > >
> > >
> > > ___
> > > USRP-users mailing list
> > > USRP-users@lists.ettus.com
> > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >
> > --
> > Julian Arnold, M.Sc.
> >
> > Institute for Networked Systems
> > RWTH Aachen University
> >
> > Kackertstrasse 9
> > 52072 Aachen
> > Germany
> >
>
> -- 
> Julian Arnold, M.Sc.
>
> Institute for Networked Systems
> RWTH Aachen University
>
> Kackertstrasse 9
> 52072 Aachen
> Germany
>

-- 
Julian Arnold, M.Sc.

Institute for Networked Systems
RWTH Aachen University

Kackertstrasse 9
52072 Aachen
Germany


___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] B210 MIMO, 4 Channel s

2017-08-07 Thread Masoud Naderpour via USRP-users
Hi,
Is it possible to boost the number of MIMO channels of B210 by adding
multiple USRP B210 devices to the same host?
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Help with rx_multi_sample

2017-08-07 Thread Snehasish Kar via USRP-users
Hey

Thanks that worked, there was problem in initializing stream_args_rx.channels


Now a new error is popping up. Can you please help with that.



UHD Error:
The receive packet handler failed to time-align packets.
1002 received packets were processed by the handler.
However, a timestamp match could not be determined.

BR

Snehasish


From: Julian Arnold 
Sent: Monday, August 7, 2017 5:42:55 PM
To: Snehasish Kar; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Help with rx_multi_sample

Hey,

how do you initialize your usrp and the streamer?
Do you specify two channels when creating the streamer? E.g.:

uhd::stream_args_t stream_args_rx("fc32", "sc16");
stream_args_rx.channels = {0ul,1ul};
this->rx_streamer = this->usrp->get_rx_stream(stream_args_rx);

Cheers,

On 08/07/2017 01:52 PM, Snehasish Kar wrote:
>
> But when I am setting so, I see only the LED of one daughter board
> glowing. So it still receiving data from one daughter board. Please
> help me with it.
>
>
> BR
>
> Snehasish
>
> 
> *From:* Julian Arnold 
> *Sent:* Monday, August 7, 2017 4:46:14 PM
> *To:* Snehasish Kar; usrp-users@lists.ettus.com
> *Subject:* Re: [USRP-users] Help with rx_multi_sample
>
> Hey Snehasish,
>
> it should be A:0 B:0 instead of 0:A 0:B.
> E.g.: usrp->set_rx_subdev_spec(uhd::usrp::subdev_spec_t("A:0 B:0"));
>
> Cheers,
> Julian
>
> On 08/07/2017 12:39 PM, Snehasish Kar via USRP-users wrote:
> >
> > Hello
> >
> >
> > I tried setting subdev to subdev("0:A 0:B") as described in the
> > example "rx_multi_samples" . But its giving me an error saying Invalid
> > daughter-board frontend name : A. I am using NI USRP 2954R.
> >
> >
> > Please help me with it.
> >
> >
> > BR
> >
> > Snehasish
> >
> >
> >
> >
> > ___
> > USRP-users mailing list
> > USRP-users@lists.ettus.com
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
> --
> Julian Arnold, M.Sc.
>
> Institute for Networked Systems
> RWTH Aachen University
>
> Kackertstrasse 9
> 52072 Aachen
> Germany
>

--
Julian Arnold, M.Sc.

Institute for Networked Systems
RWTH Aachen University

Kackertstrasse 9
52072 Aachen
Germany

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] PPS and REF out form a X310 and leakage problem

2017-08-07 Thread Jorge Chen via USRP-users
Hi all



I’d like to build up 8X8 MIMO system using 4 USRP X310.

To synchronize time between all of them, I used to use a function
generator to feed both 1 PPS and 10 MHz reference clock to them.

Today, I got an Octoclock which I thought it is able to provide both
synchronization signal, but it is said that “For the OctoClock, there is no
internal timing or clocking source, so the OctoClock will always use
external 10 MHz and 1 PPS sources, regardless of the position of the switch.”
in the UHD manual.



So, I plan to use one of the X310 to feed the synchronization signal to the
Octoclock REF input and connect other X310s to the REF output, like
the block diagram below.



[image: 內置圖片 1]

1.

I use the LTS version of UHD (3.9.6).

And I use the commands like:

 //Lock mboard clocks

 tx_usrp->set_clock_source("internal",0);

 tx_usrp->set_clock_source("external",1);

But it always show the error message:

Error: RuntimeError: Reference Clock PLL failed to lock to external source.



I wonder if the commands or my thought were wrong or this function is not
supported?Because I found some discussions (March, 2017) in the mailing
list talked about the X310 is not supported for daisy-chaining. By the way,
is X300 not supported neither?





2.

The other problem is that when I use a terminator to terminate the TX/RX
port, I can still discover the signal through the spectrum analyzer by
connecting an antenna. Is the signal leaked from somewhere? And how to
prevent it?





Thanks in advance!

Jorge
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] Fw: a few questions on rfnoc

2017-08-07 Thread Dario Pennisi via USRP-users
Hi,
We are creating a RFNoC block that inputs a continuous flow of data and needs 
to output an irregular burst of variable length.
I tried to research a bit but didn't found a final answer on the following 
questions:

  1.  Packets to and from RFNoC blocks need to have a min/max/fixed length? 
Apparently not and if I didn't misunderstand it is also possible to send 
packets without the length so that their length could be variable but just want 
to be sure.
  2.  Is there any timing related requirement on when packets are sent/received?
  3.  My output port would basically resemble a message port... I seem to 
understand that there is some work in progress to support message outputs from 
RFNoC blocks but didn't really understand if this is really feasible or not. If 
it is where can I find some examples?
  4.  On the host side I need to add some custom C code so was looking for the 
tutorial here 
(http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials) but this 
link does not seem to work anymore and on git there seem to be no trace of it. 
is there any sample skeleton with the block implementation to just manage data 
from a stream and read/write registers?
Thanks you,

Dario
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

2017-08-07 Thread Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] via USRP-users
Thanks for the advice Derek…

I took the Windows approach as you suggested…

I did download the tar file and unzipped it via Win7.  But the extension on it 
was .direct… nit .img…  So, I altered it…  Do not know if this is correct…

Then when I used win32diskmanager, there were no choices in the drive, to 
select the connected E310.  I did have it hooked up via designated ehternet 
port 192.168.10.2.

Any suggestions as to why things are not working?

Thanks,

Konstantin

From: Derek Kozel [mailto:derek.ko...@ettus.com]
Sent: Sunday, August 06, 2017 4:07 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 

Cc: Nate Temple ; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hello Konstantin,
The download definitely works on Windows, Mac, and Linux so there must be some 
issue with your VM that is causing the issue. That is probably beyond what we 
can help with.
On Windows you can use 7zip to extract the xz archive and win32diskimager for 
writing the filesystem image onto the SD card. Be careful to select the correct 
drive when writing the image.
https://sourceforge.net/projects/win32diskimager/
Regards,
Derek

On Sun, Aug 6, 2017 at 8:51 PM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
TECHNOLOGIES INC] via USRP-users 
> wrote:
Nate,

Thanks for the instructions...

I am trying to download the tz file from the website using the VM Linux OS.  My 
browser locks up.

I also did download the tx file in Windos, but I am unable to connect with the 
E310 via Ethernet over my Ethernet connection.

Since the installation instructions commands are in Linux, would you please 
assist me as to why I cannot download the file via the VM?

Thanks

Konstantin

-Original Message-
From: Nate Temple [mailto:nate.tem...@ettus.com]
Sent: Friday, August 04, 2017 12:30 PM
To: Matheou, Konstantin J. (GRC-LCI0)[ZIN TECHNOLOGIES INC] 
>
Cc: Philip Balister >; 
usrp-users@lists.ettus.com
Subject: Re: [USRP-users] When ssh'ing Getting prompt for Password Issue

Hi Konstantin,
In regards to the page not showing instructions, please copy and paste the full 
links listed below. If you note within the screenshot you posted, you have the 
URL of:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resource;

The full address is:

"https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resources#SD_Card_Images;

In regards to the permission denied prompt that is being given in your terminal 
screenshot -- This is because the command that you are issuing 
"/etc/network/interfaces" is not valid. When you issue a command that is the 
path to a file such as that, the system is attempting to pass the file and 
execute it via the default shell (/bin/sh). I suspect you're attempting to edit 
the file, which can be done with the utility "vi", such as "vi 
/etc/network/interfaces".

I would suggest starting with a fresh "release-4" image for the E310 at this 
point.

You will need to download the .xz file of the release image for the speed grade 
of your device (details are in the link below for which SG you need based on 
the serial number), and then decompress it with a 7z (7zip) or other similar 
tool. You will then need to burn the image to the SD card, which can be done 
with WinDisk32Imager or the Linux utility "dd", or "bmaptool".

The default setting for the "release-4" image will give the E310 a static IP 
address of 192.168.10.2. If you then put your VM NIC Settings into a Bridged 
Mode, and set a static IP Address within the VM to "192.168.1.3", you should be 
able to connect to the E310 with the root account and no password via SSH.


https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Getting_Started_Guides#Serial_Console_Connectivity
http://files.ettus.com/e3xx_images/
https://kb.ettus.com/Ettus_USRP_E300_Embedded_Family_Hardware_Resources#SD_Card_Images



Regards,
Nate Temple



> On Aug 4, 2017, at 9:29 AM, Matheou, Konstantin J. (GRC-LCI0)[ZIN 
> TECHNOLOGIES INC] 
> > wrote:
>
> Nate,
>
> I am close to returning this unit.
>
> I feel that I am doing everything correctly…
>
> 1)  I setup the IP static address correctly in the interfaces via the 
> serial cable – proof that I can ping to it from both Linux and Windows
> 2)  I double checked both sshd_config files in E310 and Linux VM OS – 
> both have the permission parameter to have no password for login.
> 3)  VM is in network bridged mode too, as you suggested.
>
> When I hookup the Ethernet, I am able to ping, but when I do the ssh command 
> to login, I am still getting the permission denied.
>
> Please tell me any last 

Re: [USRP-users] Help with rx_multi_sample

2017-08-07 Thread Julian Arnold via USRP-users
Hey,

how do you initialize your usrp and the streamer?
Do you specify two channels when creating the streamer? E.g.:

uhd::stream_args_t stream_args_rx("fc32", "sc16");
stream_args_rx.channels = {0ul,1ul};
this->rx_streamer = this->usrp->get_rx_stream(stream_args_rx);

Cheers,

On 08/07/2017 01:52 PM, Snehasish Kar wrote:
>
> But when I am setting so, I see only the LED of one daughter board
> glowing. So it still receiving data from one daughter board. Please
> help me with it.
>
>
> BR
>
> Snehasish
>
> 
> *From:* Julian Arnold 
> *Sent:* Monday, August 7, 2017 4:46:14 PM
> *To:* Snehasish Kar; usrp-users@lists.ettus.com
> *Subject:* Re: [USRP-users] Help with rx_multi_sample
>  
> Hey Snehasish,
>
> it should be A:0 B:0 instead of 0:A 0:B.
> E.g.: usrp->set_rx_subdev_spec(uhd::usrp::subdev_spec_t("A:0 B:0"));
>
> Cheers,
> Julian
>
> On 08/07/2017 12:39 PM, Snehasish Kar via USRP-users wrote:
> >
> > Hello
> >
> >
> > I tried setting subdev to subdev("0:A 0:B") as described in the
> > example "rx_multi_samples" . But its giving me an error saying Invalid
> > daughter-board frontend name : A. I am using NI USRP 2954R.
> >
> >
> > Please help me with it.
> >
> >
> > BR
> >
> > Snehasish
> >
> >
> >
> >
> > ___
> > USRP-users mailing list
> > USRP-users@lists.ettus.com
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
> -- 
> Julian Arnold, M.Sc.
>
> Institute for Networked Systems
> RWTH Aachen University
>
> Kackertstrasse 9
> 52072 Aachen
> Germany
>

-- 
Julian Arnold, M.Sc.

Institute for Networked Systems
RWTH Aachen University

Kackertstrasse 9
52072 Aachen
Germany


___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Help with rx_multi_sample

2017-08-07 Thread Snehasish Kar via USRP-users
But when I am setting so, I see only the LED of one daughter board glowing. So 
it still receiving data from one daughter board. Please help me with it.


BR

Snehasish


From: Julian Arnold 
Sent: Monday, August 7, 2017 4:46:14 PM
To: Snehasish Kar; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Help with rx_multi_sample

Hey Snehasish,

it should be A:0 B:0 instead of 0:A 0:B.
E.g.: usrp->set_rx_subdev_spec(uhd::usrp::subdev_spec_t("A:0 B:0"));

Cheers,
Julian

On 08/07/2017 12:39 PM, Snehasish Kar via USRP-users wrote:
>
> Hello
>
>
> I tried setting subdev to subdev("0:A 0:B") as described in the
> example "rx_multi_samples" . But its giving me an error saying Invalid
> daughter-board frontend name : A. I am using NI USRP 2954R.
>
>
> Please help me with it.
>
>
> BR
>
> Snehasish
>
>
>
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

--
Julian Arnold, M.Sc.

Institute for Networked Systems
RWTH Aachen University

Kackertstrasse 9
52072 Aachen
Germany

___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Determining if an X300 is connected via 10 GigE or 1 GigE

2017-08-07 Thread Nicolas Cuervo via USRP-users
Hello Nathan,

I think you are referring only to the values that are set in the creation
of the "max_link_branch" of the property tree. In one version of the code
(the one you highlighted at [1]) has only the branch called "link_max_rate"
and this one is created and set to either the PCIE max rate or the 10G max
rate with the following statements

_tree->create(mb_path / "link_max_rate").set(X300_MAX_RATE_PCIE);
//L396
_tree->create(mb_path / "link_max_rate").set(X300_MAX_RATE_10GIGE);
//L462

then, depending on the FPGA image that is loaded, this same branch is set
to different values for the max rate, including the 1G Ethernet:

_tree->access("/mboards/"+boost::lexical_cast(mb_index)
/ "link_max_rate").set(X300_MAX_RATE_1GIGE); //L1140

For the other version (highlighted at [2]), however, this last assignment
is done a little bit differently, but keeping the same logic [2.a].

Now, it is not clear to me if your question raises an unexpected behavior
of if you are only asking about the logic behind scenes. I mean, are
retrieving this value using different FPGA images and always getting the
10G maximum link rate? or if you are only asking about the how this is done
in the code? On a quick view, the branch value is being set to the correct
max rate depending on the FPGA image that you are loading into the device,
which is the same logic in the two mentioned versions.

Regards,
-Nicolas

[1]
https://github.com/EttusResearch/uhd/blob/6a72c16ee909af95b6965f26fb588a29485ef414/host/lib/usrp/x300/x300_impl.cpp
[2]
https://github.com/EttusResearch/uhd/blob/7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/x300_impl.cpp
[2.a]
https://github.com/EttusResearch/uhd/blob/7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/x300_impl.cpp#L1202

On Fri, Jul 28, 2017 at 1:03 AM, Perelman, Nathan via USRP-users <
usrp-users@lists.ettus.com> wrote:

> I had been looking at /mboards/0/link_max_rate to determine if an X300 was
> connected via 10 GigE or 1 GigE. However it seems like sometime between
> when that was implemented for the X300 ( https://github.com/
> EttusResearch/uhd/commit/6a72c16ee909af95b6965f26fb588a29485ef414 ) and
> now ( https://github.com/EttusResearch/uhd/blob/
> 7ac01c7f979aab8fac5e62f596ff0af52cedec40/host/lib/usrp/x300/
> x300_impl.cpp#L676 ) that was changed to always return the 10 G rate even
> when connected via 1 G. Is there another way to determine how an X300 is
> connected?
>
> -Nathan
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Re: [USRP-users] Help with rx_multi_sample

2017-08-07 Thread Julian Arnold via USRP-users
Hey Snehasish,

it should be A:0 B:0 instead of 0:A 0:B.
E.g.: usrp->set_rx_subdev_spec(uhd::usrp::subdev_spec_t("A:0 B:0"));

Cheers,
Julian

On 08/07/2017 12:39 PM, Snehasish Kar via USRP-users wrote:
>
> Hello
>
>
> I tried setting subdev to subdev("0:A 0:B") as described in the
> example "rx_multi_samples" . But its giving me an error saying Invalid
> daughter-board frontend name : A. I am using NI USRP 2954R.
>
>
> Please help me with it.
>
>
> BR
>
> Snehasish
>
>
>
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

-- 
Julian Arnold, M.Sc.

Institute for Networked Systems
RWTH Aachen University

Kackertstrasse 9
52072 Aachen
Germany


___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com