Subject:
|
Re: legOS ... really a stack question
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 2 Jan 1999 23:01:39 GMT
|
Viewed:
|
1510 times
|
| |
| |
Ben Laurie <lego-robotics@crynwr.com> wrote:
> Hmmm ... good point. 0xf000 is memory mapped I/O for the motors, IIRC.
> Not sure whats above there, but I wouldn't be surprised to hear it isn't
> a good place to store things. I'd guess that setting the stack to 0xeffe
> should be equally good.
All off-chip accesses to f000 or higher are memory mapped to the motors.
Because accesses to addresses above fb7f are all on-chip or invalid, the
motors are effectively memory mapped to f000-fb7f.
> I'll have to see if that also cures my mysterious problems...
What are your symptoms again?
One problem I noticed with LegOS is that it does not zero the .bss
section, which I believe contains uninitialized global data.
-Kekoa
|
|
Message has 2 Replies: | | Re: legOS ... really a stack question
|
| (...) Changing globals to statics causes crashes. Cheers, Ben. -- "My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition (...) (26 years ago, 3-Jan-99, to lugnet.robotics)
|
Message is in Reply To:
| | Re: legOS ... really a stack question
|
| (...) Hmmm ... good point. 0xf000 is memory mapped I/O for the motors, IIRC. Not sure whats above there, but I wouldn't be surprised to hear it isn't a good place to store things. I'd guess that setting the stack to 0xeffe should be equally good. (...) (26 years ago, 2-Jan-99, to lugnet.robotics)
|
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|