Does any one know why 20KB of 64KB SRAM has been used?

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

cross mob
Anonymous
Not applicable

Hi all

   

I am using PSoC 5LP Development kit. I used example project  "Hello world Blinky" and programmed. The output information  shows "SRAM used: 20797 of 65536 bytes (31.7%)". I wonder that why it costs such large spaces to run "hello world". Does any one know??

   


   


   

Thanks

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

That is the standard definition for stack and heap using as much memory. When you reduce the stack to 0x100 and the heap to 0 (I presume you are not using malloc() ) the ram-count will look much more friendlier.

   

Change the settings in the .cydwr-window under the "System" tab.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

A little more info -

   

 

   

    

   

          http://www.cypress.com/?app=forum&id=2233&rID=56286

   

 

   

Regards, Dana.

0 Likes