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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor shandy
Visitor
100 Views
Registered: ‎10-22-2018

kintex7 BPI flash programming failed

Hi 

 I am custom kintex 7 (xc7k325t-2) with micron 1gb NOR Flash (MT28EW01GABA1HPC-0SIT) as programmable memory. The programming of NOR Flash fails with the following message

INFO: [Labtools 27-3164] End of startup status: HIGH

program_hw_cfgmem -hw_cfgmem [get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

Mfg ID : 0 Memory Type : 0 Memory Capacity : 0 Device ID 1 : 0 Device ID 2 : 0

Performing Erase Operation...

Erase Operation failed.

ERROR: [Labtools 27-3161] Flash Programming Unsuccessful

ERROR: [Common 17-39] 'program_hw_cfgmem' failed due to earlier errors.

 

The INIT_B signal is low after power up and does not gets asserted.

 

The configuration register after programming  failed is shown below

 

REGISTER.CONFIG_STATUS 01000010000100000000101011111100

 

REGISTER.CONFIG_STATUS.BIT00_CRC_ERROR 0

REGISTER.CONFIG_STATUS.BIT01_DECRYPTOR_ENABLE 0

REGISTER.CONFIG_STATUS.BIT02_PLL_LOCK_STATUS 1

REGISTER.CONFIG_STATUS.BIT03_DCI_MATCH_STATUS 1

REGISTER.CONFIG_STATUS.BIT04_END_OF_STARTUP_(EOS)_STATUS 1

REGISTER.CONFIG_STATUS.BIT05_GTS_CFG_B_STATUS 1

REGISTER.CONFIG_STATUS.BIT06_GWE_STATUS 1

REGISTER.CONFIG_STATUS.BIT07_GHIGH_STATUS 1

REGISTER.CONFIG_STATUS.BIT08_MODE_PIN_M[0] 0

REGISTER.CONFIG_STATUS.BIT09_MODE_PIN_M[1] 1

REGISTER.CONFIG_STATUS.BIT10_MODE_PIN_M[2] 0

REGISTER.CONFIG_STATUS.BIT11_INIT_B_INTERNAL_SIGNAL_STATUS 1

REGISTER.CONFIG_STATUS.BIT12_INIT_B_PIN 0

REGISTER.CONFIG_STATUS.BIT13_DONE_INTERNAL_SIGNAL_STATUS 0

REGISTER.CONFIG_STATUS.BIT14_DONE_PIN 0

REGISTER.CONFIG_STATUS.BIT15_IDCODE_ERROR 0

REGISTER.CONFIG_STATUS.BIT16_SECURITY_ERROR 0

REGISTER.CONFIG_STATUS.BIT17_SYSTEM_MONITOR_OVER-TEMP_ALARM_STATUS 0

REGISTER.CONFIG_STATUS.BIT18_CFG_STARTUP_STATE_MACHINE_PHASE 100

REGISTER.CONFIG_STATUS.BIT21_RESERVED 0000

REGISTER.CONFIG_STATUS.BIT25_CFG_BUS_WIDTH_DETECTION 01

REGISTER.CONFIG_STATUS.BIT27_HMAC_ERROR 0

REGISTER.CONFIG_STATUS.BIT28_PUDC_B_PIN 0

REGISTER.CONFIG_STATUS.BIT29_BAD_PACKET_ERROR 0

REGISTER.CONFIG_STATUS.BIT30_CFGBVS_PIN 1

REGISTER.CONFIG_STATUS.BIT31_RESERVED 0

 

 

0 Kudos
5 Replies
Xilinx Employee
Xilinx Employee
76 Views
Registered: ‎08-10-2008

回复: kintex7 BPI flash programming failed

INIT_B pin on the custom board is grounded or has connection issues. Check it.

------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
0 Kudos
Visitor shandy
Visitor
69 Views
Registered: ‎10-22-2018

回复: kintex7 BPI flash programming failed

Hi iguo

 The init_b pin is connected to a dual led.I am attaching a snapshot the connection below.BPI configuration.JPG

0 Kudos
Xilinx Employee
Xilinx Employee
64 Views
Registered: ‎08-10-2008

回复: kintex7 BPI flash programming failed

Once the LED is lighted, resistance of the Emitter becomes zero and it pulls INIT_B down to ground. Saw tons of wrong designs of this.

------------------------------------------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------------------
0 Kudos
Visitor shandy
Visitor
57 Views
Registered: ‎10-22-2018

回复: kintex7 BPI flash programming failed

HI iguo

I just received a another board with same configuration in which flash programming works fine. I will remove the Led as per your advice and will let u know  if i am still facing any issues.

0 Kudos
Visitor shandy
Visitor
49 Views
Registered: ‎10-22-2018

回复: kintex7 BPI flash programming failed

Hi iguo

Tried programming the flash after removing the Led but programming gets failed at verify stage.I am able to program the flash without the verify option but upon power cycle the changes are not reflected on the hardware.I am able to erase the flash and no errors during blank check operation.This is the error i get when i try to program the flash with program and verify option selected.

Mfg ID : 89 Memory Type : 227e Memory Capacity : 0 Device ID 1 : 2228 Device ID 2 : 2201

Performing Erase Operation...

Erase Operation successful.

Performing Program and Verify Operations...

Program/Verify Operation failed.

 

Byte 0 does not match (00 != FF)

 

ERROR: [Labtools 27-3144] Invalid option: Byte 0 does not match (00 != FF)

program_hw_cfgmem: Time (s): cpu = 00:00:03 ; elapsed = 00:00:14 . Memory (MB): peak = 932.367 ; gain = 3.930

 

ERROR: [Common 17-39] 'program_hw_cfgmem' failed due to earlier errors.

 

 

The configuration registers after programming is shown below

register status

 

boot status

 

REGISTER.BOOT_STATUS 00000000000000000000000000000001

REGISTER.BOOT_STATUS.BIT00_0_STATUS_VALID 1

REGISTER.BOOT_STATUS.BIT01_0_FALLBACK 0

REGISTER.BOOT_STATUS.BIT02_0_INTERNAL_PROG 0

REGISTER.BOOT_STATUS.BIT03_0_WATCHDOG_TIMEOUT_ERROR 0

REGISTER.BOOT_STATUS.BIT04_0_ID_ERROR 0

REGISTER.BOOT_STATUS.BIT05_0_CRC_ERROR 0

REGISTER.BOOT_STATUS.BIT06_0_WRAP_ERROR 0

REGISTER.BOOT_STATUS.BIT07_0_SECURITY_ERROR 0

REGISTER.BOOT_STATUS.BIT08_1_STATUS_VALID 0

REGISTER.BOOT_STATUS.BIT09_1_FALLBACK 0

REGISTER.BOOT_STATUS.BIT10_1_INTERNAL_PROG 0

REGISTER.BOOT_STATUS.BIT11_1_WATCHDOG_TIMEOUT_ERROR 0

REGISTER.BOOT_STATUS.BIT12_1_ID_ERROR 0

REGISTER.BOOT_STATUS.BIT13_1_CRC_ERROR 0

REGISTER.BOOT_STATUS.BIT14_1_WRAP_ERROR 0

REGISTER.BOOT_STATUS.BIT15_1_SECURITY_ERROR 0

REGISTER.BOOT_STATUS.BIT16_RESERVED 0000000000000000

 

 

 

 

 

REGISTER.CONFIG_STATUS 01000010000100000001101011111100

REGISTER.CONFIG_STATUS.BIT00_CRC_ERROR 0

REGISTER.CONFIG_STATUS.BIT01_DECRYPTOR_ENABLE 0

REGISTER.CONFIG_STATUS.BIT02_PLL_LOCK_STATUS 1

REGISTER.CONFIG_STATUS.BIT03_DCI_MATCH_STATUS 1

REGISTER.CONFIG_STATUS.BIT04_END_OF_STARTUP_(EOS)_STATUS 1

REGISTER.CONFIG_STATUS.BIT05_GTS_CFG_B_STATUS 1

REGISTER.CONFIG_STATUS.BIT06_GWE_STATUS 1

REGISTER.CONFIG_STATUS.BIT07_GHIGH_STATUS 1

REGISTER.CONFIG_STATUS.BIT08_MODE_PIN_M[0] 0

REGISTER.CONFIG_STATUS.BIT09_MODE_PIN_M[1] 1

REGISTER.CONFIG_STATUS.BIT10_MODE_PIN_M[2] 0

REGISTER.CONFIG_STATUS.BIT11_INIT_B_INTERNAL_SIGNAL_STATUS 1

REGISTER.CONFIG_STATUS.BIT12_INIT_B_PIN 1

REGISTER.CONFIG_STATUS.BIT13_DONE_INTERNAL_SIGNAL_STATUS 0

REGISTER.CONFIG_STATUS.BIT14_DONE_PIN 0

REGISTER.CONFIG_STATUS.BIT15_IDCODE_ERROR 0

REGISTER.CONFIG_STATUS.BIT16_SECURITY_ERROR 0

REGISTER.CONFIG_STATUS.BIT17_SYSTEM_MONITOR_OVER-TEMP_ALARM_STATUS 0

REGISTER.CONFIG_STATUS.BIT18_CFG_STARTUP_STATE_MACHINE_PHASE 100

REGISTER.CONFIG_STATUS.BIT21_RESERVED 0000

REGISTER.CONFIG_STATUS.BIT25_CFG_BUS_WIDTH_DETECTION 01

REGISTER.CONFIG_STATUS.BIT27_HMAC_ERROR 0

REGISTER.CONFIG_STATUS.BIT28_PUDC_B_PIN 0

REGISTER.CONFIG_STATUS.BIT29_BAD_PACKET_ERROR 0

REGISTER.CONFIG_STATUS.BIT30_CFGBVS_PIN 1

REGISTER.CONFIG_STATUS.BIT31_RESERVED 0

 

NOTE : I am using vivado 2016.4 to program the device.

0 Kudos