Open mbaykenar opened 1 week ago
export LD_LIBRARY_PATH=/home/root/bin_app
worked to solve this problem.
However, now I got this error during txrx_test:
root@xilinx-zcu102-2019_2:~/bin_app# ./run_txrx_zcu.sh
++ pwd
+ export LD_LIBRARY_PATH=/home/root/bin_app
+ LD_LIBRARY_PATH=/home/root/bin_app
+ nice -20 ./txrx_test -f 2400000000 -a n_prb=6 -p 6 -g 40 -o test_txrx_zcu.bin
Opening RF device...
Active RF plugins: libsrsran_rf_iio.so
Inactive RF plugins:
Supported RF device list: iio
Trying to open RF device 'iio'
CH0 n_prb=6
RF device 'iio' successfully opened
Subframe len: 1920 samples
Time advance: 0.000000 us
Set TX/RX rate: 1.92 MHz
Set RX gain: 40.0 dB
Set TX gain: 40.0 dB
Set TX/RX freq: 2400.00 MHz
Rx subframe 0
./run_txrx_zcu.sh: line 5: 2823 Segmentation fault nice -20 ./txrx_test -f 2400000000 -a n_prb=6 -p 6 -g 40 -o test_txrx_zcu.bin
When I first run the txrx_test I also got
[ 382.638446] ad9361 spi1.0: ad9361_calculate_rf_clock_chain: Failed to find suitable dividers: ADC clock below limit
[ 382.652057] ad9361 spi1.0: Error setting ADC sample rate -22
error.
Hi,
I cross-compiled txrx_test with the steps followed on the application note, here are the outputs for bin_app:
So I copied bin_app directory and run_txrx_zcu.sh file from scripts into the SD card /home/root/ directory. Then boot the ZCU102.
I tried running run_txrx_zcu.sh but get these errors:
I removed "sudo" and retried but still got libsrsran_rf.so.0 cannot open shared object file error.
I checked it's properties and it is linked to libsrsran_rf.so.21.10.0
Any idea what I am doing wrong?
Regards,