Memory requirements
This page provides information about the amount of flash memory and RAM that is required by the Samples. Use it to check if your application has enough space for a given configuration.
RAM and flash memory requirements
RAM and flash memory requirement values differ depending on the DK and the programmed sample.
The following tables and bar charts list memory requirement values for Matter samples.
Memory layout is taken from the DTS files used by each sample variant, while memory usage is taken from the build output. Values are provided in kilobytes (KB).
Table columns are grouped by internal NVM, external NVM (when used), and RAM.
Application, MCUboot, upgrade slot, and RAM cells show used and free space separated by /.
Other NVM columns list the reserved partition size for that region.
Memory requirements for samples running on the nrf52840dk.
Memory requirements for samples running on the nrf5340dk.
Memory requirements for samples running on the thingy53.
Memory requirements for samples running on the nrf54l15dk.
Memory requirements for samples running on the nrf54l15dk with Trusted Firmware-M (TF-M).
Memory requirements for samples running on the nrf54l15dk with internal memory only.
Memory requirements for samples running on the nrf54l15tag.
Memory requirements for samples running on the nrf54lm20dk.
Memory requirements for samples running on the nrf54lm20dk with the nRF7002 EB2 shield.
The following table lists memory requirements for samples running on the nrf52840dk.
| Sample | Internal NVM (1024 kB) | External NVM (65536 kB) | RAM (256 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Closure (Debug) |
23 / 5 | -- | 771 / 189 | 4 | 32 | -- | 774.5 / 185.5 | 172 / 84 |
Closure (Release) |
23 / 5 | -- | 690 / 270 | 4 | 32 | -- | 693.6 / 266.4 | 167 / 89 |
Contact Sensor (Debug) |
23 / 5 | -- | 733 / 227 | 4 | 32 | -- | 736.8 / 223.2 | 160 / 96 |
Contact Sensor (Release) |
23 / 5 | -- | 652 / 308 | 4 | 32 | -- | 655.8 / 304.2 | 156 / 100 |
Light Bulb (Debug) |
23 / 5 | -- | 784 / 176 | 4 | 32 | -- | 787.4 / 172.6 | 172 / 84 |
Light Bulb (Release) |
23 / 5 | -- | 701 / 259 | 4 | 32 | -- | 704.7 / 255.3 | 167 / 89 |
Light Switch (Debug) |
23 / 5 | -- | 751 / 209 | 4 | 32 | -- | 755.1 / 204.9 | 160 / 96 |
Light Switch (Release) |
23 / 5 | -- | 666 / 294 | 4 | 32 | -- | 669.5 / 290.5 | 154 / 102 |
Smoke CO Alarm (Debug) |
23 / 5 | -- | 740 / 220 | 4 | 32 | -- | 743.8 / 216.2 | 161 / 95 |
Smoke CO Alarm (Release) |
23 / 5 | -- | 656 / 304 | 4 | 32 | -- | 660.1 / 299.9 | 156 / 100 |
Temperature Sensor (Debug) |
23 / 5 | -- | 734 / 226 | 4 | 32 | -- | 737.7 / 222.3 | 160 / 96 |
Temperature Sensor (Release) |
23 / 5 | -- | 653 / 307 | 4 | 32 | -- | 656.5 / 303.5 | 156 / 100 |
Template (Debug) |
23 / 5 | -- | 703 / 257 | 4 | 32 | -- | 706.2 / 253.8 | 157 / 99 |
Template (Release) |
23 / 5 | -- | 626 / 334 | 4 | 32 | -- | 629.5 / 330.5 | 152 / 104 |
Thermostat (Debug) |
23 / 5 | -- | 762 / 198 | 4 | 32 | -- | 765.4 / 194.6 | 158 / 98 |
Thermostat (Release) |
23 / 5 | -- | 667 / 293 | 4 | 32 | -- | 670.5 / 289.5 | 154 / 102 |
Window Covering (Debug) |
23 / 5 | -- | 735 / 225 | 4 | 32 | -- | 738.4 / 221.6 | 158 / 98 |
Window Covering (Release) |
23 / 5 | -- | 652 / 308 | 4 | 32 | -- | 655.2 / 304.8 | 154 / 102 |
The following table lists memory requirements for samples running on the nrf5340dk.
| Sample | Internal NVM (1024 kB) | External NVM (65536 kB) | RAM (512 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Bridge (Debug) |
27 / 5 | -- | 664 / 292 | 4 | 32 | -- | 670.3 / 285.7 | 198 / 314 |
Bridge (Release) |
27 / 5 | -- | 647 / 309 | 4 | 32 | -- | 653.2 / 302.8 | 196 / 316 |
Closure (Debug) |
27 / 5 | -- | 706 / 250 | 4 | 32 | -- | 709.4 / 246.6 | 184 / 328 |
Closure (Release) |
27 / 5 | -- | 624 / 332 | 4 | 32 | -- | 627.6 / 328.4 | 178 / 334 |
Contact Sensor (Debug) |
27 / 5 | -- | 668 / 288 | 4 | 32 | -- | 671.5 / 284.5 | 172 / 340 |
Contact Sensor (Release) |
27 / 5 | -- | 586 / 370 | 4 | 32 | -- | 590 / 366 | 167 / 345 |
Light Bulb (Debug) |
27 / 5 | -- | 719 / 237 | 4 | 32 | -- | 722.1 / 233.9 | 184 / 328 |
Light Bulb (Release) |
27 / 5 | -- | 635 / 321 | 4 | 32 | -- | 638.6 / 317.4 | 179 / 333 |
Light Switch (Debug) |
27 / 5 | -- | 686 / 270 | 4 | 32 | -- | 689.8 / 266.2 | 172 / 340 |
Light Switch (Release) |
27 / 5 | -- | 600 / 356 | 4 | 32 | -- | 603.2 / 352.8 | 165 / 347 |
Smoke CO Alarm (Debug) |
27 / 5 | -- | 675 / 281 | 4 | 32 | -- | 678.6 / 277.4 | 172 / 340 |
Smoke CO Alarm (Release) |
27 / 5 | -- | 591 / 365 | 4 | 32 | -- | 594.1 / 361.9 | 168 / 344 |
Temperature Sensor (Debug) |
27 / 5 | -- | 669 / 287 | 4 | 32 | -- | 672.4 / 283.6 | 172 / 340 |
Temperature Sensor (Release) |
27 / 5 | -- | 587 / 369 | 4 | 32 | -- | 590.6 / 365.4 | 167 / 345 |
Template (Debug) |
27 / 5 | -- | 638 / 318 | 4 | 32 | -- | 641.2 / 314.8 | 169 / 343 |
Template (Release) |
27 / 5 | -- | 560 / 396 | 4 | 32 | -- | 563.5 / 392.5 | 163 / 349 |
Thermostat (Debug) |
27 / 5 | -- | 697 / 259 | 4 | 32 | -- | 700.1 / 255.9 | 170 / 342 |
Thermostat (Release) |
27 / 5 | -- | 601 / 355 | 4 | 32 | -- | 604.6 / 351.4 | 165 / 347 |
Window Covering (Debug) |
27 / 5 | -- | 669 / 287 | 4 | 32 | -- | 673.1 / 282.9 | 170 / 342 |
Window Covering (Release) |
27 / 5 | -- | 585 / 371 | 4 | 32 | -- | 588.9 / 367.1 | 165 / 347 |
The following table lists memory requirements for samples running on the thingy53.
| Sample | Internal NVM (1024 kB) | External NVM (65536 kB) | RAM (504.8 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Weather Station (Debug) |
54 / 10 | -- | 744 / 152 | 16 | 48 | -- | 750.3 / 145.7 | 209 / 295.8 |
Weather Station (Release) |
54 / 10 | -- | 621 / 275 | 16 | 48 | -- | 626 / 270 | 189 / 315.8 |
The following table lists memory requirements for samples running on the nrf54l15dk.
| Sample | Internal NVM (1524 kB) | External NVM (65536 kB) | RAM (256 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Closure (Debug) |
40 / 12 | -- | 773 / 655 | 4 | 40 | -- | 779 / 649 | 178 / 78 |
Closure (Release) |
40 / 12 | -- | 689 / 739 | 4 | 40 | -- | 695 / 733 | 173 / 83 |
Contact Sensor (Debug) |
40 / 12 | -- | 734 / 694 | 4 | 40 | -- | 740.4 / 687.6 | 167 / 89 |
Contact Sensor (Release) |
40 / 12 | -- | 651 / 777 | 4 | 40 | -- | 656.9 / 771.1 | 162 / 94 |
Light Bulb (Debug) |
40 / 12 | -- | 786 / 642 | 4 | 40 | -- | 791.8 / 636.2 | 179 / 77 |
Light Bulb (Release) |
40 / 12 | -- | 700 / 728 | 4 | 40 | -- | 706.2 / 721.8 | 174 / 82 |
Light Switch (Debug) |
40 / 12 | -- | 753 / 675 | 4 | 40 | -- | 758.7 / 669.3 | 167 / 89 |
Light Switch (Release) |
40 / 12 | -- | 664 / 764 | 4 | 40 | -- | 670.3 / 757.7 | 160 / 96 |
Smoke CO Alarm (Debug) |
40 / 12 | -- | 741 / 687 | 4 | 40 | -- | 747.4 / 680.6 | 167 / 89 |
Smoke CO Alarm (Release) |
40 / 12 | -- | 655 / 773 | 4 | 40 | -- | 661.1 / 766.9 | 163 / 93 |
Temperature Sensor (Debug) |
40 / 12 | -- | 735 / 693 | 4 | 40 | -- | 741.2 / 686.8 | 167 / 89 |
Temperature Sensor (Release) |
40 / 12 | -- | 652 / 776 | 4 | 40 | -- | 657.5 / 770.5 | 162 / 94 |
Template (Debug) |
40 / 12 | -- | 705 / 723 | 4 | 40 | -- | 710.7 / 717.3 | 164 / 92 |
Template (Release) |
40 / 12 | -- | 626 / 802 | 4 | 40 | -- | 631.2 / 796.8 | 158 / 98 |
Template (Release Internal Memory) |
40 / 12 | -- | 626 / 238 | 4 | 40 | -- | 564 | 159 / 97 |
Thermostat (Debug) |
40 / 12 | -- | 764 / 664 | 4 | 40 | -- | 769.7 / 658.3 | 165 / 91 |
Thermostat (Release) |
40 / 12 | -- | 667 / 761 | 4 | 40 | -- | 672.3 / 755.7 | 160 / 96 |
Window Covering (Debug) |
40 / 12 | -- | 736 / 692 | 4 | 40 | -- | 742 / 686 | 165 / 91 |
Window Covering (Release) |
40 / 12 | -- | 650 / 778 | 4 | 40 | -- | 655.6 / 772.4 | 160 / 96 |
The following table lists memory requirements for samples running on the nrf54l15dk with Trusted Firmware-M (TF-M).
| Sample | Internal NVM (1524 kB) | External NVM (65536 kB) | RAM (256 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Light Bulb (TF-M) |
40 / 12 | 128 | 731 / 537 | 4 | 40 | 32 | 864.2 / 531.8 | 163 / 93 |
Light Switch (TF-M) |
40 / 12 | 128 | 698 / 570 | 4 | 40 | 32 | 831.2 / 564.8 | 151 / 105 |
Template (TF-M) |
40 / 12 | 128 | 657 / 611 | 4 | 40 | 32 | 790.5 / 605.5 | 148 / 108 |
Thermostat (TF-M) |
40 / 12 | 128 | 709 / 559 | 4 | 40 | 32 | 842.2 / 553.8 | 150 / 106 |
The following table lists memory requirements for samples running on the nrf54l15dk with internal memory only.
| Sample | Internal NVM (1012 kB) | External NVM (65536 kB) | RAM (192 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Smoke CO Alarm (Debug) |
40 / 12 | -- | 741 / 175 | 4 | 40 | -- | 747.5 / 168.5 | 167 / 25 |
Smoke CO Alarm (Release) |
40 / 12 | -- | 655 / 261 | 4 | 40 | -- | 661.1 / 254.9 | 163 / 29 |
Template (Debug) |
40 / 12 | -- | 705 / 211 | 4 | 40 | -- | 710.7 / 205.3 | 164 / 28 |
Template (Release) |
40 / 12 | -- | 626 / 290 | 4 | 40 | -- | 631.3 / 284.7 | 159 / 33 |
The following table lists memory requirements for samples running on the nrf54l15tag.
| Sample | Internal NVM (1524 kB) | RAM (256 kB) | |||||
|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | used / free | |
Weather Station (Debug) |
40 / 12 | -- | 689 / 175 | 4 | 40 | -- | 184 / 72 |
Weather Station (Release) |
40 / 12 | -- | 664 / 200 | 4 | 40 | -- | 182 / 74 |
Temperature Sensor (Debug) |
40 / 12 | -- | 677 / 187 | 4 | 40 | -- | 169 / 87 |
Temperature Sensor (Release) |
40 / 12 | -- | 655 / 209 | 4 | 40 | -- | 167 / 89 |
Template (Debug) |
40 / 12 | -- | 659 / 205 | 4 | 40 | -- | 163 / 93 |
Template (Release) |
40 / 12 | -- | 636 / 228 | 4 | 40 | -- | 160 / 96 |
The following table lists memory requirements for samples running on the nrf54lm20dk.
| Sample | Internal NVM (2036 kB) | External NVM (65536 kB) | RAM (511 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Bridge (Debug) |
37 / 15 | -- | 796 / 1136 | 4 | 48 | -- | 804.5 / 1127.5 | 209 / 302 |
Bridge (Release) |
37 / 15 | -- | 721 / 1211 | 4 | 48 | -- | 729.5 / 1202.5 | 207 / 304 |
Closure (Debug) |
37 / 15 | -- | 775 / 1157 | 4 | 48 | -- | 781.4 / 1150.6 | 179 / 332 |
Closure (Release) |
37 / 15 | -- | 691 / 1241 | 4 | 48 | -- | 696.7 / 1235.3 | 174 / 337 |
Closure (Release Internal Memory) |
36 / 4 | -- | 686 / 490 | 4 | 48 | -- | 768 | 174 / 337 |
Contact Sensor (Debug) |
37 / 15 | -- | 737 / 1195 | 4 | 48 | -- | 742.8 / 1189.2 | 167 / 344 |
Contact Sensor (Release) |
37 / 15 | -- | 652 / 1280 | 4 | 48 | -- | 658.6 / 1273.4 | 163 / 348 |
Light Bulb (Debug) |
37 / 15 | -- | 788 / 1144 | 4 | 48 | -- | 794.1 / 1137.9 | 179 / 332 |
Light Bulb (Release) |
37 / 15 | -- | 702 / 1230 | 4 | 48 | -- | 707.9 / 1224.1 | 174 / 337 |
Light Switch (Debug) |
37 / 15 | -- | 755 / 1177 | 4 | 48 | -- | 761.1 / 1170.9 | 167 / 344 |
Light Switch (Release) |
37 / 15 | -- | 666 / 1266 | 4 | 48 | -- | 672 / 1260 | 161 / 350 |
Smoke CO Alarm (Debug) |
37 / 15 | -- | 744 / 1188 | 4 | 48 | -- | 749.8 / 1182.2 | 168 / 343 |
Smoke CO Alarm (Release) |
37 / 15 | -- | 657 / 1275 | 4 | 48 | -- | 662.8 / 1269.2 | 163 / 348 |
Temperature Sensor (Debug) |
37 / 15 | -- | 737 / 1195 | 4 | 48 | -- | 743.7 / 1188.3 | 167 / 344 |
Temperature Sensor (Release) |
37 / 15 | -- | 653 / 1279 | 4 | 48 | -- | 659.2 / 1272.8 | 163 / 348 |
Template (Debug) |
37 / 15 | -- | 707 / 1225 | 4 | 48 | -- | 713.1 / 1218.9 | 164 / 347 |
Template (Release) |
37 / 15 | -- | 627 / 1305 | 4 | 48 | -- | 633 / 1299 | 159 / 352 |
Template (Release Internal Memory) |
36 / 4 | -- | 621 / 555 | 4 | 48 | -- | 768 | 159 / 352 |
Thermostat (Debug) |
37 / 15 | -- | 766 / 1166 | 4 | 48 | -- | 772.1 / 1159.9 | 166 / 345 |
Thermostat (Release) |
37 / 15 | -- | 668 / 1264 | 4 | 48 | -- | 674 / 1258 | 160 / 351 |
Window Covering (Debug) |
37 / 15 | -- | 738 / 1194 | 4 | 48 | -- | 744.4 / 1187.6 | 165 / 346 |
Window Covering (Release) |
37 / 15 | -- | 651 / 1281 | 4 | 48 | -- | 657.3 / 1274.7 | 160 / 351 |
The following table lists memory requirements for samples running on the nrf54lm20dk with the nRF7002 EB2 shield.
| Sample | Internal NVM (2036 kB) | External NVM (65536 kB) | RAM (511 kB) | |||||
|---|---|---|---|---|---|---|---|---|
| MCUboot (used / free) | TF-M ROM | Application (used / free) | Factory data | Settings | TF-M Storage | Application DFU (used / free) | used / free | |
Bridge (Debug) |
37 / 15 | -- | 997 / 935 | 4 | 48 | -- | 1009.7 / 922.3 | 347 / 164 |
Bridge (Release) |
37 / 15 | -- | 910 / 1022 | 4 | 48 | -- | 923.4 / 1008.6 | 343 / 168 |
Closure (Debug) |
37 / 15 | -- | 977 / 955 | 4 | 48 | -- | 987.7 / 944.3 | 320 / 191 |
Closure (Release) |
37 / 15 | -- | 879 / 1053 | 4 | 48 | -- | 889.7 / 1042.3 | 313 / 198 |
Light Bulb (Debug) |
37 / 15 | -- | 990 / 942 | 4 | 48 | -- | 1000.5 / 931.5 | 320 / 191 |
Light Bulb (Release) |
37 / 15 | -- | 890 / 1042 | 4 | 48 | -- | 900.6 / 1031.4 | 313 / 198 |
Light Switch (Debug) |
37 / 15 | -- | 1001 / 931 | 4 | 48 | -- | 1011.4 / 920.6 | 323 / 188 |
Light Switch (Release) |
37 / 15 | -- | 899 / 1033 | 4 | 48 | -- | 909.1 / 1022.9 | 316 / 195 |
Template (Debug) |
37 / 15 | -- | 954 / 978 | 4 | 48 | -- | 964.2 / 967.8 | 319 / 192 |
Template (Release) |
37 / 15 | -- | 860 / 1072 | 4 | 48 | -- | 870.7 / 1061.3 | 312 / 199 |
Thermostat (Debug) |
37 / 15 | -- | 1013 / 919 | 4 | 48 | -- | 1023.8 / 908.2 | 321 / 190 |
Thermostat (Release) |
37 / 15 | -- | 902 / 1030 | 4 | 48 | -- | 912 / 1020 | 314 / 197 |
Note
The release configurations are built with Link-Time Optimization (LTO).
Reference Matter memory layouts
The following tables and bar charts show how the Matter stack architecture in the nRF Connect SDK translates to actual memory maps for each of the available Matter platform designs (System-on-Chip, multiprotocol). The memory values match the RAM and flash memory requirements listed.
Each tab shows the memory maps for the development kits supported by the Matter protocol, including two memory maps for the Matter: Weather Station, which uses Nordic Thingy:53.
For more information about configuration of memory layouts in Matter, see Partition layout.
The following memory map is valid for Matter applications running on the nrf52840dk.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf5340dk.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The network core flash is located at the address ``0x1000000`` in the memory address space of the application.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the thingy53.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The network core flash is located at the address ``0x1000000`` in the memory address space of the application.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54l15dk.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54l15dk with Trusted Firmware-M (TF-M).
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54l15dk with internal memory only.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54l15dk with internal memory only.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54l15tag.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54lm20dk.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54lm20dk with internal memory only.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following memory map is valid for Matter applications running on the nrf54lm20dk with the nRF7002 EB2 shield.
SRAM is located at the address ``0x20000000`` in the memory address space of the application.
The following table lists memory partitions for Matter applications running on the nrf52840dk.
Internal flash (size: 0x100000 = 1024 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 28 kB (0x7000) |
| Application | 28672 (0x7000) | 960 kB (0xf0000) |
| Factory data | 1011712 (0xf7000) | 4 kB (0x1000) |
| Non-volatile storage | 1015808 (0xf8000) | 32 kB (0x8000) |
Static RAM (sram0) (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 256 kB (0x40000) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 960 kB (0xf0000) |
| Free space | 983040 (0xf0000) | 64576 kB (0x3f10000) |
The following table lists memory partitions for Matter applications running on the nrf5340dk.
Internal flash (size: 0x100000 = 1024 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 32 kB (0x8000) |
| Application | 32768 (0x8000) | 956 kB (0xef000) |
| Factory data | 1011712 (0xf7000) | 4 kB (0x1000) |
| Non-volatile storage | 1015808 (0xf8000) | 32 kB (0x8000) |
Static RAM (sram0) (size: 0x80000 = 512 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 512 kB (0x80000) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 956 kB (0xef000) |
| Network core DFU | 978944 (0xef000) | 256 kB (0x40000) |
| Free space | 1241088 (0x12f000) | 64324 kB (0x3ed1000) |
Network core flash (size: 0x40000 = 256 kB)
The network core flash is located at the address 0x1000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| B0n bootloader | 0 (0x0) | 33.38 kB (0x8580) |
| Provision data | 34176 (0x8580) | 0.62 kB (0x280) |
| Network application | 34816 (0x8800) | 222 kB (0x37800) |
Network core static ram (sram0) (size: 0x80000 = 512 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 512 kB (0x80000) |
The following table lists memory partitions for Matter applications running on the thingy53.
Internal flash (size: 0x100000 = 1024 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 64 kB (0x10000) |
| Application | 65536 (0x10000) | 896 kB (0xe0000) |
| Factory data | 983040 (0xf0000) | 16 kB (0x4000) |
| Non-volatile storage | 999424 (0xf4000) | 48 kB (0xc000) |
Static RAM (sram0) (size: 0x7e340 = 504.81 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 504.81 kB (0x7e340) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 896 kB (0xe0000) |
| Network core DFU | 917504 (0xe0000) | 256 kB (0x40000) |
| Free space | 1179648 (0x120000) | 64384 kB (0x3ee0000) |
Network core flash (size: 0x40000 = 256 kB)
The network core flash is located at the address 0x1000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| B0n bootloader | 0 (0x0) | 33.38 kB (0x8580) |
| Provision data | 34176 (0x8580) | 0.62 kB (0x280) |
| Network application | 34816 (0x8800) | 222 kB (0x37800) |
Network core static ram (sram0) (size: 0x80000 = 512 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 512 kB (0x80000) |
The following table lists memory partitions for Matter applications running on the nrf54l15dk.
Internal flash (size: 0x17d000 = 1524 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 52 kB (0xd000) |
| Application | 53248 (0xd000) | 1428 kB (0x165000) |
| Factory data | 1515520 (0x172000) | 4 kB (0x1000) |
| Non-volatile storage | 1519616 (0x173000) | 40 kB (0xa000) |
Static RAM (cpuapp_sram) (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 256 kB (0x40000) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 1428 kB (0x165000) |
| Free space | 1462272 (0x165000) | 64108 kB (0x3e9b000) |
Static RAM (cpuapp_sram) (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 256 kB (0x40000) |
The following table lists memory partitions for Matter applications running on the nrf54l15dk with Trusted Firmware-M (TF-M).
Internal flash (size: 0x17d000 = 1524 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 52 kB (0xd000) |
| TF-M and application images | 53248 (0xd000) | 1396 kB (0x15d000) |
| TF-M secure image | 53248 (0xd000) | 128 kB (0x20000) |
| TF-M nonsecure image | 184320 (0x2d000) | 1268 kB (0x13d000) |
| Factory data | 1482752 (0x16a000) | 4 kB (0x1000) |
| Non-volatile storage | 1486848 (0x16b000) | 40 kB (0xa000) |
| TF-M storage | 1527808 (0x175000) | 32 kB (0x8000) |
| tfm its | 1527808 (0x175000) | 8 kB (0x2000) |
| tfm otp | 1536000 (0x177000) | 8 kB (0x2000) |
| tfm ps | 1544192 (0x179000) | 16 kB (0x4000) |
Static RAM (cpuapp_sram) (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Secure Static RAM | 0 (0x0) | 60 kB (0xf000) |
| Non-Secure Static RAM | 61440 (0xf000) | 196 kB (0x31000) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 1396 kB (0x15d000) |
| Free space | 1429504 (0x15d000) | 64140 kB (0x3ea3000) |
The following table lists memory partitions for Matter applications running on the nrf54l15dk with internal memory only.
Internal flash (size: 0x17d000 = 1524 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 52 kB (0xd000) |
| Application | 53248 (0xd000) | 864 kB (0xd8000) |
| Application DFU | 937984 (0xe5000) | 564 kB (0x8d000) |
| Factory data | 1515520 (0x172000) | 4 kB (0x1000) |
| Non-volatile storage | 1519616 (0x173000) | 40 kB (0xa000) |
Static RAM (cpuapp_sram) (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 256 kB (0x40000) |
The following table lists memory partitions for Matter applications running on the nrf54l15dk with internal memory only.
Internal flash (size: 0xfd000 = 1012 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 52 kB (0xd000) |
| Application | 53248 (0xd000) | 916 kB (0xe5000) |
| Factory data | 991232 (0xf2000) | 4 kB (0x1000) |
| Non-volatile storage | 995328 (0xf3000) | 40 kB (0xa000) |
Static RAM (cpuapp_sram) (size: 0x30000 = 192 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 192 kB (0x30000) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 916 kB (0xe5000) |
| Free space | 937984 (0xe5000) | 64620 kB (0x3f1b000) |
The following table lists memory partitions for Matter applications running on the nrf54l15tag.
Internal flash (size: 0x17d000 = 1524 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 52 kB (0xd000) |
| Application | 53248 (0xd000) | 864 kB (0xd8000) |
| Application DFU | 937984 (0xe5000) | 564 kB (0x8d000) |
| Factory data | 1515520 (0x172000) | 4 kB (0x1000) |
| Non-volatile storage | 1519616 (0x173000) | 40 kB (0xa000) |
Static RAM (cpuapp_sram) (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 256 kB (0x40000) |
The following table lists memory partitions for Matter applications running on the nrf54lm20dk.
Internal flash (size: 0x1fd000 = 2036 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 52 kB (0xd000) |
| Application | 53248 (0xd000) | 1932 kB (0x1e3000) |
| Factory data | 2031616 (0x1f0000) | 4 kB (0x1000) |
| Non-volatile storage | 2035712 (0x1f1000) | 48 kB (0xc000) |
Static RAM (cpuapp_sram) (size: 0x7fc00 = 511 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 511 kB (0x7fc00) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 1932 kB (0x1e3000) |
| Free space | 1978368 (0x1e3000) | 63604 kB (0x3e1d000) |
The following table lists memory partitions for Matter applications running on the nrf54lm20dk with internal memory only.
Internal flash (size: 0x1fd000 = 2036 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 40 kB (0xa000) |
| Application | 40960 (0xa000) | 1176 kB (0x126000) |
| Application DFU | 1245184 (0x130000) | 768 kB (0xc0000) |
| Factory data | 2031616 (0x1f0000) | 4 kB (0x1000) |
| Non-volatile storage | 2035712 (0x1f1000) | 48 kB (0xc000) |
Static RAM (cpuapp_sram) (size: 0x7fc00 = 511 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 511 kB (0x7fc00) |
The following table lists memory partitions for Matter applications running on the nrf54lm20dk with the nRF7002 EB2 shield.
Internal flash (size: 0x1fd000 = 2036 kB)
| Partition | Offset | Size |
|---|---|---|
| Bootloader | 0 (0x0) | 52 kB (0xd000) |
| Application | 53248 (0xd000) | 1932 kB (0x1e3000) |
| Factory data | 2031616 (0x1f0000) | 4 kB (0x1000) |
| Non-volatile storage | 2035712 (0x1f1000) | 48 kB (0xc000) |
Static RAM (cpuapp_sram) (size: 0x7fc00 = 511 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 511 kB (0x7fc00) |
External flash (size: 0x4000000 = 65536 kB)
| Partition | Offset | Size |
|---|---|---|
| Application DFU | 0 (0x0) | 1932 kB (0x1e3000) |
| Free space | 1978368 (0x1e3000) | 63604 kB (0x3e1d000) |
Diagnostic logs RAM memory requirements
Diagnostic logs support requires changing the RAM memory layout by adding three retained RAM partitions to keep the log data persistent across device reboots. The Matter diagnostic logs snippet (matter-diagnostic-logs) adds these RAM partitions and also reduces the amount of SRAM available for the application by the size of the retained partitions. You can adjust the retained partitions for your needs by editing the Matter diagnostic logs snippet (matter-diagnostic-logs) devicetree file for the relevant board.
The following RAM memory layout is valid for Matter applications running on the nrf52840dk.
Base Application core SRAM size (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
Partition
Offset
Size
Application core SRAM primary
0 (0x0)
247,8125 kB (0x3DF40)
Crash retention
247,8125 kB (0x3DF40)
192 B (0xC0)
Network logs retention
248 kB (0x3E000)
6 kB (0x1800)
User data logs retention
254 kB (0x3F800)
2 kB (0x800)
The following RAM memory layout is valid for Matter applications running on the nrf5340dk.
Application core SRAM primary (size: 0x80000 = 512 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
Partition
Offset
Size
Application core SRAM primary
0 (0x0)
503,8125 kB (0x7DF40)
Crash retention
503,8125 kB (0x7DF40)
192 B (0xC0)
Network logs retention
504 kB (0x7E000)
6 kB (0x1800)
User data logs retention
510 kB (0x7F800)
2 kB (0x800)
The following RAM memory layout for the Matter weather station application running on the thingy53.
Application core SRAM primary (size: 0x80000 = 512 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
Partition
Offset
Size
Application core SRAM primary
0 (0x0)
503,8125 kB (0x7DF40)
Crash retention
503,8125 kB (0x7DF40)
192 B (0xC0)
Network logs retention
504 kB (0x7E000)
6 kB (0x1800)
User data logs retention
510 kB (0x7F800)
2 kB (0x800)
The following RAM memory layout is valid for Matter applications running on the nrf54l15dk.
Base SRAM size (size: 0x40000 = 256 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
Partition
Offset
Size
Application core SRAM primary
0 (0x0)
247,8125 kB (0x3DF40)
Crash retention
247,8125 kB (0x3DF40)
192 B (0xC0)
Network logs retention
248 kB (0x3E000)
6 kB (0x1800)
User data logs retention
254 kB (0x3F800)
2 kB (0x800)
The following RAM memory layout is valid for Matter applications running on the nrf54l15dk.
Base SRAM size (size: 0x30000 = 192 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
Partition
Offset
Size
Application core SRAM primary
0 (0x0)
187,8125 kB (0x2EF40)
Crash retention
187.8125 kB (0x2EF40)
192 B (0xC0)
Network logs retention
188 kB (0x2F000)
2 kB (0x800)
User data logs retention
190 kB (0x2F800)
2 kB (0x800)
The following RAM memory layout is valid for Matter applications running on the nrf54lm20dk.
Base SRAM size (size: 0x7FC00 = 511 kB)
SRAM is located at the address 0x20000000 in the memory address space of the application.
Partition
Offset
Size
Application core SRAM primary
0 (0x0)
502,8125 kB (0x7DB40)
Crash retention
502,8125 kB (0x7DB40)
192 B (0xC0)
Network logs retention
503 kB (0x7DC00)
6 kB (0x1800)
User data logs retention
509 kB (0x7F400)
2 kB (0x800)