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
Participant sythez
Participant
6,365 Views
Registered: ‎03-22-2011

Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

Hello, I am working on ISE 14.7 & VIVADO 2016.4 and have some trouble with Master BPI flash - asynchronous mode

 

I use MT28EW series ,512Mb and VIVADO does not recognize Memory Capacity (see in VIVADO LOG).

 

While the other registers are read well, so it is not from the wrong options.

 

And I think there is no problem in FPGA configuration circuit. : flashing with Impact is very well

 

Please see the setting, log and if anyone knows about this problem, reply please.

 

 

 

------- BITSTREAM setting in XDC -------

set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN DIV-8 [current_design]
set_property BITSTREAM.CONFIG.UNUSEDPIN Pulldown [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 6 [current_design]
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.BPI_SYNC_MODE DISABLE [current_design]
set_property CONFIG_MODE BPI16 [current_design]
set_property CONFIG_VOLTAGE 3.3 [current_design]
set_property CFGBVS VCCO [current_design]

set_property BITSTREAM.CONFIG.BPI_1ST_READ_CYCLE 3 [current_design]

set_property BITSTREAM.CONFIG.BPI_PAGE_SIZE 8 [current_design]

 

----VIVADO LOG ----


current_hw_target [get_hw_targets */xilinx_tcf/Xilinx/00000000000000]
set_property PARAM.FREQUENCY 6000000 [get_hw_targets */xilinx_tcf/Xilinx/00000000000000]
open_hw_target
INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Xilinx/00000000000000
set_property PROGRAM.FILE {C:/_ise_project/user/project_1/project_1.runs/impl_1/GRC_TOP.bit} [lindex [get_hw_devices xc7a200t_0] 0]
current_hw_device [lindex [get_hw_devices xc7a200t_0] 0]
refresh_hw_device -update_hw_probes false [lindex [get_hw_devices xc7a200t_0] 0]
INFO: [Labtools 27-1435] Device xc7a200t (JTAG device index = 0) is not programmed (DONE status = 0).
create_hw_cfgmem -hw_device [lindex [get_hw_devices] 0] -mem_dev [lindex [get_cfgmem_parts {mt28ew512a-bpi-x16}] 0]
set_property PROGRAM.ADDRESS_RANGE {use_file} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.FILES [list "C:/_ise_project/user/GRC_V1_2A/16011803.mcs" ] [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0]]
set_property PROGRAM.BPI_RS_PINS {none} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.UNUSED_PIN_TERMINATION {pull-none} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.BLANK_CHECK 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.ERASE 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CFG_PROGRAM 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.VERIFY 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CHECKSUM 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
startgroup
if {![string equal [get_property PROGRAM.HW_CFGMEM_TYPE [lindex [get_hw_devices] 0]] [get_property MEM_TYPE [get_property CFGMEM_PART [get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]]]] } { create_hw_bitstream -hw_device [lindex [get_hw_devices] 0] [get_property PROGRAM.HW_CFGMEM_BITFILE [ lindex [get_hw_devices] 0]]; program_hw_devices [lindex [get_hw_devices] 0]; };
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 : 89 Memory Type : 227e Memory Capacity : 0 Device ID 1 : 2239 Device ID 2 : 2201
CRITICAL WARNING: [Labtools 27-2251] Unable to read device properties. Please make sure that the proper configuration memory part is selected.

0 Kudos
1 Solution

Accepted Solutions
Scholar pratham
Scholar
9,619 Views
Registered: ‎06-05-2013

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@sythez Micron Security series is not officially supported. You could stick to impact and use it as a workaround for now.

I have filed a Change request CR-980480 to add security series support in future vivado.

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
16 Replies
Scholar pratham
Scholar
6,357 Views
Registered: ‎06-05-2013

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@sythez There are no issues in the tool, please cross check your schematic/power supply.

I just did program the same flash, here is the log. It may be worth to upgrade to 2017.2 and give it a try.

 

 

****** Xilinx hw_server v2016.4
**** Build date : Jan 23 2017-19:28:34
** Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.

INFO: [Labtools 27-3282] added to chain at position: 0.
INFO: [Labtoolstcl 44-591] Approximate match found as for requested device xc7a200t based on command arguments
xc7a200t_0
create_hw_cfgmem -hw_device [lindex [get_hw_devices] 0] -mem_dev [lindex [get_cfgmem_parts {mt28ew512a-bpi-x16}] 0]
set_property PROGRAM.BLANK_CHECK 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.ERASE 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CFG_PROGRAM 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.VERIFY 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CHECKSUM 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
refresh_hw_device [lindex [get_hw_devices xc7a200t_0] 0]
set_property PROGRAM.ADDRESS_RANGE {use_file} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.FILES [list "/home/pratham/BOOT.bin" ] [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0]]
set_property PROGRAM.BPI_RS_PINS {none} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.UNUSED_PIN_TERMINATION {pull-none} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.BLANK_CHECK 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.ERASE 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CFG_PROGRAM 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.VERIFY 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CHECKSUM 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.ADDRESS_RANGE {use_file} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.FILES [list "/home/pratham/BOOT.bin" ] [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0]]
set_property PROGRAM.BPI_RS_PINS {none} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.UNUSED_PIN_TERMINATION {pull-none} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.BLANK_CHECK 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.ERASE 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CFG_PROGRAM 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.VERIFY 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
set_property PROGRAM.CHECKSUM 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]
startgroup
if {![string equal [get_property PROGRAM.HW_CFGMEM_TYPE [lindex [get_hw_devices] 0]] [get_property MEM_TYPE [get_property CFGMEM_PART [get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]]]] } { create_hw_bitstream -hw_device [lindex [get_hw_devices] 0] [get_property PROGRAM.HW_CFGMEM_BITFILE [ lindex [get_hw_devices] 0]]; program_hw_devices [lindex [get_hw_devices] 0]; };
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 : 89 Memory Type : 227e Memory Capacity : 0 Device ID 1 : 2223 Device ID 2 : 2201
Performing Erase Operation...
Erase Operation successful.
Performing Program and Verify Operations...
Program/Verify Operation successful.
INFO: [Labtoolstcl 44-377] Flash programming completed successfully
program_hw_cfgmem: Time (s): cpu = 00:00:02 ; elapsed = 00:00:13 . Memory (MB): peak = 6243.426 ; gain = 9.914 ; free physical = 72865 ; free virtual = 116999
endgroup

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Participant sythez
Participant
6,354 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

Thank you for your quick! reply :)

 

May I ask your setting value related with bit stream in xdc  ?

 

I think there is no schematic issue for flashing well w/ impact but I will check again :)

 

 

 

0 Kudos
Participant sythez
Participant
6,351 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

In your log, comparing with my log, Device ID 1 is different ; 2223h vs 2239h.

 

It is the cause of my error, then, may it from the chip defect?

0 Kudos
Participant sythez
Participant
6,347 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

adding information-

 

2239h is the value of 'MT28EW Security' series.

 

I think vivado does not recognize this series correctly.

 

Is there any way to work with this series in VIVADO ?

0 Kudos
Scholar pratham
Scholar
6,311 Views
Registered: ‎06-05-2013

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@sythez Could you please share the complete impact log?

 

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Participant sythez
Participant
6,215 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@pratham my impact log is as below ;

 

I use "SPANSIONS29GL512P" instead of MT28EW512 for AR# 68678

 

https://www.xilinx.com/support/answers/68678.html

 

 

-------- LOG ------

 

iMPACT Version: 14.7

iMPACT log file Started on Thu Jul 13 14:53:34 2017

Welcome to iMPACT
iMPACT Version: 14.7
Project: 'C:\_ise_project\\auto_project.ipf' already exists.
Original project has been renamed to 'C:\_ise_project\\auto_project_1.ipf'.
Project: C:\_ise_project\\auto_project.ipf created.
// *** BATCH CMD : setMode -bs
GUI --- Auto connect to cable...
// *** BATCH CMD : setCable -port auto
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4
INFO:iMPACT - Digilent Plugin: no JTAG device was found.
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set todefault 6 MHz regardless of explicit arguments supplied for setting the baudrates
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Driver file xusb21.sys found.
File C:/Xilinx/14.7/ISE_DS/ISE/bin/nt64/xusb21.sys not found.
Driver file xusb_emb.sys found.
Driver version: src=1029, dest=1029.
Driver windrvr6.sys version = 10.2.1.0. WinDriver v10.21 Jungo (c) 1997 - 2010 Build Date: Aug 31 2010 x86_64 64bit SYS14:14:44, version = 1021.
Cable PID = 0008.
Max current requested during enumeration is 74 mA.
Type = 0x0004.
Cable Type = 3, Revision = 0.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1303.
File version of C:/Xilinx/14.7/ISE_DS/ISE/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
PLD file version = 0012h.
PLD version = 0012h.
PROGRESS_END - End Operation.
Elapsed time = 0 sec.
Type = 0x0004.
ESN device is not available for this cable.
Attempting to identify devices in the boundary-scan chain configuration...
INFO:iMPACT - Current time: 2017-07-13 ¿ÀÈÄ 2:53:38
// *** BATCH CMD : Identify
PROGRESS_START - Starting Operation.
Identifying chain contents...'0': : Manufacturer's ID = Xilinx XC7A200T, Version : 1
INFO:iMPACT:1777 -
Reading C:/Xilinx/14.7/ISE_DS/ISE/artix7/data/xc7a200t.bsd...
INFO:iMPACT - Using CseAdapterBSDevice
INFO:iMPACT:501 - '1': Added Device XC7A200T successfully.
----------------------------------------------------------------------
done.
PROGRESS_END - End Operation.
Elapsed time = 0 sec.
// *** BATCH CMD : identifyMPM
Selected part: SPANSIONS29GL512P
// *** BATCH CMD : attachflash -position 1 -bpi "SPANSIONS29GL512P"
// *** BATCH CMD : assignfiletoattachedflash -position 1 -file"C:/_ise_project/user/GRC_V1_2A/16011803.mcs"
INFO:iMPACT - Current time: 2017-07-13 ¿ÀÈÄ 2:53:52
// *** BATCH CMD : Program -p 1 -dataWidth 16 -rs1 NONE -rs0 NONE -bpionly -e-loadfpga
Maximum TCK operating frequency for this device chain: 66000000.
Validating chain...
Boundary-scan chain validated successfully.
1: Device Temperature: Current Reading: 36.59 C, Min. Reading: 34.13 C, Max.Reading: 37.09 C
1: VCCINT Supply: Current Reading: 0.996 V, Min. Reading: 0.996 V, Max.Reading: 0.999 V
1: VCCAUX Supply: Current Reading: 1.790 V, Min. Reading: 1.781 V, Max.Reading: 1.796 V
PROGRESS_START - Starting Operation.
key: period_frc, value: 0
key: dclk_has_reset, value: 0
key: period_int, value: 10
Found Slave on Bus Index.
Slave Int Type is 83, Slave Index is -1, BPI_SLAVE is 83
Slave Type is 83, Slave Index is 0
BPI SLAVE TYPE in Cse_Operate.c is 83
key: period_frc, value: 0
key: dclk_has_reset, value: 0
key: period_int, value: 10
Found Slave on Bus Index.
Slave Int Type is 83, Slave Index is 0, BPI_SLAVE is 83
Slave Type is 83, Slave Index is 0
Reset Core
PROGRESS_START - Starting Operation.
Reset Core
Set Data Width
Populating BPI common flash interface ...
Common Flash Interface Information Query completed successfully.
INFO:Cse - Common Flash Interface Information from Device:
INFO:Cse - Verification string: 51 52 59
INFO:Cse - Manufacturer ID: 89
INFO:Cse - Vendor ID: 02
INFO:Cse - Device Code: 1a
Reset Core
Using x16 mode ...
Set Data Width
'1': Erasing device...
done.
'1': Erasure completed successfully.
Reset Core
Using x16 mode ...
Set Data Width
INFO:Cse - Using Word Programming.
'1': Programming Flash.
done.
'1': Flash Programming completed successfully.
PROGRESS_END - End Operation.
Elapsed time = 231 sec.
INFO:iMPACT - '1': Checking done pin....done.
'1': Programmed successfully.

0 Kudos
Participant sythez
Participant
6,207 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

adding information

 

VIVADO 17.2 'still' does not recognize this flash : MT28EW512ABA1HPC-1SIT

0 Kudos
Scholar pratham
Scholar
6,178 Views
Registered: ‎06-05-2013

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@sythez Could you give it a try with vivado the same way? Select the SPANSIONS29GL512P vivado and let me know results.

I will file a CR to add a support to MT28EW512ABA1HPC-1SIT. Share the 2017.2 log with me to file a request.

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Participant sythez
Participant
6,159 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@pratham Thanks for your reply. I already tried but got same result.

 

I attach 2017.2 log file and expect can be use in older version, such as 2016.4

 

 

 

0 Kudos
Scholar pratham
Scholar
9,620 Views
Registered: ‎06-05-2013

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@sythez Micron Security series is not officially supported. You could stick to impact and use it as a workaround for now.

I have filed a Change request CR-980480 to add security series support in future vivado.

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
Scholar pratham
Scholar
4,793 Views
Registered: ‎06-05-2013

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@sythez Is there anything else we can help you with? if not, please close this thread.

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Participant sythez
Participant
4,784 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

@pratham Thanks for your reply and it was great help!

I hope Xilinx would provide solution such as hot fix to handle this flash series for older version of vivado.

0 Kudos
Observer ami@
Observer
4,061 Views
Registered: ‎11-16-2017

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

Hi

 

I try program MT28EW128ABA1LPC-1SIT with Vivado 17.3.

And I get the messages described at this thread.

Do you know if Vivado 17.3 support MT28EW128ABA1LPC-1SIT (Security issue) ?

Pls. advise if using MT28EW128ABA1LPC-0SIT will solve the issue (Standard default security) as the family should be supported by Xilinx.

 

Thanks, Ami

0 Kudos
Participant sythez
Participant
4,039 Views
Registered: ‎03-22-2011

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

Hi

 

I think 2017.3 , still, does not recognize LPC-1 series.

 

I changed LPC-1 to HPC/LPC-0 series and it works well with vivado 2017.2 .

Observer ami@
Observer
3,992 Views
Registered: ‎11-16-2017

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

Thanks,

 

I ordered the HPC/LPC-0 and check it.

 

 

0 Kudos
Observer ami@
Observer
3,776 Views
Registered: ‎11-16-2017

Re: Master BPI Asynchronous flash fail : vivado vs ISE

Jump to solution

Hi. I replaced the flash to Micron MT28EW128ABA1LPC-0SIT . Programming passed successfully.

0 Kudos