I had the same sort of problem,my erections were not hard enough, no morning wood, ED all of them at the same time for about 5 or 6 months.
I went an urologist 1 months ago and he told me that I have prostatitis caused by an early infection at my urine canals. He told that prostatitis is causing these problems and it has no %100 treatment. He gave me 3 antibiotics to use for 3 months and told that %80 of people having prostatitis cured with this treatment. It is getting better now. I have morning wood now, not hard enough but better than before and no ED.
Try searching prostatitis on the net. Maybe you have it too.
Sorry about bad English.