Hello,
I work with a board with processor C6727 in CSS v6 and use "boot_c6727.asm"
I do not quite understand how you can make bootlodering from a parallel flash ( board is the same as evaluation board).
In map file bootloader is plased in 0x10000004 instead 0x90000000. Why?
My cmd file :
MEMORY
{
SDRAM : origin = 0x80000000, len = 0x1000000
IRAM : origin = 0x10000400, len = 0x3fc00
IRAM_BOOT : origin = 0x10000000, len = 0x400
FLASH_BOOT : origin = 0x90000000, len = 0x400
FLASH_REST : origin = 0x90000400, len = 0x1fc00
}
SECTIONS
{
// .boot_load : {} > FLASH_BOOT run = boot
.text : {} > FLASH_REST run = IRAM, LOAD_START(FLASH_TEXT_START), RUN_START(RAM_TEXT_START), SIZE(TEXT_SIZE)
.cinit : {} > FLASH_REST run = IRAM, LOAD_START(FLASH_CINIT_START), RUN_START(RAM_CINIT_START), SIZE(CINIT_SIZE)
.const : {} > FLASH_REST run = IRAM, LOAD_START(FLASH_CONST_START), RUN_START(RAM_CONST_START), SIZE(CONST_SIZE)
.switch : {} > FLASH_REST run = IRAM, LOAD_START(FLASH_SWITCH_START), RUN_START(RAM_SWITCH_START), SIZE(SWITCH_SIZE)
.stack > IRAM
.bss > IRAM
.cio > IRAM
.const > IRAM
.data > IRAM
.sysmem > IRAM
.far > IRAM
.args > IRAM
.ppinfo > IRAM
.ppdata > IRAM
/* COFF sections */
.pinit > IRAM
/* EABI sections */
.binit > IRAM
.init_array > IRAM
.neardata > IRAM
.fardata > IRAM
.rodata > IRAM
.c6xabi.exidx > IRAM
.c6xabi.extab > IRAM
}
And boot_c6727.asm file contains section ".boot_loader"
.sect ".boot_load"
.global _boot
.global ___binit__
.................................
CCS says : "section DPLogger.out(.boot_load) at 090000400h overlaps (boot table) DPLogger C/C++ Problem"
What is wrong?
2.
How to write the image into flash?
Do need me use some utitility or application?
CCS can do that?