I had the same issue. persevere with it, it took me 7x and a different usb lead (was using a generic one at first) then on the 7th emergency firmware install and the 1st time of using a samsung usb lead that came with the phone it uploaded,
Previously it would fail at different intervals (ie 10% 23% 90% etc etc) but on the 7th time it did work !!