I have try to download my program to dm6437's flash, but the program can not boot after reboot. I doubt the cmd file is not correct. Additional i want to know how to distinguish these two cases: load all the program to run in ram after boot, load part of the program to run in ram after boot. In different cases should we how to write the correct cmd file? The following is my cmd file.
-l rts64plus.lib
-l lib\SEED_DEC6437bsl.lib
-stack 0x01000000 /* Stack Size */
-heap 0x05000000 /* Heap Size */
MEMORY
{
BOOT_RAM: o = 0x10800000 l = 0x00000400
INT: o = 0x10800400 l = 0x00000400
L2RAM: o = 0x10800800 l = 0x00020000
DDR2: o = 0x80000000 l = 0x8000000
}
SECTIONS
{
.boot_load > BOOT_RAM
.bss > L2RAM
.cinit > L2RAM
.cio > L2RAM
.const > L2RAM
.data > L2RAM
.far > L2RAM
.stack > DDR2
.switch > L2RAM
.sysmem > DDR2
.text > DDR2
.vectors > INT
.ddr2 > DDR2
}