First of all, deepest apologies for the trouble you are having with your X-25M SSD.
There are hard drive diagnostic tools available on the web, although the best tools aren't cheap.
To segment the problem quickly (and for free), you could use a bootable USB key or bootable CDROM with the Intel firmware update tool. The software should see fhe drive if it is connected to your PC and functioning correctly. It may also give you a more descriptive error message.