1. Disconnect the Sun SPOT from the USB cable 2. Kill all the ant and java processes listening on the port 3. Hold the control button in for a few seconds until a double red flash indicates that the Sun SPOT has powered down (NB doing this *after* disconnecting). 4. Type this command at a command prompt: ant -Dport=xxx upgrade where xxx is the port name 5. Plug it in as soon as the ant script starts to complain that the port isn't available. *Don't* push the reset button: this isn't necessary and may confuse.