Skip to content

Commit fe27fb3

Browse files
committed
fix: nrf54lm20dk matter-diagnostic-logs SRAM memory region overlap
Fix SRAM address mismatch in matter-diagnostic-logs snippet overlays that caused 1024-byte overlap into memory beyond 511 KB cpuapp_sram boundary. This corrupted UART driver state at runtime, rendering keyboard input non-functional despite TX/logs continuing to print. Shift DiagnosticLogMem from 0x2007DF40 to 0x2007DB40 to fit within actual SRAM bounds. Affects nrf54lm20dk/nrf54lm20a/cpuapp and nrf54lm20dk/nrf54lm20b/cpuapp targets used in Matter certification builds. Signed-off-by: Michał Szablowski <michal.szablowski@nordicsemi.no>
1 parent 8f15ece commit fe27fb3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

snippets/matter/matter-diagnostic-logs/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
*/
55

66
/ {
7-
cpuapp_sram@2007df40 {
7+
cpuapp_sram@2007db40 {
88
compatible = "zephyr,memory-region", "mmio-sram";
9-
reg = <0x2007df40 0x20c0>;
9+
reg = <0x2007db40 0x20c0>;
1010
zephyr,memory-region = "DiagnosticLogMem";
1111
status = "okay";
1212

@@ -48,5 +48,5 @@
4848

4949
/* Reduce cpuapp_sram usage by 8384 B to account for non-init area */
5050
&cpuapp_sram {
51-
reg = <0x20000000 0x7df40>;
51+
reg = <0x20000000 0x7db40>;
5252
};

snippets/matter/matter-diagnostic-logs/boards/nrf54lm20dk_nrf54lm20b_cpuapp.overlay

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
*/
55

66
/ {
7-
cpuapp_sram@2007df40 {
7+
cpuapp_sram@2007db40 {
88
compatible = "zephyr,memory-region", "mmio-sram";
9-
reg = <0x2007df40 0x20c0>;
9+
reg = <0x2007db40 0x20c0>;
1010
zephyr,memory-region = "DiagnosticLogMem";
1111
status = "okay";
1212

@@ -48,5 +48,5 @@
4848

4949
/* Reduce cpuapp_sram usage by 8384 B to account for non-init area */
5050
&cpuapp_sram {
51-
reg = <0x20000000 0x7df40>;
51+
reg = <0x20000000 0x7db40>;
5252
};

0 commit comments

Comments
 (0)