AnsweredAssumed Answered

How a code is executed in stm32/ARM Cortex M controllers

Question asked by arbitrer on Jul 19, 2015
Latest reply on Jul 19, 2015 by Clive One
I know that when a c program is compiled and flashed it goes into the flash memory and the flash memory contains the text section, initialized variable section and Read only section.

So I just want to know when a program actually executes does it gets copied to RAM or just the controller takes each instruction from Flash and executes without bringing it to RAM?

I'm Little confused please help me...

Outcomes