Writing to SRAM Memory Manipulation SRAM at 0x20040000 Before (empty) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 After writing 68 61 63 6b 79 2c 20 77 h a c k y , w GDB Command: set {char[13]} 0x20040000 = "hacky, world" Verify with: x/s 0x20040000 Why SRAM? SRAM = writable RAM at 0x20000000 We can write any data here via GDB Flash = read-only XIP at 0x10000000 Cannot write to it during execution That's why we use RAM Choosing Address 0x20040000 is safe Far from stack and heap regions Null terminator \0 ends the string