ESP32 PSRAM support

Ritesh
Posts: 1123
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 PSRAM support

Postby Ritesh » 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.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1123
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 PSRAM support

Postby Ritesh » Mon Jul 01, 2019 8:25 am

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.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1123
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 PSRAM support

Postby Ritesh » Tue Jul 02, 2019 7:22 am

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?
Regards,
Ritesh Prajapati

WiFive
Posts: 2887
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 PSRAM support

Postby WiFive » Tue Jul 02, 2019 5:46 pm

No
No
No
Yes
Well you might run out of internal heap

Ritesh
Posts: 1123
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 PSRAM support

Postby Ritesh » Wed Jul 03, 2019 4:11 am

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
Regards,
Ritesh Prajapati

WiFive
Posts: 2887
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 PSRAM support

Postby WiFive » 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

Ritesh
Posts: 1123
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 PSRAM support

Postby Ritesh » Wed Jul 03, 2019 5:28 am

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.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: No registered users and 20 guests