-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clock wont boot #2
Comments
The backtrace decodes to: Is the code using SD for SPIFFS? I thought the best practice is to use littlefs? -Frank |
@frankcohen I dont know, i just build and upload that code in Platformio. Btw i tried your firmware ElekstubeIPSHack, but with no succes too. Clock did not boot the same way as in this case. I was able to connect to EleksHack wifi, upload all bmp files, but after activating the "play clock", nothing happened. |
@frankcohen I try LITTLEFS instead of SPIFFS. Install library and add to code: //#include <SPIFFS.h> and there is result from serial monitor:
|
Littlefs gives similar class/method definitions to SD to make it easier to adopt. For example, replacing the #include is easy. And, the underlying file system needs to be formatted to littlefs for the library to work. The command to format the file system is:
In my EleksTubeIPSHack I add a check that the file system mounts correctly (https://github.com/frankcohen/EleksTubeIPSHack/blob/main/EleksHack/EleksHack.ino line 235) and offers to format the SPIFFS (through the Web interface). "Mounting LITTLEFS failed! Error: -1" is a pretty good indication that something is wrong. Try formatting and see if that makes a difference. -Frank |
succesfully formated but another error pop up:
|
Looks like progress. After you formatted the SPIFFS did you upload image files for the clock function? These errors make it look like the files are missing: [E][vfs_api.cpp:64] open(): /littlefs/config.json does not exist If you're using my hack, the Photobooth command uploads pictures in a fun (non-clock) way: The stack trace is: |
@frankcohen I don't know what you mean specifically, I use this firmware. Can you be specific and show it in this code? Someone wrote here that it works without webserver and without any modifications, so I don't understand why I can't get it to work. |
I'm sorry to be confusing. I wrote another project that re-uses part of this project and https://github.com/SmittyHalibut/EleksTubeHAX. Mine is at https://github.com/frankcohen/EleksTubeIPSHack and turns the clock into a Web server for a nice Web-based UI. I never got around to combining the projects. What I see are these errors: These indicate that some files are missing from the clock. I would start there to see what is missing. -Frank |
I know, i tried both projects. As I wrote, i tried your firmware ElekstubeIPSHack, but with no succes too. Clock did not boot. I was able to connect to EleksHack wifi, upload all bmp files, but after activating the "play clock", nothing happened. I dont want spam here about another project, can you help me with your project? |
Ok, I'll support you here on my project until Andrei says to bug-off to my project repository. :-D Using ElekstubeIPSHack, start your clock, connect to it's wifi, browse the clock, choose Photobooth from the menu from your mobile phone or tablet, take a photo, and upload the images to your clock. Then tell me that it works. Then I'll help you with the clock mode. |
Ok, i erased flash using esptool and upload your firmware backup elekstube_backup_4M_20210628. No boot or text in my clock. I was able to connect to EleksHack SSID . Webserver only work with https://192.168.1.1. If I try connect to my wifi SSID, it scan properly all nearby SSIDs, but after click on my wifi it stuck forever. No text or color on my clock, i tried "play clock", "play images" Here is serial:
|
Once your clock starts the displays should be telling you some info on connecting to the clock. Are you seeing the displays show you anything? If you'd like I could do a zoom/Google Meet call with you. I'm available now and for the next 4-5 hours. |
You are awesome, can you email me [email protected]? |
No problem about your language. What do you speak?
There is very little risk of you damaging the hardware. From what you tell me the clock boots and starts the secure Web server and you can access the command menu through a browser. If so, that means the ESP32 processor and USB hardware are working.
May I ask you to record a video of your clock starting up and you connecting to it? Share a link to the video here.
…-Frank
---
Frank Cohen, Founder
***@***.***
http://www.votsh.com
Phone: (408) 364-5508 USA
On Feb 18, 2022, at 4:47 PM, Rambotnik87 ***@***.***> wrote:
First sorry for my english, its not my native language. I am really thank
you, that you want spend your time to help me.
When clock starts it doesnt display any text. It showed up completely when
I first started it, but after I tried loading some firmwares, nothing
showed up. Is it possible that I have somehow damaged the hardware?
On Sat, 19 Feb 2022 at 00:58, Frank Cohen ***@***.***> wrote:
> Once your clock starts the displays should be telling you some info on
> connecting to the clock. Are you seeing the displays show you anything?
>
> If you'd like I could do a zoom/Google Meet call with you. I'm available
> now and for the next 4-5 hours.
>
> —
> Reply to this email directly, view it on GitHub
> <#2 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALLXICRMIZ2SZWJO4ULKTJLU33MK3ANCNFSM5OYIH4MA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABUEWMLARLPDLHQVCUABZDTU33SCLANCNFSM5OYIH4MA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.
|
Hey guys! The code isn't complete yet. I still need to add a way to connect to WiFi and configure stuff (ntp/dst/etc.) but you can change the skin from the web client. Until then you need to define the Wifi ssid/pass in the code: main.cpp. Still need to add some progress bar/indicator while uploading: |
Hello i successfully build and upload your firmware. But The clock does not boot, no text appears.
When I check the serial connection using putty this statement keeps repeating ande rebooting:
The text was updated successfully, but these errors were encountered: