Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5151

General • Re: Proper RP2350 SWD Initialization Sequence?

$
0
0
I had problems reading from the SRAM and FLASH when I originally started communicating with my RP2350 via SWD but I never tried the Boot ROM until later, after I got SRAM & FLASH working so I don't know if I was experiencing exactly the same issue.

I was failing to read the SRAM and FLASH because of the CSW.PROT bits. For the RP2040, I just left these bits with their default values but with the RP2350 that resulted in failed SRAM/FLASH accesses. I had to set the CSW.PROT bits to 0x23 to get be able to access these parts of memory.

Statistics: Posted by adam_green — Sat Nov 30, 2024 10:25 am



Viewing all articles
Browse latest Browse all 5151

Trending Articles