Forums

HEX500 what sections need to be declared as : BOOT ?

Started by "mario.imaguire" February 28, 2008
Hi,

When I work with small programs my hex500 command file works very well:

==== begining: hex500 command file =====maqplas.out
-a
-boot
-bootorg PARALLEL
-memwidth 16
-map mapa_boot.txt

ROMS
{
FLASH1 : org = 00000h, len = 10000h, romwidth = 16
files = { rom_00000.asc }
}
==== end: hex500 command file =====
But when the programs "grows" is necessary to use:

==== begining: hex500 command file =====maqplas.out
-a
-boot
-bootorg PARALLEL
-memwidth 16
-map mapa_boot.txt

ROMS
{
FLASH1 : org = 00000h, len = 10000h, romwidth = 16
files = { rom_00000.asc }
}

SECTIONS
{
.text : BOOT
.bios : BOOT
.sysinit : BOOT
.glbinit : BOOT
.trcdata : BOOT
.bios:.norptb : BOOT
.rtdx_text : BOOT
.switch : BOOT
.hwi_vec : BOOT
.exdata : BOOT
.sysregs : BOOT
.sts : BOOT
.args : BOOT
.stack : BOOT
.log : BOOT
.rtdx_data : BOOT
.LOG_system$buf : BOOT
.const : BOOT
.trace : BOOT
.trace$buf : BOOT
.vect : BOOT
.cinit : BOOT
.pinit : BOOT

.hwi :
.pip :
.hst :
.sysmem :
.mem :
.dsm :
.cslregs :
.gio :
.cio :
.data :
.clk :
.prd :
.swi :
.sys :
.tsk :
.sysdata :
.csldata :
.TSK_idle$stk :
.bss :
.idl :

}
==== end: hex500 command file =====
In the second case how can I know what sections must be ": BOOT" ?
I am looking in the .MAP file and looking for the "INITIALIZED"
sections, its correct ?

Thanks,
Mario Imaguire

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467