You are here

Error(OVERFLOW) | Cypress Semiconductor

Error(OVERFLOW)

Summary: 8 Replies, Latest post by danaaknight on 20 Aug 2012 06:59 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
user_209526657's picture
User
41 posts

When i build the my Project i faced OVERFLOW error,i have sent that error in PIC,

Please give some info in avoiding that error..

Attachments: 
user_1377889's picture
User
10803 posts

You've exhausted the availabel amount of Ram, check your variable data requirement.

Your PSoC3 has got only 8KB of SRam and you tried to use something like 48K. Reduce amount of Ram used or switch to PSoC5

 

Bob

user_209526657's picture
User
41 posts

 If i use any external memory can i store the CODE in that ??

user_1377889's picture
User
10803 posts

No, code is not executed in external memory. But it is not flash you are short of, it is SRam!!

Have a look at the output files (.rpt,  to see where you burn that amount of ram

Bob

user_14586677's picture
User
7648 posts

In your error screen it shows an array in RAM declared as 8,000 words, 16KB.

 

That will eat up 8 KB :)

 

Regards, Dana.

user_209526657's picture
User
41 posts

 If my Program code is more than 8KB will the PSoC creator show ADDRESS Overflow??

 

user_14586677's picture
User
7648 posts

At a minimum statck overflow will occur at runtime.

 

Regards, Dana.

H L
user_460349's picture
User
1362 posts

 RAM and FLASH are different, your code (program) store in flash not RAM.

user_14586677's picture
User
7648 posts

Code is stored in FLASH, Stack in RAM. Were you referring to

8 KB code (FLASH) or 8 KB RAM usage ? If 8 KB RAM youi have no

space for Stack.

 

Regards, Dana.

Log in to post new comments.