region RAM overflowed with stack

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

cross mob
Anonymous
Not applicable

Hello, I'm working in a project and I need use a librarys externs for that, when I include the library(isn't very big), the ram overflow and the debuggin stop, but the rom is almost empty. So, any solution for that?.

the message of error is: region RAM overflowed with stack.

I'm using the psoc creator 4.1 and the board CY8C5888LTI-LP097.

0 Likes
3 Replies
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hi Victor,

Could you share the project so that we can have a try at our side?

Thanks,

Ryan

Anonymous
Not applicable

Hi Ryan.

The project is for a fingerprint identification system, I get a image from a fingerprint sensor and so process the image into a psoc for extract the caracteristics of the finger and send it.

Now I compile the code in the creator without errors, but when programming the chip, the program simply hangs up.

Analyzing, I think the problem is that RAM (64KB) can not handle the size and amount of data I use in the code (the sensor input is an image of 240x216 bytes) and the algorithm itself is quite heavy.

Do you think that is what is happening?.

Thanks.

0 Likes

Can you please chose proper optimization option in Compiler build setting for the project.It will be helpful if you could share the project

0 Likes