cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
10,197 Views
Registered: ‎01-09-2015

Cannot program FPGA

Jump to solution

Hi! can someone help me? I'm trying to program FPGA on MicroZed board but suddenly I keep getting this error and it won't do any FPGA programing on any project:

 

Program FPGA failed
  Cannot write to target


    Cannot flush JTAG buffers
    Error Address = 0xf8000900, Size = 0x00000004

please someone help me, I need the MicroZed to work for my final project and deadline is close :(

0 Kudos
Reply
1 Solution

Accepted Solutions
Highlighted
Scholar
Scholar
16,653 Views
Registered: ‎09-05-2011
Do a stop before rst then.

Check the following ar to set the environment variable
http://www.xilinx.com/support/answers/11630.html

View solution in original post

0 Kudos
Reply
9 Replies
Highlighted
Scholar
Scholar
10,192 Views
Registered: ‎09-05-2011
Try the following:

1. Open XMD console and typ the following commands:

connect arm hw
rst
exit

2. Set the environment variable XIL_CSE_ZYNQ_SKIP_RESET=1

Now re-program the fpga.
0 Kudos
Reply
Highlighted
Visitor
Visitor
10,179 Views
Registered: ‎01-09-2015

What result from running the command is attached in this post.

Also, how do I Set the environment variable?

 

Can this thing is resulted from hardware failure?

Capture.PNG
0 Kudos
Reply
Highlighted
Scholar
Scholar
16,654 Views
Registered: ‎09-05-2011
Do a stop before rst then.

Check the following ar to set the environment variable
http://www.xilinx.com/support/answers/11630.html

View solution in original post

0 Kudos
Reply
Highlighted
Visitor
Visitor
10,125 Views
Registered: ‎01-09-2015
It also can't be stopped, it says: Unable to stop Processor. System could be in unknown state. Please reset the system.

and changing the environmental variable isn't working either.

I think the problem is xilinx jtag programmer is broken, the other day I was misplaced the pin by 1 slot and accidentally plug the Vcc pin to the Ground Port. But, Thanks though for the help, I appreciate it :)
0 Kudos
Reply
Highlighted
Scholar
Scholar
10,112 Views
Registered: ‎11-09-2013

no. if there is some device detected on JTAG at al, then cable as such is working ok.

 

xilinx znyq jtag is badly badly designed, there are so many cases where the jtag tools fail from unknown reason.

 

try rst stop multiply times, sometimes you get lucky.

 

erase spi flash, select pure jtag boot mode, etc..

 

in some cases when bootrom does fallback search it may disable JTAG for time as long as 15 seconds, the tools will never wait that long.

0 Kudos
Reply
Highlighted
Visitor
Visitor
10,054 Views
Registered: ‎01-09-2015

After I'm getting my new JTAG programmer, the error has changed, It now says:

 

Program FPGA failed
  Failed to download the bit file

    Failed to verify DONE bit after configuring FPGA

and the XMD console now can properly do rst and stop command, but the FPGA still can't be programmed.

 

I'm using dilligent JTAG-HS 3 Rev.A

0 Kudos
Reply
Highlighted
Scholar
Scholar
10,043 Views
Registered: ‎09-05-2011
Are you able to program the board using Vivado or using iMPACT?
0 Kudos
Reply
Highlighted
Visitor
Visitor
10,034 Views
Registered: ‎01-09-2015

how do I program the board using vivado?

 

After testing to program the board using Diligient usb-jtag rev G that I borrow from my friend, the board can be programmed succesfully on SDK, but it won't work on my jtag-hs 3 rev A that I just buy, what is wrong with the downloader? is the downloader is a defect item?

0 Kudos
Reply
Highlighted
Scholar
Scholar
10,028 Views
Registered: ‎11-09-2013
HS3 has an extra feature for soft reset on separate pin. but if you connect only jtag pins it should not matter
0 Kudos
Reply