On 02/11/2021 05:04 AM, Johannes Demel wrote:
Hi,
yes, I just attach a grc file for GR 3.9 that I use to test things.
It works if I specify `addr=...` or `addr0=...` with one device. If I
switch to 2 devices `addr=....,addr1=...` it fails.
It seems like UHD tries to initialize the devices twice.
----
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100;
UHD_3.15.0.0-62-g7a3f1516
[INFO] [MPMD] Initializing 2 device(s) in parallel with args:
mgmt_addr0=192.168.20.213,type0=n3xx,product0=n310,serial0=319841B,claimed0=False,mgmt_addr1=192.168.21.218,type1=n3xx,product1=n310,serial1=3180AF3,claimed1=False,addr0=192.168.20.213,addr1=192.168.21.218,master_clock_rate=122.88e6,clock_source=external,time_source=external
[INFO] [MPM.PeriphManager] init() called with device args
`time_source=external,clock_source=external,master_clock_rate=122.88e6,product=n310,mgmt_addr=192.168.20.213'.
[INFO] [0/Replay_0] Initializing block control (NOC ID:
0x4E91A00000000004)
[INFO] [MPM.PeriphManager] init() called with device args
`time_source=external,product=n310,master_clock_rate=122.88e6,clock_source=external,mgmt_addr=192.168.21.218'.
[INFO] [0/Radio_0] Initializing block control (NOC ID:
0x12AD100000011312)
[...]
[INFO] [1/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [MULTI_USRP] 1) catch time transition at pps edge
[INFO] [MULTI_USRP] 2) set times next pps (synchronously)
[INFO] [MPMD] Initializing 2 device(s) in parallel with args:
mgmt_addr0=192.168.20.213,type0=n3xx,product0=n310,serial0=319841B,claimed0=True,mgmt_addr1=192.168.21.218,type1=n3xx,product1=n310,serial1=3180AF3,claimed1=True,addr0=192.168.20.213,addr1=192.168.21.218,master_clock_rate=122.88e6,clock_source=external,time_source=external
[ERROR] [RPC] Someone tried to claim this device again (From:
192.168.20.34)
----
If I use only one device, it looks like this:
----
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100;
UHD_3.15.0.0-62-g7a3f1516
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.20.213,type=n3xx,product=n310,serial=319841B,claimed=False,addr0=192.168.20.213,master_clock_rate=122.88e6,clock_source=external,time_source=external
[INFO] [MPM.PeriphManager] init() called with device args
`time_source=external,clock_source=external,master_clock_rate=122.88e6,product=n310,mgmt_addr=192.168.20.213'.
[INFO] [0/Replay_0] Initializing block control (NOC ID:
0x4E91A00000000004)
[...]
[INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [MULTI_USRP] 1) catch time transition at pps edge
[INFO] [MULTI_USRP] 2) set times next pps (synchronously)
[INFO] [MULTI_USRP] 1) catch time transition at pps edge
[INFO] [MULTI_USRP] 2) set times next pps (synchronously)
----
The last 4 lines are suspicious because they indicate that
synchronization is performed twice. Also, most of the time during
start up is spend there.
Anyways, I attached my MWE flowgraph. I'd be happy if you could tell
me how to fix my issue.
Cheers
Johannes
Johannes:
I'm copying Michael Dickens from Ettus Engineering on this, and also,
continuing this thread on the usrp-users mailing list would be
more useful than on the discuss-gnuradio list, as there are folks on
the usrp-users list who have done multi-N310 configurations
successfully.
In particular, Ali Dormiani ([email protected]) has at least 6 N310
operating in their lab with a single host:
Hello fellow N310 users. My lab has 6 N310's all operating and streaming
to a single data server (10 Gbe links).
We use GNU Radio for everything. The software is great for controlling
multiple devices with many antennas easily (highly recommended). My
experience with native C++ UHD driver commands is rather limited.
I'm personally hampered by only having a single N310 at my disposal, so
I can't reproduce your issue.
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com