Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

JTAG Programming of ATF1508 CPLD

Status
Not open for further replies.

Druzyek

Newbie
Joined
Jan 20, 2014
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,348
I'm trying to program an ATF1508 using JTAG signals generated by a microcontroller. I can read the IDCODE myself. When I try to program an SVF file it also includes the instruction to read the IDCODE, which succeeds. It has a few hundred other instructions then reads in data 41 bytes at a time, expecting the same data to be echoed back. The very first one echoes back the IDCODE first before echoing the data back. Do JTAG devices ever do this to signal an error?

It could be a problem with my circuit, although I doubt this since the IDCODE instruction succeeds. I'm using a 3.3v microcontroller and level shifting with 2N2222 transistors pulled up to 5v with 10k resistors. I don't think it's a timing issue since I get the same results with a 1ms delay before, during, and after clock transitions.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top