SW006015 Microchip Technology, SW006015 Datasheet - Page 69

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2007 Microchip Technology Inc.
FIGURE 5-7:
5.7.2.7
RAM functions are similar to initialized data, except that the data that exists in the
program flash represents functions instead of initial values for symbols. Similar to the
way that initialized data is copied from program flash to data memory, the linker script
must initialize three variables—one for the start address of the image in program flash,
one for the start address of the section in data memory and one for the end address of
the section in data memory. The startup code copies the memory locations from the
program flash image to the data memory using these variables. These variables are
named _ramfunc_image_begin, _ramfunc_begin, and _ramfunc_end,
respectively.
FIGURE 5-8:
5.7.2.8
The bus matrix registers (BMXDKPBA, BMXDUDBA, BMXDUPBA) should be initialized by
the startup code if any RAM functions exist, otherwise, these registers should not be
modified. To determine whether any RAM functions exist in the application, the linker
script provides a variable that contains the length of the .ramfunc section
1. All functions attributed with __ramfunc__ or __longramfunc__ are placed in the .ramfunc section.
COPY RAM FUNCTIONS FROM PROGRAM FLASH TO DATA MEMORY
INITIALIZE BUS MATRIX REGISTERS
INITIALIZED DATA
RAM FUNCTIONS
DS51686A-page 65
1
. This

Related parts for SW006015