-
Notifications
You must be signed in to change notification settings - Fork 484
Description
Dear all,
I have recently purchased the Bigtreetech SKR PRO v1.2 Mainboard, the TFT35-E3 v3.0 Display and the ESP-01S WIFI-Module. I was able to install them, but now I have following Problem:
Since I have the SD-Card (16gb) plugged into the mainboard slot, I am able to upload some printing files (named .gco) over the ESP3D WEBUI on the SD-Card. But unfortunately, I can only upload very small files, which means that as soon as I want to upload a file that has for example 3Mb it starts to upload but after a few minutes an error message appears (“Error 0“, see Picture).

The WIFI Module ESP-01S is attached to the WIFI pin-slot of the SKR PRO v1.2 mainboard and the SD-Card is also plugged into the mainboard slot. Furthermore, I have a TFT35-E3 v3.0 Touch Display attached to my printer.
I am running the mainboard and the WIFI-Module at a Baudrate of 250000 and set the SERIAL_PORT to 1 and the SERIAL_PORT_2 to 6 in Marlin.
I think that I found the problem, but I don´t know how to fix it:
I found out that when a file gets uploaded via the ESP3D WEBUI, the file gets saved on the onboard buffer of the WIFI-Module. As you can see in the picture my available size for SPIFFS about 228KB and whenever a file is bigger than this value, it can´t be uploaded.
In the other picture you can see that the buffer size is defined in the firmware of the ESP3D (MAX_RESEND_BUFFER), but I can´t increase this value.


In the firmware (esp firmware -> syncwebserver.cpp) you can also see that the available and the needed buffer size is checked every time.
So, the help that I need from you is following:
The files should not be buffered on the ESP-Module but should directly be transmitted to the SD-Card of the SKR PRO Mainboard. In this way the buffer size is not affected.
Or at least, the files should be transmitted in “Block Mode”, so that every file is divided up into smaller parts that could be buffered and transmitted to the SD card respectively.
Looking forward to your reply.
Kind Regards.