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

SDK • Re: RP2350: How to enable XIP PSRAM?

$
0
0
I've hacked the template in the sdk and that seems to propagate into any binaries. I can't see any reason why that shouldn't be benign. Likewise I've set the flash set permanently at 16Mb

Code:

MEMORY{    FLASH(rx) : ORIGIN = 0x10000000, LENGTH = (16 * 1024 * 1024)    RAM(rwx) : ORIGIN =  0x20000000, LENGTH = 512k    SCRATCH_X(rwx) : ORIGIN = 0x20080000, LENGTH = 4k    SCRATCH_Y(rwx) : ORIGIN = 0x20081000, LENGTH = 4kPSRAM(rwx) : ORIGIN = 0x11000000, LENGTH = (8 * 1024 * 1024)}

Code:

    .psram (NOLOAD): {        . = ALIGN(4);        *(.psram*)    } > PSRAM
Next idea is to set the heap into the PSRAM and see what happens

Statistics: Posted by matherp — Fri Aug 16, 2024 5:59 pm



Viewing all articles
Browse latest Browse all 4834

Trending Articles