In this way, the IC chip 15 and the connection portion of the leads 54 and the IC chip 15 are covered by epoxy resin or other resin before the external connection terminals 11 are provided, so that during the formation of the external connection terminals 11 there is no worry of the chip area being contaminated, and therefore the beneficial aspect that the reliability is increased.