This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

A Bug in 2803xClaAdcFirFlash ccs5 examples

Other Parts Discussed in Thread: CONTROLSUITE

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