APP Project LCF file configuration about __initialized_intc_handlertable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

APP Project LCF file configuration about __initialized_intc_handlertable

713 Views
明伟张
Contributor III

I have a problem about the APP project LCF  file configuration about __initialized_intc_handlertable for bootloader function,the mcu is 5606b,please help me check the LCF configuration.thanks a lot.

compiler have the warnning:

微信截图_20180109153144.png

LCF configuration as follows:

=======================================================================

/* lcf file for MPC560xB processors */
/* */
/* 1 MB Flash, 80KB SRAM */


MEMORY
{
resetvector: org = 0x00018000, len = 0x00000008
init: org = 0x00018020, len = 0x00000FE0
exception_handlers: org = 0x00019000, len = 0x00001000
internal_flash: org = 0x0001A000, len = 0x00164700
app_version: org = 0x0017E700, len = 0x00000100
isr_vectors_table: org = 0x0017E800, len = 0x00001800

internal_ram: org = 0x40000000, len = 0x00012000
ccp_data_ram: org = 0x40012000, len = 0x00002000
heap : org = 0x40014000, len = 0x00001FF0
stack : org = 0x40016000, len = 0x00001FF0

}


/* This will ensure the rchw and reset vector are not stripped by the linker */
FORCEACTIVE { "bam_rchw" "bam_resetvector" }

SECTIONS
{
.__bam_bootarea LOAD (0x00018000): {} > resetvector

GROUP : {
.init LOAD (0x00018020) : {}
.init_vle (VLECODE) LOAD (_e_init) : {
*(.init)
*(.init_vle)
}
} > init

GROUP : {
.ivor_branch_table (VLECODE) LOAD (0x00019000) : {}
.__exception_handlers (VLECODE) LOAD (_e_ivor_branch_table) : {}
} > exception_handlers

GROUP : {
.text : {}
.text_vle (VLECODE) ALIGN(0x08): {
*(.text)
*(.text_vle)
}
.rodata (CONST) : {
*(.rdata)
*(.rodata)
}
.ctors : {}
.dtors : {}
extab : {}
extabindex : {}
} > internal_flash

GROUP : {

.Caldata_RAM ALIGN(0x1000) : {}
} > ccp_data_ram

.__app_version LOAD (0x0017E700) : {} >app_version
.__initialized_intc_handlertable LOAD (0x0017E800) : {} >isr_vectors_table

GROUP : {

.data : {}
.sdata : {}
.sbss : {}
.sdata2 : {}
.sbss2 : {}
.bss : {}
} > internal_ram
}

/* Freescale CodeWarrior compiler address designations */

_stack_addr = ADDR(stack)+SIZEOF(stack);
_stack_end = ADDR(stack);
_heap_addr = ADDR(heap);
_heap_end = ADDR(heap)+SIZEOF(heap);


/* Exceptions Handlers Location (used in Exceptions.c IVPR initialization)*/

EXCEPTION_HANDLERS = ADDR(exception_handlers);

/* L2 SRAM Location (used for L2 SRAM initialization) */

L2SRAM_LOCATION = 0x40000000;

============================================================

Tags (2)
0 Kudos
1 Reply

593 Views
mohammedzakari1
Contributor I

Hi,

Did you got the solution for this issue? I am facing the same for my CodeWarrior. Same 3 warnings as yours, wondering if you or someone can help on this please.

Appreciated the help.

Thanks,

Mohammed

0 Kudos