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.

[SOLVED] [Moved] How bad is my damaged Atlys FPGA board?

Status
Not open for further replies.
hello, I decided to post the log I get from IMPACT
Code:
(mode1):
Welcome to iMPACT
iMPACT Version: 13.2
Project: d:\Xilinx\13.2\\auto_project.ipf created.
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
GUI --- Auto connect to cable...
// *** BATCH CMD : setCable -port auto
INFO:iMPACT - Digilent Plugin: no JTAG device was found.
AutoDetecting cable. Please wait.
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Driver file xusbdfwu.sys found.
 Driver version: src=1027, dest=1027.
 Driver windrvr6.sys version = 10.2.1.0. WinDriver v10.21 Jungo (c) 1997 - 2010 Build Date: Aug 31 2010 X86 32bit SYS 14:35:41, version = 1021.
 Cable PID = 0008.
 Max current requested during enumeration is 280 mA.
Type = 0x0605.
 Cable Type = 3, Revision = 0.
 Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1100.
File version of d:/Xilinx/13.2/ISE_DS/ISE/data/xusbdfwu.hex = 1100.
Firmware hex file version = 1100.
PLD file version = 0012h.
 PLD version = 0012h.
PROGRESS_END - End Operation.
Elapsed time =      1 sec.
Type = 0x0605.
ESN not available for this cable.
Attempting to identify devices in the boundary-scan chain configuration...
INFO:iMPACT - Current time: 16/06/2012 20:53:29
// *** BATCH CMD : Identify -inferir 
PROGRESS_START - Starting Operation.
Identifying chain contents...done.
ERROR:iMPACT - A problem may exist in the hardware configuration. Check that the cable, scan chain, and power connections are intact, that the specified scan chain configuration matches the actual hardware, and that the power supply is adequate and delivering the correct voltage.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.
// *** BATCH CMD : identifyMPM 

(mode 2 = connector turned 180 degree cough...):
Welcome to iMPACT
iMPACT Version: 13.2
Project: d:\Xilinx\13.2\\auto_project.ipf created.
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
GUI --- Auto connect to cable...
// *** BATCH CMD : setCable -port auto
INFO:iMPACT - Digilent Plugin: no JTAG device was found.
AutoDetecting cable. Please wait.
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Driver file xusbdfwu.sys found.
 Driver version: src=1027, dest=1027.
 Driver windrvr6.sys version = 10.2.1.0. WinDriver v10.21 Jungo (c) 1997 - 2010 Build Date: Aug 31 2010 X86 32bit SYS 14:35:41, version = 1021.
 Cable PID = 0008.
 Max current requested during enumeration is 280 mA.
Type = 0x0605.
 Cable Type = 3, Revision = 0.
 Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1027.
File version of d:/Xilinx/13.2/ISE_DS/ISE/data/xusbdfwu.hex = 1100.
Firmware hex file version = 1100.
Downloading d:/Xilinx/13.2/ISE_DS/ISE/data/xusbdfwu.hex.
Downloaded firmware version = 1100.
PLD file version = 0012h.
 PLD version = 0012h.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.
Type = 0x0605.
ESN not available for this cable.
Attempting to identify devices in the boundary-scan chain configuration...
INFO:iMPACT - Current time: 16/06/2012 21:26:26
// *** BATCH CMD : Identify -inferir 
PROGRESS_START - Starting Operation.
Identifying chain contents...'0': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'1': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'2': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'3': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'4': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'5': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'6': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'7': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'8': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'9': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'10': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'11': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'12': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'13': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'14': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'15': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'16': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'17': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'18': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'19': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'20': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'21': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'22': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'23': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'24': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'25': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'26': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'27': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'28': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'29': : Manufacturer's ID = Unknown 
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
INFO:iMPACT - iMPACT quit the Identify Chain because it detects there are
at least 30 'UNKNOWN' type devices on the chain.
Please check the hardware settings and retry!
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
PROGRESS_END - End Operation.
Elapsed time =      7 sec.
 
Last edited by a moderator:

hello, I decided to post the log I get from IMPACT

I have decided to be vague and opaque today!


Apart from that, could be roughly 2 things:

1) your jtag programmer / software is problematic. So test it with another known to work device/board to see if your jtag programmer works.

2) you have now officially broken your jtag chain on your Atlys board.

*reread log*

Right, so, what are you doing using the digilent plugin? What's that you say? Randomly pushing buttons because your board happens to be from digilent? Well, there is good news then! You can try again but with impact using the proper jtag device (whatever that may be).

Right now it looks like you have impact configured to use digilent_plugin, which then fails to detect it (rightfully so), and then tries to autodect your programmer. This autodetection may or may not be a problem. Best bet is to explicitly configure impact to use whatever programmer you actually have. Rereading older posts I see a picture of a DLC-09.


See: https://www.xilinx.com/support/documentation/user_guides/ug344.pdf

So configure impact to use "Platform Cable USB" and see if that improves things.
 

Hello, today I made another attempt:
-I connected the USB Download Cable to the Atlys assuming the external row of pins at the JTAG header (J10) on Atlys are GND (at this moment I don't have a tester as I live in a "mobility situation"...)
-made sure USB connection is ok. Status led on cable turned green.Atlys was switched on all the time.
-opened Impact (release version 13.2(nt) Application version O.61xd ), didn't bother to load previous project or settings, as I wanted to start from blank.
-clicked on "Boundary Scan" icon in the iMPACT Flows panel
-clicked on Output->Cable Setup, I selected: Platofrm Cable USB/II, Port USB1 (the only one present), default speed, cable connection:local
-pressed OK, the last part of the log I got states:
"ESN not available for this cable.". Is this a problem?
-anyway I right-clicked on the white area on the right and selected "add Xilinx device" and selected "test.bit" I got from Mrflibble, the log says:
// *** BATCH CMD : addDevice -p 1 -file "D:/Atlys_info/test.bit/test.bit"
'1': Loading file 'D:/Atlys_info/test.bit/test.bit' ...
done.
INFO:iMPACT:1777 -
Reading d:/Xilinx/13.2/ISE_DS/ISE/spartan6/data/xc6slx45.bsd...
INFO:iMPACT:2257 - Startup Clock has been changed to 'JtagClk' in the bitstream stored in memory,
but the original bitstream file remains unchanged.
UserID read from the bitstream file = 0xFFFFFFFF.
Data width read from the bitstream file = 1.
INFO:iMPACT:501 - '1': Added Device xc6slx45 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------

-I right-clicked on the die-picture that just appeared and select Get Device ID and got:
INFO:iMPACT - Current time: 24/06/2012 13:56:12
// *** BATCH CMD : ReadIdcode -p 1
INFO:iMPACT:583 - '1': The idcode read from the device does not match the idcode in the bsdl File.
INFO:iMPACT:1578 - '1': Device IDCODE : 00001111111111111111111111111111
INFO:iMPACT:1579 - '1': Expected IDCODE: 00000100000000001000000010010011


The above error appears for others operations I try to do like "Program", "Read Device DNA"....
Does anyone have an idea of what chould be the problem?
Thank you
 

It looks like

1) progress, because now at least your jtag programmer is responding. and ...

2) bad news because it appears there's a pin stuck HIGH. Which is why you get this:

INFO:iMPACT:1578 - '1': Device IDCODE : 00001111111111111111111111111111

This stuck pin could be simply because on the jtag programmer input there is a pullup. I don't know, you should check the docs for that. If the input has a pullup, AND the connected device is not driving the pin, THEN you get this sort of situation.

Too many options to troubleshoot over a forum really. :p Measure the voltages at the jtag TDI/TDO pins. See if a weak pulldown resistor changes is, and in what way. Read documentation of your jtag programmer. Check xilinx AR's + forum. Have some coffee. Shoot some zombies. Profit!

In short: I don't know, but first candidate to check is the input on your jtag programmer. And second is to verify your jtag programmer with some other device/board.

Hell, given the price of that Atlys board, another $5 for a random dev board of your chosing with a jtag-able device seems reasonable. Microcontroller dev boards are being pushed like crazy these days, so look around for some of that with jtag.

- - - Updated - - -

For nice price/performance (with a free toolchain induced headache :p ) you could try the STM32F4 DISCOVERY, which has a jtag header.

I might even test if it works (jtag on the STM) if I feel like it. :p Not tested it yet, since up until now I've always used the USB connector.

You could probably find something even cheaper, but I'm too lazy for that sort of thing right now.

- - - Updated - - -

Oh and option 3 is to hook it up to a scope and see "<ST>What the hell's going on around here?</ST>" :p
 

Hello,
I just want to share a new event, and an update on the situation:
well, I bought a Spartan 3E Sample Pack for only 20$ (scored on ebay):
**broken link removed**

it is a small cheap development board for Spartan 3E FPGA

Why did I buy this?
For these reasons:
-I wanted to test my JTAG USB download cable on a working device
-I wanted to finally start implementing some VHDL code and practicing on a real device
-It could turn out to be useful in the future...
-it was only 20$ after all...
...

I powered up the dev board through flying wires (the board didn't come with power jack),
using the Atlys as power supply (ok I went "creative" here and used a powered spot on
the "agonizing" Atlys board to give voltage to the new Spartan 3E)

I connected the JTAG download cable to the Spartan 3E, opened xilinx ISE,
loaded the "led counter" design from the sample projects in the CD the board came with...
generated the netlist, and the .bit file, opened iMPACT which detected the device
and succesfully programmed the FPGA! Rebooted the board, and saw the example program
perfectly running!
unexpectedly... everything was very very easy, I hadn't any kind of problems...

So my conclusions are this:
-The JTAG DOwnload cable, works fine.
-The software is well configured (no driver problems or something...)
-There is some serious issue in my Atlys board, something that prevents it to be programmed
or detected by the ISE

Overall I'm happy I can have a working FPGA board, at least I can practice with VHDL/Verilog;
but...on the other hand it's bad knowing the devil is 100% inside the Atlys,
and finding a solution to go on with my video processing project will be very difficult.

Bye
Elektronman
 

Incredible good news!!!

The Atlys board works, and today I succesfully programmed it :grin: !!!

LEDS started blinking as I loaded the .bit example via the iMPACT program!
The problem was probably in a bad pin connection at the JTAG header on the board...
The previous little experience with Spartan 3E gave me confidence on how the JTAG cable and
its adapter should be properly connected; this alone made me focus on those things that could
have gone wrong in the specific picture; I just applied a small pressure on the JTAG header
on the Atlys board and then was "magically" able to program it (probably has to do with the
fact that, months ago, I had to cut away a part of the plastic frame to make the JTAG connector fit,
and probably some dirt got stuck inside)

So, after exactly 10 months, my problem is finally solved !
Now, I can go on with the project of my HDMI video recorder.

Thank you for all people who helped me (especially Mrflibble)

Bye
Elektronman
 

Woohoo! Welcome to the club of working Atlys owners. :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top