Big capacitor near microcontroller - Circuit stops working

Sorry - I didn't catch that.

Still it is difficult to explain this issue besides faulty wiring. Other than that I would check reset, power (including brown-out detection) and clock.