I am using CCS 3.3 to compile previous 6720 bootloader program. However, the code generation tools v6.1.20 output the "no matching section" warning. i also found that int the memory map, the TIBoot section was not put into the adrress specified below, and the TIBootStrap was written in for only 4 bytes. For now i can do the emulation, but i fear that if i burn the flash without the bootloader code, i cannot boot anymore. Below is part of the linker command. Anyone tell me how to burn the flash WITH the .TIBootStrap and .TIBoot code?
SECTIONS
{
/*-------------------------------------------------------------*/
/* The sections, .TIBootStrap and .TIBoot are required for */
/* for use with secondary boot loader. Please do not change */
/* any part of this declaration. Changing this allocation will */
/* break the secondary boot process. */
/*-------------------------------------------------------------*/
.TIBootStrap {.+= 4;} load = 0x10000000
.TIBoot { *(.TIBoot)
.\Debug\TISecondaryBoot.obj (.switch)
} load = 0x10002400,
LOAD_SIZE(_TIBOOT_SEC_SIZE),
RUN_START(_TIBOOT_SEC_RUN_ADDR)
/*-------------------------------------------------------------*/
/* Sample allocation for Compiler generated sections that may */
/* be defined in application code. */
/*-------------------------------------------------------------*/
.stack > IRAM_DATA
.bss > IRAM_DATA
.cinit > SDRAM_DATA
.pinit > IRAM_DATA
.cio > IRAM_DATA
.const > SDRAM_DATA
.data > IRAM_DATA
.sysmem > IRAM_DATA
.far > IRAM_DATA /* Sample allocation for compiler generated section */
.TIBootStrap > IRAM_BOOT0
.TIBoot > IRAM_BOOT1
dmax_in_data > IRAM_DATA
dmax_out_data > IRAM_DATA
.switch > IRAM_CODE
.text { *(.text)
} load = IRAM_CODE
appText { /* Specific allocation for example */
*(apptext) } load = IRAM_CODE
sdram_data > SDRAM_DATA
sdram_code > SDRAM_CODE
}