Hi timiil,
I don’t think downgrading the firmware will be the answer to your problem, but you do need to make sure your SD image matches your firmware. The board usually hangs when certain shields are used with the board while uploading sketches. I suggest you to remove all unnecessary shields and devices while uploading sketckes and connect them again once the uploading process is complete.
Regards
Sergio