A semiconductor device, which is controlled based on a control signal
corresponding to control data includes: a control register in which the
control data is set; a sequencer which performs read control of a first
control command on a nonvolatile memory in which the first control
command is stored; a first command bus to which the first control command
read from the nonvolatile memory is output; and a first decoder which
decodes the first control command of the first command bus. The sequencer
cyclically performs read control of the first control command on the
nonvolatile memory, and sets the control data corresponding to the first
control command in the control register each time the first decoder
decodes the first control command output to the first command bus.