I have a USB port that "tweaks" a bit on the Leonardo, but I can push it through if it stalls on an upload for more than 5-8 seconds by hitting the reset on the Leonardo. See if using another USB port for the Leonardo and Diecimila or if you have an USB hub you can test. My USB hub works 100%, but the stock USB is 50/50 on my older notebook.