4.5.15 How Do I Properly Reserve Memory?

Memory may be reserved by creating a specific section in the linker script or by using attributes to block out sections of memory. If you have not used one of these methods to reserve memory, you may not be reserving the memory you thought you were, and the linker may be placing objects in this area. For more on reserving memory, consult the following document. It is available for download from the Microchip Technology website, www.microchip.com. Also see the following section of this user’s guide.

MPLAB® XC-DSC Assembler, Linker and Utilities User’s Guide” (DS-50003590)

4.3.3.4 How Do I Stop the Compiler From Using Certain Memory Locations?