Hello, I am working on a USRP E320 unit using UHD 4.1.0.5. I have made an FPGA image containing a radio, a 4-port replay block and a NullSrcSink. After investigating (with a lot of help from Rob Kossler) why my own program doesn't work properly, per his suggestion I have tested rfnoc_replay_samples_from_file on the 4 ports of the replay block. Ports 0,1 work fine and the example is streaming my data. Ports 2,3 get stuck on record and don't work properly. Please find attached: * 4 console logs, one for each replay port. * My YML file with which I created the FPGA image. * Console log of uhd_usrp_probe.
Some further notes that might help: * I also tried an original FPGA image of the E320 (with DUC, DDC and all the static mapping) with the only change being that the replay block has 4 ports (and adding 2 more endpoints). The result was the same. * I also tried an FPGA image without the NullSrcSink. I added it sometime in the debug process and it was just left there. It has no bearing on the problem. I would appreciate any assistance to debug the issue and make all ports of the replay block work properly. Regards, Ofer Saferman -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
root@ni-e320-320AFAA:/usr/lib/uhd/examples# ./rfnoc_replay_samples_from_file --args master_clock_rate=40.0e6 --replay_chan=2 --file='my_rfnoc_replay2/build/sine_ft=1M_fs=40M.bin' --freq=2.41e9 --rate= 40.0e6 --gain=80 --bw=40.0e6 Creating the RFNoC graph with args: master_clock_rate=40.0e6... [INFO] [UHD] linux; GNU C++ version 9.2.0; Boost_107100; UHD_4.1.0.5-0-g6bd0be9c [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=127.0.0.1,type=e3xx,product=e320,serial=320AFAA,fpga=1G,claimed=False,master_clock_rate=40.0e6 [INFO] [MPM.PeriphManager] init() called with device args `fpga=1G,master_clock_rate=40.0e6,mgmt_addr=127.0.0.1,product=e320'. [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... [INFO] [0/Radio#0] CODEC loopback test passed [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... [INFO] [0/Radio#0] CODEC loopback test passed Using radio 0/Radio#0, channel 0 Using replay 0/Replay#0, channel 2 Setting TX Freq: 2410.000000 MHz... Actual TX Freq: 2409.999999 MHz... Setting TX Rate: 40.000000 Msps... Actual TX Rate: 40.000000 Msps... Setting TX Gain: 80.000000 dB... Actual TX Gain: 80.000000 dB... Setting TX Bandwidth: 40.000000 MHz... Actual TX Bandwidth: 40.000000 MHz... [INFO] [TEST] Creating graph... [INFO] [TEST] Committing graph... [WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping. [INFO] [TEST] Commit complete. Replay file size: 16000 bytes (2000 qwords, 4000 samples) Record base address: 0x0 Record buffer size: 16000 bytes Record fullness: 0 bytes Emptying record buffer... Record fullness: 0 bytes Sending data to be recorded... Waiting for recording to complete... ^C
root@ni-e320-320AFAA:/usr/lib/uhd/examples# ./rfnoc_replay_samples_from_file --args master_clock_rate=40.0e6 --replay_chan=0 --file='my_rfnoc_replay2/build/sine_ft=1M_fs=40M.bin' --freq=2.41e9 --rate=40.0e6 --gain=80 --bw=40.0e6 Creating the RFNoC graph with args: master_clock_rate=40.0e6... [INFO] [UHD] linux; GNU C++ version 9.2.0; Boost_107100; UHD_4.1.0.5-0-g6bd0be9c [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=127.0.0.1,type=e3xx,product=e320,serial=320AFAA,fpga=1G,claimed=False,master_clock_rate=40.0e6 [INFO] [MPM.main] Launching USRP/MPM, version: 4.1.0.5-g6bd0be9c [INFO] [MPM.main] Spawning RPC process... [INFO] [MPM.PeriphManager] Device serial number: 320AFAA [INFO] [MPM.PeriphManager] Found 1 daughterboard(s). [INFO] [MPM.RPCServer] RPC server ready! [INFO] [MPM.RPCServer] Spawning watchdog task... [INFO] [MPM.PeriphManager] init() called with device args `fpga=1G,master_clock_rate=40.0e6,mgmt_addr=127.0.0.1,product=e320'. [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... [INFO] [0/Radio#0] CODEC loopback test passed [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... [INFO] [0/Radio#0] CODEC loopback test passed Using radio 0/Radio#0, channel 0 Using replay 0/Replay#0, channel 0 Setting TX Freq: 2410.000000 MHz... Actual TX Freq: 2409.999999 MHz... Setting TX Rate: 40.000000 Msps... Actual TX Rate: 40.000000 Msps... Setting TX Gain: 80.000000 dB... Actual TX Gain: 80.000000 dB... Setting TX Bandwidth: 40.000000 MHz... Actual TX Bandwidth: 40.000000 MHz... [INFO] [TEST] Creating graph... [INFO] [TEST] Committing graph... [WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping. [INFO] [TEST] Commit complete. Replay file size: 16000 bytes (2000 qwords, 4000 samples) Record base address: 0x0 Record buffer size: 16000 bytes Record fullness: 0 bytes Emptying record buffer... Record fullness: 0 bytes Sending data to be recorded... Waiting for recording to complete... Record fullness: 16000 bytes Issuing replay command for 4000 samps in continuous mode... Replaying data (Press Ctrl+C to stop)... ^C Stopping replay...
root@ni-e320-320AFAA:~# uhd_usrp_probe [INFO] [UHD] linux; GNU C++ version 9.2.0; Boost_107100; UHD_4.1.0.5-0-g6bd0be9c [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=127.0.0.1,type=e3xx,product=e320,serial=320AFAA,fpga=1G,claimed=False [INFO] [MPM.main] Launching USRP/MPM, version: 4.1.0.5-g6bd0be9c [INFO] [MPM.main] Spawning RPC process... [INFO] [MPM.PeriphManager] Device serial number: 320AFAA [INFO] [MPM.PeriphManager] Found 1 daughterboard(s). [INFO] [MPM.RPCServer] RPC server ready! [INFO] [MPM.RPCServer] Spawning watchdog task... [INFO] [MPM.PeriphManager] init() called with device args `fpga=1G,mgmt_addr=127.0.0.1,product=e320'. [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... [INFO] [0/Radio#0] CODEC loopback test passed [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... [INFO] [0/Radio#0] CODEC loopback test passed _____________________________________________________ / | Device: E300-Series Device | _____________________________________________________ | / | | Mboard: ni-e320-320AFAA | | eeprom_version: 3 | | fs_version: 20211215135418 | | mender_artifact: v4.1.0.5_e320 | | mpm_sw_version: 4.1.0.5-g6bd0be9c | | pid: 58144 | | product: e320 | | rev: 5 | | rpc_connection: local | | serial: 320AFAA | | type: e3xx | | MPM Version: 4.0 | | FPGA Version: 6.0 | | FPGA git hash: 6bd0be9.dirty | | | | Time sources: internal, external, gpsdo | | Clock sources: external, internal, gpsdo | | Sensors: ref_locked, gps_locked, fan, temp_fpga, temp_internal, temp_rf_channelA, temp_rf_channelB, temp_main_power, gps_gpgga, gps_sky, gps_time, gps_tpv | _____________________________________________________ | / | | RFNoC blocks on this device: | | | | * 0/NullSrcSink#0 | | * 0/Radio#0 | | * 0/Replay#0 | _____________________________________________________ | / | | Static connections on this device: | | | | * 0/SEP#0:0==>0/Radio#0:0 | | * 0/Radio#0:0==>0/SEP#0:0 | | * 0/SEP#1:0==>0/Radio#0:1 | | * 0/Radio#0:1==>0/SEP#1:0 | | * 0/SEP#2:0==>0/Replay#0:0 | | * 0/Replay#0:0==>0/SEP#2:0 | | * 0/SEP#3:0==>0/Replay#0:1 | | * 0/Replay#0:1==>0/SEP#3:0 | | * 0/SEP#4:0==>0/Replay#0:2 | | * 0/Replay#0:2==>0/SEP#4:0 | | * 0/SEP#5:0==>0/Replay#0:3 | | * 0/Replay#0:3==>0/SEP#5:0 | | * 0/SEP#6:0==>0/NullSrcSink#0:0 | | * 0/NullSrcSink#0:0==>0/SEP#6:0 | | * 0/NullSrcSink#0:1==>0/NullSrcSink#0:1 | _____________________________________________________ | / | | TX Dboard: 0/Radio#0 | | _____________________________________________________ | | / | | | TX Frontend: 0 | | | Name: E3xx | | | Antennas: TX/RX | | | Freq range: 47.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 89.8 step 0.2 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | | _____________________________________________________ | | / | | | TX Frontend: 1 | | | Name: E3xx | | | Antennas: TX/RX | | | Freq range: 47.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 89.8 step 0.2 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | _____________________________________________________ | / | | RX Dboard: 0/Radio#0 | | _____________________________________________________ | | / | | | RX Frontend: 0 | | | Name: E3xx | | | Antennas: RX2, TX/RX | | | Freq range: 70.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 76.0 step 1.0 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | | _____________________________________________________ | | / | | | RX Frontend: 1 | | | Name: E3xx | | | Antennas: RX2, TX/RX | | | Freq range: 70.000 to 6000.000 MHz | | | Gain range PGA: 0.0 to 76.0 step 1.0 dB | | | Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No
root@ni-e320-320AFAA:/usr/lib/uhd/examples# ./rfnoc_replay_samples_from_file --args master_clock_rate=40.0e6 --replay_chan=1 --file='my_rfnoc_replay2/build/sine_ft=1M_fs=40M.bin' --freq=2.41e9 --rate=40.0e6 --gain=80 --bw=40.0e6 Creating the RFNoC graph with args: master_clock_rate=40.0e6... [INFO] [UHD] linux; GNU C++ version 9.2.0; Boost_107100; UHD_4.1.0.5-0-g6bd0be9c [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=127.0.0.1,type=e3xx,product=e320,serial=320AFAA,fpga=1G,claimed=False,master_clock_rate=40.0e6 [INFO] [MPM.main] Launching USRP/MPM, version: 4.1.0.5-g6bd0be9c [INFO] [MPM.main] Spawning RPC process... [INFO] [MPM.PeriphManager] Device serial number: 320AFAA [INFO] [MPM.PeriphManager] Found 1 daughterboard(s). [INFO] [MPM.RPCServer] RPC server ready! [INFO] [MPM.RPCServer] Spawning watchdog task... [INFO] [MPM.PeriphManager] init() called with device args `fpga=1G,master_clock_rate=40.0e6,mgmt_addr=127.0.0.1,product=e320'. [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... [INFO] [0/Radio#0] CODEC loopback test passed [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... [INFO] [0/Radio#0] CODEC loopback test passed Using radio 0/Radio#0, channel 0 Using replay 0/Replay#0, channel 1 Setting TX Freq: 2410.000000 MHz... Actual TX Freq: 2409.999999 MHz... Setting TX Rate: 40.000000 Msps... Actual TX Rate: 40.000000 Msps... Setting TX Gain: 80.000000 dB... Actual TX Gain: 80.000000 dB... Setting TX Bandwidth: 40.000000 MHz... Actual TX Bandwidth: 40.000000 MHz... [INFO] [TEST] Creating graph... [INFO] [TEST] Committing graph... [WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping. [INFO] [TEST] Commit complete. Replay file size: 16000 bytes (2000 qwords, 4000 samples) Record base address: 0x0 Record buffer size: 16000 bytes Record fullness: 0 bytes Emptying record buffer... Record fullness: 0 bytes Sending data to be recorded... Waiting for recording to complete... Record fullness: 16000 bytes Issuing replay command for 4000 samps in continuous mode... Replaying data (Press Ctrl+C to stop)... ^C Stopping replay...
root@ni-e320-320AFAA:/usr/lib/uhd/examples# ./rfnoc_replay_samples_from_file --args master_clock_rate=40.0e6 --replay_chan=3 --file='my_rfnoc_replay2/build/sine_ft=1M_fs=40M.bin' --freq=2.41e9 --rate= 40.0e6 --gain=80 --bw=40.0e6 Creating the RFNoC graph with args: master_clock_rate=40.0e6... [INFO] [UHD] linux; GNU C++ version 9.2.0; Boost_107100; UHD_4.1.0.5-0-g6bd0be9c [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=127.0.0.1,type=e3xx,product=e320,serial=320AFAA,fpga=1G,claimed=False,master_clock_rate=40.0e6 [INFO] [MPM.PeriphManager] init() called with device args `fpga=1G,master_clock_rate=40.0e6,mgmt_addr=127.0.0.1,product=e320'. [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... [INFO] [0/Radio#0] CODEC loopback test passed [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... [INFO] [0/Radio#0] CODEC loopback test passed Using radio 0/Radio#0, channel 0 Using replay 0/Replay#0, channel 3 Setting TX Freq: 2410.000000 MHz... Actual TX Freq: 2409.999999 MHz... Setting TX Rate: 40.000000 Msps... Actual TX Rate: 40.000000 Msps... Setting TX Gain: 80.000000 dB... Actual TX Gain: 80.000000 dB... Setting TX Bandwidth: 40.000000 MHz... Actual TX Bandwidth: 40.000000 MHz... [INFO] [TEST] Creating graph... [INFO] [TEST] Committing graph... [WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping. [INFO] [TEST] Commit complete. Replay file size: 16000 bytes (2000 qwords, 4000 samples) Record base address: 0x0 Record buffer size: 16000 bytes Record fullness: 0 bytes Emptying record buffer... Record fullness: 0 bytes Sending data to be recorded... Waiting for recording to complete... ^C
e320_rfnoc_replay_4p.yml
Description: Binary data
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com