« Return to Thread: Codewarrior Paging

Codewarrior Paging

by sgriffi3 :: Rate this Message:

Reply to Author | View in Thread

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