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

CardPuter Reboots During File Transfer from SD Card via Web Interface (M5Launcher Versions Above 2.0.1) #63

Closed
God-emperor-greatest opened this issue Aug 20, 2024 · 8 comments

Comments

@God-emperor-greatest
Copy link

Description

I'm encountering a consistent issue with the M5Launcher on the CardPuter across all versions above 2.0.1. When attempting to download a file from the SD card on the CardPuter to my computer through the web interface, the device reboots a few seconds after the transfer begins. This problem occurs on multiple operating systems, including Windows, Linux, and Android.

Steps to Reproduce

  1. Insert a microSD card into the CardPuter.
  2. Open the M5Launcher web interface on your computer or mobile device.
  3. Attempt to download any file from the microSD card to the device.

Expected Behavior

The file should download successfully without causing the CardPuter to reboot.

Actual Behavior

The CardPuter reboots a few seconds after the file transfer begins, and the download is interrupted.

Device Information

  • Device: CardPuter
  • M5Launcher Version: 2.0.1 and above
  • Operating System: Windows, Linux, Android

Logs and Screenshots

Unfortunately, I cannot capture any specific logs before the reboot, but I'm available to provide further information if necessary.

Additional Information

The issue was not present in M5Launcher version 2.0.1 or earlier. It consistently occurs in all subsequent versions.

Thank you for looking into this matter!

@bmorcelli
Copy link
Owner

It is probably related to AsyncTCP triggering the Watchdog timer, similar to #61

I'm studying how to disable/increase timers for the watchdogs in the framework.. maybe it solves the problem

@bmorcelli
Copy link
Owner

Hey friend, can you test with this binary?
Launcher_2.0_Cardputer.zip

Install it using This flasher

@God-emperor-greatest
Copy link
Author

God-emperor-greatest commented Aug 30, 2024

In this version, the reboot issue does not occur, but the file transfer is interrupted after 70 KB when tested with different files. Additionally, the web interface stops working afterward, and I have to restart the device.

@bmorcelli
Copy link
Owner

Well, the wifi tweak is not working for WebUI interface.. I am recompiling the framework and will recompile the project this night again.. I'll send a new binary in a few hours..

If it doesn't work, I will change from AsyncWebServer to the Webserver library.. it'll make the fw a little lighter, and will work the same way Bruce WebUI works

@bmorcelli
Copy link
Owner

Launcher_2.0_Cardputer.zip

Lets see if it works..

@God-emperor-greatest
Copy link
Author

Same result

@bmorcelli
Copy link
Owner

Launcher_2.0_Cardputer_24-09-02.zip

Now the framework is basically the same as the 2.0.1... lets give it a try

@God-emperor-greatest
Copy link
Author

Same result

bmorcelli added a commit that referenced this issue Sep 10, 2024
Updated Framework to try to solve these issues:
#68
#67
#65
#63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants