- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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..
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If i use any external memory can i store the CODE in that ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In your error screen it shows an array in RAM declared as 8,000 words, 16KB.
That will eat up 8 KB 🙂
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If my Program code is more than 8KB will the PSoC creator show ADDRESS Overflow??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At a minimum statck overflow will occur at runtime.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
RAM and FLASH are different, your code (program) store in flash not RAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.