Quick Startup Guide (Windows)

From HPSDRwiki
Revision as of 22:25, 20 May 2009 by VK2NRA (Talk | contribs) (.NET Framework: delete NET 2.0 based on email from Bill Tracey)

Jump to: navigation, search

Quick Startup Guide for PCs Running Windows

USBIO Driver

Before connecting your HPSDR equipment you will need to install the USBIO drivers that can be found at FlexRadio or just click here: USBIO Driver. You will need to have administrator rights on your Windows system for this install to complete. During install make sure you check the box that allows this driver to be used by everyone, not just the current user. Once the install has completed reboot your PC even if the driver install does not prompt you to restart.

By default the installation program will install this driver on your system in this directory:

C:\Program Files\FlexRadio Systems\USBIO Driver

(Note: HPSDR requires that your PC has USB 2.0 ports. USB 1.x ports will not work.)

.NET Framework

The HPSDR version of PowerSDR requires that your system have Microsoft's .NET Framework version 1.1 installed. Most systems already have the framework, however, in case you need it here is the link:

.NET Framework 1.1

PowerSDR Software Installation

Currently, there is a lot of development activity and expected updates to HPSDR firmware and software. Because the software is fluid, and the developers desire to post releases quickly and as often as possible, a manual installation is easier to manage. This step will eventually be relplaced with a more standard software setup.

To use Mercury and Penelope, you will need the latest released PowerSDR software from the "PennyMerge" branch of the open-source development tree. The repository is managed by Subversion, which is a popular colaborative software/firmware development tool for open-source projects. To access this software you will need to install and use a Subversion (SVN) client. There are several out there, however, TortoiseSVN for Windows XP can be downloaded from here:

TortoiseSVN

Once TortoiseSVN is installed, follow these steps:

  1. Create the following directory structure
    C:\HPSDR\PennyMerge
    (this is an arbitrary convention, but logical and easy to find)
  2. Navigate to HPSDR
    Click Start and select Run...
    Type: C:\HPSDR then [Enter]
    You should see a PennyMerge directory in the window that opens.
  3. Download the latest software
    Right click on the PennyMerge directory
    Select SVN Checkout...
    Type or copy & paste the following line into the "URL of repository" field:

    svn://206.216.146.154/svn/repos_sdr_windows/PowerSDR/branches/kd5tfd/PennyMerge/bin/Release

    Click OK
    At this point, TortoiseSVN should begin downloading the most current released version of the PowerSDR client for HPSDR. Once it completes go to step 4.
    (Note: To update to subsequent releases, you can right click the PennyMerge directory and select SVN Update...)
  4. Copy the files to a working directory for better version control.
    This directory can be anywhere you like, but we recommend using
    C:\Program Files\FlexRadio Systems\HPSDR\
    If you are updating an existing installation, make sure PowerSDR is not running before you write over the old version.
  5. To create a PowerSDR desktop shortcut
    Open the working directory (where you copied the files i.e. C:\Program Files\FlexRadio Systems\HPSDR\)
    Locate the PowerSDR application file (PowerSDR.exe)
    Right-click on PowerSDR.exe then drag and drop it to your desktop
    Select "Create Shortcuts Here"
    (Note: It is no longer required to start PowerSDR with the --ignore-pp-ptt flag.)

HPSDR Board Installation

The current release versions (v1.1) of the HPSDR firmware requires some attention to the order you install the HPSDR board set on the Atlas buss. There are several arrangements that are reported to be successful, however, this order is one of the most common:

On Atlas J6 is next to the power connector, J1 is farthest away:

Slot J5: Mercury

Slot J3: Penelope (if used, open jumper J8 on Mercury, this disables Mercury's 10Mhz clock)

Slot J2: Ozy

What About Janus?

Janus is a high performance replacement soundcard for radios that produce analog I-Q inputs and outputs (like a FLEX-1000 or a Softrock). If you are using your HPSDR to control radios like these then you will need Janus. If you are running Mercury and Penelope, Janus is not needed as their I-Q signals are already in digital format.

(Note: As of 1/1/09 the firmware team is working on a fix for board order dependency)

(Note: Receiver audio is output from one of the two 1/8" stereo jacks on the Mercury board. The upper jack is at line level, the lower is suitable for headphones)

USB Device Detection

  1. Connect your power supply to Atlas - Remember that poor supply voltages will cause you problems - be certain your supply is capable of supplying the right current and voltage during operation.
  2. Connect Ozy to a USB 2.0 port on your PC or USB 2.0 hub.
  3. Power up the Atlas - at this point Windows should detect there is a new USB device and pop-up the standard Windows driver installation wizard. Note: you may need to manually direct the wizard to the C:\Program Files\FlexRadio Systems\USBIO Driver directory and install the correct driver.
  4. You should see a USB device named "OZY Host Assisted Firmware Load" listed in your USB devices.

(Note: If there is a problem at this point, it needs to be resolved before moving on. There have been posts that eventually required corrections to power supplys, USB cables and/or hubs.)

PowerSDR Configuration

Double-click on the shortcut you created to start PowerSDR. When it first starts, it will go through a short system speed test.

The latest PennyMerge PowerSDR release features a Wizard to more easily configure HPSDR systems. If this is the first time PowerSDR has run the wizard should automatically start. Just answer the wizard's questions.

  1. Select HPSDR radio button
  2. Click Next
  3. Select the hardware you have installed on Atlas (Ozy is assumed and Alex is the filter board set not yet generally available)
  4. Click Finish
  5. Select Setup from the main menu. (note that you can also restart the wizard here)
  6. Select the General Tab.
  7. Select the HPSDR tab (next to Hardware Config)
  8. Select the correct 10MHz Clock Source for your system. (e.g. Mercury or Penelope if that board is installed)
  9. Set Penelope as the 122.88 MHz Clock Source if that card is installed with Mercury.
  10. Click Apply if you changed anything.
  11. Select the Audio tab in the PowerSDR Setup window and confirm that the Sample Rate is 192000. (Important Note: it is possible to select a lower sample rate, but unless you are testing Mercury 2.x beta firmware releases, any sample rate other than 192000 will not work correctly.)
  12. Click Apply if necessary - then close the Setup window.

Startup

At this point you should be ready to start up the system for the first time. Click "Start" in PowerSDR and you should be good to go.

For instructions on how to operate PowerSDR, and further information on howto configure PowerSDR, please read Chapters 3, 4, 5, 6 and Appendix A of the Flex-5000 manual on the FlexRadio website...

Flex-5000 Owners Manual v1.14.0

(Note: If you receive an error message noting Ozy software is not loaded, then you probably don't have all of the release software files in your working directory. Follow the instructions above in the PowerSDR Software Installation section above and copy ALL of the release files from the SVN managed directory into your working directory. The Ozy code download files and script must be in the same directory as PowerSDR.exe.

(Note: it's normal to see a command window open and start scrolling text when you first start PowerSDR. It is not normal to see errors during startup)

Calibration

The latest version of PowerSDR allows calibration of both frequency and level. It is usually only necessary to calibrate Mercury when you update Mercury firmware or the settings file (PowerSDR.mdb) is deleted.

Level Calibration

  1. Connect a calibrated RF generator to the RF-in BNC connector on Mercury.
  2. Set the RF generator to an appropriate frequency and output level (I use 10Mhz @ 20uV or -81dBm)
  3. In the PowerSDR Setup->General->Calibration tab, set the Frequency and Level values in the Level Cal group box to match the output of your RF generator. Mosely has a nice dBm to uV table here: Microvolts to DBm Conversion Table
  4. Click the Start button in the Level Cal group box and wait for the routine to complete.

Frequency Calibration

  1. Connect a calibrated RF generator to the RF-in BNC connector on Mercury. If you intend to use WWV as the frequency calibration source, connect an appropriate antenna instead. (note: the higher the frequency used here, the more accurate the result.)
  2. In the PowerSDR Setup->General->Calibration tab, set the Frequency value in the Freq Cal group box to output frequency of your RF generator or use the approprate WWV frequency.
  3. Click the Start button in the Freq Cal group box and wait for the routine to complete

64 bit Windows XP and Vista Installation Notes

USB Driver for Windows XP64

1. Download SIXAXIS_libusb-win64.zip from this link. Unzip this file to a temporary directory.

2. Plug in the USB cable to Ozy. Don't worry about the fact that there is no driver to install yet. Just cancel the driver installation and let it give you a warning.

3. In the temporary directory, run the program inf-wizard.exe. In the Device Selection window pick the USB device with Vender ID 0xFFFE, Product ID 0x0007 - that's Ozy. Click Next.

4. Change Manufacturer to HPSDR. Change Device name to "OZY Host Assisted Firmware Load". Click Next

5. Select a file name to save this information. I chose HPSDR.inf. Click Next then Finish.

6. Now go to System Manager and select Device Properties. Ozy should be the USB device with the yellow question mark next to it. It may be under the category "LibUSB-Win32 Devices." Right click and select "Update Driver." Select to install from a specific location and browse to your temporary directory. Click Next and Finish.

Things should now begin to work properly. PowerSDR will load Ozy over USB and the HPSDR stack will work just like it did under Windows XP 32.