Part Number: TMS320F28379D
Hi,
I am trying to use the CLA coprocessor and in standalone mode one has to copy the cla binary from flash to ram. With debug start I don't encounter any problems and the code is copied over. However when I start it in standalone mode and stop after the copy, the target memory range is empty(all zeros) even though the binary is in FLASHN(checked it with disassembly at Cla1ProgLoadStart).
This is the copy code:
memcpy((uint32_t *)&Cla1ProgRunStart, (uint32_t *)&Cla1ProgLoadStart,
(uint32_t)&Cla1ProgLoadSize )
this is the relevant *.cmd code:
Cla1Prog : fill = 0x5555 //fill value for holes
{
.+=0x4; // empty space at head of section
*(Cla1Prog)
}
LOAD = FLASHN,
RUN = RAMLS1,
RUN_START(_Cla1ProgRunStart),
LOAD_START(_Cla1ProgLoadStart),
LOAD_SIZE(_Cla1ProgLoadSize),
PAGE = 0
Regards,
Gabor