6.3.5.7 Generated Secondary Files
When the Primary and Secondary projects are built for debug, two additional files are generated by the MPLAB XC32 bin2hex utility: a header file (discussed in 6.3.5.5.2 Select Secondary Project Header) and a C file (in this example Secondary.c).
This secondary image is converted to a set of arrays that can be coped to shared SRAM.
Additionally, the file provides structs and functions to copy the image to shared SRAM.
For example, call __xc32_LoadAllSecondarySections()
from your primary
application to copy the image.