My code boots from FLASH and call CLA program, so I little bit modify 2803xClaAdcFirFlash example (ccs5)
C:\ti\controlSUITE\device_support\f2803x
But it did not work properly, even I ran the origin example without any modification.
After several days working around :( , I found that the memory copy function is quite strange
memcpy((uint16_t *)&RamfuncsLoadStart,(uint16_t *)&RamfuncsRunStart, (unsigned long)&RamfuncsLoadSize);
memcpy((uint16_t *)&Cla1funcsLoadStart,(uint16_t *)&Cla1funcsRunStart, (unsigned long)&Cla1funcsLoadSize);
My code works well from flash with following changes:
memcpy((uint16_t *)&RamfuncsRunStart, (uint16_t *)&RamfuncsLoadStart, (unsigned long)&RamfuncsLoadSize);
memcpy((uint16_t *)&Cla1funcsRunStart,(uint16_t *)&Cla1funcsLoadStart, (unsigned long)&Cla1funcsLoadSize);
Hope this will save time of other guys