wiki:Tutorials/k0SDR/Tutorial13

Zynq-based WISER platform - Start-up test

Table of Contents

  1. SDR Tutorials
    1. Working with USRP2 - Universal Software Radio Peripheral
      1. Description
      2. Hardware / Software Resources utilized
      3. Set up
      4. Usage
      5. Capture waveform and record to file & add time-domain plot of waveform
      6. Troubleshooting
    1. Simple radio example with GNURADIO benchmark scripts
      1. Description
      2. Hardware / Software Resources utilized
      3. Set up
      4. Running GNU Radio benchmark scripts
      5. Outputs from transmitter and receiver
      6. Troubleshooting
    1. Simple radio example with GNURADIO benchmark scripts (OEDL)
      1. Description
      2. Hardware / Software Resources utilized
      3. Set up
      4. Running OEDL script and viewing results
      5. OEDL script
    1. OFDM radio example with GNURADIO benchmark scripts
      1. Description
      2. Hardware / Software Resources utilized
      3. Set up
      4. Running OEDL script
    1. Spectrum sensing with USRP2 and wiserd
      1. Description
      2. Hardware / Software Resources utilized
      3. Set up
      4. Generate signal source file using octave
      5. Set up transmitting node
      6. Set up receiving node(s)
    1. Spectrum sensing with USRP2 and wiserd (OEDL and OML)
      1. Description
      2. Hardware / Software Resources utilized
      3. Transmit predefined tone
      4. Record spectrum data to an OML file
      5. Performing the experiment using OEDL
    1. Transmitting wideband signals using USRP X310 and wiserd
      1. Description
      2. Transmitting a signal using wiserd
      3. Creating the signal
    1. Running DSC match script from the grid console
    1. Working with GNURadio and Nutaq ZeptoSDR
      1. Description
      2. Set up
      3. Run the GRC scripts
    1. Realtek 2832 EZCap - A Frugal SDR
      1. Prereqs
      2. A cheap spectrum analyzer
    1. MacSwitch (Obsolete)
      1. Prerequisites
      2. Start Mac Switch
    1. Zynq-based WISER platform - Start-up test
      1. Description
      2. Hardware / Software Resources utilized
      3. Set up
      4. Loading the Zedboard
      5. Running a start up test
    1. Zynq-based WISER platform - Spectrum Sensing
      1. Description
      2. Hardware / Software Resources utilized
      3. Set up
      4. Start spectrum sensing
    1. Zynq-based WISER platform - Spectrum sensing with multiple nodes (OEDL)
      1. Description
      2. Hardware / Software Resources utilized
      3. Spectrum sensing with an OEDL script
    1. Zynq-based WISER platform - Building the Firmware
      1. Description
      2. Getting the FPGA source code
      3. Building the FPGA design
      4. Building ARM core software
    1. Nutaq - PicoSDR start-up and configuration
      1. Description
      2. Set up
      3. Launch demo scripts
    1. Multi channel sample collection with x310
      1. Description
      2. Set up
      3. Collect samples
    1. Getting started with RFNoC X310
      1. Description
      2. Set up
      3. Find USRP X310s
      4. Program the FPGA
    1. Multi Channel Sample Processing & Visualization
      1. Hardware / software resources utilized
      2. Receive multi channel signal for processing and plotting
      3. Transmit a signal using a single usrp
    2. Plot the IQ Constellation of received signal
      1. Multi-channel Uhd STreamer (MUST)
      2. Description
      3. How it works (without going into the source-code :-D
      4. Source code & compilation
      5. Hardware interface application
      6. XML file
      7. Command server
      8. Usage Example
      9. Signal handler applications
      10. Tutorials
    1. Using two RFNoC streams simultaneously on a single USRP device
      1. Description
      2. Set Up
      3. Running the Simulation
    1. Using 2 transmit or 2 receive antennas simultaneously
      1. Description
      2. Set Up
      3. Running the Experiment
    1. Generate random transmissions emulating Primary Transmitters
      1. Description
      2. Set Up
      3. Running the Experiment

Description

This tutorial shows how to load the Zynq-based WISER platform (Zedboard + ADFMCOMMS1) on ORBIT and run a start-up test.

Hardware / Software Resources utilized

  1. An SB6 node with WISER platform connected to it.
  2. wiser_sb6_zedboard.ndz: disk image.

Set up

  • After logging into SB6 console, image one of the nodes
    omf load -i wiser_sb6_zedboard.ndz -t node1-1
    
  • Once imaging is done, turn the node on
    omf tell -a on -t node1-1
    
  • Wait for the node to turn on and log in
    ssh root@node1-1
    

Loading the Zedboard

Launch XMD

root@node1-1:~# xmd
Xilinx Microprocessor Debugger (XMD) Engine
Xilinx EDK 14.7 Build EDK_P.20131013
Copyright (c) 1995-2012 Xilinx, Inc.  All rights reserved.

XMD%

To program the Zedboard, use the script zedboard_load.tcl

XMD% source zedboard_load.tcl
bit file - cr_top_spec_sense_rx.bit
elf file - eth_fmcomms_spec_sense.elf
Programming Bitstream -- cr_top_spec_sense_rx.bit
Fpga Programming Progress ............10.........20.........30.........40.......                                                                                                                                                             ..50.........60.........70.........80.........90........Done
Successfully downloaded bit file.

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       4ba00477           4        Cortex-A9
 2       03727093           6        XC7Z020


JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       4ba00477           4        Cortex-A9
 2       03727093           6        XC7Z020

--------------------------------------------------
Enabling extended memory access checks for Zynq.
Writes to reserved memory are not permitted and reads return 0.
To disable this feature, run "debugconfig -memory_access_check disable".

--------------------------------------------------

CortexA9 Processor Configuration
-------------------------------------
Version.............................0x00000003
User ID.............................0x00000000
No of PC Breakpoints................6
No of Addr/Data Watchpoints.........4

Connected to "arm" target. id = 64
Starting GDB server for "arm" target (id = 64) at TCP port no 1234
Downloading Program -- eth_fmcomms_spec_sense.elf
        section, .text: 0x00100000-0x0011faa7
        section, .init: 0x0011faa8-0x0011fabf
        section, .fini: 0x0011fac0-0x0011fad7
        section, .rodata: 0x0011fad8-0x00120df7
        section, .data: 0x00120df8-0x00121c37
        section, .eh_frame: 0x00121c38-0x00121c3b
        section, .mmu_tbl: 0x00124000-0x00127fff
        section, .ARM.exidx: 0x00128000-0x00128007
        section, .init_array: 0x00128008-0x0012800f
        section, .fini_array: 0x00128010-0x00128013
        section, .bss: 0x00128018-0x0012879b
        section, .heap: 0x0012879c-0x0012a79f
        section, .stack: 0x0012a7a0-0x0012fb9f
Download Progress..10.20.30.40.50.60.70.80.90.Done
Setting PC with Program Start Address 0x00100000
XMD%

Open another terminal and run the startdhcp shell script, which configures the Ethernet interface to Zedboard, and starts DHCP server on the node.

root@node1-2:~# ./startdhcp.sh
 * Starting ISC DHCP server dhcpd                                        [ OK ]
root@node1-2:~# 

Launch minicom to display serial data sent by the Zedboard.

root@node1-2:~# minicom

Welcome to minicom 2.7

OPTIONS: I18n
Compiled on Jan  1 2014, 17:13:19.
Port /dev/ttyACM0, 12:30:47

Press CTRL-A Z for help on special keys

Running a start up test

At the XMD prompt, start the processor by typing "con"

XMD% con
Processor started. Type "stop" to stop processor

RUNNING> XMD%

The following would be printed out in the minicom window.

Last modified 23 months ago Last modified on 09/11/15 14:25:07

Attachments (1)

Download all attachments as: .zip