Try the procedure in this thread, How To: Reinstall OS When Computer Won't Recognize The Device Is Connected. But be very careful and patient. How long did you wait to declare it was stuck. It can be up to 20 to 30 minutes.
Hope this helps.
~via My BB Curve (wap.pinstack.com)~