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

14.7 SDK: ERROR: In-system programmer reported an error: CFI query of block/​sector map returned inconsistent results!

Description

I am able to program the .bin file using SDK 14.3.

However, when I try to do the same using the 14.7 version, I receive the following error.


Downloading Program -- ./etc/flashwriter/flashwriter.elf
    section, .text: 0x00000000-0x00000c97
    section, .data: 0x00000c98-0x00000e97
    section, .bss: 0x00000e98-0x00000ea7
    section, .stack: 0x00000ea8-0x00001227
Download Progress.10.20.30.40.50.60.70.80.90.Done
Setting PC with Program Start Address 0x00000000
* Performing CFI Query on the flash part(s)...* 
* ERROR: In-system programmer reported an error: CFI query of block/sector map returned inconsistent results!
* Sending CMD_EXIT to writer...
* Flashwriter terminating !
Flash Programming failed.

Is this there an issue with 14.7 EDK?

Solution

There are some issues with the "-Os" optimization flag in the GCC compiler that was used to build the Flashwriter drivers for version 14.7 of the tool.



The work-around for the issue is to replace -Os with -O3 in the GCC command in the flashwriter.tcl file located at: C:\Xilinx\14.7\ISE_DS\EDK\data\xmd

AR# 61979
Date Created 09/09/2014
Last Updated 06/10/2015
Status Active
Type General Article
Tools
  • EDK - 14.7