An apparatus and a method for memory access of sharing the address and the
data buses used in multi-media player, comprising at least one SDRAM,
storing the large data and as a buffer in high speed; at least one flash
memory, storing the programs, the user's defaults and firmware, wherein
the address and data pins of the SDRAM and the flash memory are coupled
with a same bus respectively, and SDRAM and flash memory are not accessed
at the same time; a memory interface, connecting the address bus and data
bus shared by the SDRAM and flash memory. The memory interface further
comprises an arbiter, deciding which one of the access requests is
executed according to the request priority. It is noticed that only one
of the SDRAM or the flash memory can be accessed at one time.