PIC32MZ2025DAB169 memory map

Where everything sits, at its exact address. The PIC32MZ2025DAB169 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_ssx3)0xBF920000 – 0xBF92FFFF64 KB
SFRs (periph_ssx2)0xBF910000 – 0xBF91FFFF64 KB
SFRs (periph_ssx1)0xBF900000 – 0xBF90FFFF64 KB
SFRs (periph_ssx0)0xBF8F0000 – 0xBF8FFFFF64 KB
SFRs (periph_indep)0xBF8E0000 – 0xBF8ECFFF52 KB
SFRs (periph_pb6_std)0xBF8C0000 – 0xBF8C03FF1 KB
SFRs (periph_pb5_std)0xBF880000 – 0xBF884FFF20 KB
SFRs (periph_pb4_std)0xBF860000 – 0xBF8609FF2.5 KB
SFRs (periph_pb3_std)0xBF840000 – 0xBF84C3FF49 KB
SFRs (periph_pb2_std)0xBF820000 – 0xBF82FFFF64 KB
SFRs (periph_pb1_fast)0xBF810000 – 0xBF811FFF8 KB
SFRs (periph_pb1_std)0xBF800000 – 0xBF8019FF6.5 KB
Program flash0x9D000000 – 0x9D1FFFFF2 MB
RAM0x80000000 – 0x8003FFFF256 KB

Every segment

SegmentSpaceStartEndSizePage
RAMbase0x800000000x8003FFFF256 KB
Program flashbase0x9D0000000x9D1FFFFF2 MB
SFRs (periph_pb1_std)base0xBF8000000xBF8019FF6.5 KB
SFRs (periph_pb1_fast)base0xBF8100000xBF811FFF8 KB
SFRs (periph_pb2_std)base0xBF8200000xBF82FFFF64 KB
SFRs (periph_pb3_std)base0xBF8400000xBF84C3FF49 KB
SFRs (periph_pb4_std)base0xBF8600000xBF8609FF2.5 KB
SFRs (periph_pb5_std)base0xBF8800000xBF884FFF20 KB
SFRs (periph_pb6_std)base0xBF8C00000xBF8C03FF1 KB
SFRs (periph_indep)base0xBF8E00000xBF8ECFFF52 KB
SFRs (periph_ssx0)base0xBF8F00000xBF8FFFFF64 KB
SFRs (periph_ssx1)base0xBF9000000xBF90FFFF64 KB
SFRs (periph_ssx2)base0xBF9100000xBF91FFFF64 KB
SFRs (periph_ssx3)base0xBF9200000xBF92FFFF64 KB
Boot flash (lowerbootalias)base0xBFC000000xBFC0FEFF63.8 KB
Configuration words (lowerbootaliasaltconfig)base0xBFC0FF300xBFC0FF7F80 B
Configuration words (lowerbootaliasconfig)base0xBFC0FFB00xBFC0FFFF80 B
Boot flash (lowerbootaliaslastpage)base0xBFC100000xBFC13FFF16 KB
Boot flash (upperbootalias)base0xBFC200000xBFC2FEFF63.8 KB
Configuration words (upperbootaliasaltconfig)base0xBFC2FF300xBFC2FF7F80 B
Configuration words (upperbootaliasconfig)base0xBFC2FFB00xBFC2FFFF80 B
Boot flash (upperbootaliaslastpage)base0xBFC300000xBFC33FFF16 KB
Boot flash (boot1)base0xBFC400000xBFC4FEFF63.8 KB
Configuration words (altboot1config)base0xBFC4FF300xBFC4FF7F80 B
Configuration words (boot1config)base0xBFC4FFB00xBFC4FFFF80 B
Boot flash (boot1lastpage)base0xBFC500000xBFC53FFF16 KB
Configuration words (serial)base0xBFC540000xBFC5402740 B
Boot flash (boot2)base0xBFC600000xBFC6FEFF63.8 KB
Configuration words (altboot2config)base0xBFC6FF300xBFC6FF7F80 B
Configuration words (boot2config)base0xBFC6FFB00xBFC6FFFF80 B
Boot flash (boot2lastpage)base0xBFC700000xBFC73FFF16 KB
External bus interface (EBI)base0xC00000000xC3FFFFFF64 MB
Serial quad interface (SQI)base0xD00000000xD3FFFFFF64 MB