Check for cartridge, identify if it's RAM or FLASH, and allow for erasing/programming the flash chip.