In Cortex M3 micro controller, When will variables in .data section of Flash are copied to SRAM,Is it before fetching of reset and initial SP pointers or later? Am using Keil4 and LPC 1778.
Here's how it normally goes:
.data
from FLASH to RAM and zeroes .bss
;For example:
.data
and .bss
init :http://repo.or.cz/cbaos.git/blob/HEAD:/kernel/init.c