Device Powering Down Unpredictably
The PC I was using was brand new, and the problem was the automatic reboot, not loose cables. I tried a solution that worked for me.
It works good now!