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.
Hi, I am using CCS 4.2.1 on windows XP platform.
After creating new workplace & importing existing project file( eg. 2xPM_Sensorless_v1_1 available in control SUITE) it works fine as i was able to debug & hence FLASH memory was also getting erased.
But after closing the project & again opening the same, it is showing error at debug level "An error was encountered when attempting to load the program". Further in details of error it is coming like " Failed to load program TMDS2MTRPFCKIT-2XPM_sensorless.out on target Texas Instrument XDS100V1 USB Emulator_0/C28xx".
Also at the same time console message was coming :-
C28xx: Flash Programmer: Missing Flash Programming Settings.
C28xx: Flash Programmer: Error erasing Flash memory.
C28xx: Flash Programmer: Missing Flash operation option. Operation cancelled.
C28xx: Trouble Writing Memory Block at 0x3f2000 on Page 0 of Length 0x371
Cannot write to target
Help me out of this issue.
Please take a look at this related thread and try the tips suggested there: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/83837.aspx
If deleting/recreating the targt configuration does not help, try opening a new workspace and importing your project into it before attempting to debug again. Also note that CCS 4.2.1 is a rather old version. I would suggest at least updating to 4.2.5 if moving to CCSv5 is not an option right now.