Part Number: TMS320F28388D
Dear support,
Now I can write the flash space,
specific addresses can be written with specific value.
but it looks like that the flash can not write itself when it's running.
I use the following cmd file to load the program on flash, and run it on RAM.
GROUP
{
.TI.ramfunc
{ -l F2838x_C28x_FlashAPI.lib}
//.const
//.switch
//.init_array
//.cinit
} LOAD = FLASH4 ,
RUN = RAMGS2_13,
LOAD_START(RamfuncsLoadStart),
LOAD_SIZE(RamfuncsLoadSize),
LOAD_END(RamfuncsLoadEnd),
RUN_START(RamfuncsRunStart),
RUN_SIZE(RamfuncsRunSize),
RUN_END(RamfuncsRunEnd),
ALIGN(8)