Hi Community,

We have been trying to interface the USRP X310 (NI-2952R) with LTE stack on an
Ubuntu machine. The USRP is detected when we run the command
"uhd_find_devices". When we
execute the command "uhd_usrp_probe", it prompts us to update the fpga
image on the system. PFA the logs in the file "uhd_usrp_ptobe.txt". After
following the instructions given in the link, we are not longer able to
ping the device. We also tried device recovery options from Ettus and NI
sites using the JTAG interface. PFA the file "Usrp_jtag_dump.txt" for the
logs.
We also tried with Xilinx Vivado tool to flash the image as  per the ettus
site- https://kb.ettus.com/X300/X310_Device_Recovery

We also followed this post
--http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2015-November/016600.html
but facing same issue as with the post.



Please advise us on the future course of action

-- 

Regards,
Akshatha
ashishssharma@winet:~/workarea-uhd/uhd/tools$ sudo 
./usrp_x3xx_fpga_jtag_programmer.sh 
--impact-path=/opt/Xilinx/14.7/LabTools/LabTools/bin/lin64/impact 
--fpga-path=/home/ashishssharma/Desktop/usrp_x310_fpga_HGS.bit
=======================================
 Copyright 2014 Ettus Research LLC

 JTAG Programming Tool
=======================================

==== Generating impact batch file gzIRf2Oj.impact.cmd...
==== Running impact -- loading 
/home/ashishssharma/Desktop/usrp_x310_fpga_HGS.bit into the FPGA...
Release 14.7 - iMPACT P.20131013 (lin64)
Copyright (c) 1995-2013 Xilinx, Inc.  All rights reserved.
Preference Table
Name                 Setting             
StartupClock         Auto_Correction     
AutoSignature        False               
KeepSVF              False               
ConcurrentMode       False               
UseHighz             False               
ConfigOnFailure      Stop                
UserLevel            Novice              
MessageLevel         Detailed            
svfUseTime           false               
SpiByteSwap          Auto_Correction     
AutoInfer            false               
SvfPlayDisplayComments false               
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4
INFO:iMPACT - Digilent Plugin: found 1 device(s).
INFO:iMPACT - Digilent Plugin: opening device: "Dps1", SN:2516350D8ADF
INFO:iMPACT - Digilent Plugin: User Name: Dps1
INFO:iMPACT - Digilent Plugin: Product Name: JTAG-ONB1
INFO:iMPACT - Digilent Plugin: Serial Number: 2516350D8ADF
INFO:iMPACT - Digilent Plugin: Product ID: 50100151
INFO:iMPACT - Digilent Plugin: Firmware Version: 010A
INFO:iMPACT - Digilent Plugin: JTAG Port Number: 0
INFO:iMPACT - Digilent Plugin: JTAG Clock Frequency: 10000000 Hz
'1': Loading file '/home/ashishssharma/Desktop/usrp_x310_fpga_HGS.bit' ...
done.
INFO:iMPACT:1777 - 
   Reading /opt/Xilinx/14.7/LabTools/LabTools/kintex7/data/xc7k410t.bsd...
INFO:iMPACT - Using CseAdapterBSDevice
INFO:iMPACT:2257 - Startup Clock has been changed to 'JtagClk' in the bitstream
   stored in memory,
   but the original bitstream file remains unchanged.
UserID read from the bitstream file = 0XFFFFFFFF.
Data width read from the bitstream file = .
INFO:iMPACT:501 - '1': Added Device xc7k410t successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
Maximum TCK operating frequency for this device chain: 66000000.
Validating chain...
Boundary-scan chain validated successfully.
1: Device Temperature: Current Reading:   33.15 C, Min. Reading:   32.66 C, Max.
Reading:   34.62 C
1: VCCINT Supply: Current Reading:   1.011 V, Min. Reading:   1.005 V, Max.
Reading:   1.020 V
1: VCCAUX Supply: Current Reading:   1.825 V, Min. Reading:   1.825 V, Max.
Reading:   1.828 V
INFO:iMPACT - Creating XC7K410T device.
'1': Programming device...
 Match_cycle = NoWait.
Match cycle: NoWait
 LCK_cycle = NoWait.
LCK cycle: NoWait
done.
INFO:Cse - Status register values:
INFO:Cse - 0011 1111 0111 1110 0000 1000 0100 1010 
INFO:Cse - '1': Completed downloading bit file to device.
INFO:Cse - '1': Programming completed successfully.
 Match_cycle = NoWait.
Match cycle: NoWait
 LCK_cycle = NoWait.
LCK cycle: NoWait
INFO:iMPACT - '1': Checking done pin....done.
'1': Programmed successfully.
Elapsed time =     17 sec.
==== Programming complete! ==============
ashishssharma@winet:~/workarea-uhd/uhd/tools$ sudo ifconfig
enp5s0    Link encap:Ethernet  HWaddr 28:d2:44:b4:fc:b2  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:190018 errors:0 dropped:1 overruns:0 frame:0
          TX packets:30275 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:269343156 (269.3 MB)  TX bytes:1920564 (1.9 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5910 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5910 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:467660 (467.6 KB)  TX bytes:467660 (467.6 KB)

wlp4s0    Link encap:Ethernet  HWaddr 00:c2:c6:52:68:81  
          inet addr:10.107.63.197  Bcast:10.107.63.255  Mask:255.255.255.0
          inet6 addr: fe80::4cb5:3e71:f7a7:c5a0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5593632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2789404 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7944394593 (7.9 GB)  TX bytes:207447687 (207.4 MB)

ashishssharma@winet:~/workarea-uhd/uhd/tools$ 
ashishssharma@winet:~/workarea-uhd/uhd/tools$ sudo ifconfig enp5s0 192.168.10.1
ashishssharma@winet:~/workarea-uhd/uhd/tools$ ping 192.168.10.2
PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.
From 192.168.10.1 icmp_seq=1 Destination Host Unreachable
From 192.168.10.1 icmp_seq=2 Destination Host Unreachable
From 192.168.10.1 icmp_seq=3 Destination Host Unreachable
From 192.168.10.1 icmp_seq=4 Destination Host Unreachable
From 192.168.10.1 icmp_seq=5 Destination Host Unreachable
From 192.168.10.1 icmp_seq=6 Destination Host Unreachable
From 192.168.10.1 icmp_seq=8 Destination Host Unreachable
From 192.168.10.1 icmp_seq=9 Destination Host Unreachable
^C
--- 192.168.10.2 ping statistics ---
10 packets transmitted, 0 received, +8 errors, 100% packet loss, time 9209ms
pipe 4
Script started on Thursday 08 February 2018 03:04:57 PM IST
]0;akshatha@akshatha-ThinkPad-X240: ~akshatha@akshatha-ThinkPad-X240:~$ 
usrp_x3xx_fpga_burner --helpvi typescript 
cd 
repos/openairinterface5g/cmake_targets/lte_noS1_build_oai/build/
exitsudo
 -E ./lte-softmodem-nos1 -O 
../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.usrpb100.co
onf
]0;akshatha@akshatha-ThinkPad-X240: ~akshatha@akshatha-ThinkPad-X240:~$ 
210.co
]0;akshatha@akshatha-ThinkPad-X240: ~akshatha@akshatha-ThinkPad-X240:~$ cd 
../lte_noS1_build_oai/build/

uhd_find_devices
 
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.010.002.000-release

--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    type: x300
    addr: 192.168.10.2
    fpga: HG
    name: 
    serial: 30EC3F7
    product: X310


]0;akshatha@akshatha-ThinkPad-X240: ~akshatha@akshatha-ThinkPad-X240:~$ 
uhs_usrd_usrp_probe 
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.010.002.000-release

-- X300 initialization sequence...
-- Determining maximum frame size... 1472 bytes.
-- Setup basic communication...
Error: RuntimeError: Expected FPGA compatibility number 33, but got 13:
The FPGA image on your device is not compatible with this host code build.
Download the appropriate FPGA images for this version of UHD.
Please run:

 "/usr/lib/uhd/utils/uhd_images_downloader.py"

Then burn a new image to the on-board flash storage of your
USRP X3xx device using the image loader utility. Use this command:

"/usr/bin/uhd_image_loader" --args="type=x300,addr=192.168.10.2"

For more information, refer to the UHD manual:

 http://files.ettus.com/manual/page_usrp_x3x0.html#x3x0_flash

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to