Keil Logo

C51: Using Microcontrollers With On-chip XDATA


Information in this article applies to:

  • C51 All Versions

QUESTION

How do I use a microcontroller with on-chip XDATA memory?

ANSWER

To use a chip that has on-chip XDATA memory, you must enable that memory (if it is disabled by default) in your startup code. Copy the STARTUP.A51 file from the \LIB directory into your project directory and add the necessary code immediately after the STARTUP1 label.

This initialization is required for chips like the Dallas Semiconductor 87C520 that disable the on-chip XDATA on reset.

MORE INFORMATION

SEE ALSO


Last Reviewed: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.