Mudanças entre as edições de "Configuração da USB para programação do FPGA via JTAG"

De MediaWiki do Campus São José
Ir para: navegação, pesquisa
(WINDOWS)
Linha 144: Linha 144:
 
=WINDOWS=
 
=WINDOWS=
 
Quando alguém precisar, escrever o procedimento.
 
Quando alguém precisar, escrever o procedimento.
 +
 +
==Installing Altera usb Blaster Driver==
 +
*Plug in the power and turn on your development board
 +
*Plug in your Development board or USB Blaster device into a free USB port
 +
*In Windows 7, 8, 8.1, and 10 go to Start and search for “device manager”
 +
*Click on Device manager in the search results
 +
:*In device manager find the item list “other devices”
 +
:*Expand that list and there should be “Altera USB-Blaster”
 +
:*Right click on Altera USB-Blaster
 +
:*Choose Update Driver Software...
 +
:*In the popup choose “Browse my computer for driver software”
 +
:*Click Browse and navigate to the altera folder C:\altera
 +
:*Make sure the “Include Subfolders” is checked
 +
:*Click next
 +
*If successful windows will say “Windows has successfully updated your driver software” Click close
 +
*Back in device manager under Universal Serial Bus Controllers there should be the Altera USB-Blaster
 +
*Close out of Device manager and you are now ready to program your Development board.
 +
 +
:Note: On the DE2-115 there are two USB ports but the one closet to the edge is the USB blaster
 +
:Note: It is best to NOT use USB ports that have active power or an “always on” feature as these ports can damage your development board or USB blaster chip
 +
 +
FONTE: http://fpga.seanwrall.com/lessons/lesson4/ e [http://fpga.seanwrall.com/lessons/lesson4/downloads/Lesson4_FPGASeanWRall.pdf pdf], [https://www.youtube.com/watch?v=glk73wRVQ-c video]
  
 
VER: [http://www.altera.com/download/drivers/usb-blaster/dri-usb-blaster-vista.html USB-Blaster Driver for Windows 7 and Windows Vista]
 
VER: [http://www.altera.com/download/drivers/usb-blaster/dri-usb-blaster-vista.html USB-Blaster Driver for Windows 7 and Windows Vista]
 
Para o windows 10 atualizar o driver do USB blaster ver o vídeo: [https://www.youtube.com/watch?v=glk73wRVQ-c]
 
  
 
[[Categoria:FPGA]]
 
[[Categoria:FPGA]]

Edição das 14h21min de 25 de agosto de 2020

UBUNTU

Antes de poder programar um FPGA usando a interface JTAG é necessário Configurar a USB Blaster para a programação JTAG.

O procedimento abaixo é usado nos kits:

  • DE2-115, DE0-Nano, DE0 da Altera
  • Mercurio IV da Macnica

Executar como root os seguintes comandos para criar o arquivo altera-usb-blaster.rules na pasta /etc/udev/rules.d

gedit /etc/udev/rules.d/altera-usb-blaster.rules 

Com o conteúdo:

ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="666"
ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", MODE="666"
ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", MODE="666"
ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="666"
ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="666"

Para verificar se a JTAG está configurada corretamente, conecte a placa usando a USB e ligue-a.

cd /opt/altera/13.0sp1/quartus/bin
./jtagconfig

Se estiver OK, deve aparece alguma mensagem do tipo:

1) USB-Blaster [3-3]

Se permanecer a mensagem abaixo, desligue o kit, ou retire o cabo USB, e reconecte ou ligue novamente o kit.

1) USB-Blaster variant [3-3]
 Unable to lock chain (Insufficient port permissions)

Caso não esteja OK, aparecerá:

No JTAG hardware available

FONTE: http://www.altera.com/download/drivers/dri-usb_b-lnx.html FONTE: http://www.eecg.toronto.edu/~laforest/USB-Blaster-Debian.html


WINDOWS

Quando alguém precisar, escrever o procedimento.

Installing Altera usb Blaster Driver

  • Plug in the power and turn on your development board
  • Plug in your Development board or USB Blaster device into a free USB port
  • In Windows 7, 8, 8.1, and 10 go to Start and search for “device manager”
  • Click on Device manager in the search results
  • In device manager find the item list “other devices”
  • Expand that list and there should be “Altera USB-Blaster”
  • Right click on Altera USB-Blaster
  • Choose Update Driver Software...
  • In the popup choose “Browse my computer for driver software”
  • Click Browse and navigate to the altera folder C:\altera
  • Make sure the “Include Subfolders” is checked
  • Click next
  • If successful windows will say “Windows has successfully updated your driver software” Click close
  • Back in device manager under Universal Serial Bus Controllers there should be the Altera USB-Blaster
  • Close out of Device manager and you are now ready to program your Development board.
Note: On the DE2-115 there are two USB ports but the one closet to the edge is the USB blaster
Note: It is best to NOT use USB ports that have active power or an “always on” feature as these ports can damage your development board or USB blaster chip

FONTE: http://fpga.seanwrall.com/lessons/lesson4/ e pdf, video

VER: USB-Blaster Driver for Windows 7 and Windows Vista