ARM Technical Support Knowledge Articles


Applies to: RTX51 Real-time Kernel


Information in this article applies to:


I am using RTX51 with a Dallas DS5002. I have configured the device and my project so that SRAM is used for both CODE and XDATA memory. I am using P2 for the RPC.

When I run my program, it appears that RTX51 is writing to P2 and, therefore, making use of the RPC impossible. How do I tell RTX51 to use SRAM instead and not change P2?


RTX51 uses XDATA to store a Task Context Segment for each task. In order to speed up task switching and program execution, these segments are accessed as PDATA pages rather than XDATA. The result is that RTX51 changes the value on P2 to select the appropriate PDATA page.


When using RTX51 with the Dallas DS5002, it is necessary to place the Task Context Segments into XDATA memory, addressed via P0 and P2, rather than the SRAM. The result is that the RPC cannot be used since P2 is required for memory access.


Article last edited on: 2005-07-19 10:02:38

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential