PIC32MZ1024ECH124 memory map

Where everything sits, at its exact address. The PIC32MZ1024ECH124 has one 32-bit address space, seen through the MIPS32 segments: program flash at 0x9D000000 (KSEG0, cached), the boot flash the chip starts from after a reset at 0xBFC00000, RAM at 0x80000000 and the special function registers from 0xBF800000 (KSEG1, uncached). These are the virtual addresses XC32 and the datasheet's register tables use; for flash, boot flash, RAM and the SFRs the physical address is the same with the top three bits cleared (0x9D000000 is 0x1D000000).

Memory map

Program flash, boot flash, RAM and the SFRs in the one 32-bit space (the configuration words are listed below).

Serial quad interface (SQI)0xD0000000 – 0xD3FFFFFF64 MB
External bus interface (EBI)0xC0000000 – 0xC3FFFFFF64 MB
Boot flash (lowerbootalias)0xBFC00000 – 0xBFC0FEFF63.8 KB
SFRs (periph_ssx)0xBF8F0000 – 0xBF8FFFFF64 KB
SFRs (periph_indep)0xBF8E0000 – 0xBF8E6FFF28 KB
SFRs (periph_pb5_std)0xBF880000 – 0xBF882FFF12 KB
SFRs (periph_pb4_std)0xBF860000 – 0xBF8609FF2.5 KB
SFRs (periph_pb3_std)0xBF840000 – 0xBF84C1FF48.5 KB
SFRs (periph_pb2_std)0xBF820000 – 0xBF82E1FF56.5 KB
SFRs (periph_pb1_fast)0xBF810000 – 0xBF811FFF8 KB
SFRs (periph_pb1_std)0xBF800000 – 0xBF8017FF6 KB
Program flash0x9D000000 – 0x9D0FFFFF1 MB
RAM0x80000000 – 0x8007FFFF512 KB

Every segment

SegmentSpaceStartEndSizePage
RAMbase0x800000000x8007FFFF512 KB
Program flashbase0x9D0000000x9D0FFFFF1 MB
SFRs (periph_pb1_std)base0xBF8000000xBF8017FF6 KB
SFRs (periph_pb1_fast)base0xBF8100000xBF811FFF8 KB
SFRs (periph_pb2_std)base0xBF8200000xBF82E1FF56.5 KB
SFRs (periph_pb3_std)base0xBF8400000xBF84C1FF48.5 KB
SFRs (periph_pb4_std)base0xBF8600000xBF8609FF2.5 KB
SFRs (periph_pb5_std)base0xBF8800000xBF882FFF12 KB
SFRs (periph_indep)base0xBF8E00000xBF8E6FFF28 KB
SFRs (periph_ssx)base0xBF8F00000xBF8FFFFF64 KB
Boot flash (lowerbootalias)base0xBFC000000xBFC0FEFF63.8 KB
Configuration words (lowerbootaliasaltconfig)base0xBFC0FF400xBFC0FF7F64 B
Configuration words (lowerbootaliasconfig)base0xBFC0FFC00xBFC0FFFF64 B
Boot flash (lowerbootaliaslastpage)base0xBFC100000xBFC13FFF16 KB
Boot flash (upperbootalias)base0xBFC200000xBFC2FEFF63.8 KB
Configuration words (upperbootaliasaltconfig)base0xBFC2FF400xBFC2FF7F64 B
Configuration words (upperbootaliasconfig)base0xBFC2FFC00xBFC2FFFF64 B
Boot flash (upperbootaliaslastpage)base0xBFC300000xBFC33FFF16 KB
Boot flash (boot1)base0xBFC400000xBFC4FEFF63.8 KB
Configuration words (altboot1config)base0xBFC4FF400xBFC4FF7F64 B
Configuration words (boot1config)base0xBFC4FFC00xBFC4FFFF64 B
Boot flash (boot1lastpage)base0xBFC500000xBFC53FFF16 KB
Configuration words (adccal)base0xBFC540000xBFC5401320 B
Configuration words (serial)base0xBFC540200xBFC540278 B
Boot flash (boot2)base0xBFC600000xBFC6FEFF63.8 KB
Configuration words (altboot2config)base0xBFC6FF400xBFC6FF7F64 B
Configuration words (boot2config)base0xBFC6FFC00xBFC6FFFF64 B
Boot flash (boot2lastpage)base0xBFC700000xBFC73FFF16 KB
External bus interface (EBI)base0xC00000000xC3FFFFFF64 MB
Serial quad interface (SQI)base0xD00000000xD3FFFFFF64 MB