Jump to main content

# 1.2.1.2 Basic Memory Layout for MIPS Based MCUs

Bootloader placement for various PIC32M product families

The bootloader is placed in BFM or PFM based on the size of the bootloader and available BFM on the device.

- If the bootloader fits into the available BFM, it is placed in BFM. The user application can use the complete area of the PFM.

- If the bootloader does not fit into the available BFM, its reset handler is placed in BFM and rest of code is placed in PFM. The user application can use the remaining area of the PFM.

  - The bootloader exceptions have to be placed at the _ebase_address of bootloader memory region

  - The application exceptions have to be placed at the _ebase_address of application memory region

- The following table shows the available BFM and the placement of different bootloaders by product family.

  Note: The BFM and PFM end addresses may vary from device to device. Refer to the respective Data Sheets for details of Flash memory layout.

Basic Memory layout

Rev: G