What motherboard? HDD controller?...As I have found on the internet, that certain Marvel 91xx, or J-micron controllers Put on some motherboards are buggy....and also, some do not play well with SSD drives.
Not saying this is the issue or causing the problem , But something to look into on the net.
So you should put up a detailed system Spec, and brand names, and dig deep into the features of the motherboard, and add on cards, OS, and software installed and or running in the background, for a nice posting so more can address and try to route it out better.
As Bob once mentioned to me, ..He stopped using SSDs, cause there were too many issues for him with them....And it went over my head...and I continued to over look that statement, which possibly killed the onboard controller, or something else...RMAing the board cleared the issue with a exact replacement of the brand and make and revision number...So no ssd for me...until I find the next board solution and R&D'd controller for them ssds.
Hope I do not lead you down the wrong road...but looking into it would be something to check.
And Post more specifics of your system...it really helps.
Best wishes.