Cisco switch 3500 series - Boot problem - Recovery Procedure

If your cisco device has troubles booting, and you need to copy a new image to the switch/router, you can following these guide lines.
Delete the current image on the switch

delete flash:c3500xl-c3hls-mz.120-5.WC9A.bin

Save the new image (fe c3550-i9q3l2-mz.121-22.EA7.bin).
Prepare the switch to accept the Xmodem file transfer:

copy xmodem: flash:c3550-i9q3l2-mz.121-22.EA7.bin

To send the file choose ‘Transfer > Send File’ from the top of the HyperTerminal window. Choose the ‘Xmodem’ protocol in the Send File dialog box, click ‘Browse’ in order to select the IOS image and click ‘Send’. This transfer can take up to 2 hours.
To boot the new image enter:

boot flash:c3550-i9q3l2-mz.121-22.EA7.bin

Verify with

sh ver
dir flash:
sh boot

If no boot statement is set or if the boot statement still points to the old version, configure the correct boot statement:

switch#conf t
switch(config)#boot system flash:c3550-i9q3l2-mz.121-22.EA7.bin
switch(config)#end