Patent ID: 7547638

Claim:
A method for manufacturing a semiconductor device, comprising the steps of: forming a circuit element on a semiconductor substrate; forming an insulation film that covers the circuit element; forming a first electrode on the insulation film; forming a ferroelectric film on the first electrode; forming a second electrode on the ferroelectric film; forming a hardmask that has a predetermined pattern on the second electrode, the hardmask comprised of: an upper layer mask film whose etching selectivity to the second electrode is high; and a middle layer mask film whose etching selectivity to the ferroelectric film is high; etching the second electrode using the upper layer mask film as an etching mask; removing the upper layer mask film remaining after the etching of the second electrode, the removal of the upper layer mask film being performed immediately after the etching of the second electrode; etching the ferroelectric film and the first electrode using the middle layer mask film as an etching mask, after removing the upper layer mask film; and removing the middle layer mask film remaining after the etching of the ferroelectric film and the first electrode.