Here is the background of what I am trying to do:
1. I am using CCS V4.2.1 with windows 7
2. Using TMDSDOCK28035, the control card does not have emulator (older version), I am using XDS510LC USB Jtag emulator for programing
3. Installed ControlSUITE from TI web under C:\TI
4. Using 2XPM_Sensorless program in the directory LVMultiAxis+PfcKit_v1.4 in the ControlSuite.
5. I bought TMDS2MTRPFCKIT, however starting from scratch to learn on the controlcard first.
Problem:
I can compile and produce the .out file and load into the flash by selecting Flash option in active build configuration. However, when I see the program execution I realized the operation is stuck in the following code
// Waiting for enable flag set
while (EnableFlag==FALSE) { BackTicker++; }
in the 2XPM_Sensorless.c file. So, I commented out this part and then loaded the new .out file. This is better and the execution goes to A,B,C tasks etc and I can insert small LED blinking stuff there and it works.
However, it looks like to me the program is still in RAM, because when I power off and then turn on, the program goes away. Since I have used flash option, why is this problem ???