Skip to content

Overflow problems when running #20

Description

@koupsop

Dear developers,

First of all, thank you for designing such a useful tool.

While running ./nrscope, I meet overflow problems and terminate called without an active exception.
Here is the result

Active RF plugins: libsrsran_rf_uhd.so
Inactive RF plugins: 
Reading configs.
USRP Device: 0
    rf_args: clock=internal,type=x300,sampling_rate=11520000
    device_name: 
    srsran_srate_hz: 23.04 MHz
    srate_hz: 23.04 MHz
    rx_gain: 30
    AGC min_rx_gain: 0
    AGC max_rx_gain: 80
    nof_carriers: 1
    nof_antennas: 1
    freq_offset: 0
    scs: 0
Opening 1 channels in RF device= with args=clock=internal,type=x300,sampling_rate=11520000
Supported RF device list: UHD file
Trying to open RF device 'UHD'
2024-12-21T09:06:26.138779 [RF     ] [I] Configuring physical DL channel 0 with band-pass filter (0.0, 0.0)
2024-12-21T09:06:26.138781 [RF     ] [I] Configuring physical UL channel 0 with band-pass filter (0.0, 0.0)
[INFO] [UHD] linux; GNU C++ version 13.2.0; Boost_108300; UHD_4.7.0.0-0ubuntu1~noble1
Opening USRP channels=1, args: type=x300,master_clock_rate=184.32e6
[INFO] [LOGGING] Fastpath logging disabled at runtime.
[INFO] [UHD RF] RF UHD Generic instance constructed
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [GPS] Found an internal GPSDO: LC_XO, Firmware Rev 0.929a
[INFO] [X300] Radio 1x clock: 184.32 MHz
[WARNING] [RFNOC::GRAPH] One or more blocks timed out during flush!
RF device 'UHD' successfully opened

Warning: TX gain was not set. Using open-loop power control (not working properly)

usrp srate_hz: 2.304e+07
resample_needed: 0
2024-12-21T09:06:31.497106 [RF     ] [I] Mapping RF channel 0 (device=0, channel=0) to logical carrier 0 on f_rx=622.8 MHz
slot_sz: 23040
pre_resampling_slot_sz: 23040
Starting workers...
New worker 0 is going to start... 
New worker 1 is going to start... 
New worker 2 is going to start... 
New worker 3 is going to start... 
Workers started...
Task scheduler started...
2024-12-21T09:06:32.759657 [PHY    ] [I] [    0] Cell search: Setting SSB configuration srate=23.04 MHz; c-freq=622.850 MHz; ss-freq=622.850 MHz; scs=15kHz; pattern=A; duplex=fdd;
2024-12-21T09:06:33.309631 [RF     ] [I] Mapping RF channel 0 (device=0, channel=0) to logical carrier 0 on f_rx=622.9 MHz
2024-12-21T09:06:33.411277 [RF     ] [I] Overflow
2024-12-21T09:06:36.360637 [RF     ] [I] Overflow
terminate called without an active exception

The config I used:

nof_usrp_dev: 1
usrp_setting_0:
  ssb_freq: 622850000 # Set to the ssb frequency of the cell, could be obtained with the cell scan function
  # rf_args: "clock=external,type=b200" # For B210
  # rf_args: "clock=external,type=x300,serial=32B0F2F,master_clock_rate=200000000,sampling_rate=25000000" ## For TwinRX daughterboard
  rf_args: "clock=internal,type=x300,sampling_rate=23040000" ## For CBX daughterboard
  rx_gain: 30 # for x310 CBX, max rx gain is 31.5, for b210, it's around 80, for x310 TwinRX, max rx gain is 90
  min_rx_gain: 0
  max_rx_gain: 80
  srate_hz: 23040000 # the sampling rate of USRP, integer division of 200MHz for TwinRX, and 5G sampling rate for CBX: 11520000 or 23040000
  srsran_srate_hz: 23040000 # the sampling for real signal processing, should be in 5G sampling rate, multiple of 1.92 MHz. 
  nof_carriers: 1 # srsRAN rf setting, always set to be 1 for now. 
  nof_antennas: 1 # srsRAN rf setting, always set to be 1 for now.
  scs_index: 0 #(0: 15kHz, 1: 30kHz, ..., the u in standard)
  rf_log_level: "debug"
  nof_rnti_worker_groups: 4 # number of of threads for DCI decoding, each will divide the UEs into small groups
  nof_bwps: 1 # number of BWP of the cell
  nof_workers: 4 # using worker pool to asynchronously process the slot data
  cpu_affinity: false # pin the worker's thread into CPU or not.

  log_name: "a.csv"
  google_dataset_id: "ngscope5g_dci_log_wanhr"

I use a UBX daughter board instead of CBX with USRP X310, does it matter?
Please tell me if there are any issues with the hardware configuration or if there is any code that needs to be modified.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions