|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: On-Chip Banked PDATA SupportInformation in this article applies to:
QUESTIONSome devices feature more than 512 bytes of on-chip RAM. The additional RAM (over and above the 128 bytes of data and 128 bytes of idata) is arranged both as xdata and banked pdata. Does the compiler support banked pdata memory? ANSWERThe code overhead in implementing the bank switching, plus the risk that the wrong bank is selected during an interrupt routine or when using an RTOS is too great. The performance difference between using the extra RAM as xdata rather than pdata is minimal, so it would be much more efficient to use the memory as xdata rather than banked pdata. If you only need 256 bytes of extra RAM, then reference the memory as pdata, otherwise reference it as xdata. MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.