Changes between Version 7 and Version 8 of Tutorials/k0SDR/Tutorial00


Ignore:
Timestamp:
Aug 29, 2012, 2:46:45 PM (12 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial00

    v7 v8  
    278278}}}
    279279
    280 * Play around with the options on tx_waveforms and verify the corresponding change in the received frequency spectrum. To view all optionsdo the following:
     280 * Play around with the options on tx_waveforms and verify the corresponding change in the received frequency spectrum. To view all optionsdo the following:
    281281{{{
    282282root@node1-1:~/uhd/host/build/examples# ./tx_waveforms --help
     
    286286
    287287== Troubleshooting ==
    288  * ''uhd_find_devices'' & ''uhd_usrp_probe '' return No UHD Devices Found
     288 * ''uhd_find_devices'' & ''uhd_usrp_probe '' return '''No UHD Devices Found'''
     289
     290  If problems arise when trying find and probe the device, it's most likely the case that interface between the node and USRP2 needs to be reconfigured. In most scenarios, if finding the USRP2s fails it should return the following for ''uhd_find_devices''
     291{{{
     292root@node1-1:~# uhd_find_devices
     293linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.003-0-unknown
     294
     295No UHD Devices Found
     296}}}
     297
     298  The USRP2 has an ethernet interface (ip address: 192.168.10.2) to the node's eth2 interface (ip address: 192.168.10.1). To verify the nodes interface configuration:
     299{{{
     300root@node1-1:~# ifconfig eth2
     301eth2      Link encap:Ethernet  HWaddr 00:03:1d:07:49:5c
     302          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
     303          inet6 addr: fe80::203:1dff:fe07:495c/64 Scope:Link
     304          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     305          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
     306          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
     307          collisions:0 txqueuelen:1000
     308          RX bytes:370 (370.0 B)  TX bytes:862 (862.0 B)
     309          Interrupt:17 Memory:fdce0000-fdd00000
     310}}}
     311
     312  If the interface is not configured, then do then following:
     313{{{
     314root@node1-1:~# ifconfig eth2 192.168.10.1 netmask 255.255.255.0 up
     315}}}
     316
     317  The USRP2 ip-address is 192.168.10.2. Now try pinging the USRP2.
     318{{{
     319root@node1-1:~# ping 192.168.10.2
     320PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.
     32164 bytes from 192.168.10.2: icmp_req=1 ttl=32 time=1.04 ms
     32264 bytes from 192.168.10.2: icmp_req=2 ttl=32 time=1.00 ms
     32364 bytes from 192.168.10.2: icmp_req=3 ttl=32 time=1.04 ms
     32464 bytes from 192.168.10.2: icmp_req=4 ttl=32 time=1.05 ms
     32564 bytes from 192.168.10.2: icmp_req=5 ttl=32 time=1.04 ms
     326}}}
     327
     328  At this point the node and USRP2 are able to see each other. Now retry finding and probing the USRPs.
     329