This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52 RAM memory usage

I have seen this topic:

devzone.nordicsemi.com/.../

and a few others, in an attempt to visualize the RAM usage of my project. I currently use GNU ARM Embedded (gcc) for compiling. I do have a .map file but it just doesn't load into this website library (nothing happens).

Can I get any estimation of my RAM usage somehow?

Parents
  • Hi Felipe,

    I recommend using Segger Embedded Studio since you're using GCC, it has a memory usage window that shows you how much FLASH and RAM you're using, see the screenshot below.

    You can find a tutorial on how to import the Keil Projects from our SDK in to SES [here] (devzone.nordicsemi.com/.../).

    Best regards

    Bjørn

    image description

    image description

  • Hi Felipe, I have not used SES that much yet as we mostly use Keil at work, but I have SES setup at home and use it for my personal projects. As far as I know there is not an option to import a custom project, so I am afraid that you will have to do it manually, i.e. add .c and .h files, and setup the compiler options. However, if you just follow the guide and import one of the SDK examples, then you can use that as a reference for the settings.

    My personal opinion is that SES is much easier to setup and use compared to Eclipse. SES has a Pre-built C/C++ Compiler so you do not need to fetch the GNU toolchain compiler in addition to the IDE and it also has a built-in debugger so you do not have to go through the hassel of setting up GDB.

Reply
  • Hi Felipe, I have not used SES that much yet as we mostly use Keil at work, but I have SES setup at home and use it for my personal projects. As far as I know there is not an option to import a custom project, so I am afraid that you will have to do it manually, i.e. add .c and .h files, and setup the compiler options. However, if you just follow the guide and import one of the SDK examples, then you can use that as a reference for the settings.

    My personal opinion is that SES is much easier to setup and use compared to Eclipse. SES has a Pre-built C/C++ Compiler so you do not need to fetch the GNU toolchain compiler in addition to the IDE and it also has a built-in debugger so you do not have to go through the hassel of setting up GDB.

Children
No Data
Related