PSRAM support status
PSRAM support status
It is now almost 3 months since the the experimental feature/psram_malloc branch was released.
Can we get some information about the current status of psRAM support development, its future, will it be merged into esp-idf v3.0. ?
The psRAM functionality mostly works, but there are some problems, and the feature/psram_malloc branch is 655 commits behind the master...
As more ESP32 modules with psRAM integrated are available, I think it is important to get full, reliable support for it in the master esp-idf branch as soon as possible...
Can we get some information about the current status of psRAM support development, its future, will it be merged into esp-idf v3.0. ?
The psRAM functionality mostly works, but there are some problems, and the feature/psram_malloc branch is 655 commits behind the master...
As more ESP32 modules with psRAM integrated are available, I think it is important to get full, reliable support for it in the master esp-idf branch as soon as possible...
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: PSRAM support status
The plan is to integrate it in the esp-idf-3.0 branch, and we're busy integrating it now. You should see the first additions to the master branch next week or so.
Re: PSRAM support status
a further questionESP_Sprite wrote:The plan is to integrate it in the esp-idf-3.0 branch, and we're busy integrating it now. You should see the first additions to the master branch next week or so.
we use IO16 and IO17 for pSRAM in the future/psram_malloc branche.
the D2WD and PICO use this pins for the eMbedded Flash / packaged SPI Flash.
is there in 3.0 support for both ( menuconfig ) or is converted from 3.0 on this "newer" pin assignment
i wonder cause D2WD was the state for CS and CLK for pSRAM TBD
and previous and today's hw design based on IO16, IO17.
this can remain so (over menuconfig pin assignment) or is generaly newly assigned?
txs
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: PSRAM support status
Hi Rudi,
In 3.0, we don't have support for pSRAM + D2WD or pSRAM + PICO planned. Most likely will be done in the version after 3.0.
In 3.0, we don't have support for pSRAM + D2WD or pSRAM + PICO planned. Most likely will be done in the version after 3.0.
Re: PSRAM support status
Hi IvanESP_igrr wrote:Hi Rudi,
In 3.0, we don't have support for pSRAM + D2WD or pSRAM + PICO planned. Most likely will be done in the version after 3.0.
no problem, i had a try to figured it out in "future/psram_malloc branch" for a first start with pSRAM now - looks very good
( no more guru with wrong config pins ).
cause the SPI Flash work with 3.3V, must connect 3.3V pSRAM now - hope the lines not disturb other lines in the SIP, finger crossed,
know we have "only" rev0 here as test board, so the note on bugs are valid for this too.
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: PSRAM support status
today done nowESP_igrr wrote:Hi Rudi,
In 3.0, we don't have support for pSRAM + D2WD or pSRAM + PICO planned. Most likely will be done in the version after 3.0.
D2WD need 1.8V PSRAM
PICO need 3.3V PSRAM ( PICO-D4, CORE_V2, CORE_V3 Boards )
thank you
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: PSRAM support status
look promissed :loboris wrote: It is now almost 3 months since the the experimental feature/psram_malloc branch was released.
Can we get some information about the current status of psRAM support development, its future, will it be merged into esp-idf v3.0. ?
The psRAM functionality mostly works, but there are some problems, and the feature/psram_malloc branch is 655 commits behind the master...
As more ESP32 modules with psRAM integrated are available, I think it is important to get full, reliable support for it in the master esp-idf branch as soon as possible...
step1
step2
step3
( txs jeroen! )
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: PSRAM support status
Yesterday I compiled hello world example using latest esp-idf to run it on ALB-WROVER module.
PSRAM was successfully initialized and tested by internal functions.
I have noticed that currently PSRAM only mapped to ESP32 memory space but not available via heap to be malloced.
Looking forward for new commits.
Please provide us with updated binary toolchain for windows/linux with support for "SPIRAM_CACHE_WORKAROUND".
PSRAM was successfully initialized and tested by internal functions.
I have noticed that currently PSRAM only mapped to ESP32 memory space but not available via heap to be malloced.
Looking forward for new commits.
Please provide us with updated binary toolchain for windows/linux with support for "SPIRAM_CACHE_WORKAROUND".
- Attachments
-
- console.JPG (109.99 KiB) Viewed 14925 times
-
- alb-wrover2.jpg (300.9 KiB) Viewed 14925 times
Re: PSRAM support status
sintech: we are working on the toolchain release. It touches a fair number of things (not only pSRAM support), so we need to have some updates prepared on the IDF side before we can switch to the new toolchain. If all goes well, we will have it released tomorrow.
Re: PSRAM support status
I have an issue with psram support in esp-idf master.
I've done some simple tests and everything works fine, except for one thing:
memcmp fails when running with flash @80MHz & spiram @80MHz, other speed combinations runs without issue.
Two spiram memory regions are filled using memset function (alternating 0xA5 & 0x5A in subsequent passes), then compared using memcmp.
Comparing the memory byte by byte in loop passes.
What is also interesting is the fact that comparing the memory byte by byte is 65% faster then comparing with memcmp (in speed configurations where memcmp passes).
Tested on ESP32-WROVER.
Tested also on AnalogLamb's ALB32-WROVER, but it can only run at flash @40MHz, so I couldn't test the issue with spiram @80MHz.
I've done some simple tests and everything works fine, except for one thing:
memcmp fails when running with flash @80MHz & spiram @80MHz, other speed combinations runs without issue.
Two spiram memory regions are filled using memset function (alternating 0xA5 & 0x5A in subsequent passes), then compared using memcmp.
Comparing the memory byte by byte in loop passes.
What is also interesting is the fact that comparing the memory byte by byte is 65% faster then comparing with memcmp (in speed configurations where memcmp passes).
Tested on ESP32-WROVER.
Tested also on AnalogLamb's ALB32-WROVER, but it can only run at flash @40MHz, so I couldn't test the issue with spiram @80MHz.
Who is online
Users browsing this forum: Bing [Bot], VinayDand and 426 guests