Hello,
_S_romp structure is defined in the link file (*.lcf) and is used for ROM to RAM copy at Startup.
_S_romp structure contains sequence of three word values per entry, the last entry must be 3 NULL words.
{
ROM Start Address
RAM Start Address
BLOCK Size
}
For software in Flash running from Flash, At Startup the BSP uses _S_romp to copy initilized data from Flash to their Ram location.
For software in Flash running from Ram, At Startup the BSP uses _S_romp to copy the Code from Flash to Ram and initilized data from Flash to RAM.
I Hope this helps..
Bye
<< Freescale MCF5234/35 with CodeWarrior 6.2 >>