Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Shifting in the data via JTAG connector on Altera UP2 board

Status
Not open for further replies.

Beowolf

Full Member level 2
Joined
Jun 19, 2006
Messages
130
Helped
11
Reputation
22
Reaction score
3
Trophy points
1,298
Activity points
2,071
Dear Sirs,
I need to make an device to program Flex10k device on UP2 Board via JTAG connector. The device needs to be independent of the PC.

My idea is to use PIC and SD card to store the data generated in Quartus II software.

Problem is that I haven't found a way to have a clean hex file to be shifted in the FPGA device via JTAG, only through Passive Serial mode. Unfortunately, DCLK and D0 pins are unavailable on UP2 board. Only way to program the Flex10k device is via JTAG.

How can I create a file with JTAG commands and data to be simply shifted in the Flex10k device? No checking, just program.
 

banjo

Advanced Member level 2
Joined
Dec 24, 2005
Messages
651
Helped
127
Reputation
254
Reaction score
8
Trophy points
1,298
Activity points
8,070
Shifting in the data via JTAG connector on @ltera UP2 board

While I do not know how to do this on Altera, I have done it on Xilinx. For some pointers, see:

http://www.xilinx.com/bvdocs/appnotes/xapp058.pdf

This is the Xilinx app note that talks about describes the microcontroller and the code. Perhaps you can adapt it.

---- Steve
 

Beowolf

Full Member level 2
Joined
Jun 19, 2006
Messages
130
Helped
11
Reputation
22
Reaction score
3
Trophy points
1,298
Activity points
2,071
Shifting in the data via JTAG connector on @ltera UP2 board

Unfortunately, that documet is only for Xilinx as the process include using Xilinx - specific file as an input.

Does someone have a link to a JTAG tutorial or something?
 

echo47

Advanced Member level 5
Joined
Apr 7, 2002
Messages
3,942
Helped
637
Reputation
1,272
Reaction score
88
Trophy points
1,328
Location
USA
Activity points
33,183
Shifting in the data via JTAG connector on @ltera UP2 board

I don't know Al.tera's JTAG details, but maybe this app note will help you. It describes preparing a "Jam" file that can by played by an embedded microcontroller to configure the device via JTAG. It refers to several other app notes.

"Application Note 122: Using Jam STAPL for ISP & ICR via an Embedded Processor"
http://www.altera.com/literature/an/an122.pdf

For JTAG details, see IEEE Std 1149.1-2001:
https://www.edaboard.com/viewtopic.php?t=72838
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top