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.
Tool/software: Code Composer Studio
Hello everyone,
I'm Leo,
I have a problem about debug F2802x LunchPad Demo code, I use CCS V6 to open the C2kLaunchPadDemo project, and folder path is default for controlSUITE as below:
C:\ti\controlSUITE\development_kits\C2000_LaunchPad\f2802x_examples\C2kLaunchPadDemo
I use default code function to compile & debug is ok, but when I change any code(such as mask some sub function), compile is ok but debug will appear a error :
C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: C:\ti\controlSUITE\development_kits\C2000_LaunchPad\f2802x_examples\C2kLaunchPadDemo\Flash\Example_F2802xLaunchPad_demo.out: Load failed.
How do I fix this problem? Thanks!
Leo
Dear Mark,
Thanks for your reply,
I try to load other demo project is ok, I can modify code and load program into the device normally.
But I found a different setting:
Iepwm_real-time_interrupts project is active - RAM,
C2kLaunchPadDemo is active - Flash,
if I change Iepwm_real-time_interrupts project to active - Flash, load program will fail...
So does this mean that flash of C2000 LaunchPad can not be changed?
Thanks & looking forward to your reply
Leo
Dear Mark,
Thanks for your reply,
I'm sure that my device is without code security.
I also found the solution for my problem, I select a wrong connection setting in my project properties.
Thanks four your help!
Leo
Leo,
I am glad that you figured it out on your own. IF you have any more questions, don't hesitate to create a new post.