Re: Global Variables Being Overwritten
- From: Tim Wescott <tim@xxxxxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 17:15:58 -0700
jgurtner wrote:
BINGO! Thanks a million!You want to look for a thing called a 'linker command file'. If you're lucky the extension will be documented. If you're _really_ lucky about 30% of the syntax will be documented. After that you're on your own. Usually these have a way of locating segments -- you need to figure out how to tell it not to let data and stack collide.
you wrote:
"Some suggestions:
- Check your stack placement. Make sure it's not colliding with data
space. "
My compiler automatically placed the stack right in the middle of my
data. The stack was set to 80 bytes. I reset the size to 255 bytes
and the compiler moved it out in the open away from my other data.
(Not an major issue, but still not sure how to specify the exact
placement of the stack with my compiler).
Now the stack has plenty of room to expand!
Thanks again!
JimG
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Posting from Google? See http://cfaj.freeshell.org/google/
"Applied Control Theory for Embedded Systems" came out in April.
See details at http://www.wescottdesign.com/actfes/actfes.html
.
- References:
- Global Variables Being Overwritten
- From: jgurtner
- Re: Global Variables Being Overwritten
- From: Steve at fivetrees
- Re: Global Variables Being Overwritten
- From: jgurtner
- Global Variables Being Overwritten
- Prev by Date: Re: Global Variables Being Overwritten
- Next by Date: Re: what's wrong with a pic ?
- Previous by thread: Re: Global Variables Being Overwritten
- Next by thread: Trace32 for AMX rtos
- Index(es):
Relevant Pages
|