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

cross mob
Tim
Level 2
Level 2
First solution authored 10 replies posted 10 sign-ins

I'm using a CY8C20234 and the Stack Pointer appears to be in the first page.  The CY8C20234 has 512 bytes of ram.  It looks like the second page of 256 bytes may not be being used at all.  It looks like if its in the large memory model then the stack pointer could be set to use the second page.   How do you set PSoC Designer to use the large memory model?  At the moment it looks like the part is running out of stack space.  Or another way to think about it is that its running out of data space for the variables not leaving enough space for the stack.  So if there was a way to use the additional 256 bytes of Ram that is what is needed.

0 Likes
1 Solution
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello @Tim,

The settings for the stack page can be accessed through <Project main menu><Settings>. Click the project name, and enable paging. You can also set the offset number of bytes into the stack page. Kindly refer to the following picture.

SampathS_11_0-1651205071783.png

 

Best regards,

Sampath Selvaraj

 

View solution in original post

0 Likes
1 Reply
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello @Tim,

The settings for the stack page can be accessed through <Project main menu><Settings>. Click the project name, and enable paging. You can also set the offset number of bytes into the stack page. Kindly refer to the following picture.

SampathS_11_0-1651205071783.png

 

Best regards,

Sampath Selvaraj

 

0 Likes