What Actually Happens Inside a Microcontroller When You Turn It On?
A microcontroller does not simply wake up and run your application. Reset logic, boot memory, startup code, clocks, and memory initialization prepare the chip before your first line of application code executes.