-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Cardputer web server crashes with SD card inserted #16
Comments
+1 here. The web UI works fine without my SD card, but if it is insert, the Cardputer just reboots as soon as i try to load the webpage in a browser. |
You are using in "AP mode" or in "my network"? Can you try again, but logging the Serial Monitor, and send me the results? other thing, are you starting the webUI plugged on USB and the power switch turned off? |
I'm using "My Network", I haven't managed to get AP mode to work, but I'm probably doing something wrong.
I initially tried it running on battery power only, but I did try it with USB and power switch off at your suggestion, and there was no change in the behavior.
|
Few more questions: Are there files, in your sd card, with some sort of special characters? |
SD Card size is 32gb, formatted as FAT32. It was a fresh SD card used straight from the packaging into the Cardputer. The only files on it are those placed there by M5Launcher via the OTA download.
|
Likewise here. "My Network" and a 32GB FAT32 card. I do have a mix of filenames with dashes and spaces as well as multiple dots. But nothing that isn't ASCII. I do however have plenty of files starting with a dot. |
Can you please test this version for me? The OTA Function is pointing to a test repo, so it won't have all firmwares and wont be updated, but the goal here is undersatand what's going on with your devices.. so I Ask you to use http://web.esphome.io to install this .bin and keep the LOG opened while you try to start the WebUI. My hunch is that your SDCard is taking too long do deliver all data to the webUI, and the watchdog is stopping the AsyncTCP Service, leading to a crash (at least is what is written in here)
I included some this code soon after starting the server and fixed the fail on creating folders, so if you can test it, would be very nice..
I Hope it works.. fingers crossed |
That worked successfully! I installed per your instructions using http://web.esphome.io/. I was able to launch the webserver, upload/download files to the SD card, create folders, and install a .bin. Here's the log from that website in case you wanted it.
|
Great!!! This is great news!! Will polish some extra bytes here with the other issues, next week I'll release the fixed version |
Loving it so far!
With an SD card inserted, I start up the webserver. As soon as I try to connect with PC, the cardputer starts running whatever OTA program is installed and the web server is not available. It doesn't make it as far as the login screen.
With no SD card inserted, it works as expected.
The text was updated successfully, but these errors were encountered: