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.

CC2650: Memory size problem

Part Number: CC2650

Hello

I would like to know how to know the code size limitations on the CC2650.
I encounter a lot of problems. By removing some of my code, I am again functional.

moreover according to my code the OAD function works or not.

here is the information of my .map

42 487 bytes of readonly code memory
3 086 bytes of readonly data memory
10 340 bytes of readwrite data memory (+ 64 absolute)

can you tell me how to know if I'm going overflow my memory.

or info i have an extern flash for OAD OFF-CHIP.

Thanks

  • Do you mean overflow the memory while your system is running, or building code that doesn't fit?

    The build environment will tell you when your code is too big to fit in the device. You can get a little back by fiddling with the sizes of your stacks and making sure the number of processes you are running match the number you are allocating in your configuration setup.

    The ROV is probably the best tool to keep an eye on your dynamic memory usage, and see the size of the stacks and whether your system is overflowing those.
  • Hello.

    my problem appears when running the code.
    I had to delete a 4000 bytes variable for my code to work. IAR does not alert me to an overshoot.

    Can you tell me the method to activate the ROV

    Thank you

  • I don't use IAR (we use code composer studio) so I am not sure whether the ROV is available or how you start it within that environment. Are you allocating the variable dynamically (i.e. using malloc) or declaring it statically?
  • Hi,
    Are you still having problem with memory? Could you also share the STACK .map figures.

    Also, it would help if you answered the question from David.