| | 1 | == Nutaq - PicoSDR start-up and configuration == |
| | 2 | |
| | 3 | [[TOC(Tutorials/k0SDR*)]] |
| | 4 | |
| | 5 | === Description === |
| | 6 | Demonstrate configuring PicoSDR and launching demo application that utilizes Perseus carrier board for RX/TX. |
| | 7 | |
| | 8 | === Set up === |
| | 9 | Before you can access the testbed, you need to [https://www.orbit-lab.org/schedule make a reservation] and get it approved by the [wiki:Software/Scheduler reservation service]. After receiving the reservation's confirmation (approval) email, load the ''ubuntu-14-04-64bit-sdr.ndz'' on the node. Once loading is finished turn the node on. For this example we'll use node1-12 which is a [http://www.nutaq.com/products/picosdr PicoSDR]. |
| | 10 | |
| | 11 | {{{ |
| | 12 | ssh username@grid.orbit-lab.org |
| | 13 | omf load -i ubuntu-14-04-64bit-sdr.ndz -t node1-12 |
| | 14 | omf tell -a on -t node1-12 |
| | 15 | }}} |
| | 16 | Once the node1-12 is up, ssh into the node1-12 (which is the PicoSDR's embedded PC) and configure the eth2 interface |
| | 17 | {{{ |
| | 18 | ifconfig eth2 192.168.0.100 up |
| | 19 | }}} |
| | 20 | |
| | 21 | |
| | 22 | Verify connection to Perseus carrier board: |
| | 23 | {{{ |
| | 24 | ping 192.168.0.101 |
| | 25 | }}} |
| | 26 | |
| | 27 | Use a command line interface to load the Perseus carrier board with an FPGA bitsteam - for this example we'll use the "radio420x PCIe bitream": |
| | 28 | {{{ |
| | 29 | cd /opt/Nutaq/ADP6/ADP_MicroTCA/sdk/bin |
| | 30 | python adp_cli.py |
| | 31 | connect 192.168.0.101 |
| | 32 | fpgaflash 1 ‘path_of_bitstream_to_flash’ |
| | 33 | reboot |
| | 34 | }}} |
| | 35 | |
| | 36 | || [[Image(usrp_tx.png, width=500px)]] || |
| | 37 | |
| | 38 | Since "radio420x PCIe bitream" uses the PCI Express to interface between the embedded PC and carrier board's FPGA, install the PCI Express Driver on the embedded PC: |
| | 39 | {{{ |
| | 40 | cd /opt/Nutaq/ADP6/ADP_MicroTCA/sdk/PCIe/driver/host |
| | 41 | sh make-modules.sh |
| | 42 | sh setonpc.sh |
| | 43 | }}} |
| | 44 | |
| | 45 | |
| | 46 | '''If the embedded PC is restarted then setonpc.sh must be excuted again''' |
| | 47 | |
| | 48 | |
| | 49 | === Run the GRC scripts === |
| | 50 | |
| | 51 | Now the system is ready to build and run the demo application. Navigate to the demo project directory: |
| | 52 | {{{ |
| | 53 | cd /opt/Nutaq/ADP6/ADP_MicroTCA/sdk/examples/perseus6010_radio420x_rtdex_record_playback/host/prj_linux |
| | 54 | sh build_demo.sh |
| | 55 | }}} |
| | 56 | |
| | 57 | Run the demo file: |
| | 58 | {{{ |
| | 59 | sh Launch_radio420x_rtdex_record_playback.sh |
| | 60 | }}} |
| | 61 | |
| | 62 | Choose the appropriate option to run. |
| | 63 | |
| | 64 | == WIP == |