flash memory accessing and storage of data