Other Parts Discussed in Thread: C2000WARE
Hi team:
The customer's project is divided into bootloader and app, Bootloader in FLASH A-D and APP in Flash E-K.
Program can work normally when use JTAG to debug, but after loading program into flash and run, it can't run normally.
It seems that customer has copied the code from flash to RAM:
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
memcpy(&RamfuncsFapiRunStart, &RamfuncsFapiLoadStart, (size_t)&RamfuncsFapiLoadSize);
CMD文件:
.TI.ramfuncFapi : {
--library=../F2837xD_flashapi/lib/F021_API_F2837xD_FPU32.lib
}
LOAD = FLASHG,
RUN = RAMD1,
RUN_START(_RamfuncsFapiRunStart),
LOAD_START(_RamfuncsFapiLoadStart),
LOAD_SIZE(_RamfuncsFapiLoadSize),
PAGE = 0, ALIGN(4)
But the project still has this problem.
Best regards,
Green