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

iMPACT - Indirect SPI Programming - Resetting QE (Quad Enable) Status Bit for W25Q16V


The iMPACT toolactually sets the QE bit for x4 SPI operation, but it does notclear the QE bit if you want to go back to x1 or x2 mode. Is there a way to clear this bit?


Yes, but it can only currently be done via the command line. In the iMPACT tool, go to Help > Help Topics and look for the section for command line and batch mode. There, you can look at examples of how to use batch mode.

The switch name is -qebit and is set when you are doing an erase. The next example shows how to use the switch:

setMode -bs
setCable -port usb21
addDevice -p 1 -file"path/filename.mcs"
attachflash -position 1 -spi "W25Q16V"
assignfiletoattachedflash -position 1 -file "path/filename.mcs"
erase -p 1 -spionly -qebit

AR# 40782
Date Created 09/06/2011
Last Updated 12/15/2012
Status Active
Type General Article
  • ISE Design Suite - 13.1
  • ISE Design Suite - 13.2