|
|||||||||||
|
Technical Support Support Resources
Product Information |
C166: My small Program does not fit into MemoryInformation in this article applies to:
QUESTIONI have just started with a small test program on a C164 device which looks like:
However, I cannot build this project. I get linker errors:
What is wrong and how can I fix this problem. ANSWERThe linker messages indicate that you do not have space for placing the BDATA0 memory class, and therefore the bdata variable cannot be allocated to memory. Details of the memory allocation can be found in the linker map file (*.M66). The C164 design that you are working on is most likely just a single chip device without off-chip RAM. Therefore it might be necessary that you adjust the stack sizes in the STARTUP file (typically START167.A66). Therefore reduce the settings for System Stack (STKSZ) and User Stack (USTSZ) in this startup file. You should also check if the on-chip XRAM is enabled in both the STARTUP file (setting XPEN) and the µVision2 IDE (under Project - Options for Target - Target). MORE INFORMATION
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.