The semiconductor device includes a semiconductor element having an electrode
formed on a surface thereof, and a metal wiring formed on the surface of the semiconductor
element and electrically connected to the electrode. The metal wiring has an external
electrode portion functioning as an external electrode. A thickness of the external
electrode portion is greater than that of a non-electrode portion of the metal
wiring, i.e., a portion of the metal wiring other than the external electrode portion.