Are you certain .......

....that the cord allows for data transfer, not just charging? Some cables only allow you to charge the device through the USB port. What version of Android OS was installed on your Samsung and which version are you trying to install over it ??