I'm working with the flash_programming_cpu01 project for the F2837xD controlCARD. Because some of the code updates internal flash it must execute from internal RAM.
Wheee!! multiple breakpoints!
Not so fast... :(
I can set a breakpoint in main() which executes from flash. If I set a breakpoint in a function in a different file the breakpoint is bypassed. The function in the other file is in RAM as are some of the original example function:
#pragma CODE_SECTION(test_ECC, "ramfuncs");
void test_ECC(int type) {
...
}
There are variables set in the function so I do know that it executes and I can step into the function and step through it, but it would be much more convenient to start at main and just run to a breakpoint in the function.
I've searched this board for an answer and most of the other problems involve error messages when the breakpoint is set. I see none. The CCS breakpoint window shows nothing unusual when I set or remove this breakpoint.
I am using the default optimization settings for this project (optimization off.)
I found a reference to
but it did not seem applicable to this.
Is there something else I have overlooked?
At present this is a modification of an example project and includes no proprietary code so I could submit it if that would be helpful.
This is CCS 6.2.0.00050.
Thanks!