Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:36 23 Dec 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PiciMite RP2350 + PSRAM 8M

Author Message
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 293
Posted: 08:07pm 16 Dec 2024
Copy link to clipboard 
Print this post

Today I received a parcel with RP2350-Plus and immediately soldered another PSRAM chip on top of the flash memory chip installed on the board.
I have this chip ESP-PSRAM64H
I also soldered the PSRAM chip selection control pin to the GP8 port for my circuit.

The initial welcome screen and the MEMORY command say that all PSRAM memory is available to the user.

Now my question is, is there a stress test to test the entire volume of this PSRAM chip, as well as tests for memory access speed??
 
dddns
Newbie

Joined: 20/09/2024
Location: Germany
Posts: 21
Posted: 09:00am 22 Dec 2024
Copy link to clipboard 
Print this post

Hello Javavi!

nice clean hack even with the jumper you are using now.
Two questions:
Is pin 1 of the ESP-PSRAM64H only connected to gp8 or is it as well soldered to pin1 of the chip below?

Does the psram expand the heap memory? I would like to create a framebuffer
with a 800x480 display.
Edited 2024-12-22 19:01 by dddns
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 293
Posted: 09:52am 22 Dec 2024
Copy link to clipboard 
Print this post

  dddns said  Two questions:
Is pin 1 of the ESP-PSRAM64H only connected to gp8 or is it as well soldered to pin1 of the chip below?
Does the psram expand the heap memory?
I would like to create a framebuffer with a 800x480 display.

Hi dddns!
1) Yes, the "Pico2" port pin of the GP8 is connected to pin 1 of the PSRAM chip (ESP-PSRAM64N). Later, I improved this life hack with a jumper that disconnects the line from the GP8 and a pull-up resistor for the CS pin on the PSRAM chip. So that it could be disconnected and connected when needed.

Other Pico2 clones with flash memory in a large case have appeared on AliExpress, to which you can solder a PSRAM microcircuit on top in a similar way.

2) OPTION PSRAM PIN GP8
Expands the available RAM heap up to 8 Megabytes.

So far I'm only testing this on PicoMite variants with VGA and HDMI video outputs.
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 293
Posted: 09:56am 22 Dec 2024
Copy link to clipboard 
Print this post

Option default integer
SBK=1
TEST_BEGIN:
SBW=SBK*128
SOURCE=&h5555555555555555:DEST=0
NB=((MM.Info(heap)\1024)-5)\SBK
Dim integer HEAP(NB,SBW)
Print "NUMBER OF MEMORY BLOKS:";NB
Print "RAM MEMORY BLOCK SIZE :";SBK*1024,"byte"
Print "TOTAL SIZE TESTING RAM:";NB*SBK,"Kbyte"
Print "----------------------|------|-------"
Timer =0
For i=0 To SBW-1
 HEAP(0,i)=SOURCE
Next : Print Timer;"mS","-- Time to wtite 1 Block RAM"
Timer =0
For i=0 To SBW-1
For n=0 To NB-1
 HEAP(n,i)=SOURCE
Next : Next : Print Timer;"mS","-- All RAM Fill Time"
Timer =0
For i=0 To SBW-1
 DEST=HEAP(0,i)
Next : Print Timer;"mS","-- Time to read 1 Block RAM"
Timer =0
For i=0 To SBW-1
For n=0 To NB-1
 DEST=HEAP(n,i)
Next : Next : Print Timer;"mS","-- All RAM Read Time"
Timer =0:n=NB-1
For i=0 To SBW-1
 HEAP(0,i)=HEAP(n,i)
Next : Print Timer;"mS","-- Time to Copy 1 Block RAM"
Timer =0
For n=0 To NB-2
For i=0 To SBW-1
 HEAP(n,i)=HEAP(n+1,i)
Next : Next : Print Timer;"mS","-- All RAM Copy Time"
Print
Clear
Input "Enter RAM BLOCK SIZE in Kbyte: ",SBK
If SBK>0 Then CLS :GoTo TEST_BEGIN
End
 
dddns
Newbie

Joined: 20/09/2024
Location: Germany
Posts: 21
Posted: 10:07am 22 Dec 2024
Copy link to clipboard 
Print this post

Does this hack also work with a RP2040?
 
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 293
Posted: 10:12am 22 Dec 2024
Copy link to clipboard 
Print this post

  dddns said  Does this hack also work with a RP2040?

Unfortunately, no! This is exclusively a feature of the new RP2350 chip. Which hardware supports the operation of two devices on the QMI bus
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024