cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vgptgupta
Visitor
Visitor
1,373 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
Reply
1 Solution

Accepted Solutions
hj
Moderator
Moderator
1,318 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
-------------------------------------------------------------------------------------
For more information please refer to configuration resources https://forums.xilinx.com/t5/FPGA-Configuration/Configuration-Resources/m-p/753763/highlight/true#M5891
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

7 Replies
hj
Moderator
Moderator
1,319 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
-------------------------------------------------------------------------------------
For more information please refer to configuration resources https://forums.xilinx.com/t5/FPGA-Configuration/Configuration-Resources/m-p/753763/highlight/true#M5891
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

vgptgupta
Visitor
Visitor
1,305 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
Reply
kkn
Moderator
Moderator
1,301 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

 

vgptgupta
Visitor
Visitor
1,299 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
Reply
vgptgupta
Visitor
Visitor
1,281 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
Reply
kkn
Moderator
Moderator
1,272 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.

 

 

 

vgptgupta
Visitor
Visitor
1,257 Views
Registered: ‎01-07-2019

Recommendation from AR# 42557 worked.

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

Thanks @kkn @hj