involving programming of a portable memory device