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!

AR# 42561

13.1, 13.2 - Known BitGen issue for MultiBoot SPI by 1 Configuration in Spartan-6 devices

Description

Why does MultiBoot fail when I use SPI x1 configuration in software versions 13.1 or 13.2?

Solution

This is a BitGen issue in 13.1 and 13.2 software versions, andis only for SPI by 1 mode in MultiBoot settings (not SPI by 2 or 4 (X2/X4).

When running BitGen, options "-g SPI_buswidth:1" gives 0x00 in GENERAL2[15:8] and GENERAL4[15:8] as a SPI read mode in a bitstream. This should have been 0x03 or 0x0B, as this is the slow/fast read command for all SPI devices.

Eventually, if you run the MultiBoot settings with SPI X1 BitGen, then the target bitstream fails. If you change the BitGen option from x1 to x2, x4 mode seems to work fine.

BitGen Default Header

FFFFFFFF
AA995566
31E1FFFF
32610000
32810010 //SPI read command missing
32A10000
32C10002 //SPI read command missing
32E10000
30A10000
33012100
3201101F
30A1000E
20002000
20002000

Work-around 1

To get the by 1 (x1) SPI MultiBoot working, manually modify the bitstream values at GENERAL2[15:8] and GENERAL4[15:8] as 0x03 or 0x0B value (instead of 0x00).

Work-around 2

Add the SPI x1 read command in Next BitGen settings as -g next_config_addr:0x03100000, or -g next_config_addr:0x0B100000. That is:

bitgen -g next_config_new_mode:Yes -g next_config_addr:0x03100000 -g golden_config_addr:03000044 -g reset_on_err:Yes -g spi_buswidth:1FileName.ncdFileName.bit

BitGen Header After Work-around

FFFFFFFF
AA995566
31E1FFFF
32610000
32810310 // or 32810B10 - SPI read command
32A10000
32C10302 // or 32C10B10 - SPI read command
32E10000
30A10000
33012100
3201101F
30A1000E
20002000
20002000

AR# 42561
Date Created 12/16/2011
Last Updated 01/21/2013
Status Active
Type General Article
Devices
  • Spartan-6 LX
  • Spartan-6 LXT
Tools
  • ISE Design Suite - 13.1
  • ISE Design Suite - 13.2
Boards & Kits
  • Spartan-6 FPGA Connectivity Kit
  • Spartan-6 FPGA Embedded Kit
  • Spartan-6 FPGA SP601 Evaluation Kit
  • More
  • Spartan-6 FPGA SP605 Evaluation Kit
  • Spartan-6 FPGA SP623 Characterization Kit
  • Less