Another method in which the concentration of oxygen is suppressed low and the concentration of nitrogen is made higher than the concentration of oxygen is a method in which an inner wall of a treatment chamber used for forming the semiconductor layer 106 is covered with a film including nitrogen at a high concentration.