A data transfer method and system are provided that prevent the length of
a time required for writing to a flash memory from appearing on the
surface as a system operation when the flash memory is used in place of
an SRAM. The method of transferring data includes the steps of writing
data from a controller to a volatile memory, placing the volatile memory
in a transfer state, transferring the data from the volatile memory in
the transfer state to a nonvolatile memory, and releasing the volatile
memory from the transfer state in response to confirming completion of
the transfer of the data.