Page 1 of 2

Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Sat Jun 29, 2013 3:31 pm
by admin
Image

Order Yours Here.

Description:

Usb ISP programmer for programming Altera's range of FPGA and CPLD device. This programmer is also idealy suited for our own Altera development boards such as item HCDVBD0006. This programmer is compatible with Altera's Quartus development tools (Use USB blaster in programmer hardware settings).

Items include:
1 X device
1 X USB cable
1 X 10pin JTAGE cable

You can purchase yours here.

Supports 1.5V,1.8V,2.5V,3.5V and 5.0V.

Supports ALTERA products : CPLD ( MAX3000, MAX7000, MAX9000 and MAX II ) ; FPGA ( Stratix, StratixII, Cyclone, CycloneII, ACEX 1K, APEX20K and FLEX 10K) ;Active serial configuration device (EPCS1, EPCS4, EPCS16)

Supports AS, PS and JTAG program ( with Verify and BankCheck function).
Supports embedded logic analyser function of SignalTapII
Supports NIOS II communication and debugger -- When you use it to debug your Black Gold , it will not Pop-up warning
Faster -- about 6 times than ByteblasterII
USB interface
100% compatible with Official ALTERA USB Blaster


Image
Example application


Drivers:

The driver for this programmer are provided as part of the Altera Quartus software. You can download the free (web) version of this software from the link below. Once downloaded and installed the driver can be found in the following path:

C:\altera\13.0sp1\quartus\drivers\usb-blaster

For convenience the correct driver can be downloaded here:
usb-blaster.zip


Software:

Altera Quartus II Web Edition (13.0)

Altera Quartus Prime Lite Edition (15.1)


FAQ:
Does this program support the Altera xxxx?
This programmer is compatible with the Altera USB blaster download cable. We have not been able to test the entire rage of supported devices ourselves but here is the current supported list:

Stratix® FPGA Series, Cyclone® FPGA Series, MercuryTM Devices, ACEX 1K® Devices, APEXTM II Devices, APEX 20K Devices, APEX 20KE Devices, APEX 20KC Devices, FLEX 10K® Devices, FLEX 10KA Devices, FLEX 10KE Devices, FLEX® 8000 Devices, FLEX 6000 Devices, MAX II Devices, MAX 7000A Devices, MAX 7000B Devices, MAX 7000S Devices, MAX 3000A Devices, ExcaliburTM Devices, Serial Configuration Devices, Enhanced Configuration Devices.

Note: Not recommended for Max 10 series FPGA devices.


I need to download a program to an Altera device but I can't find anywhere in Quartus to download it

These steps assume you are using a USB blaster programmer snd it is connected to your CPLD/FPGA development board:

1) In the Quartus main screen open up the programmer window by clicking on the 'Tools' menu and selecting 'programmer'.

2) In the programmer window that just opened up select your programmer by clicking the Hardware Setup button in the top left of the window.

3) In the new window that has just opend select your programmer from the list (e.g. USB-Blaster), then click the close button to close the window

4) You should now see your programmer in the text box next to the hardware setup button you previously clicked

5) In the mode drop down selection box select 'JTAG' for CPLD devices or 'Active serial programming' for FPGA device

6) Add the file you wish to upload to the device by clicking the 'Add File button'.

7) Once you have selected the file you wish to program it should appear in the top half of the programming window. You will also notice there are some check boxes listed next to it. Make sure that the 'Program/configure' and optionally the 'Verify' check boxes are ticked.

9) Now click the 'Start' button and if everything is setup correctly it should program your device.



Will this program devices not manufactured by Altera?
No, it is not a general purpose JTAG programmer and will only program Altera devices in the supported list above.


I am trying to use the programmer with the Linux version of the Quartus II. It sees the programmer but when I try to use it just says failed. How do I fix this?


This is a permissions issue. See the 3rd post in this thread for a solution.



Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do not provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Fri Nov 25, 2016 4:17 pm
by terpa
I cannot program neither the LC MAXII Altera Dev Board nor the Cyclone II dev board using this programmer.
I'm using Quartus II web edition 13.0sp01 on a linux system. The programmer is recognized (from dmesg) as USB-Blaster form Altera; I need to push on the Hardware setup button to select the programmer but when I try to program the board (Start button) I get (Failed) on the progress bar.
Can someone help me?
Thank you
Paolo Terrevoli

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Mon Nov 28, 2016 7:27 pm
by andrew
I've installed the Linux version and managed to replicate the issue. It a permissions problem and so Quartus doesn't have access to the programmer. You can resolve this by creating a udev rules file:

First you need to get the product ID of the programmer. In a terminal window issue the following command:

Code: Select all

lsusb
You will see a list of attached USB devices. Look for the one named Altera Blaster. It should look like this:

Code: Select all

Bus 003 Device 007: ID 09fb:6001 Altera Blaster

Note the numbers after the ID. The first is the USB VID of 09fb and the second is the PID of 6001

You should see the same numbers.

Next CD to the rule.d directory:

Code: Select all

cd /etc/udev/rules.d/

Then create a new rules file:

Code: Select all

sudo pico 51-usbblaster.rules

In the text editor paste the following text:

Code: Select all

# Altera USB-Blaster permissions.
SUBSYSTEM=="usb",\
ENV{DEVTYPE}=="usb_device",\
ATTR{idVendor}=="09fb",\
ATTR{idProduct}=="6010",\
MODE="0666",\
NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}",\
RUN+="/bin/chmod 0666 %c"
Note the VID and PID values. These should match the ones listed from the lsusb command.

Save the file and exit the text editor.

You will now need to make sure the group permissions of the file is the same as the group name of your Quartus install. If you have a standard Quartus install it will probably be using your user group name but if you want to make sure just open up a second terminal window and CD to wherever you have installed Quartus and issue the command ls -l

Code: Select all

andrew@andrew-Aspire-E1-570:~/altera/13.1/quartus$ ls -l
total 792
drwxrwxr-x  2 andrew andrew   4096 Nov 28 17:52 adm
drwxrwxr-x  2 andrew andrew   4096 Nov 28 17:52 bin
drwxr-xr-x 17 andrew andrew   4096 Nov 28 17:51 common
drwxr-xr-x  6 andrew andrew   4096 Nov 28 17:51 cusp
drwxrwxr-x  3 andrew andrew   4096 Nov 28 17:52 drivers
drwxrwxr-x  3 andrew andrew   4096 Nov 28 17:54 dspba
drwxrwxr-x  4 andrew andrew   4096 Nov 28 17:54 dsp_builder
-r-xr-xr-x  1 andrew andrew 108795 Oct 24  2013 dsp_lic.txt
drwxr-xr-x  6 andrew andrew   4096 Nov 28 17:50 eda
drwxrwxr-x  2 andrew andrew   4096 Nov 28 17:51 extlibs32
drwxr-xr-x  8 andrew andrew   4096 Nov 28 17:51 libraries
-r--r--r--  1 andrew andrew 495139 Oct 24  2013 license.txt
drwxrwxr-x 11 andrew andrew  69632 Nov 28 18:03 linux
drwxrwxr-x 12 andrew andrew  69632 Nov 28 18:02 linux64
drwxrwxr-x  2 andrew andrew   4096 Nov 28 17:51 lmf
drwxrwxr-x  6 andrew andrew   4096 Nov 28 17:52 qdesigns
-r--r--r--  1 andrew andrew   5016 Oct 24  2013 readme.txt
drwxr-xr-x  7 andrew andrew   4096 Nov 28 18:02 sopc_builder
-rw-rw-r--  1 andrew andrew     26 Nov 28 18:02 version.txt
Go back to the original terminal window and change the group permission of the rule file by issuing the following command:

Code: Select all

sudo chown :username 51-usbblaster.rules
In your case change username to whatever group name your version of Quartus is using

type ls -l to make sure the group permission for the file has changed.


To make the changes take effect either reboot your computer or issue the following command:

Code: Select all

sudo udevadm control --reload
Quartus should now have access to the programmer.

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Sun Dec 31, 2017 3:07 pm
by leetfrog
Could you provide a matching fix for Windows 10 users please ? I have the same issue i believe.

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Tue Jan 02, 2018 9:41 am
by andrew
The above issue is specific to the Linux OS and you should't be seeing this problem on Windows. Do you see the analyser listed in device manager? If so do you see any error messages? Also, were you able to install the driver for it without any problems?

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Tue Jan 02, 2018 11:14 pm
by leetfrog
I had installed the drivers from the Quartus 2 software and checked that the USB blaster is showing up in device manager under the Universal Serial Bus Controllers tab and it appears as Altera USB-Blaster, I would go into the programming window from Quartus 2 and after installing the drivers the USB-Blaster showed up as USB-Blaster [USB-0], I select this and chose the file to upload to the board, checking Program/Configure on the programming window with my VHDL output file selected then clicking the start button i can see the activity light on the USB-Blaster flash once then the terminal window on Quartus 2 shows

Code: Select all

Can't access JTAG chain, operation failed
, if i try to auto detect i get an error message about debugging the JTAG chain, i'm pretty sure I installed the USB-Blaster driver files from the right place since it does show up in the programmer window, I installed it from E:\Altera13.0sp1\quartus\drivers\usb-blaster

if you need any screenshots or anything more let me know and I'll send them

Thanks.

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Wed Jan 03, 2018 9:38 am
by andrew
Thanks for the information. The error message in particular is helpful. It looks to me like everything is installed correctly and the error message is more what I would expect to see if there was some sort of connection issue between the programmer and the development board. This could be a number of things such as a bad connection, cable inserted the wrong way or on some development boards there is more than one type of programming header and you may be connected to the wrong one. I can see from your forum account details you have ordered from us in the past but unfortunately I don't see an order for a development board so unless it's one we sell I con't give specific advice about your development board but if it has more than one programming header you may want to check that you are connected to the correct one and that you have the correct programming mode set in the 'Mode' drop down menu in the programming window.

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Wed Jan 03, 2018 11:40 am
by leetfrog
No worries it seems, I can successfully program the FPGA over the ASP header just not over the JTAG header, The board I am using is from this site as I got it for a Christmas present and had seen it after previously ordering components on here before the same as my Uni does, that's where I heard about this site and i'm glad I did, I'd say the best gifts are the ones we learn from, however I am glad I can program the device, by the way it is the ALTERA CYCLONE II EP2C5T144 FPGA DEV BOARD (HCDVBD0026), I had got the programmer with the dev board.

When I was trying to program the FPGA over the JTAG header I also chose JTAG as the programming method, I'm not too sure why the device didn't like this but I don't think it matters too much now as I have the ASP method. I had also paid attention to the diagram provided on the product page of which programming header is which (JTAG and ASP).

Thank you for any help anyway, it is much appreciated, if you did want to chase up about the JTAG header not fully working and want proof of purchase or anything like that let me know and I will provide.

Thanks.

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Thu Jan 04, 2018 10:06 am
by andrew
Ok that's great. Just to clarify for the benefit of yourself and mainly for anybody else that may be experiencing issues:

To use the programmer you must first install the USB blaster driver with is downloaded with the Altera Quartus II software. In windows this is usually found in the following location:

C:\altera\13.0sp1\quartus\drivers\usb-blaster

Once installed the programmer should appear at the top of the programming window next to the 'Hardware setup' button. If not then click this button and in the window that opens up you should see the programmer listed as USB-Blaster. Just select it from the list , click the close button and the programmer should now appear in the programming window.

For the HCDVBD0026 FPGA development board there are two ways to program it, the first is via the JTAG IDC socket which programs the FPGA directly. When programming via this socket you must select the JTAG programming mode. Clicking the Auto detect button should detect the board as having a EP2C5 device. When programming using this mode any code uploaded to the FPGA will be volatile. I.e. the code will be lost when power is removed from the device.

The second method (as you are currently using it) is via the ASP IDC header. In this mode, instead of programming the FPGA, you are programming the on-board EPCS device. With this method you must select 'Active serial programming' as the programming mode. You will also need to tell the programmer what type of device you are using as it won't be able to automatically detect it. Simply click the 'Add device' button and select EPCS4 from the list of options. The EPCS device is non-volatile and will upload your code automatically to the FPGA each time the board is powered or reset.

In both cases you must power the board from an external power supply. I.e. the programmer is not capable of powering the board by itself.

If any of the above methods are not working for you and you believe there may be a be a problem with your development board the then please feel free to contact sales [at] hobbycomponents.com to arrange for a refund or replacement.

Re: Altera FPGA/CPLD USB programmer (HCDVBD0007)

Posted: Mon Sep 30, 2019 12:25 pm
by red88dz
Hi
i purshased a usb blaster and i need to download software, but when i trying to download from intel website the sign in is required and so i registred an account but when i sign in i have a error

so is it possible to download this software from ohter link or source ?