Firmware · Memory and DMA

The stack and how it overflows

A microcontroller's stack is a small fixed area of RAM, and running past its end can corrupt other data without any warning.