-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Continuous hour glass #79
Comments
@pcmdx same here. Not all EPUB files seem to work well. Honestly, EPUB isn't the best format for an esp32 to being with, due to its limited capabilities. If you want to use your P5Paper as an e-reader, I'd recommend preprocessing the EPUBs. A text only version should work mostly, but then you could have also just written a small app that reads plain text files. |
@codingjoe Some good points. With UI Flow now available I might try MicroPython with text files. |
At least the Gutenberg Project has all books as plain text. If you develop one, I'd love to see one with a beautiful type face, like Vollkorn. |
Can you post any logs coming from the device? That will help troubleshoot the issue. Some ePub files are just too big for the esp32 to handle. But most should work. If you want the best results then I would suggest rendering the ePub files to images and then have a simple slideshow. |
Please find screenshot below @cgreening. It seems to be a file open failed with the file the M5Burner tool recommends: https://m5stack-firmware.oss-cn-shenzhen.aliyuncs.com/files/pg14838-images.epub I renamed it to zip on my local machine and it unzips and loads the container.xml file successfully. |
Can you attach the ePub file you are using and I'll give it a go. We can also add some more robust error handling so it doesn't fail quite so badly when it can read the ePub contents. |
Thanks @cgreening. Please find attached. |
Zipped copy. pg14838-images epub.zip |
Great - will try it tonight. |
I've tried with the ePub you sent and it seems to work. I'm using PlatformIO and not the M5Burner - I'm not sure how the M5Burner works. Can you try using PlatformIO instead? Can you make sure that your M5Stack is fully charged up - I have a lot of problems using the SDCard when the device does not have much power - it immediately crashes. Can you try using the SPIFFS filesystem option to see if that works. In You will need to "upload the filesystem" using platform io. I know there's nothing worse than someone saying it, but it works on my machine... |
Thanks for the detailed feedback and testing @cgreening. I did a build and upload using PlatformIO, which went smoothly, however, it doesn't seem to be loading the program at all now. When I monitor the serial port I get:
Here's the full upload process, which looks like it worked OK. Am I missing a boot loader or some other preliminary step not carried out by the build? Thanks again for your help.
|
Can you follow the upload file system with a normal upload. Should be in the group above the one I highlighted. |
If I try m5_Paper -> General -> Upload, I get the following output, which looks like it's missing source for a driver.
|
I think when you cloned the repo you didn't clone it recursively so it doesn't have any of the submodules. Not a problem, you can either try:
Or just do a fresh clone with:
|
Ah, what a stupid mistake I made. You're right @cgreening, and that now works perfectly! For context on my original request, this is what the M5Burner interface looks like. I'm not sure if someone needs contacting, but they're clearly promoting a download that doesn't work through that tool. Thanks again for your help. |
No problem - I'll see if I can find a contact there. |
I loaded the project via M5Burner and put the recommended epub file on the micro SD card. However, despite restarts/etc all I get is the hour glass, even after waiting a while. Is this user error, in which case can you provide a pointer? Thanks.
The text was updated successfully, but these errors were encountered: