+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Newbie level 1
    Points: 19, Level: 1

    Join Date
    May 2019
    Posts
    1
    Helped
    0 / 0
    Points
    19
    Level
    1

    kintex 7 bpi programming error

    I am two custom boards which use a kintex 7 (xc7k325t-2) and a micron 1gb NOR Flash (MT28EW01GABA1HPC-0SIT) as programmable memory.I am able to program the flash in one board were as in other board the 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_ERRO R 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_ERRO R 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_SIGNA L_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_MAC HINE_PHASE 100

    REGISTER.CONFIG_STATUS.BIT21_RESERVED 0000

    REGISTER.CONFIG_STATUS.BIT25_CFG_BUS_WIDTH_DETECTI ON 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.

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 23,383, Level: 37
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,481
    Helped
    989 / 989
    Points
    23,383
    Level
    37

    Re: kintex 7 bpi programming error

    Bad flash? Solder blob on the PCB?obviously you can power and read the device, just not program it. Have you looked at signals with a scope? That would be my first step.



--[[ ]]--