OAI and LimeSDR-Mini

I’m trying to use LimeSDR-Mini with OAI. I use config file on LimeSDR but use the .ini file in this link : https://sdr-radio.groups.io/g/main/attachment/40140/0/LimeSDRMini.ini
when i launch my command : “sudo -E ./cmake_targets/­lte_build_oai/build/­lte-softmodem -O ./targets/PROJECTS/­GENERIC-LTE-EPC/CONF/­enb.band7.tm1.25PRB.l­mssdr.conf
–rf-config-file ./targets/ARCH/­LMSSDR/LimeSDRMini.ini
-d” I have the error like on the image

oai-erreur

when i use default .ini configuration by launching my command : “sudo -E ./cmake_targets/­lte_build_oai/build/­lte-softmodem -O ./targets/PROJECTS/­GENERIC-LTE-EPC/CONF/­enb.band7.tm1.25PRB.l­mssdr.conf
–rf-config-file ./targets/ARCH/­LMSSDR/­LimeSDR_above_1p8GHz_­1v4.ini
-d” I have the error like on the image

OAI-erreur

What would be the error ! any help please !?

Chears

I don’t have anything to offer at this point, but I am working on the same issue as well.

You may want to post your console output as text here, or link the screenshot somewhere else, because it seems really low resolution and hard to read.

In your first screenshot, it seems to be complaining about a missing file. Have you verified that you have the path correct for that?

In your second screenshot, you seem to be getting the same error as I do, with TuneVCO complaining about being unable to lock.

I’ll send you the version txt of my error! I advise you to run ini file produced by this link : https://sdr-radio.groups.io/g/main/attachment/40140/0/LimeSDRMini.ini or on this https://github.com/eti1/minilime for the first link we have alway error that he can’t load .ini file even we use the corret path for the second we are testing now and i’ll report it if it run or not.

Make sure that LimeQuickTest passes on board. If it success take LimeSuiteGUI and load default ini file.
The go to Modules->FPGA controls load the wfm file(can select custom and apply 4G waveform).
Then take FFT Viwer and start data reading. Observe TX and Rx speed. If this is fine then need to verify the configuration files given for lte-softmodem

LimeSDR Mini does not have DDR memory and thus is not supported by the waveform player in LimeSuiteGUI.

1 Like

when we use the ini config file on it https://github.com/eti1/minilime, it run! isn’t it lemax ?

Hello, Dast Did you were able to detect 4G network on a phone with your .ini (for me not)

Hey Bastien, my computer is not more powerfull and i have errror "ULLL " actually, i retest it next week!

send your output ?

with this .ini https://github.com/myriadrf/trx-lms7002m

i think your outup is all ok! may be you use the same band with the real operator! verify with the samsung phone on monitoring all band used by operator neighbor you

Which ini ? I made a stab with the one in config-limeSDR/LimeSDR_Mini_v06.ini and got a few blips on the radar:

$ sudo -E ./cmake_targets/lte_build_oai/build/lte-softmodem -O ./targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.25PRB.lmssdr.conf --rf-config-file ./targets/ARCH/LMSSDR/LimeSDR_Mini_v06.ini  --T_nowait
< ... >
Connecting to device: LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1D40F604E4D225
Reference clock 40.00 MHz
Set sample rate 7.680000 MHz
Set TX frequency 2680.000000 MHz
TX antenna? 2
RX LPF configured
Filter calibrated. Filter order-4th, filter bandwidth set to 5 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active
TX LPF configured
Rx calibration finished
Tx calibration finished
Set tx_gain: 100.000000, rx_gain: 61.000000
Using rx_gain_offset: 55.000000
Actual tx_gain: 94, Actual rx_gain: 61
RX Sample rate range, min: 100000.000000, max: 30720000.000000, step: 0.000000
SR:   7.680 MHz
SR:   7.680 MHz
L
connected
got mess 1
got mess 1
got mess 1
MAC: new UE id 0 rnti 538a
MAC: msg4 acknowledged for rnti 538a fsf 655/0, let's configure it
MAC: remove UE 0 rnti 538a
MAC: new UE id 0 rnti 9da8
MAC: msg4 acknowledged for rnti 9da8 fsf 785/5, let's configure it
MAC: remove UE 0 rnti 9da8
MAC: new UE id 0 rnti 85a1

Yes it is Limesdr_Mini_v0.6… I was able to see my 4g network by selecting band7 in samsung s4 mini service mode now i got these since I don’t have USIM card

Connecting to device: LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=1D40ED5D833C8F
Reference clock 40.00 MHz
Set sample rate 7.680000 MHz
Set TX frequency 2680.000000 MHz
RX LPF configured
Filter calibrated. Filter order-4th, filter bandwidth set to 5 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active
TX LPF configured
Rx calibration finished
Tx calibration finished
SR: 7.680 MHz
SR: 7.680 MHz
L
[PHY][I][eNB 0][RAPROC] Frame 513 Terminating ra_proc for harq 4, UE 0
[MAC][I][rx_sdu] [eNB 0][RAPROC] CC_id 0 Frame 513, Received CCCH: 59.8f.84.dc.3d.56, Terminating RA procedure for UE rnti b637
[MAC][I][rx_sdu] [eNB 0][RAPROC] CC_id 0 Frame 513 CCCH: Received Msg3: length 6, offset 3
MAC: new UE id 0 rnti b637
[MAC][I][rx_sdu] [eNB 0][RAPROC] CC_id 0 Frame 513 Added user with rnti b637 => UE 0
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 513 subfarme 6, UE 0: not configured, skipping UE scheduling
[RRC][I][FRAME 00000][eNB][MOD 00][RNTI b637] Received RRC_MAC_CCCH_DATA_IND
[RRC][I][FRAME 00000][eNB][MOD 00][RNTI b637] Accept new connection from UE random UE identity (0xd5c34df898000000) MME code 0 TMSI 0 cause 3
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 513 subfarme 7, UE 0: not configured, skipping UE scheduling
[MAC][I][rrc_mac_config_req] [CONFIG][eNB 0/0] Configuring MAC/PHY for UE 0 (b637)
[PHY][I]phy_config_dedicated_eNB: physicalConfigDedicated=0x7f5e1c003240
[PHY][I][eNB 0] Sent physicalConfigDedicated=0x7f5e1c003240 for UE 0
[PHY][I]Transmission Mode (phy_config_dedicated_eNB) 1
[RRC][I][FRAME 00000][eNB][MOD 00][RNTI b637] [RAPROC] Logical Channel DL-CCCH, Generating RRCConnectionSetup (bytes 25)
[RRC][I][FRAME 00000][eNB][MOD 00][RNTI b637]CALLING RLC CONFIG SRB1 (rbid 1)
[PDCP][N][FRAME 00000][eNB][MOD 00][RNTI b637][SRB 01] Action ADD LCID 1 (SRB id 1) configured with SN size 5 bits and RLC AM
[RLC][I][FRAME 00000][eNB][MOD 00][RNTI b637] [SRB 1] rrc_rlc_add_rlc SRB
[RLC][I][FRAME 00000][eNB][MOD 00][RNTI b637][SRB AM 01][CONFIGURE] max_retx_threshold 4 poll_pdu 4 poll_byte 65535 t_poll_retransmit 80 t_reordering 35 t_status_prohibit 0
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 513 subfarme 8, UE 0: not configured, skipping UE scheduling
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 513 subfarme 9, UE 0: not configured, skipping UE scheduling
[MAC][I][schedule_RA] [eNB 0][RAPROC] CC_id 0 Frame 514, subframeP 0: Generating Msg4 with RRC Piggyback (RA proc 0, RNTI b637)
[MAC][I][schedule_RA] [eNB 0][RAPROC] CC_id 0 Frame 514 subframeP 0 Msg4 : TBS 41, sdu_len 25, msg4_header 8, msg4_padding 0, msg4_post_padding 7
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 514 subfarme 0, UE 0: not configured, skipping UE scheduling
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 514 subfarme 1, UE 0: not configured, skipping UE scheduling
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 514 subfarme 2, UE 0: not configured, skipping UE scheduling
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 514 subfarme 3, UE 0: not configured, skipping UE scheduling
[MAC][I][schedule_ulsch_rnti] [eNB 0] frame 514 subfarme 4, UE 0: not configured, skipping UE scheduling
[MAC][I][schedule_RA] [eNB 0][RAPROC] CC_id 0 Frame 514, subframeP 5: Checking if Msg4 was acknowledged:
MAC: msg4 acknowledged for rnti b637 fsf 514/5, let’s configure it
[MAC][I][schedule_RA] [eNB 0][RAPROC] CC_id 0 Frame 514, subframeP 5 : Msg4 acknowledged
[MAC][I][schedule_ulsch_rnti] [eNB 0][PUSCH 6/b637] CC_id 0 Frame 514 subframeP 6 Scheduled UE 0 (mcs 10, first rb 1, nb_rb 6, rb_table_index 5, TBS 129, harq_pid 6)
[MAC][I][schedule_ulsch_rnti] [eNB 0][PUSCH 6/b637] CC_id 0 Frame 517 subframeP 8 Scheduled UE 0 (mcs 10, first rb 1, nb_rb 6, rb_table_index 5, TBS 129, harq_pid 6)
[MAC][I][schedule_ulsch_rnti] [eNB 0][PUSCH 6/b637] CC_id 0 Frame 521 subframeP 0 Scheduled UE 0 (mcs 10, first rb 1, nb_rb 6, rb_table_index 5, TBS 129, harq_pid 6)
[RRC][I]Removing UE b637 instance
[RRC][W][eNB 0] Removing UE RNTI b637
MAC: remove UE 0 rnti b637
[MAC][I][rrc_mac_remove_ue] Removing UE 0 from Primary CC_id 0 (rnti b637)
[RRC][I][FRAME 00000][eNB][MOD 00][RNTI b637] Removed UE context
[S1AP][W][s1ap_ue_context_release_req] Failed to find ue context associated with eNB ue s1ap id: 0
[S1AP][E][s1ap_eNB_task] Failed to find ue context associated with eNB ue s1ap id: 0

1 Like

This is the best I can get - using LimeSuite from last 12/2017 and a LimeSDR (non-mini) - up and running:

Version information:
Library version: v17.12.0-gfe53178a
Build timestamp: 2018-10-11
Interface version: v2017.12.0
Binary interface: 17.12-1

{ git checkout fe53178a3c74ce983ca8314c582c0547f723ec20 } which does not support the Mini :frowning:

The SGS4 is having issues with aging certificates anymore :\ But as shows above when positioned just right it can download files like anything, right around 2Mbps.

A successful ue attach:

RX Sample rate range, min: 100000.000000, max: 80000000.000000, step: 1.000000
SR: 7.680 MHz
SR: 7.680 MHz
L
connected
got mess 1
MAC: new UE id 0 rnti 605
MAC: msg4 acknowledged for rnti 605 fsf 461/0, let’s configure it

KeNB:0ea9783cda3c9fc26a7d727c479fe65924ae29d118d862fc9a4373440f5b8fe4

KRRCenc:7b858252fd249fb331cc8c0965584282755ad4e1cf5084c0e21de94aacb8ed3f

KRRCint:d0315f9b58731cbd6432f1bc82ba09bd37fa37ace94435a34184b6ca626bd9ac

1 Like

I have an issue getting a Samsung S4Mini to attach to the LimeSDR / OAI which is solved by this one weird trick - start up OpenLTE on band 20, the phone sees THAT ok and try to connect, then switch that off and startup OAI and boom it connects. Without that, the sgs4 finds nothing.

So doing a scan with OpenLTE utility LTE_fdd_dl_scan for frequencies around my earfcn gets this voluminous report - eNodeB is the LimeSDR and using the LMSMini for the scanner:

info channel_found_begin freq=2680000000 dl_earfcn=3350 freq_offset=172.863 phys_cell_id=0 sfn=847 n_ant=1 phich_dur=Normal phich_res=1/6 bandwidth=5
info sib1_decoded freq=2680000000 dl_earfcn=3350 freq_offset=172.863 phys_cell_id=0 sfn=848 mcc[0]=244 mnc[0]=91 network[0]=Sonera resv_for_oper[0]=false tac=1 cell_id=3584 cell_barred=false intra_freq_resel=not_allowed q_rx_lev_min=-130 q_rx_lev_min_offset=0 band=7 si_win_len=20 si_periodicity[0]=8 sib_mapping_info[0]=2,3 duplex_mode=fdd si_value_tag=0
info sib2_decoded freq=2680000000 dl_earfcn=3350 freq_offset=172.863 phys_cell_id=0 sfn=849 emergency_barring=disabled mo_signalling_barring=disabled mo_data_barring=disabled num_rach_preambles=64 power_ramping_step=4 preamble_init_target_rx_power=-104 preamble_trans_max=10 ra_response_window_size=10 mac_contention_resolution_timer=48 max_num_harq_tx_for_msg_3=4 modification_period_coeff=2 default_paging_cycle=128 modification_period=256 n_b=128 root_sequence_index=0 prach_config_index=0 preamble_format=0 rach_sfn=even rach_subframe_num=1 high_speed_flag=unrestricted_set n_cs_config=1 prach_freq_offset=2 reference_signal_power=-34 p_b=0 n_sb=1 hopping_mode=inter_subframe pusch_n_rb_hopping_offset=0 64_qam=not_allowed group_hopping=enabled group_assignment_pusch=0 sequence_hopping=disabled cyclic_shift=1 delta_pucch_shift=1 n_rb_cqi=1 n_cs_an=0 n1_pucch_an=0 p0_nominal_pusch=-96 ul_power_ctrl_alpha=1.0 p0_nominal_pucch=-104 delta_f_pucch_format_1=2 delta_f_pucch_format_1b=3 delta_f_pucch_format_2=0 delta_f_pucch_format_2a=0 delta_f_pucch_format_2b=0 delta_preamble_msg_3=12 ul_cp_length=normal t300=1000 t301=1000 t310=1000 n310=20 t311=10000 n311=1 additional_spectrum_emission=1 time_alignment_timer=INFINITY
info sib3_decoded freq=2680000000 dl_earfcn=3350 freq_offset=172.863 phys_cell_id=0 sfn=849 q_hyst=4 threshold_serving_low=62 cell_resel_priority=7 q_rx_lev_min=-140 s_intra_search=62 allowed_meas_bw=1.4 presence_ant_port_1=false neigh_cell_cnfg=0 t_resel_eutra=1
info channel_found_end freq=2680000000 dl_earfcn=3350 freq_offset=172.863 phys_cell_id=0

2 Likes

is this report is coming to the limesdr or the limesdrmini ?

LimeSDR is radio head end of an OpenAirInterface instance with a cell phone attached and getting data.

LimeSDR-Mini is in a notebook running OpenLTE LTE_fdd_dl_scan and scanning the earfcn which finds the signal and prints a report.

someone has this error in this discussion bastien : OpenAirInterface configuration : the error Failed to find ue context associated with eNB ue s1ap id: