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

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

$
0
0
You have to setup it, and bear in mind that it's much slower than internal RAM (especially at random access): viewtopic.php?t=375975&start=25
Pimoroni mixed (extended) MicroPython's heap ... it works, but I cannot say I like it.
How interesting.

Well if the PSRAM memory region could be used as a separate heap and the internal RAM prioritised for other purposes that require fast access. I don't quite follow the speed, if I understand it using memory in a 1K memory page is the fastest reading multiple pages slows things down and you can't just flip back and forth as you please? Is memory access under SDK setup and control or is it all up to user code?

I was hoping that it was possible to add some setup and the SDK takes care of the memory ops, all you need do is point a memory allocator to the memory address and let it go. Joining the PSRAM heap to the internal RAM heap isn't what I was looking to do, I want to use the PSRAM for interpreter memory and have everything else use the internal memory.

Statistics: Posted by DarkElvenAngel — Sun Jan 05, 2025 3:17 am



Viewing all articles
Browse latest Browse all 8042

Trending Articles