Other Parts Discussed in Thread: MSPM0L1305
Tool/software:
Hello,
When I deubg MSPM0L1305, I find the program runaway when "select optimization paradigm/Levle (-O) " as 1 In CCS12.5.0. But when I set "select optimization paradigm/Levle (-O) " as null, It can runs normal.
I open debug window to see memroy browser, I find stack ram data is unexcepet in "select optimization paradigm/Levle (-O) " = 1, and stack ram data is right in "select optimization paradigm/Levle (-O) " = null.
I adjust the size of stack_size from 256 to 512, it runaway also. and i adjust the size of stack_size from 512 to 1024, it runs OK. But the real size of stack used about 200 bytes.
So I want to know why the program will runaway when "select optimization paradigm/Levle (-O)" = 1?