I am running modified program from controsuite 2XPM_Sensorless in TMDSDOCK28035 using XDS510USB emulator.
I can compile and link and flash, however it boots from Flash and my program runs fine only if I uncomment the folowing instructions in the original code:
//#ifdef FLASH
MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
InitFlash();
//#endif //(FLASH) and
// while (EnableFlag==FALSE) // { // BackTicker++; // } These instructions are there in the original 2XPM_Sensorless.c file. Can anybody explain what settings I am missing while building the project.