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.

STRANGE MEMORY ISSUE.DO NOT KNOW THE EXACT CAUSE.

Other Parts Discussed in Thread: CC430F6137

Hi,

Below figures are my screen shots after introducing of dummy array for previous problem .

THIS IS WATCH WINDOW.

THIS IS MY MEMORY WINDOW.

Does that introducing the dummy array would cause the problem after burnt to the target board.

How can i resolve it.Is debugger causing it or CCS or my code.

If you need more info I can give more details related to the problem.

Please let me know how to resolve it.

Thanks in advance,

JAGAS EDARA.

  • JAGAS EDARA said:
    introducing of dummy array for previous problem

    what previous problem?

    bss and dummy start at the same address, because bss is teh start of the whoel segmetn your variables are in and dummy is just the first one in it, so it starts at the start.

    After all 'bss' and 'dummy' are only symbols of address values and not 'objects'. They have a value (0x1c00) but no physical size.

    The array itself, however, increases your ram usage by 260 bytes. maybe this is causing your trouble. Depending on the MSP and your other code, you might run out of stack space and experience a stack overflow. From the linker file you posted in the other thread, I get that you're using the CC430F6137, which has only 4k ram total. So this array consumes 6.4% of your total ram. i don't know what the rest of your code uses.

    However, you do not write at all what your problem is. What problem do you actually have? From your posted screenshots I may see soem questions (and I answered one) but no problem at all.

     

**Attention** This is a public forum