How to Program with JTAG
description
Transcript of How to Program with JTAG
![Page 1: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/1.jpg)
Electrical and Computer Engineering
How to Program with JTAG
ECE 353 – Computer Systems lab IMike O’Malley
Tom StackSeptember 20th 2005
![Page 2: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/2.jpg)
2Electrical and Computer Engineering
Quartus II – Tools -> Programmer
![Page 3: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/3.jpg)
3Electrical and Computer Engineering
Click on “Hardware Setup…”
![Page 4: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/4.jpg)
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”
![Page 5: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/5.jpg)
5Electrical and Computer Engineering
Schematic for JTAG programming
http://www.altera.com/literature/an/an095.pdf http://www.altera.com/literature/ds/m7000.pdf
![Page 6: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/6.jpg)
6Electrical and Computer Engineering
WARNING!
DISCONNECT 4Mhz CLOCK BEFORE
ATTACHING TO PROGRAMMER
![Page 7: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/7.jpg)
7Electrical and Computer Engineering
Click “Auto Detect”
![Page 8: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/8.jpg)
8Electrical and Computer Engineering
Good!
![Page 9: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/9.jpg)
9Electrical and Computer Engineering
Bad!
Quickly Check for burning chip
Unplug Power Check connections Is the clock unplugged? Ask the TA for assistance
![Page 10: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/10.jpg)
10Electrical and Computer Engineering
Right Click and select “Change File…”
![Page 11: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/11.jpg)
11Electrical and Computer Engineering
Select your .pof file
Navigate to your project folder
Select the .pof file created from compilation
Click “Open”
![Page 12: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/12.jpg)
12Electrical and Computer Engineering
Check the Program / Configure box and Verify, Click Start
![Page 13: How to Program with JTAG](https://reader033.fdocuments.net/reader033/viewer/2022061508/56814092550346895dac2496/html5/thumbnails/13.jpg)
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