cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chris_basson
Visitor
Visitor
4,546 Views
Registered: ‎10-27-2009

Impact 12.1 byte swap

We have a board with a V5FX70T device, which configures from a BPI flash device(28F128P30).

We upgraded our programming equipment from Impact 10.1.03 to Impact 12.1.

Programming a MCS file that used to work under 10.1, failed to boot the FPGA and processor when programmed with 12.1.

Reading back the flash with Impact 10.1 reveals that the bytes were swapped in a 16-bit word. See below:

Expected:

:020000040000FA
:10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00
:10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0
:10002000000000DD88440022FFFFFFFFFFFFFFFF0D
:100030005599AA66040000000C40008000000000F2

Readback:

:020000040000FA
:10000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00
:10001000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0
:100020000000DD0044882200FFFFFFFFFFFFFFFF0D
:10003000995566AA00040000400C800000000000F2

I did not find any setting in Imact that can change the byte ordering, or did I miss something?

 

Chris

 

 

 

0 Kudos
4 Replies
mcgett
Xilinx Employee
Xilinx Employee
4,539 Views
Registered: ‎01-03-2008

It isn't the bytes that are being swapped, it is the bits in the bytes that are being swapped.  The options that you used with the 10.1 software must be different then the ones that you are using with the 12.1 software. 

 

Please review the "Bit Swapping in PROM files" section in the PromGen User Guide

http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_1/devref.pdf

------Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
0 Kudos
chris_basson
Visitor
Visitor
4,526 Views
Registered: ‎10-27-2009

The MCS file did not change. The only difference is using a different Impact tool. To me it looks like a byte swap.

Programming and readback with Impact 10.1 produced expected result. Programming with 12.1 and readback with 10.1 did not return the expected result.

0 Kudos
iguo
Xilinx Employee
Xilinx Employee
4,522 Views
Registered: ‎08-10-2008

So you did not re-generate the MCS file with 12.1, just use it to program the old MCS? Try to read back the file with 12.1, what did you get?

 

You can try to re-generate the MCS in 12.1 and then program it with 12.1, see what happens.

------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
0 Kudos
chris_basson
Visitor
Visitor
4,520 Views
Registered: ‎10-27-2009

1. The 12.1 Promgen tool generates a MCS file with the correct byte order.

2. As far as I can see,  the 12.1 Impact tool has programmed the flash with the byte order swapped. This was confirmed by  the 10.1.03 Impact tool.

3. Whatever the 12.1 Impact tool reads back, as far as I am concerned, is of no consequence.

4. Either the Impact 12.1 has a setting to control the byte order(which I did not find), or there is another problem somewhere. This is not a serious problem, I have uninstalled the Imact 12.1 and installed Impact 10.1 + SP3.

0 Kudos