|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: Initializing XDATA Over FF00hInformation in this article applies to:
QUESTIONIf you set XDATALEN in the STARTUP.A51 file to anything over FF00H, a warning is generated when an attempt is made to assemble the file. How do I fix this? Also, how do you initialize location FFFFH in XDATA? ANSWERThe warning indicates that a value is being truncated, and can easily be fixed. Remove the following section from the STARTUP.A51 file:
and replace it with:
It is not possible to initialize location FFFFH in XDATA. In order to do that, you would have to specify an XDATALEN of 10000H which is a 17-bit value. You can modify the STARTUP.A51 file yourself to workaround this problem, or you may initialize that particular location explicitly, either in the STARTUP.A51 file or in your project. 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.