Page 11 of 12

Re: ESP32 PSRAM support

Posted: Thu Jun 27, 2019 5:53 am
by Ritesh
Hello ESP32 SDK Team,

We are planning to use PSRAM into few of our products as per our requirements. I have gone through menu configuration and other stuffs related to PSRAM and i have few queries for same.

- Can it be possible to use External PSRAM only with bypassing internal RAM? or it is needed to have internal RAM along with external PSRAM for board boot up? Any changes required into boot-loader to do it if possible from stack side?
- Will it create any speed impact with respect to internal RAM while using external PSRAM?
- Is there any conflict with SPI Flash when using both together both SPI Flash and PSRAM?
- Can we detect the corruption when using this PSRAM? is there any indication or memory trace included into IDF for that?
- What are the implication with being used with feature enabled or disabled ? Like what if we increase the default size for malloc for ((16384) Maximum malloc() size, in bytes, to always put in internal memory (NEW))?


Would you please let me know that will it be OK if we go with ESP32 IDF 3.2 Stable Release for PSRAM? or let us know if any open issues into PSRAM which you are planning to fix into next release.

Re: ESP32 PSRAM support

Posted: Mon Jul 01, 2019 8:25 am
by Ritesh
Hello ESP32 SDK Team or WiFive,

Can i get any update regarding same? I have posted comments into last week but still didn't get any feedback or reply for same.

Hope to get some positive feedback or reply form your end and let me know if need any more details regarding same.

Re: ESP32 PSRAM support

Posted: Tue Jul 02, 2019 7:22 am
by Ritesh
Ritesh wrote:
Thu Jun 27, 2019 5:53 am
Hello ESP32 SDK Team,

We are planning to use PSRAM into few of our products as per our requirements. I have gone through menu configuration and other stuffs related to PSRAM and i have few queries for same.

- Can it be possible to use External PSRAM only with bypassing internal RAM? or it is needed to have internal RAM along with external PSRAM for board boot up? Any changes required into boot-loader to do it if possible from stack side?
- Will it create any speed impact with respect to internal RAM while using external PSRAM?
- Is there any conflict with SPI Flash when using both together both SPI Flash and PSRAM?
- Can we detect the corruption when using this PSRAM? is there any indication or memory trace included into IDF for that?
- What are the implication with being used with feature enabled or disabled ? Like what if we increase the default size for malloc for ((16384) Maximum malloc() size, in bytes, to always put in internal memory (NEW))?


Would you please let me know that will it be OK if we go with ESP32 IDF 3.2 Stable Release for PSRAM? or let us know if any open issues into PSRAM which you are planning to fix into next release.
Hello ESP_Sprite,

is it possible to get some feedback for queries which I have asked?

Re: ESP32 PSRAM support

Posted: Tue Jul 02, 2019 5:46 pm
by WiFive
No
No
No
Yes
Well you might run out of internal heap

Re: ESP32 PSRAM support

Posted: Wed Jul 03, 2019 4:11 am
by Ritesh
WiFive wrote:
Tue Jul 02, 2019 5:46 pm
No
No
No
Yes
Well you might run out of internal heap
Hello,

Thanks for your response and valuable feedback regarding same.

- Can we detect the corruption when using this PSRAM? is there any indication or memory trace included into IDF for that? Answer is Yes.
Then Process to detect corruption is same as like internal RAM?

- - What are the implication with being used with feature enabled or disabled ? Like what if we increase the default size for malloc for ((16384) Maximum malloc() size, in bytes, to always put in internal memory (NEW))?
I have asked with respect to External Memory Limit as defined into menuconfig option mentioned for PSRAM

Re: ESP32 PSRAM support

Posted: Wed Jul 03, 2019 5:14 am
by WiFive
Yes
increase the default size for malloc for ((16384) Maximum malloc() size, in bytes, to always put in internal memory
That means put more stuff in internal memory so it will run out faster

Re: ESP32 PSRAM support

Posted: Wed Jul 03, 2019 5:28 am
by Ritesh
WiFive wrote:
Wed Jul 03, 2019 5:14 am
Yes
increase the default size for malloc for ((16384) Maximum malloc() size, in bytes, to always put in internal memory
That means put more stuff in internal memory so it will run out faster
Ok. Thanks for clarifications and providing response for same.

I will check and let you know if any further query regarding PSRAM in development phase as well.

Again thanks a lot for same.

Re: ESP32 PSRAM support

Posted: Tue Aug 15, 2023 2:39 pm
by rudi ;-)
update
=======

in 2023 the psram theme continues :)

128Mbit, 256Mbit, 512Mbit


APMemory:
128_256_512.jpg
128_256_512.jpg (553.46 KiB) Viewed 5653 times

best wishes
rudi ;-)

edit: 18. Aug ' 23
update
======

128Mbit Psram + 256Mbit Flash successful
tw_05.png
tw_05.png (845.55 KiB) Viewed 5582 times
tw_06.png
tw_06.png (87.76 KiB) Viewed 5582 times

Re: ESP32 PSRAM support

Posted: Sun Aug 20, 2023 10:58 pm
by Ritesh
rudi ;-) wrote:
Tue Aug 15, 2023 2:39 pm
update
=======

in 2023 the psram theme continues :)

128Mbit, 256Mbit, 512Mbit


APMemory:
128_256_512.jpg


best wishes
rudi ;-)

edit: 18. Aug ' 23
update
======

128Mbit Psram + 256Mbit Flash successful
tw_05.png
tw_06.png
Thanks Rudi for providing updates.

Re: ESP32 PSRAM support

Posted: Sun Aug 20, 2023 11:33 pm
by rudi ;-)
Ritesh wrote:
Sun Aug 20, 2023 10:58 pm

Thanks Rudi for providing updates.
you're welcome Ritesh :)


update: 20. Aug 2023
==================


successful 256Mbit ( 1V8 )

20. Aug Done.jpg
20. Aug Done.jpg (707.37 KiB) Viewed 5537 times
next step 512 Mbit

also next steps ( after summerbreak ~25. Sept 2k23 ) :
switch on Wifi and test wifi with more as 8 MB RAM
- cache and other specific test with 16MB, 32MB and 64MB PSRAM
- testing doom with this :)

( parallel test later also with up-to-date ESP-IDF Version )


best wishes
rudi ;-)