mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #214] Problems with MiniAP and SD-Card #114
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @seeers on GitHub (Feb 1, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/214
I soldered an SD card slot to the MiniAP and adapted the Platformio.ini accordingly:
board_build.partitions = esp32_sdcard.csv
and added the following buildflags:
-D HAS_SDCARD
-D USE_SOFTSPI
-D SD_CARD_SS=38
-D SD_CARD_CLK=40
-D SD_CARD_MISO=37
-D SD_CARD_MOSI=39
Changed 'VSPI' to 'HSPI' in storage.cpp, erased the Flash, build and uploaded the compiled FW.
I can connect to the APs wifi, unfortunately the status is initializing...
Sometimes the AP reboots / crashes when I refresh the page http://192.168.0.4 with F5 (Windows sound for new hardware / COM port found)
The segmented display shows IP addr., then nothing follows.
Access to the SD card works via http://192.168.4.1/edit
Have I made a fundamental mistake or could it be a bug?
Does anyone else use an ESP32-S2 with Segmented Display as a radio and an SD card?
Serial output:
Log.txt:
@titijack commented on GitHub (Feb 9, 2024):
I faced exactly the same issue with a 1.54" ESL. It was 3 weeks ago, so I don't remember well. I tried to debug but didn't find the issue. It seems the first init steps ran (files are copied on the SDCard) but with kernel panics and reboot loops.
I wanted to extend this nanoAP storage for my daughter to avoid to upload images to HA and use the api etc... and I find the UI of the AP easy to use and user friendly enough to manage custom drawings, embedded features (like calendars) and image upload / applied as static images.
@jonasniesner commented on GitHub (Feb 17, 2024):
To be honest the SD card code is not really tested because no currently supported APs support it. Why do you need an SD card?
@seeers commented on GitHub (Feb 18, 2024):
I use relatively large vlw fonts with icons, so I didn't have much space left on the filesystem. I also suspected that the memory area had been corrupted. (little space and many updates)
So I wanted to try out the option with the SD card.
In the meantime I have changed to a ttf font, now there is more space on a new esp32-s2.
Nevertheless I find the SD option interesting to save write cycles of the internal flash.
@jonasniesner commented on GitHub (Mar 2, 2024):
I am closing this for now since we have no capacity to work on this at the moment and no "official" AP uses it at the moment. Feel free to work on it yourself though.