Transcription

Quartus-II Programmer and ByteBlaster Quartus-II nsforANAN-10/HermesN9VV and KC9XG1 of 1112/02/12

Quartus-II Programmer and ByteBlaster Table of ContentsBill Diaz KC9XG 11/29/2012.4Updating EEPROM bootloader using USB Blaster Download cable.4Download the USB Blaster user guide.4Download and install Altera Quartus II Stand-Alone Programmer.4Obtain a USB Blaster from one of the following sources.5Driver installation.5Plug your USB Blaster into a USB.5prompts you to install the driver.5Locate and install driver software.5Don't search online.5I don’t have the disc. Show me other options.5Browse my computer for driver software.5browse to the appropriate USB blaster\x64\.5Include subfolders.5Install this driver software anyway.5The software for this device has been successfully installed.5Configuring your USB-Blaster/Quartus II software.6Start the Quartus II software.6Start the Quartus II software.6Choose Programmer (Tools menu).6select USB-Blaster [USB-0].6Close to close the Hardware Setup.6Active Serial Programming.6show EPCS16 for Hermes.6Disassembly of the ANAN-10.7Remove the power.7Disconnect ALL.7Remove the nuts and washers from the 4 SMA connectors.7Remove the 4 screws from the front panel.7Press on connector J16 .7hermes bootloader.pof into the ANAN-10/Hermes.7Locate the Hermes P2 10 pin jack.7Place the 10 pin USB Blaster Ribbon cable on P2.7Apply power to the ANAN-10.7Click "Start" in the QUARTUS II "Programmer Window".7"Progress Box" shows "Completed".7Click "Start" in the "Programmer Window".7power down the Hermes.7Your “Bootloader EEPROM” is now all ready to operate properly.7Loading FPGA code with HPSDRProgrammer v1.6.8Extract all files from HpSDRProgrmmer-v1.6-win32.zip.8N9VV and KC9XG2 of 1112/02/12

Quartus-II Programmer and ByteBlaster Locate the current Hermes V1.x.rbf file.8Run HPSDRProgrammer.exe.8Select Device Hermes.8Select the Discover button.8Press the Browse button.8Press the Program button.8Bootloader explained by Phil VK6APH.9The bootloader fits in EEPROM from 0 to 1MB.9FPGA to read from 1MB.9loaded at the 1MB address in the EEPROM.9If you use the USB Blaster to load the bootloader you will overwrite.9USB Blaster you can always recover the board.9HPSDRProgrammer to load Hermes FPGA code.9Appendix I – bootloader .10Appendix II – VK6APH FPGA V2.0.11Date: Sat, 1 Dec 2012 09:58:58 0800.11new version of the Hermes code (V2.0).11Increased number of receivers from two to four.11Support for switching the input attenuator in 1dB steps from 0 - 31dB.11Improved Alex support when using multiple receivers.11N9VV and KC9XG3 of 1112/02/12

Quartus-II Programmer and ByteBlaster By Bill Diaz KC9XG 11/29/2012Updating EEPROM bootloader using USB Blaster Download cable.Updating Hermes Firmware can be accomplished using an Altera USB Blaster cable or equivalent.You will need to obtain the following hardware and software/drivers.1. Download the USB Blaster user guide: http://www.altera.com/literature/ug/ug usb blstr.pdf2. Download and install Altera Quartus II Stand-Alone Programmer and drivers:a. Browse to wareb. Download option 2: Individual Filesc. Click on 12.1 Programmer Windows.exe and follow instuctions on web page. You may be asked toregister. Use one time option.d. Download file size about 143MB, but requires 931mb on disk.e. C:\altera\12.1\qprogrammer\bin\quartus pgmw.exe is the executable.N9VV and KC9XG4 of 1112/02/12

Quartus-II Programmer and ByteBlaster 3. Obtain a USB Blaster from one of the following sources (ebay typical price about 10 and up):a. tail&name 544-1775-NDb. Language English&CategoryNo &No 46c. http://www.ebay.com/sch/i.html? sacat 0& from R40& nkw usb%20blaster& sop 15Once you have obtained a USB blaster you can begin the process to install the drivers. You musthave system administration (Administrator) privileges to install the USB-Blaster download cable driver.Driver installation:1. Plug your USB Blaster into a USB port on your PC.2. The Windows Found New Hardware dialog box prompts you to install the driver.NOTE: Do NOT use the Add Hardware Wizard from the Control Panel!3. Select "Locate and install driver software" (recommended).4. Select "Don't search online".5. When you are prompted to "Insert the disc that came with your USB-Blaster", select "I don’t have the disc.Show me other options".6. Select "Browse my computer for driver software (advanced)" when you see the Windows couldn’t find driversoftware for your device.7. Click Browse and browse to the appropriate USB Folder (Example Paths to Quartus II installation .\drivers\Usb-blaster)a: \b: \8. Click OK.9. Select the "Include subfolders" option and click Next.10. If Windows can’t verify the publisher of this driver software, select "Install this driver software anyway" inthe Window Security dialog box.11. When "The software for this device has been successfully installed" appears, click Close.N9VV and KC9XG5 of 1112/02/12

Quartus-II Programmer and ByteBlaster Configuring your USB-Blaster/Quartus II software.Refer to page 1-6 Setting Up the USB-Blaster user guide downloadedpreviously from http://www.altera.com/literature/ug/ug usb blstr.pdf1. Start the Quartus II software, downloaded previously. ExampleC:\altera\12.1\qprogrammer\bin\quartus pgmw.exe2. Choose Programmer (Tools menu).3. Click Hardware Setup. The Hardware Settings tab of the Hardware Setup dialog box is displayed.4. From the drop-down menu, select USB-Blaster [USB-0].5. Click Close to close the Hardware Setup dialog box.6. In the Mode list, select the desired mode (Programmer window).7. Select Mode "Active Serial Programming".8. The Device column of the "Programmer Window" should now show EPCS16 for Hermes9. Check the "Program/Configure" box on the "Programmer Window"N9VV and KC9XG6 of 1112/02/12

Quartus-II Programmer and ByteBlaster Disassembly of the ANAN-101. Remove the power from the ANAN-10/Hermes.2. Disconnect ALL external cables/connectors from the ANAN-10/Hermes.3. Remove the nuts and washers from the 4 SMA connectors on the rear panel.4 . Remove the 4 screws from the front panel.5 Press on connector J16 on the rear panel to slide the hermes board about 1" out of the front ofthe housing.Do NOT attempt to remove the board completely from the ANAN-10 housing!Loadinghermes bootloader.pof into the ANAN-10/Hermes1. Locate the Hermes P2 10 pin jack behind the Mic, Headphones, Key jacks on the front panel.2. Place the 10 pin USB Blaster Ribbon cable on P2, with the red stripe adjacent to the edge of the board.The 10 pin plug is not keyed. Make sure the red stripe is adjacent to the edge of the board and that all 10 pinsare engaged.3. Apply power to the ANAN-10.4. Click "Start" in the QUARTUS II "Programmer Window".Progress of the programming process will be shown in the "Progress Box" andcompleted steps will be listed in the bottom portion of the "Programmer Window".5. When the "Progress Box" shows "Completed", you may power down Hermes and disconnect the Blaster cablefrom the Hermes card. .6. Click "Start" in the "Programmer Window". Progress of the programming process will be shown inthe "Progress Box" and completed steps will be listed in the bottom portion of the "Programmer Window".7. When the "Progress Box" shows "Completed", you may power down the Hermes and disconnect theBlaster cable from the HPSDR card.Your “Bootloader EEPROM” is now all ready to operate properly.N9VV and KC9XG7 of 1112/02/12

Quartus-II Programmer and ByteBlaster Loading FPGA code with HPSDRProgrammer v1.61. Obtain HPSDRProgrammer Windows-32bit V1.6 ( HpSDRProgrmmer-v1.6-win32.zip) fromhttp://openhpsdr.org/download.php2. Extract all files from HpSDRProgrmmer-v1.6-win32.zip to a convenient folder.3. Locate the current Hermes V1.x.rbf file to your HPSDRProgmmer folder fromhttp://openhpsdr.org/download.php4. Power up your Hermes radio and connect it your local LAN using the RJ45 connector on the front panel.5. Run HPSDRProgrammer.exe6. Select Device Hermes.7. Select the Discover button. Hermes Discovery information will be displayed at the bottom of theHPRSDRProgrmmer window. If Discovery cannot find any cards, check your LAN connection to your Hermes.Hermes must either use a dynamic IP address (DHCP) or have a static address programmed into the card.8. Press the Browse button to load the .rbf file you downloaded in step 3, above.9. Press the Program button to load the .rbf file onto your hermes card.NOTE: do not run PowerSDR/OpenHPSDR or any other program while running the ProgrammerN9VV and KC9XG8 of 1112/02/12

Quartus-II Programmer and ByteBlaster Bootloader explained by Phil VK6APHThis is how it works.The bootloader fits in EEPROM from 0 to 1MB. The Hermes code fits in from 1MB to 2MB.When the Hermes board starts it reads from address 0 i.e. the bootloader code. If J12 is in then it runs thebootloader and if removed the bootloader forces the FPGA to read from 1MB and hence runs the Hermescode.When running the Hermes code and using HPSDRProgrammer, if you update the code then it gets loaded at the1MB address in the EEPROM. The update code is designed so you can *never* overwrite the bootloader - inwhich case if something goes wrong you can always recover using the bootloader.If you use the USB Blaster to load the bootloader you will overwrite the exising Hermes code at address 0.You then use HPSDRProgramer (in bootloader mode) to load the version of Hermes you want.You can't do any damage and since you have a USB Blaster you can always recover the board.Load the bootloader using the USB Blaster then put Hermes in bootloader mode and use HPSDRProgrammer toload Hermes FPGA code.73 Phil.EEPROMHPSDRProgrammerLoads FPGA codeinto the secondMegabyte ofEEPROMcode for FPGA1MBByteblaster deviceloads “.pof” code intothe first 1MB ofEEPROM.pof bootloadercode0N9VV and KC9XG9 of 1112/02/12

Quartus-II Programmer and ByteBlaster Appendix I – bootloader informationIf you have loaded new FPGA code into your system and then on a reboot it shows the OLD version of the FPGAcode, it indicates that you have not successfully loaded the bootloader code into the EEPROM.N9VV and KC9XG10 of 1112/02/12

Quartus-II Programmer and ByteBlaster Appendix II – VK6APH FPGA V2.0-------- Original Message -------Subject: [hpsdr] New Hermes code releasedDate: Sat, 1 Dec 2012 09:58:58 0800From: Phil Harman [email protected] To: HPSDR list [email protected] ***** High Performance Software Defined Radio Discussion List *****All,There is a new version of the Hermes code (V2.0) which will be availableshortly from openHPSDR.org \ Downloads.This provides the following features:-fix for the lock-up problem some users have been experiencingIncreased number of receivers from two to fourSupport for switching the input attenuator in 1dB steps from 0 - 31dBImproved Alex support when using multiple receiversThe increase in the number of receivers does increase the currentconsumption. On my Hermes board, with four receivers running, the boarddraws approximately 700mA from a 13.8V supply.Please see the Hermes User Guide for instructions relating to installingthis new version of code.Many thanks to Joe, K5SO, for developing the FPGA code and the members ofthe beta test team.73 Phil.VK6APHN9VV and KC9XG11 of 1112/02/12

Quartus-II Programmer and ByteBlaster By Bill Diaz KC9XG 11/29/2012 Updating EEPROM bootloader using USB Blaster Download cable. Updating Hermes Firmware can be acco