Quote:
Originally Posted by Galahad/FLT
Main stack is always at the top of available chipmemory or top of slow/fast if installed.
User Stack is low in memory, near to where the bootblock is loaded.
|
I suppose main stack means supervisor stack? Anyway, my point is that you need to consider where these are.. When reading the suggestions here, one could easily be led to think it's fine to load into the top of chipram, which could overwrite the mentioned stack
Quote:
Originally Posted by Galahad/FLT
So long as you load from $40000 or higher, then disable interrupts, relocate your code and set the stacks as you like, its never an issue.
|
That's true, with the exception that if you need to support A1000 with 256k chip, a lower address is better.