7 years, 11 months ago.

STM32F030RC 24kB RAM issue

Hello,

I am using an STM32F030RC uC in one of my projects. It has a total RAM of 32kB and 256kB sized flash memory. Right now I am facing a critical issue in which my program gets stuck if its static RAM usage goes above 24kB (measured from bss+data segment) though the total RAM size, as described before, is 32kB. Has anyone faced this kind of issue before, specially in ST uCs?

1 Answer

7 years, 11 months ago.

Hi, for the first point of view, I propose you that you should take some efforts to do optimization for your code. Reduce your global variable in your code may be a feasible means. Moreover, if one RTOS is integrated your code, you may also constrain the tasks number. Wish it's helpful for you.