a semiconductor device includes an error detection unit suitable for receiving data and a cyclic redundancy check code , and for outputting a detection signal by detecting a transmission error of the data , and a signal change unit suitable for generating error information based on the detection signal while changing a signal form of the error information based on a signal transmission environment of the data .