cancel
Showing results for 
Search instead for 
Did you mean: 

stack start-top adress

ozenozkaya
Associate II
Posted on July 07, 2009 at 22:07

stack start-top adress

2 REPLIES 2
ozenozkaya
Associate II
Posted on May 17, 2011 at 09:59

Hi,

I am an software engineer in Turkey and we have been using str91 in one of our automotive project. While trying to change the start adress of stack, we are having some troubles. We have a ram region betweeen 0x4000000 - 0x8000000 and as in my opinion stack overlaps with this ram region. We are suffering this problem espicially while reading st's 1gb 8x flash memories. While reading it page by page (2048 byte at once). Please help me for carrying the stack memnory far form 0x4000000, for example to 0x6000000 on the ram region 0x4000000 - 0x8000000.

Thanks a lot.

Ozen Ozkaya

rich2
Associate II
Posted on May 17, 2011 at 09:59

You haven't mentioned your tool chain or programming language, but I'll take a guess that's a HLL. In this case your compiler's startup code will set the initial stack pointer. If you're using an OS, the OS will set this for you in one of their configuration files (check your OS documentation if this is the case).

Hope this helps,

Rich