Galaxy S6 USB connection to pc

A

AC Question

When I connect the phone to PC via USB, it connects for a moment and disconnects, and keeps connecting and disconnecting in a loop, I tried with different cables and on different computers (windows and mac). and after about 10 times of connect and disconnect in a row, windows notifies "the device is not recognizable".