Thanks Marcus for your support. Acually, I belive this error is not related to OAI specifically. Now, I change the UHD version to UHD V4.2.0 and when and the same error appears
uhd_image_loader --args "type=n3xx,addr=192.168.10.2,fpga=HG" [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_4.2.0.HEAD-0-g46a70d85 [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=31FD9DD,fpga=HG,claimed=False,skip_init=1 [INFO] [MPMD] Claimed device without full initialization. [INFO] [MPMD IMAGE LOADER] Starting update. This may take a while. [INFO] [MPM.PeriphManager] Installing component `fpga' [INFO] [MPM.PeriphManager] Installing component `dts' [INFO] [MPM.RPCServer] Resetting peripheral manager. [INFO] [MPM.PeriphManager] Device serial number: 31FD9DD [INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s). [INFO] [MPM.PeriphManager] init() called with device args `clock_source=internal,time_source=internal'. [INFO] [MPMD IMAGE LOADER] Update component function succeeded. [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=31FD9DD,fpga=HG,claimed=False,addr=192.168.10.2,find_all=1 [ERROR] [MPMD] MPM minor compat number mismatch. Expected: 4.2 Actual: 4.0. Please update the version of MPM on your USRP device. Error: RuntimeError: MPM minor compat number mismatch. Expected: 4.2 Actual: 4.0. Please update the version of MPM on your USRP device. BR, Mina Yonan On Wed, Jan 18, 2023 at 5:32 PM Marcus D. Leech <[email protected]> wrote: > On 18/01/2023 06:58, mychk1 1 wrote: > > Thank you for your suggestion. > > I ran this example: > > ./rx_samples_to_file --freq 98e6 --rate 5e6 --gain 20 --duration 10 > usrp_samples.dat > > > The response with the following warning: > > The warnings aren't important in this case. What this means is that your > PC and N310 versions of UHD are compatible and > working properly with each other. > > This also implies that your OAI is using a different version of > UHD--either it's bundled into a container that uses different > versions of the library, or it was statically linked against a different > version of UHD. Since I personally know NOTHING > about OAI, that's as far as *I* can take you, but perhaps others on this > list have some insights into it. > > > Creating the usrp device with: ... > [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; > UHD_4.1.0.HEAD-0-gd21735d5 > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=10.237.72.103,type=n3xx,product=n310,serial=31FD9DD,fpga=HG,claimed=False,addr=192.168.10.2 > [WARNING] [MPM.RPCServer] A timeout event occured! > [INFO] [MPM.PeriphManager] init() called with device args > `fpga=HG,mgmt_addr=10.237.72.103,product=n310,clock_source=internal,time_source=internal'. > [WARNING] [RFNOC::GRAPH] One or more blocks timed out during flush! > Using Device: Single USRP: > Device: N300-Series Device > Mboard 0: n310 > RX Channel: 0 > RX DSP: 0 > RX Dboard: A > RX Subdev: Magnesium > RX Channel: 1 > RX DSP: 1 > RX Dboard: A > RX Subdev: Magnesium > RX Channel: 2 > RX DSP: 2 > RX Dboard: B > RX Subdev: Magnesium > RX Channel: 3 > RX DSP: 3 > RX Dboard: B > RX Subdev: Magnesium > TX Channel: 0 > TX DSP: 0 > TX Dboard: A > TX Subdev: Magnesium > TX Channel: 1 > TX DSP: 1 > TX Dboard: A > TX Subdev: Magnesium > TX Channel: 2 > TX DSP: 2 > TX Dboard: B > TX Subdev: Magnesium > TX Channel: 3 > TX DSP: 3 > TX Dboard: B > TX Subdev: Magnesium > > Setting RX Rate: 5.000000 Msps...[WARNING] [0/DDC#0] The requested decimation > is odd; the user should expect passband CIC rolloff. > Select an even decimation to ensure that a halfband filter is enabled. > Decimations factorable by 4 will enable 2 halfbands, those factorable by 8 > will enable 3 halfbands. > decimation = dsp_rate/samp_rate -> 25 > [WARNING] [0/DDC#0] The requested decimation is odd; the user should expect > passband CIC rolloff. > Select an even decimation to ensure that a halfband filter is enabled. > Decimations factorable by 4 will enable 2 halfbands, those factorable by 8 > will enable 3 halfbands. > decimation = dsp_rate/samp_rate -> 25 > Actual RX Rate: 5.000000 Msps... > > Setting RX Freq: 98.000000 MHz... > Setting RX LO Offset: 0.000000 MHz... > Actual RX Freq: 98.000000 MHz... > > Setting RX Gain: 20.000000 dB... > Actual RX Gain: 20.000000 dB... > > Waiting for "lo_locked": ++++++++++ locked. > > Press Ctrl + C to stop streaming... > DGot an overflow indication. Please consider the following: > Your write medium must sustain a rate of 20.000000MB/s. > Dropped samples will not be written to the file. > Please modify this example for your purposes. > This message will not appear again. > > Done! > > > On Tue, Jan 17, 2023 at 5:51 PM Marcus D. Leech <[email protected]> > wrote: > >> On 17/01/2023 10:19, mychk1 1 wrote: >> >> I think, Yes >> root@ni-n3xx-31FD9DD:~# uhd_config_info --version >> UHD 4.1.0.0-0-gd21735d5 >> >> On the PC >> uhd_config_info --version >> UHD 4.1.0.HEAD-0-gd21735d5 >> >> So, my guess is that your OAI code was statically linked against a >> different version of UHD, or it is configured to use a >> different set of dynamic libraries. >> >> Try a simple uhd example on your host computer, like the >> rx_samples_to_file example: >> >> >> UHD RX samples to file Allowed options: >> --help help message >> --args arg multi uhd device address args >> --file arg (=usrp_samples.dat) name of the file to write binary samples >> to >> --type arg (=short) sample type: double, float, or short >> --nsamps arg (=0) total number of samples to receive >> --duration arg (=0) total number of seconds to receive >> --spb arg (=10000) samples per buffer >> --rate arg (=1000000) rate of incoming samples >> --freq arg (=0) RF center frequency in Hz >> --lo-offset arg (=0) Offset for frontend LO in Hz (optional) >> --gain arg gain for the RF chain >> --ant arg antenna selection >> --subdev arg subdevice specification >> --channel arg (=0) which channel to use >> --bw arg analog frontend filter bandwidth in Hz >> --ref arg (=internal) reference source (internal, external, >> mimo) >> --wirefmt arg (=sc16) wire format (sc8, sc16 or s16) >> --setup arg (=1) seconds of setup time >> --progress periodically display short-term bandwidth >> --stats show average bandwidth on exit >> --sizemap track packet size and display breakdown >> on >> exit >> --null run without writing to file >> --continue don't abort on a bad packet >> --skip-lo skip checking LO lock status >> --int-n tune USRP with integer-N tuning >> >> >> This application streams data from a single channel of a USRP device to a >> file. >> >> On Tue, Jan 17, 2023 at 5:07 PM Marcus D. Leech <[email protected]> >> wrote: >> >>> On 17/01/2023 09:51, mychk1 1 wrote: >>> >>> Yes, I'm running OAI on a workstation. >>> >>> Run: >>> >>> uhd_config_info --version >>> >>> on BOTH your PC and the N310 -- do they match? >>> >>> >>> >>> I already updated the SDCard using this command: >>> >> >>> sudo dd if=/usr/local/share/uhd/images/usrp_n3xx_fs.sdimg of=/dev/sdb >>> bs=1M >>> << >>> and get this output: >>> >> >>> 15160+0 records in >>> 15160+0 records out >>> 15896412160 bytes (16 Gb, 15 GiB) copied, 1160.93 s, 13.7 MB/s >>> << >>> But the MPM Version still 4 not 4.2. >>> >>> what do you think? >>> >>> >>> BR, >>> >>> On Tue, Jan 17, 2023 at 4:35 PM Marcus D. Leech <[email protected]> >>> wrote: >>> >>>> On 17/01/2023 06:28, mychk1 1 wrote: >>>> >>>> >>>> Hello Community, >>>> >>>> I using the USRP N310 with openairinterface5G code. >>>> >>>> recently, I faced an error called updating MPM version. Is there a >>>> commend to update MPM version? >>>> >>>> [INFO] [MPM.main] Launching USRP/MPM, version: 4.1.0.0-gd21735d5 >>>> [INFO] [MPM.main] Spawning RPC process... >>>> [INFO] [MPM.PeriphManager] Device serial number: 31FD9DD >>>> [INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s). >>>> [INFO] [MPM.PeriphManager] init() called with device args >>>> `clock_source=internal,time_source=internal'. >>>> [INFO] [MPM.RPCServer] RPC server ready! >>>> [INFO] [MPM.RPCServer] Spawning watchdog task... >>>> [ERROR] [MPMD] MPM minor compat number mismatch. Expected: 4.2 Actual: >>>> 4.0. Please update the version of MPM on your USRP device. >>>> terminate called after throwing an instance of 'uhd::runtime_error' >>>> what(): RuntimeError: MPM minor compat number mismatch. Expected: >>>> 4.2 Actual: 4.0. Please update the version of MPM on your USRP device. >>>> Aborted >>>> >>>> >>>> >>>> Some useful logs: >>>> - In the host : uhd_usrp_probe >>>> [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; >>>> UHD_4.1.0.HEAD-0-gd21735d5 >>>> [INFO] [MPMD] Initializing 1 device(s) in parallel with args: >>>> mgmt_addr=10.237.72.103,type=n3xx,product=n310,serial=31FD9DD,fpga=HG,claimed=False,addr=192.168.10.2 >>>> [WARNING] [MPM.RPCServer] A timeout event occured! >>>> [INFO] [MPM.PeriphManager] init() called with device args >>>> `fpga=HG,mgmt_addr=10.237.72.103,product=n310,clock_source=internal,time_source=internal'. >>>> _____________________________________________________ >>>> / >>>> | Device: N300-Series Device >>>> | _____________________________________________________ >>>> | / >>>> | | Mboard: ni-n3xx-31FD9DD >>>> | | dboard_0_pid: 336 >>>> | | dboard_0_serial: 31F6BC8 >>>> | | dboard_1_pid: 336 >>>> | | dboard_1_serial: 31F6BF2 >>>> | | eeprom_version: 3 >>>> | | fs_version: 20210630170909 >>>> | | mender_artifact: v4.1.0.0_n3xx >>>> | | mpm_sw_version: 4.1.0.0-gd21735d5 >>>> | | pid: 16962 >>>> | | product: n310 >>>> | | rev: 10 >>>> | | rpc_connection: remote >>>> | | serial: 31FD9DD >>>> | | type: n3xx >>>> | | MPM Version: 4.0 >>>> | | FPGA Version: 8.0 >>>> | | FPGA git hash: d5c2750.clean >>>> | | >>>> | | Time sources: internal, external, gpsdo, sfp0 >>>> | | Clock sources: external, internal, gpsdo >>>> | | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky, >>>> gps_time, gps_tpv >>>> | _____________________________________________________ >>>> >>>> >>>> >>>> - The UHD version SD-card attached with the USRP >>>> >>>> root@ni-n3xx-31FD9DD:~# uhd_config_info --version >>>> UHD 4.1.0.0-0-gd21735d5 >>>> >>>> BR, >>>> Marcin >>>> >>>> _______________________________________________ >>>> USRP-users mailing list -- [email protected] >>>> To unsubscribe send an email to [email protected] >>>> >>>> To clarify. >>>> >>>> You're running OAI on a PC, attached to the N310? >>>> >>>> The N310 system image can be easily updated: >>>> >>>> >>>> https://kb.ettus.com/USRP_N300/N310/N320/N321_Getting_Started_Guide#Updating_the_files_system_by_writing_the_disk_image >>>> >>>> >>>> _______________________________________________ >>>> USRP-users mailing list -- [email protected] >>>> To unsubscribe send an email to [email protected] >>>> >>> >>> >> >
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
