cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
1,126 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
Highlighted
Moderator
Moderator
1,071 Views
Registered: ‎06-05-2013
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.
-------------------------------------------------------------------------

View solution in original post

7 Replies
Highlighted
Moderator
Moderator
1,072 Views
Registered: ‎06-05-2013
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.
-------------------------------------------------------------------------

View solution in original post

Highlighted
Visitor
Visitor
1,058 Views
Registered: ‎01-07-2019

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
Highlighted
Moderator
Moderator
1,054 Views
Registered: ‎01-15-2008

@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

 

Highlighted
Visitor
Visitor
1,052 Views
Registered: ‎01-07-2019

@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
Highlighted
Visitor
Visitor
1,034 Views
Registered: ‎01-07-2019

@hj,@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
Highlighted
Moderator
Moderator
1,025 Views
Registered: ‎01-15-2008

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.

 

 

 

Visitor
Visitor
1,010 Views
Registered: ‎01-07-2019

Recommendation from AR# 42557 worked.

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

Thanks @kkn @hj