From 12102e98edea9119e09d04617fae41325b7aa10a Mon Sep 17 00:00:00 2001 From: issa marie tseng Date: Sun, 22 Feb 2026 19:01:32 -0800 Subject: [PATCH] target: family/rp2: missing 256KB memory region The RP2350 has two individually-striped 256KB regions followed by the 2 independent 4KB scratch regions the RP2040 also had. Update the memory map so GDB knows it can access these addresses. --- pyocd/target/family/target_rp2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyocd/target/family/target_rp2.py b/pyocd/target/family/target_rp2.py index 971595af0..1488fdcdf 100644 --- a/pyocd/target/family/target_rp2.py +++ b/pyocd/target/family/target_rp2.py @@ -100,7 +100,8 @@ class RP2Base(CoreSightTarget): RomRegion( start=0x12000000, length=0x1000000, name="xip_nocache", alias="xip"), RomRegion( start=0x13000000, length=0x1000000, name="xip_noalloc_nocache", alias="xip"), RamRegion( start=0x20000000, length=0x40000, name="sram0_3", ), - RamRegion( start=0x20040000, length=0x2000, name="sram4_5", ), + RamRegion( start=0x20040000, length=0x40000, name="sram4_7", ), + RamRegion( start=0x20080000, length=0x2000, name="sram8_9", ), RamRegion( start=0x21000000, length=0x40000, name="sram0_3_alias", alias="sram0_3"), RamRegion( start=0x51000000, length=0x1000, name="usbram", ), )