there should only be 2 cases where a micro can be upset inside a noisy enviroment, the first is noise coupling through long or high impedance traces, the second is its supply rails / reset line, follow good decoupling practices on the supply rails, and add a pull up or pull down resistance on every pin that is not being driven hard, to ensure that both noise cant cause a glitch and secondly positive or negative going spikes have somewhere to go if coupled that strongly,