UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor vgptgupta
Visitor
850 Views
Registered: ‎01-07-2019

Not able to program FPGA with mcs file having two bit file

Jump to solution

I’ve made MCS file for xc3s200an with two bit file, one for the golden and one for the working image.

But when I try to program the mcs file its getting stuck at FPGA erase process.

I’m attaching the log file of IMPACT, the bit file and the mcs file.

Please help me to resolve the issue.

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
795 Views
Registered: ‎06-05-2013

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution
Does it work when you only program single image that is either golden or working image? If so, please follow this AR https://www.xilinx.com/support/answers/42557.html for using correct next_config_addr.
Also can you try to use any later version of ISE other then 13.3.

Thanks
Harshit
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
7 Replies
Moderator
Moderator
796 Views
Registered: ‎06-05-2013

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution
Does it work when you only program single image that is either golden or working image? If so, please follow this AR https://www.xilinx.com/support/answers/42557.html for using correct next_config_addr.
Also can you try to use any later version of ISE other then 13.3.

Thanks
Harshit
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Visitor vgptgupta
Visitor
782 Views
Registered: ‎01-07-2019

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution

Hi Harshit,

It does work with only single image. I'll try the solution given in the AR# 42557 and update the thread accordingly.

Btw I'm using ISE 14.4 to generate bit stream.

Thanks
Vishal

0 Kudos
Moderator
Moderator
778 Views
Registered: ‎01-15-2008

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution

@vgptgupta,

how are you creating the mcs file ? in impact GUI?

if so can you use the promgen command and see if this helps?

Also by any chance have you enabled the power of 2 addressing in the ISF?

you may create an mcs file for power of 2 addressing and see if this is able to program the ISF

 

Visitor vgptgupta
Visitor
776 Views
Registered: ‎01-07-2019

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution

@kkn,

MCS file was generated using impact gui v13.3 in default addressing mode. Power-of-2 addressing mode was disabled by default in the impact gui.

I've not tried power-of-2 addressing mode. I'll try that if solution in AR#42557 fails.

 

0 Kudos
Visitor vgptgupta
Visitor
758 Views
Registered: ‎01-07-2019

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution

@harshit,@kkn

In which sector the second bit file will go if I use the below promgen command for 200AN in default addressing mode. (Ref: AR#42557)

promgen -w -p mcs -spi -s 512 -c FF -o Multiboot -u 0 1.bit -u 31800 2.bit

0 Kudos
Moderator
Moderator
749 Views
Registered: ‎01-15-2008

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution

for 200an, it is 0x06_0000 in default addressing as mentioned in AR#42557.

You can also check in ug333, page 25

https://www.xilinx.com/support/documentation/user_guides/ug333.pdf.

 

 

 

Highlighted
Visitor vgptgupta
Visitor
734 Views
Registered: ‎01-07-2019

Re: Not able to program FPGA with mcs file having two bit file

Jump to solution

Recommendation from AR# 42557 worked.

Fpga is programmed and it is switching b/w two images.

Thanks @kkn @harshit