dc42 / DuetWiFiServer

HTTP and related server code for Duet WiFi 3D printer electronics
11 stars 9 forks source link

How to upload the WebControl files? #3

Closed MS1987 closed 8 years ago

MS1987 commented 8 years ago

Mr dc42, Sorry to trouble you again! According to your guide, I use the webControl files at : https://github.com/dc42/DuetWebControl. And I use the arduino tools(esp8266fs.jar) to upload the "DuetWebControl.bin" file, but there was an issue as followed:

"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 921600, 4M (3M SPIFFS), ck, Disabled, None" ...... [SPIFFS] data : E:\RepRapWiFi\data [SPIFFS] size : 3052 [SPIFFS] page : 256 [SPIFFS] block : 8192 /DuetWebControl.bin

SPIFFS_write error(-10001): File system is full.

It hinted that my file system is full ,but I had configure the spiffs to occupy 3M size. And I can upload the small size file successfully.

So I suspect it's not the correct way to upload. I wonder how to upload the "DuetWebControl.bin" file. Thank you very much!

dc42 commented 8 years ago

We upload DuetWiFi.bin via the Duet WiFi. During prototyping, we used ESPTool to upload it. The Arduino IDE has an option to do this. If you are using our DuetWebControl.bin then obviously your ESP8266 needs to be a variant with 4Mb flash memory.

PS - in case you hadn't realised, DuetWebControl.bin is a SPIFFS image containing all the web files.

MS1987 commented 8 years ago

Thank you, sir! It's the problem of the upload tool I used. Now I use the ESP_DOWNLOAD_TOOL_V2.4.exe tool and upload the *.bin file the 0x100000 successfully! The web ui has display. Thanks.