Hello,
I am working on STM32L431VC. I am using FreeRTOS and RTT technology to read logs from code. In FreeRTOS there is special #define (configTOTAL_HEAP_SIZE) to determine how much RAM FreeRTOS will use.
Recently I had to change this value from 20kB to 30kB. I noticed that RTT (and with it SystemView) stopped working. The clear root cause could be that I run out of RAM on my system.
But this is not a case, my STM32L431VC has 64kB of RAM, and with configTOTAL_HEAP_SIZE = 30 kB I can still allocate (with malloc) 20 kB in main() so probably 20kB is more then enough for RTT.
I found similar problem on nordic semi webpage devzone.nordicsemi.com/f/nordi…sing-more-than-8kb-of-ram but increasing the BUFFER_SIZE_UP to 2048 (which helped) do not work for me.
has anyone encountered such a problem? I will be very grateful for any help.
Best,
Marcin
I am working on STM32L431VC. I am using FreeRTOS and RTT technology to read logs from code. In FreeRTOS there is special #define (configTOTAL_HEAP_SIZE) to determine how much RAM FreeRTOS will use.
Recently I had to change this value from 20kB to 30kB. I noticed that RTT (and with it SystemView) stopped working. The clear root cause could be that I run out of RAM on my system.
But this is not a case, my STM32L431VC has 64kB of RAM, and with configTOTAL_HEAP_SIZE = 30 kB I can still allocate (with malloc) 20 kB in main() so probably 20kB is more then enough for RTT.
I found similar problem on nordic semi webpage devzone.nordicsemi.com/f/nordi…sing-more-than-8kb-of-ram but increasing the BUFFER_SIZE_UP to 2048 (which helped) do not work for me.
has anyone encountered such a problem? I will be very grateful for any help.
Best,
Marcin