Other Parts Discussed in Thread: C2000WARE
I have a CCS10 project working fine with ram JTAG build on launchxl-f28479d. I have not been able to get it to boot from flash.
I created the flash configuration. It modifies the project: full optimization, add _FLASH define, remove DEBUG define, linker includes entry point=code_start and initiialiation model =line using ROM
When I enter debug mode, the flash is erased and seems to load correctly. I power the board off, set jumpers 1,2,3=on,on,off, remove jtag connection. Power on and no led flash=not running.
If I connect with jtag, and run in FLASH mode, it works fine.
My linker file is below. Am I missing another step?
thanks
SECTIONS
{
codestart : > BEGIN, ALIGN(4)
.text : >> FLASHA | FLASHB | FLASHC | FLASHD, ALIGN(4)
.cinit : > FLASHG, ALIGN(4)
.switch : > FLASHG, ALIGN(4)
.reset : > RESET, TYPE = DSECT /* not used, */
.stack : > RAMM1
.init_array : > FLASHG, ALIGN(8)
.const : > FLASHG, ALIGN(8)
.bss : > RAMGS4, ALIGN(4)
.bss:output : > RAMGS5
.bss:cio : > RAMGS5
.data : > RAMGS7
.sysmem : > RAMGS7
MSGRAM_CPU1_TO_CPU2 : > CPU1TOCPU2RAM, type=NOINIT
MSGRAM_CPU2_TO_CPU1 : > CPU2TOCPU1RAM, type=NOINIT
/* shared ram to transfer between cpu's */
CPU1TOCPU2_GS : > RAMGS8, ALIGN(4)
CPU2TOCPU1_GS : > RAMGS9, ALIGN(4)
.TI.ramfunc : {} LOAD = FLASHB,
RUN = RAMGS0 | RAMGS1 | RAMGS2 | RAMGS3,
LOAD_START(RamfuncsLoadStart),
LOAD_SIZE(RamfuncsLoadSize),
LOAD_END(RamfuncsLoadEnd),
RUN_START(RamfuncsRunStart),
RUN_SIZE(RamfuncsRunSize),
RUN_END(RamfuncsRunEnd),
ALIGN(8)
}