For PowerPC processor, each core begins execution with the instruction at effective address
0x0_FFFF_FFFC, it maps to the end of IFC NOR flash by hardware.
In CodeWarrior project, please configure the project as "ROM" version, then rebuild this project.
The following is ROM version LCF file configuration.
MEMORY {
ram : org = 0x00002000, l = 0x7FFFFFFF
rom : org = 0xEFF10000, l = 0x000EEFFF
}
SECTIONS
{
_stack_addr = 0x003dfff0;
_stack_end = 0x003d7ff0;
_heap_addr = 0x3cfff0;
_heap_end = 0x3d7ff0;
.intvec 0xEFF00000 :
{
*(.intvec)
} = 0xffff
.reset 0xEFFFFFFC :
{
*(.reset)
} = 0x4
.init 0xEFFFF000 :
{
*(.init)
*(.init_data)
} = 0xFFC