PURPOSE: To enable a through-hole etching process to be accomplished with stability by a method wherein a first wiring layer connected to a P-well is connected to a first wiring layer connected to an N-type substrate.
CONSTITUTION: A first Al wiring layer 2 is formed to be connected to a P-type substrate or P-well 100. The first Al wiring layer 2 is next connected at least to an N-type substrate 101 or N-well region before it is subjected to patterning, whereby an opening 4 is created to reach the first Al wiring layer 2 through an insulating film 3 formed on the first Al wiring layer 2. In a process to follow, the portion, connecting to the N-type substrate 101 or N-well region, is removed from the first Al wiring layer 2. In this way, the first Al wiring layer 2 is protected from irregularities that may occur during the process of creating the opening 4. Accordingly, connection is establish with high stability between upper and lower layers (Al layers or the like) even when wet etching is applied for the opening of a through-hole.