The invention provides a semiconductor device having less defectives in
shape of a patterned wiring layer even in a case of having a wiring layer
for which patterning is required to be carried out over a longer period
of etching time, and a method for producing the same. By carrying out dry
etching using a fluorine-based gas with a photoresist 17a used as a mask,
an auxiliary mask 15a is formed by patterning the insulation membrane.
Next, by carrying out dry etching using a chlorine-based gas using the
auxiliary mask 15a and the remaining photoresist 17a as masks, wiring 13a
is formed by patterning the wiring layer 13. In the second etching, the
auxiliary mask 15a is scarcely etched. Therefore, if the thickness of the
photoresist 17a is equivalent to that in the prior arts, it is possible
to pattern a thicker wiring layer 13 than in the prior arts.