A method of manufacturing a semiconductor device having a metal layer is provided
in which variation of surface morphology resulting from thermal oxidation is suppressed.
The metal layer is pretreated at a first temperature so that an upper surface of
the metal layer is changed into a mixed phase of metal and oxygen and becomes substantially
resistant to further oxidation during a subsequent heating at a higher temperature
in an oxygen atmosphere.