A semiconductor wafer includes a redistribution layer which is
electrically connected with a pad which is an end portion of an
interconnect, a first resin layer which is formed over the redistribution
layer, a second resin layer which is formed over the first resin layer
and covers the side surface of the first resin layer, and an external
terminal which is formed to be electrically connected with the
redistribution layer in a manner to avoid the pad.