Is there is some connection failure. It could mean a motherboard or other part. Get estimates.

It's not software. I've seen folk reload OSes, format drives and lose a lot of money in repair tackling what it is not.