adam@adam-laptop:~/m1_adam/RC2_production_images$ sudo ./flash-mcs-adam.sh standby_rc3.mcs [sudo] password for adam: Release 12.3 - iMPACT M.70d (lin) Copyright (c) 1995-2010 Xilinx, Inc. All rights reserved. Preference Table Name Setting StartupClock Auto_Correction AutoSignature False KeepSVF False ConcurrentMode False UseHighz False ConfigOnFailure Stop UserLevel Novice MessageLevel Detailed svfUseTime false SpiByteSwap Auto_Correction AutoInfer false SvfPlayDisplayComments false AutoDetecting cable. Please wait. OS platform = i686. Connecting to cable (Usb Port - USB21). Checking cable driver. File version of /opt/Xilinx/12.3/ISE_DS/ISE/bin/lin/xusbdfwu.hex = 1030. File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1030. Using libusb. Kernel release = 2.6.32-33-generic. Max current requested during enumeration is 300 mA. Type = 0x0005. control tranfer failed. write (count, cmdBuffer, dataBuffer) failed 20000020. Cable Type = 3, Revision = 0. Setting cable speed to 6 MHz. Cable connection established. Firmware version = 2300. File version of /opt/Xilinx/12.3/ISE_DS/ISE/data/xusb_xp2.hex = 2401. Firmware hex file version = 2401. Downloading /opt/Xilinx/12.3/ISE_DS/ISE/data/xusb_xp2.hex. Downloaded firmware version = 2401. PLD file version = 200Dh. PLD version = 200Dh. Type = 0x0005. ESN option: 000013E24C4101. Identifying chain contents...'0': : Manufacturer's ID = Xilinx xc6slx45, Version : 3 INFO:iMPACT:1777 - Reading /opt/Xilinx/12.3/ISE_DS/ISE/spartan6/data/xc6slx45.bsd... INFO:iMPACT:501 - '1': Added Device xc6slx45 successfully. ---------------------------------------------------------------------- ---------------------------------------------------------------------- done. Elapsed time = 1 sec. Elapsed time = 0 sec. Elapsed time = 0 sec. Elapsed time = 0 sec. INFO:iMPACT - A CFI file is not detected. To ensure correct and safe configuration, Please make sure a CFI file is present in the same directory as the PROM file, or, regenerate the PROM file with the latest software. Maximum TCK operating frequency for this device chain: 25000000. Validating chain... Boundary-scan chain validated successfully. '1': BPI access core not detected. BPI access core will be downloaded to the device to enable operations. INFO:iMPACT - Downloading core file /opt/Xilinx/12.3/ISE_DS/ISE/spartan6/data/xc6slx45_jbpi.cor. '1': Downloading core... LCK_cycle = NoWait. LCK cycle: NoWait done. '1': Reading status register contents... INFO:iMPACT:2219 - Status register values: INFO:iMPACT - 0011 1100 1110 1100 INFO:iMPACT:2492 - '1': Completed downloading core to device. Current cable speed is set to 6.000 Mhz. Cable speed is default to 3Mhz or lower for BPI operations. Current cable speed is set to 3.000 Mhz. INFO:iMPACT - File ../standby_rc3.cfi does not exist. Populating BPI common flash interface ... Common Flash Interface Information Query completed successfully. INFO:iMPACT - Common Flash Interface Information from Device: INFO:iMPACT - Verification string: 51 52 59 INFO:iMPACT - Manufacturer ID: 89 INFO:iMPACT - Vendor ID: 01 INFO:iMPACT - Device Code: 19 Using x16 mode ... '1': Erasing device... done. '1': Erasure completed successfully. Using x16 mode ... INFO:iMPACT - Using Word Programming. '1': Programming Flash. done. '1': Flash Programming completed successfully. Current cable speed is resumed to 6.000 Mhz. '1': Programming device... LCK_cycle = NoWait. LCK cycle: NoWait done. '1': Reading status register contents... [0] CRC ERROR : 0 [1] IDCODE ERROR : 0 [2] DCM LOCK STATUS : 1 [3] GTS_CFG_B STATUS : 1 [4] GWE STATUS : 1 [5] GHIGH STATUS : 1 [6] DECRYPTION ERROR : 0 [7] DECRYPTOR ENABLE : 0 [8] HSWAPEN PIN : 1 [9] MODE PIN M[0] : 1 [10] MODE PIN M[1] : 1 [11] RESERVED : 0 [12] INIT_B PIN : 1 [13] DONE PIN : 1 [14] SUSPEND STATUS : 0 [15] FALLBACK STATUS : 0 INFO:iMPACT:2219 - Status register values: INFO:iMPACT - 0011 1100 1110 1100 INFO:iMPACT:579 - '1': Completed downloading bit file to device. INFO:iMPACT:188 - '1': Programming completed successfully. LCK_cycle = NoWait. LCK cycle: NoWait INFO:iMPACT - '1': Checking done pin....done. '1': Programmed successfully. Elapsed time = 77 sec. setMode -bscan setCable -p auto identify -inferir identifyMPM attachflash -position 1 -bpi "28F256J3F" assignfiletoattachedflash -position 1 -file "../standby_rc3.mcs" program -p 1 -dataWidth 16 -rs1 NONE -rs0 NONE -bpionly -e quit