How to Program with JTAG
description
Transcript of How to Program with JTAG
Electrical and Computer Engineering
How to Program with JTAG
ECE 353 – Computer Systems lab IMike O’Malley
Tom StackSeptember 20th 2005
2Electrical and Computer Engineering
Quartus II – Tools -> Programmer
3Electrical and Computer Engineering
Click on “Hardware Setup…”
4Electrical and Computer Engineering
Hardware Setup
Click “Add Hardware” For the parallel port
version select• ByteBlasterMV• The printer port (LPT1)
For the USB version• TBD
Click “Ok” Click “Close”
5Electrical and Computer Engineering
Schematic for JTAG programming
http://www.altera.com/literature/an/an095.pdf http://www.altera.com/literature/ds/m7000.pdf
6Electrical and Computer Engineering
WARNING!
DISCONNECT 4Mhz CLOCK BEFORE
ATTACHING TO PROGRAMMER
7Electrical and Computer Engineering
Click “Auto Detect”
8Electrical and Computer Engineering
Good!
9Electrical and Computer Engineering
Bad!
Quickly Check for burning chip
Unplug Power Check connections Is the clock unplugged? Ask the TA for assistance
10Electrical and Computer Engineering
Right Click and select “Change File…”
11Electrical and Computer Engineering
Select your .pof file
Navigate to your project folder
Select the .pof file created from compilation
Click “Open”
12Electrical and Computer Engineering
Check the Program / Configure box and Verify, Click Start
13Electrical and Computer Engineering
Programming Complete
All Green is good• Unplug power• Unplug programmer• Connect clock• Connect Power
Red is bad• Check connections• Ask TA for help