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.

Compiler/CC1310: VerifyBuf overwrites global variable

Part Number: CC1310

Tool/software: TI C/C++ Compiler

Hi support

I have a program which loops through a task at a specifc interval. I have made a global variable while debugging to check how many times it has iterated through the loop.

Recently though, instead of counting up to 1 the first time it counts up to 61. This is due to the verifyBuf overflowing into it. What, when and how are this buffer filled?

I have difficulties finding out what the verifyBuf actually does and why it all of a sudden starts to overflow.

The program is simplified a CC1310 communicating with a MSP430 via I2C. A list of approx 30 struct containing the necessary data is run through a loop, which calls a function that handles the I2C communication.

It is during this that the verifBuf is written to.

This is the call stack.

The memory browser:

And the function in system.c that overwrites my variable

Hope this is enough info or please let me know

Regards

Lasse