Sorry, you need to enable JavaScript to visit this website.

Program FPGA failed when FMC (DC1532A-L) plugged into FMC-Carrier Card

Zedboard forums is currently read-only while it under goes maintenance.

Solved
12 posts / 0 new
nowksru
Junior(0)
Program FPGA failed when FMC (DC1532A-L) plugged into FMC-Carrier Card

Hello,
I am trying to program the MicroZed through the FMC-Carrier Card via JTAG, while the FMC module DC1532A-L (Linear Technology) is plugged in the Carrier Card. But when I click on the Program FPGA button in Xilinx SDK (2017.4) I get the following error message:

"Could not find FPGA device on the board for connection 'Local'.

Troubleshooting hints:
1. Check whether board is connected to system properly.
1. In case of zynq board, check whether Digilent/Xilinx cable switch settings are correct.
1. If you are using Xilinx Platform Cable USB, ensure that status LED is green.
Program FPGA failed"

If I unplug the FMC module from the Carrier Card, SDK runs the programming without a problem --> board is connected to system properly and status LED is green in both cases (FMC module plugged in & unplugged). I guess the FMC module is somehow interfering with the JTAG pins?
 
I don't know if it is important, but my application is just reading registers on the FMC module through SPI.
 
-Urs

 

JFoster
Moderator(76)
Hi Urs,

Hi Urs,

That sees like an very odd error your receiving. Do you see the same results when trying to program from Vivado's HW manager?

I would also reach out to Linear Tech to see if they may know whats going on.

-Josh

nowksru
Junior(0)
Hi Josh,

Hi Josh,
trying to run the HW Manager seems to reproduce the same problem. While the FMC module is plugged in the HW Manager doesn't find the device (No device). While the module is unplugged I can see arm_dap_0 and xc7z020_1 (I guess that is what is supposed to be shown).
-Urs

JFoster
Moderator(76)
Hi Urs,

Hi Urs,

It looks like that FMC is a HPC fmc. The MZ only suppoer LPC FMCs.

-Josh

nowksru
Junior(0)
Hi Josh,

Hi Josh,
the thing is the FMC module has HPC, but only the LPC pins are connected. I also stumbled across this when looking for a module and asked in the forum at analog.com (Linear Tech) and one of their employees confirmed that only the LPC pins are connected and that it should work.
 
-Urs

JFoster
Moderator(76)
Hi Urs, 

Hi Urs, 

I see what you are saying now. Thanks for clarifying. Please make sure the VADJ is set correctly on your Carrier Card to account for the FMC's required IO voltage.

-Josh

nowksru
Junior(0)
Hi Josh,

Hi Josh,
I already checked the VADJ and set it to 1V8 as the module expects 1.8V. I also checked my constraints in Vivado, which I set to 1.8V. But I still don't see how a plugged in module can block the programming sequence or even the detection of the MicroZed.
By the way, this is the error (from the TCL console) I get from Vivado Hardware Manager when trying to program the Microzed on the FMC-CC:

open_hw_target
INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Digilent/210299A56456
ERROR: [Labtools 27-2269] No devices detected on target localhost:3121/xilinx_tcf/Digilent/210299A56456.
Check cable connectivity and that the target board is powered up then
use the disconnect_hw_server and connect_hw_server to re-register this hardware target.
ERROR: [Common 17-39] 'open_hw_target' failed due to earlier errors.
 
-Urs
 

JFoster
Moderator(76)
Hi Urs,

Hi Urs,

did you verify the pinout matched up between the MZ fmc and the Fmc your plugging in?

-Josh

nowksru
Junior(0)
Hi Josh,

Hi Josh,
I checked all the connected pins on the module and they match the FMC-CC. Two things are noticable, that is the JTAG pins (TCK, TDI, TDO, TMS) on the FMC connector of the module are not connected. I have seen a document of another module, where the manufacturer short-circuited TDO and TDI, as it is mentioned in this document of the ANSI/VITA57 standard: "[...]if JTAG chain is not used by mezzanine card, short TDI and TDO."
The other thing is that LA01_P_CC (cc stands for clock capable pin) is shorted to LA05_P and LA01_N_CC is shorted to LA05_N. I don't see a problem here, although I have no idea why they did these short-circuits.
-Urs

nowksru
Junior(0)
Hi Josh,

Hi Josh,
it looks like I have to short TDI and TDO (on the FMC connector) or somehow bypass the JTAG connection on the FMC connector in order to sustain the JTAG chain as it solved other peoples problems, which seem similar:
http://zedboard.org/content/error-scanning-jtag-chain
https://forums.xilinx.com/t5/Evaluation-Boards/ZC706-FMC-Connector-JTAG-...
http://zedboard.org/content/jtag-breaks-using-fmc-dac
Do you have any idea on how to do this with the FMC Carrier Card as there is no jumper or switch for this at present?
Thanks
-Urs

JFoster
Moderator(76)
Hi Urs,

Hi Urs,

I believe your right. This makes sense.

As far as the best way to tie these pins together. My suggestion would be to break out your soldering iron and modify the MicroZed FMC Carrier Card. Looking at the schematic, if you short R92 ( its currently DNP) it should connect TDI and TDO.

-Josh

nowksru
Junior(0)
Hi Josh,

Hi Josh,
that did it! But it is actually R96 on the FMC-CC where I had to solder the pins together. It is even stated in the schematic:
"Short R96 for complete JTAG loop if presented FMC Card doesn't loop back JTAG chain signals"
Thank you very much!
-Urs