|
|||||||||||
|
Technical Support Support Resources
Product Information |
C166: Relocate System Stack from IDATA to SDATAInformation in this article applies to:
QUESTIONI am using an Infineon XC16x device, and I want to relocate the system stack from the Dual-Port RAM area 0xF600 - 0xFDFF to the Data SRAM area 0xC000 - 0xCFFF. Both are on-chip RAM areas. How can I do that? ANSWERThe Infineon XC16x devices can address the system stack everywhere in the 16 Mbyte address range. The following information does not apply to Infineon C16x or ST10 devices. In order to relocate the system stack to a different memory area, its memory class needs to be changed. This can be done in the START_V2.A66 startup code. Original line:
Change memory class from IDATA to SDATA.
Be sure to select Use On-chip XRAM (0xC000-0xCFFF) in the Options for Target - Target dialog or add the SDATA class range to your linker directives. SEE ALSOLast 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.