| |||||
Technical Support Support Resources
Product Information | RTX51: DIRECT ACCESSING OF P2Information in this article applies to:
SYMPTOMSWe are using RTX51 and we have noticed that it accesses P2 directly for some reason. Due to the nature of our particular custom 8051 we need P2 for I/O. Why is RTX51 accessing P2 and can it be configured to not do it? CAUSERTX51 accesses P2 when you start using reentrant functions with fast tasks. It uses P2 to access different pages of PDATA where fast task reentrant stacks are located. It is not possible to disable this operation of RTX51. RESOLUTIONThe only option is to avoid using reentrant functions. If you have functions that are called from more than one task then there are a couple of things you can try (depending on your project):
MORE INFORMATIONRefer to pages 118-120 of the RTX51 User's Guide (04.98) for more information on the XDATA/PDATA memory usage of RTX51. SEE ALSO
Last Reviewed: Tuesday, July 19, 2005 | ||||
| |||||