EMP (Electro-Magnetic Pulse), also sometimes known as "NEMP" (Nuclear Electromagnetic Pulse), was kept secret from the public for a long time and was first discovered more or less by accident when US Military tests of nuclear weapons started knocking out phone banks and other equipment miles from ground zero.
EMP is no longer "top secret" but information about it is still a little sketchy and hard to come by. Adding to the problems is the fact that its effects are hard to predict; even electronics designers have to test their equipment in powerful EMP simulators before they can be sure it is really capable of with standing the effect.
EMP occurs with all nuclear explosions. With smaller explosions the effects are less pronounced. Nuclear bursts close to the ground are dampened by the earth so that EMP effects are more or less confined to the region of the blast and heat wave. But EMP becomes more pronounced and wide spread as the size and altitude of a nuclear blast is increased since the ground; of these two, altitude is the quickest way to produce greater EMP effects. As a nuclear device is exploded higher up, the earth soaks up fewer of the free electrons produced before they can travel some distance.