title: AVR MCU crashes, no logical error in code. What should I check?
body: <p>I am using a megaAVR for an embedded project, coded in C. The device crashes for no apparent reason sometimes. Meaning there is no logical error in the code.</p>
  
  <p>So my question is what are the things to check if you have that type of crashes?</p>
  
  <p>My suggestions:
  Stack - Uses too much stack.
  Memory - Not applicable, does not use malloc.</p>
  
  <p>More? 
  What kind of AVR specific could it be?</p>