Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ Creator & Designer Forum Discussions

1 Solution
Len_CONSULTRON
Level 9
Level 9
500 solutions authored 1000 replies posted 750 replies posted

Ignacio,

There is a window in Creator called the "Resource Meter".  At the bottom is the current FLASH and SRAM predicted to be used.

Len_CONSULTRON_0-1626102350741.png

You will notice these resources are 'ghosted'.  These parameters are highly dependent on your application code.

Make a change in your application and the SRAM and FLASH usage will go up or down.

During the build process, an SRAM and FLASH usage is displayed and has more information.  See the results for an app of mine below.

Flash used: 7189 of 262144 bytes (2.7%).
SRAM used: 3814 of 65536 bytes (5.8%). Stack: 2048 bytes. Heap: 128 bytes.
--------------- Build Succeeded: 07/12/2021 11:07:00 ---------------

 

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

5 Replies
Len_CONSULTRON
Level 9
Level 9
500 solutions authored 1000 replies posted 750 replies posted

Ignacio,

There is a window in Creator called the "Resource Meter".  At the bottom is the current FLASH and SRAM predicted to be used.

Len_CONSULTRON_0-1626102350741.png

You will notice these resources are 'ghosted'.  These parameters are highly dependent on your application code.

Make a change in your application and the SRAM and FLASH usage will go up or down.

During the build process, an SRAM and FLASH usage is displayed and has more information.  See the results for an app of mine below.

Flash used: 7189 of 262144 bytes (2.7%).
SRAM used: 3814 of 65536 bytes (5.8%). Stack: 2048 bytes. Heap: 128 bytes.
--------------- Build Succeeded: 07/12/2021 11:07:00 ---------------

 

Len
"Engineering is an Art. The Art of Compromise."

I can't see the "Memory" section in the resource meter, how can i activate it?

 
0 Likes

Ignacio,

I'm using Creator 4.3.

To get access to the "Resource Meter" you have to select the TopDesign tab.

If the memory section is still missing, I'm not sure why it is.

However, you can get the FLASH and SRAM usage from a Rebuild of the project.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
ezearce12
Level 1
Level 1
First reply posted Welcome!

I have the same problem in psoc creator 4.4.

I cant see the memory tab in the Resource Meter, and i can't see the result in the build process either.

0 Likes
Rakshith
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Can you please let me know the device that you are using?

You can also use the CyElfTool (for PSoC 4 and PSoC 5LP devices) and CyMCUElfTool (for PSoC 6 devices)

Please refer to the following documents - 

1. For CyElfTool - CyElfTool Command Line Tool Section in PSoC Creator User Guide

2. For CyMCUElfTool - CyMCUElfTool User Guide 

Hope this helps.

Thanks and Regards,
Rakshith M B
0 Likes