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# 22725

7.1i EDK - XPS FlashWriter fails when part layout is PART_LAYOUT_08_16_08_1

Description

Keywords: CFI

The following error occurs in FlashWriter when the Flash part layout is PART_LAYOUT_08_16_08_1 (the next write to set CFI query mode fails). Since the device does not reenter CFI query mode, the remaining reads are incorrect.

"CFI QRY ran out of space to accomodate region information."

Solution

To work around this issue, modify the cfi_init function in %XILINX_EDK%\data\xmd\flashwriter\src\flash.c, where %XILINX_EDK% is the directory where EDK is installed.

Change the following:
fl_cmdwrite (CFI_QRY_CMD_ADDR, CFI_QRY_CMD);
to the following:
fl_cmdwrite (CFI_QRY_CMD_ADDR << cfi_shift, CFI_QRY_CMD);
and move it up so it is before the following:
cfi_shift += devinfo.addr_shift;
AR# 22725
Date Created 01/16/2006
Last Updated 04/17/2007
Status Archive
Type General Article