At a guess, he wants a method of measuring some operation being performed either by recording the operation into flash, or by the flash chip being programmed with the firmware image (if that is what he is measuring)

Creating a hexfile with all ones will be not helpful as check sum verification is an important step as per programming spec and it will note be possible. Can't you check this at some specific rows(as bob suggested) if you want to do it ?