However, in a conventional peripheral apparatus having an erasable programmable read only memory (EPROM) as a nonvolatile memory, EPROMs storing firmware need to be prepared in a number corresponding to the number of types of interfaces, and different EPROMs need to be mounted for the respective types having different interfaces.