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

[Question] How to access the SPIFFS : I've copy the index.html.gz from the filelist:Now Github there :( #102

Closed
Wesie opened this issue Jun 15, 2020 · 37 comments

Comments

@Wesie
Copy link

Wesie commented Jun 15, 2020

I've a brandnew ESP3D, resolder the pins, so that I can connect the modul on the TFT (BTT) direct.
After call the I received the message, that the index.html.gz is missing, with a link to this side.... The Modul is still in Station Mode.
After readinf a little bit ( I'll believe not to much :( ) I've download this file:
https://github.com/luc-github/ESP3D-WEBUI/blob/2.1/index.html.gz
and copy the file on the Modul.
Now I receive at every time the copy from the Github, if I call the from the modul :(

Skip to content
luc-github / ESP3D-WEBUI
Sign up

Why GitHub?

All readings in the Internet doesn't help: Information are to old, sides no more available ....
How I get an access to the SPIFFS memory to delete the file or how I can make a factory reset ?
Thx in adavanced
DIrk

@Wesie Wesie added the Question label Jun 15, 2020
@luc-github
Copy link
Owner

you can access to embedded page by typing http://<your IP>?forcefallback=yes

@Wesie
Copy link
Author

Wesie commented Jun 15, 2020

YES, it's works :)
I've try a time ago, but I've forget (not recognise) the "?" .
Which file is now the correct one for upload? In the right upper corner V1.2 is written.
For the flash filesystem I get following information; Total space: 471.36 KB | Used space: 251 B

@luc-github
Copy link
Owner

luc-github commented Jun 15, 2020

this one https://github.com/luc-github/ESP3D-WEBUI/blob/2.1/index.html.gz?raw=true

471.36 KB total space on a 1MB flash ?

@Wesie
Copy link
Author

Wesie commented Jun 15, 2020

Many Thank's . It's work now :)
About the memory I received this information:
Prozessor-ID: 13349399
Prozessorfrequenz: 160Mhz
Freier Speicher: 38.34 KB
SDK: 2.2.1(cfd48f3)
Flashgröße: 1.00 MB
Verfrügbare Grröße frür das Update: 131.59 KB(Not enough)
Verfrügbare Grröße frür das SPIFFS: 471.36 KB

I've no idea, for what the rest of the memory is reserviert or who used this one ....
Some Misspellings are incl:
Verfrügbare >> Verfügbare
Grröße >> Größe
frür >> für
it looks likes, as is in front of every "Umlaut" a prefix "r" available.

In the GUI: Überschichtsseite >> Übersichtsseite

@luc-github
Copy link
Owner

luc-github commented Jun 15, 2020

the german come from contributors
you can review it and fix glitches using https://raw.githubusercontent.com/luc-github/ESP3D-WEBUI/2.1/www/js/language/de.js

@Wesie
Copy link
Author

Wesie commented Jun 16, 2020

I'll check the translation in the evening after work.

About the memory I've found 1 interssting thing. The memory flash is onboard:
From the datasheet it's a 1M chip:
The EN25Q80B is an 8 Megabit (1024K-byte) Serial Flash memory, with advanced ...__
But in the datasheet of the :

ESP8266EX uses external SPI flash to store user programs, and supports up to 16 MB
memory capacity theoretically.
The minimum flash memory of ESP8266EX is shown below:
• OTA disabled: 512 kB at least
• OTA enabled: 1 MB at least__

Could it be possible, that in the firmware OTA is enabled, so that a part of the memory is reserved for an OTA update?

@luc-github
Copy link
Owner

yes if you use the one for BTT it is an ESP01 with 1MB flash
but using so much for FS will definitly block you for OTA - and if you want to use future version of ESP3D it won't fit
I suggest you to use 144KB for FS
OTA will work under 2.1 under some conditions (luc-github/ESP3D#331 (comment)) but on ESP connected to BTT board it is not a problem to update FW by putting binary on SD card from what I know

also if you want to control your BTT TFT I did a test webUI to control TFT SD and TFT USB and adding other improvements
https://github.com/luc-github/ESP3D-WEBUI/tree/2.1-BTT-TFT/languages/de

@Wesie
Copy link
Author

Wesie commented Jun 16, 2020 via email

@luc-github
Copy link
Owner

Updated - thank you ^_^

@Wesie
Copy link
Author

Wesie commented Jun 16, 2020 via email

@luc-github
Copy link
Owner

Alarms and Error msg are for grbl not 3d printing so if you do not use grbl you won't see them

@Wesie
Copy link
Author

Wesie commented Jun 17, 2020 via email

@luc-github
Copy link
Owner

all index.htlm.gz are here :
https://github.com/luc-github/ESP3D-WEBUI
image
they are available for each language and for multi also

you use GRBL FW on your CNC3018 pro with BTT TFT and it works ? I am surprised I though it was only working with Marlin

For your cnc I suggest to use this project : https://github.com/bdring/Grbl_Esp32 it use same webUI but using directly and ESP32 board instead of daughter board which make the job from SD safer and faster than host streaming

@Wesie
Copy link
Author

Wesie commented Jun 17, 2020 via email

@luc-github
Copy link
Owner

I modify the firmware from the TFT35 from Marlin (3D
pronter) to Grbl (CNC).

Ho I misunderstood this part sorry

@luc-github
Copy link
Owner

any update ?

@Wesie
Copy link
Author

Wesie commented Jun 19, 2020 via email

@luc-github
Copy link
Owner

luc-github commented Jun 19, 2020

I am rewriting webUI for esp3D 3.0 - the GRBL interface should be improved because 2.1 it is basic and mostly derivated from 3d printer's one - in 3.0 it should be fully cnc because now code are splitted - let me know what it is currently missing in 2.1 so I may work on it

Also may I know what board you use with your cnc and which flavor of grbl do you use with your BTT TFT ?

@Wesie
Copy link
Author

Wesie commented Jun 19, 2020 via email

@luc-github
Copy link
Owner

In the Settings I can say, Show me the TFT-SD / TF-USB. Uncomfortable Grbl
has no internal SD.

GRBL_ESP32 support SD - in 2.1 TFT support was added and not in idea of having TFT-SD without SD on board as TFT was not supporting GRBL so the solution was to remove the File interface - your case GRBL no SD - BTT TFT SD for GRBL was not in expected case
In 3.0 it will be ok because the selection is more flexible in settings

If the surface is secured (upper right tag) its not possible to change
between the different file sources (TFT SD to TFT-USB and vice versa) .

yes UI is locked - because it query ESP which query TFT or Printer/CNC,
In 3.0 I did not implemented the lock interface yet - and there is more file cache implemented - so I think changing selection without query the TFT when interface is locked should be possible - that said, if no previous query was done when interface is unlock - changing selection when UI locked will display nothing

@luc-github
Copy link
Owner

@Wesie do you have some code I could test for your BTT GRBL TFT?

@Wesie
Copy link
Author

Wesie commented Jun 20, 2020 via email

@luc-github
Copy link
Owner

yes I do

@Wesie
Copy link
Author

Wesie commented Jun 20, 2020 via email

@luc-github
Copy link
Owner

I have BTT TFT 35 - E3 V3.0 / BTT TFT 3.5 V3.0
I have also flashed My MKS 32 V4.0 and V2.0 with BTT FW

@Wesie
Copy link
Author

Wesie commented Jun 20, 2020 via email

@Wesie
Copy link
Author

Wesie commented Jun 20, 2020 via email

@luc-github
Copy link
Owner

@Wesie you need to use gtihub to attach files
everytime you attach files by email they are not displayed / available

@Wesie
Copy link
Author

Wesie commented Jun 20, 2020

hi Luc,
on Github I can only make an attachemnt via link.
The code is still in progress .... so nothing to publish now in this moment. Can you send me your mail address, so I can send the files direct to you?

@luc-github
Copy link
Owner

luc-github commented Jun 20, 2020

you just drop a zip file ESP3D-features.zip
like I did
image

@Wesie Wesie changed the title [Question] Hoe to access the SPIFFS : I've copy the index.html.gz from the filelist:Now Github there :( [Question] How to access the SPIFFS : I've copy the index.html.gz from the filelist:Now Github there :( Jun 20, 2020
@Wesie
Copy link
Author

Wesie commented Jun 20, 2020

BIGTREE_TFT35_V3.0.26.1.zip

config.zip

In the config.ini the Serial port must be always on, (compare to my attached config.ini) and the min/max Values for XYZ should matched for your device. (without drive into the endstops.)
0.0.0 is on my device on the right top corner and Z the highes position. All ways runs into the zero area ...on my side.... like -100 (X),-50(Y),-5(Z).

The first Alarm or Error. will stay in the notification field and must be confirmed.
All other Alams and Error are ignored till confirmation.
Other the info field: here the last messsge is visible. Delete the msg could be done via one-Touch on the infofield.

The status report in Grbl should be "$10=3" . Grbl should be version 1.1

In Movements, there is the possibility to send $X and $H, also Jogging to different places (in depent of the min, max values of your config). In this moment , you can set the Speed and feed for each axis, which is stored localy on the TFT during runtime. (Statusscreen right upper icon = one touch to go in)
This is in preparation if the manual movement menue will be available.
The probe ( Z or for all 3 axis is still missing, a lot of "old" code for a 3D pronter is still avaialble ..... It's only a snapshoot ;)

@luc-github
Copy link
Owner

@Wesie thank you - I will have a check

@Wesie
Copy link
Author

Wesie commented Jun 20, 2020

Could you get a connection? Jooging? Homing,....?

@luc-github
Copy link
Owner

did not tested yet - will feedback when done

@stale
Copy link

stale bot commented Jul 12, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 12, 2020
@luc-github
Copy link
Owner

I do not have available system for GRBL for test right now as I am currently on the 3.0 and focusing on printer part - I will report later - so for now I think this issue can be closed

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants