« Return to Thread: Codewarrior Paging

Re: Codewarrior Paging

by Rob Milne :: Rate this Message:

Reply to Author | View in Thread

...in addition one should always ask whether a RTOS is even necessary.  
Buffered interrupt I/O with a tight non-blocking main loop can be more
efficient and is less difficult to debug.  I've worked on separate POS
terminal OS's that were based on each system and the non-scheduler model
was superior, especially in terms of cost.

-rob

sgriffi3@... wrote:

>
> Hello Again,
>
> I am a computer engineering student at Gonzaga University, and am
> working on a delivery robot with 3 other guys for our senior design
> project. I sent out an email about 2 weeks ago about paging on the
> MC9S12DP512 processor.
>
> We made the decition to scrap AxIDE and start using Codewarrior 5.9.0.
> So far this has been much more helpfull.
>
> The question I have for you all is this: How do I manipulate the PPage
> register and other paging information.
>
> We are using an executive to control the program flow, this program
> when used in normal memory would just store the stack pointers of the
> tasks along with scheduling what task to run next, and loading the new
> stack value. Hopefully we want this executive to control what page we
> are on as well. So Task0 would be on page 20, Task1 would be on page
> 21 and so on.
>
> At the moment I am clear on how to get the Tasks in to the pages, but
> I am having problems with keeping track of and storing the PPage
> register.
>
> The executive is acessed by a SWI interrupt, which also might be a
> problem. Is there a way to go from a page to an interrupt, store the
> page info, then jump to a different page?
>
> I apoligize if this is unclear, let me know if I can provide more
> information.
>
> Thank you,
> Scott
>
>

 « Return to Thread: Codewarrior Paging