A solar flare acts as an electromagnetic pulse and if the earth was hit by a large enough flare it could fry every microchip and piece of technology in existence.