I am working with CCS Version 6.0 on Win8.1, trying to program a Delfino TMS320F28377D with an algorithm that i used on a PC-based real time system before. I am not experienced with DSP programming, but i guess the code might be a large for the Delfino.
I was building up the project sucessfully since a few months step by step, but since a few days i am encountering weird problems such as:
- I declare an additional variable after which different code lines that worked before do now not work anymore.
- a static variable in a small function, assigned only at one point in this function, has a different value when re-entering the function
Other posts describing similar problems seemed to be related to stack overflow. So I tried to double the stack size in the project properties (from 0x100 to 0x200), which didn't solve the problem. Moreover i could not find how to set a breakpoint on stack overflow to identify if this is really the problem.
My linker file contains:
RAMM1 : origin = 0x000400, length = 0x000400
and:
.stack : > RAMM1, PAGE = 1
which seems to be related to the stack size. But i am not experience with configuring this linker file.
Im kinda lost. Anyone has an idea how i should approach this problem?