Difference between revisions of "Quick Startup Guide (Windows)"
m (→Restarting After a Firmware Upgrade) |
m (→Firmware Upgrade Instructions) |
||
Line 122: | Line 122: | ||
Here are the steps required to program the various HPSDR boards. | Here are the steps required to program the various HPSDR boards. | ||
− | + | 1. Use a Subversion client (see above) and download all the files from here<br/><tt>svn://206.216.146.154/svn/repos_sdr_sdr_hpsdr/trunk/USBBlaster-Binaries</tt><br/> | |
− | <br/><tt>svn://206.216.146.154/svn/repos_sdr_sdr_hpsdr/trunk/USBBlaster-Binaries</tt><br/> | + | 2. Install the Altera Quartus II Programmer application (80MB) [http://www.altera.com/support/software/download/programming/quartus2/dnl-quartus2_programmer.jsp located here]. |
− | + | ||
''Note: The latest version is V9.0, be sure to install in the default directory. If you must install in a different directory then you will need to edit the appropriate batch files Program-Mercury-EPCS16.bat and Program-Penelope-EPCS4.bat to reflect the change. The full application is required so that the large number of DLLs requried to run the Altus command line programer (quartus_pgm.exe).'' | ''Note: The latest version is V9.0, be sure to install in the default directory. If you must install in a different directory then you will need to edit the appropriate batch files Program-Mercury-EPCS16.bat and Program-Penelope-EPCS4.bat to reflect the change. The full application is required so that the large number of DLLs requried to run the Altus command line programer (quartus_pgm.exe).'' | ||
− | + | 3. THE FIRST TIME YOU DO THIS, COMPLETE THE FOLLOWING STEPS. ''After the USBBlaster firmware has loaded, you never have to do this step again.'' | |
These steps load the Altera USBblaster drivers. | These steps load the Altera USBblaster drivers. | ||
:a. Connect just your Ozy board to the Atlas bus, connect the USB cable and power it on. | :a. Connect just your Ozy board to the Atlas bus, connect the USB cable and power it on. | ||
− | |||
:b. Run the file usbblaster.bat. This will load the code in the FX2 to make it appear to be an Altera USBblaster. | :b. Run the file usbblaster.bat. This will load the code in the FX2 to make it appear to be an Altera USBblaster. | ||
− | |||
:c. Windows will detect a new USB device. You need to install the drivers for it. Click [http://www.altera.com/literature/ug/ug_usb_blstr.pdf here] for driver installation instructions. What you need can be found in section 1.3. | :c. Windows will detect a new USB device. You need to install the drivers for it. Click [http://www.altera.com/literature/ug/ug_usb_blstr.pdf here] for driver installation instructions. What you need can be found in section 1.3. | ||
− | |||
:d. After running the batch-file usbblaster.bat, the Found New Hardware Wizard will open. | :d. After running the batch-file usbblaster.bat, the Found New Hardware Wizard will open. | ||
− | + | ::Select Install from a list or specific location and browse to C:/altera/81/qprogrammer/drivers/usb-blaster. The Wizard will then install Altera USB-Blaster | |
− | + | ::Check that the drivers have installed correctly by looking in Start\Control Panel\System\Hardware\Device Manager\Universal Serial Bus controllers there should be an entry marked Altera USB-Blaster | |
− | + | ||
− | + | ||
− | + | ||
==Mercury Firmware Upgrade== | ==Mercury Firmware Upgrade== |
Revision as of 14:57, 31 May 2009
Quick Startup Guide for PCs Running Windows
Contents
- 1 USBIO Driver
- 2 .NET Framework
- 3 PowerSDR Software Installation
- 4 HPSDR Board Installation
- 5 USB Device Detection
- 6 PowerSDR Configuration
- 7 Startup
- 8 Calibration
- 9 64 bit Windows XP and Vista Installation Notes
- 10 Firmware Upgrade Instructions
- 11 Mercury Firmware Upgrade
- 12 Penelope Firmware Upgrade
- 13 Janus Firmware Upgrade
- 14 Restarting After a Firmware Upgrade
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:
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 collaborative 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:
Once TortoiseSVN is installed, follow these steps:
- Create the following directory structure
C:\HPSDR\PennyMerge
(this is an arbitrary convention, but logical and easy to find) - Navigate to HPSDR
Click Start and select Run...
Type: C:\HPSDR then [Enter]
You should see a PennyMerge directory in the window that opens. - 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...) - 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. - 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
- 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.
- Connect Ozy to a USB 2.0 port on your PC or USB 2.0 hub.
- 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.
- 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.
- Select HPSDR radio button
- Click Next
- Select the hardware you have installed on Atlas (Ozy is assumed and Alex is the filter board set not yet generally available)
- Click Finish
- Select Setup from the main menu. (note that you can also restart the wizard here)
- Select the General Tab.
- Select the HPSDR tab (next to Hardware Config)
- Select the correct 10MHz Clock Source for your system. (e.g. Mercury or Penelope if that board is installed)
- Set Penelope as the 122.88 MHz Clock Source if that card is installed with Mercury.
- Click Apply if you changed anything.
- 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.)
- 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 how to 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
- Connect a calibrated RF generator to the RF-in BNC connector on Mercury.
- Set the RF generator to an appropriate frequency and output level (I use 10Mhz @ 20uV or -81dBm)
- 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
- Click the Start button in the Level Cal group box and wait for the routine to complete.
Frequency Calibration
- 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.)
- 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 appropriate WWV frequency.
- 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.
Firmware Upgrade Instructions
Here are the steps required to program the various HPSDR boards.
1. Use a Subversion client (see above) and download all the files from here
svn://206.216.146.154/svn/repos_sdr_sdr_hpsdr/trunk/USBBlaster-Binaries
2. Install the Altera Quartus II Programmer application (80MB) located here.
Note: The latest version is V9.0, be sure to install in the default directory. If you must install in a different directory then you will need to edit the appropriate batch files Program-Mercury-EPCS16.bat and Program-Penelope-EPCS4.bat to reflect the change. The full application is required so that the large number of DLLs requried to run the Altus command line programer (quartus_pgm.exe).
3. THE FIRST TIME YOU DO THIS, COMPLETE THE FOLLOWING STEPS. After the USBBlaster firmware has loaded, you never have to do this step again.
These steps load the Altera USBblaster drivers.
- a. Connect just your Ozy board to the Atlas bus, connect the USB cable and power it on.
- b. Run the file usbblaster.bat. This will load the code in the FX2 to make it appear to be an Altera USBblaster.
- c. Windows will detect a new USB device. You need to install the drivers for it. Click here for driver installation instructions. What you need can be found in section 1.3.
- d. After running the batch-file usbblaster.bat, the Found New Hardware Wizard will open.
- Select Install from a list or specific location and browse to C:/altera/81/qprogrammer/drivers/usb-blaster. The Wizard will then install Altera USB-Blaster
- Check that the drivers have installed correctly by looking in Start\Control Panel\System\Hardware\Device Manager\Universal Serial Bus controllers there should be an entry marked Altera USB-Blaster
Mercury Firmware Upgrade
- Power off your Atlas board.
- Remove all boards except Ozy.
- Make sure your Ozy board is placed one slot away from the power connector on Atlas.
- Fit a jumper on Mercury to the JP7 header pins marked LAST JTAG at bottom left of the board just above the Atlas connector.
- Install Mercury in the slot between Ozy and the power connector.
- Power up the Atlas board.
- Run the batch file Program-Mercury-EPCS16.bat, select which version of the Altera Quartus programmer code you are using and the Mercury firmware version you wish to load and look at the output, there should be no errors. Do not interrupt the loading process, it takes approximately 1 minute to load the EPCS16.
- Power off your Atlas board.
- Remove the jumper on JP7.
- Continue with additional firmware upgrades or read restarting after firmware upgrade below.
Penelope Firmware Upgrade
- Power off your Atlas board.
- Remove all boards except Ozy.
- Make sure your Ozy board is placed one slot away from the power connector on Atlas.
- Fit a jumper on Penelope to the JP7 header pins marked LAST located at the edge of the board next to the FPGA.
- Install Penelope in the slot between Ozy and the power connector.
- Power up the Atlas board.
- Run the batch file Program-Penelope--EPCS4.bat, select which version of the Altera Quartus programmer code you are using and the Penelope firmware version you wish to load and look at the output, there should be no errors. Do not interrupt the loading process, it takes approximately 15 seconds to load the EPCS4.
- Power off your Atlas board.
- Remove the jumper on JP7.
- Continue with additional firmware upgrades or read restarting after firmware upgrade below.
Janus Firmware Upgrade
- Power off your Atlas board.
- Remove all boards except Ozy.
- Make sure your Ozy board is placed one slot away from the power connector on Atlas.
- Fit a jumper on Janus to the JP12 header pins marked LAST JTAG located at the bottom left of the board just above the Atlas connector.
- Install Penelope in the slot between Ozy and the power connector.
- Power up the Atlas board.
- Run the batch file Program-Janus-EPM240T100.bat, select which version of the Altera Quartus programmer code you are using and the Janus firmware version you wish to load and look at the output, there should be no errors. Do not interrupt the loading process; it takes approximately 5 seconds to load the EPM240T100.
- Power off your Atlas board.
- Remove the jumper on JP12.
- Continue with additional firmware upgrades or read restarting after firmware upgrade below.
Restarting After a Firmware Upgrade
- Place your HPSDR boards in thier operational slots.
- Download any new update for PowerSDR (there is usually a corresponding update with new firmware).
- Make a note of any important settings in PowerSDR.
- Make a backup copy of the settings file (PowerSDR.mdb), then delete the original. PowerSDR will rebuild it when it starts.
- Power cycle the supply to the Atlas bus.
- Make any important settings from the notes that were saved above.
- If necessary recalibrate Frequency and Level.
- Test Mercury/Penelope/Janus with PowerSDR.