- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I see how much memory use the program from the MCU - flash and RAM ?
Solved! Go to Solution.
- Labels:
-
PSoC Creator Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Currently, PSoC Creator 4.2 is not showing the total amount of SRAM/FLASH when compiling PSoC 6 projects.
The Software team is evaluating how to proper calculate the amount of memory. There are some complications when handling dual-core generated code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Creator 4.1 after a successful build the required flash and sram amounts are presented in green colour in the notice list window.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for fast reply. I have had to give more details. It is Creator 4.2 and I use PSoC6 development kit. There is no any info for the memory used.
I made one change in the source code, cleaned and rebuilt the project after this and the result was again the same - no info about the usage. I checked .rpt and .map files, but again there is no such an info!?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that's why I mentioned 4.1
In 4.2 have a look at the Resource meter, there is a memory section.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I looked, but I could not find there too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Currently, PSoC Creator 4.2 is not showing the total amount of SRAM/FLASH when compiling PSoC 6 projects.
The Software team is evaluating how to proper calculate the amount of memory. There are some complications when handling dual-core generated code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK,
But how can I have a feedback how much memory I have and how can I be sure that my code is not in critical levels?
It is very important issue for my project and I need to know somehow the memory usage, even with 5 to 10% tolerance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can take a look at the memory map files generated by Creator. They will list all variables allocated (SRAM and FLASH) and functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you