Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Store&Forward not setup on Heltec E213 and T190 because PSRAM not found #5904

Open
NH-RedAnt opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@NH-RedAnt
Copy link

Category

Hardware Compatibility

Hardware

Heltec Vision Master E213

Firmware Version

2.5.18 and 2.5.20

Description

Trying to test Store&Forward on a collection of Heltec nodes. The E213 and T190 ESP32s3 hardware are supposed to have 8MB of PSRAM. The serial logs report 0 PSRAM found, and disable S&F. First tested with an image from the web installer, then a local PlatformIO build of 2.5.20 from the github repo.

First I thought that the firmware/variants/heltec_vision_master_e213/platformio.ini just required a additional "build_flags" of "-DBOARD_HAS_PSRAM". But then discovered that was already being set in "firmware/boards/heltec_vision_master_e213.json".

Suspected it could be some other incorrectly set variable but have not found the correct combination yet. I've tried adding:

build.extra_flags:
"-mfix-esp32-psram-cache-issue",
"-mfix-esp32-psram-cache-strategy=memw",

and
"build.flash_mode": "dio",
"build.psram_type": "qspi",

Settings found on Heltec E213 example https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/blob/master/boards.txt

Wondering if anyone has hints on where I might focus my efforts. Is there anything special that needs to be done for PSRAM? Any oddities with the PSRAM test code? Are any other ESP32s3 MCU platforms working OK with S&F?

Relevant log output

[0m␀␛[32m␀INFO  ␛[0m| ??:??:?? 4 ␛[32m␀S:B:67,2.5.15.79da236
␛[0m␀␛[32m␀INFO  ␛[0m| ??:??:?? 4 ␛[32m␀Build timestamp: 1732889532
␛[0m␀␛[34m␀DEBUG ␛[0m| ??:??:?? 4 ␛[34m␀Total heap: 280536
␛[0m␀␛[34m␀DEBUG ␛[0m| ??:??:?? 4 ␛[34m␀Free heap: 238112
␛[0m␀␛[34m␀DEBUG ␛[0m| ??:??:?? 4 ␛[34m␀Total PSRAM: 0
␛[0m␀␛[34m␀DEBUG ␛[0m| ??:??:?? 4 ␛[34m␀Free PSRAM: 0

...

␛[0m␀␛[32m␀INFO  ␛[0m| ??:??:?? 6 ␛[32m␀Init Store & Forward Module in Server mode
␛[0m␀␛[32m␀INFO  ␛[0m| ??:??:?? 6 ␛[32m␀S&F: device doesn't have PSRAM, Disable
@NH-RedAnt NH-RedAnt added the bug Something isn't working label Jan 22, 2025
@JohnTaipei
Copy link

T190
no psram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants