A device employs a method for determining the data bus width of a
non-volatile memory, such as NAND flash memory. The method performs at
least two read operations on the non-volatile memory so as to test the
changing of selected data bits. The method may be performed such that
weak pull down and pull up operations are performed to test the data
outputs of the non-volatile memory.