Skip to content

Update Canceled After 100 % #306

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

Closed
santiagocarod opened this issue Mar 13, 2019 · 21 comments
Closed

Update Canceled After 100 % #306

santiagocarod opened this issue Mar 13, 2019 · 21 comments

Comments

@santiagocarod
Copy link

I have a problem with the embedded uploader, when i try to upload the index.html in the serial monitor it shows "M117 UPDATE 100%" but in the browser it says Update Canceled !
Capture

Capture15
Capture2

@santiagocarod
Copy link
Author

Even I can upload the SPIFFS Image but when i open the server it doesnt show
Capture3

Anybody knows what im doing wrong?

@santiagocarod
Copy link
Author

Im using a ESP8266 With 1M ang 512KB SPIFFS

@luc-github
Copy link
Owner

Try to enable puya patch , you may have this flash issue #229

@santiagocarod
Copy link
Author

So i found the esp.h here but do i add it to the arduino project where the ESP3D.ino is?

@luc-github
Copy link
Owner

luc-github commented Mar 13, 2019

No you update the one already in installed in core on your pc

@santiagocarod
Copy link
Author

Ok done ! But still having the same program! When i try to upload the index.html.gz it goes to 90% and says Update failed and with index.html it goes to 100% but says Uodate canceled!
Capture4

@luc-github
Copy link
Owner

Can you connect your ESP8266 to your PC and open Arduino Terminal and send the following commands ?
1 - [ESP710]FORMAT
2 - give me the output of [ESP420]plain

@santiagocarod
Copy link
Author

Sure!

Formating...Done
Chip ID: 5795032
CPU Frequency: 160Mhz
Free memory: 41.39 KB
SDK: 3.0.0-dev(c0f7b44)
Flash Size: 1.00 MB
Available Size for update: 151.67 KB(Not enough)
Available Size for SPIFFS: 471.36 KB
Baud rate: 115200
Sleep mode: Modem
Channel: 11
Phy Mode: 11g
Web port: 80
Data port: 8888
Active Mode: Access Point (DE:4F:22:58:6C:D8)
SSID: ESP3D
Visible: Yes
Authentication: WPA
Max Connections: 4
DHCP Server: Started
IP: 192.168.0.1
Gateway: 192.168.0.1
Mask: 255.255.255.0
Connected clients: 0
Disabled Mode: Station (DC:4F:22:58:6C:D8) is disabled
Captive portal: Enabled
SSDP: Enabled
NetBios: Enabled
mDNS: Enabled
Web Update: Enabled
Pin Recovery: Disabled
Authentication: Disabled
Target Firmware: ???
FW version: 1.0

@luc-github
Copy link
Owner

Ok does Arduino SPIFFS uploader works after formating ?

@santiagocarod
Copy link
Author

I think it doesnt work! But i dont know if i am doing something wrong, first I press and hold the reset button then I press and hold the program button, then Irelease the reset button, the ESP finally I release the program button and upload the sketch and finally I go to tools and Click ESP8266 Sketch Data Upload
Capture5

@luc-github
Copy link
Owner

Upload process for buttons is same process as flash, 100% identical, also must not have arduino serial terminal open

@santiagocarod
Copy link
Author

My bad! It does work but it says the same:

Chip ID: 5795032
CPU Frequency: 160Mhz
Free memory: 41.39 KB
SDK: 3.0.0-dev(c0f7b44)
Flash Size: 1.00 MB
Available Size for update: 151.67 KB(Not enough)
Available Size for SPIFFS: 471.36 KB
Baud rate: 115200
Sleep mode: Modem
Channel: 11
Phy Mode: 11g
Web port: 80
Data port: 8888
Active Mode: Access Point (DE:4F:22:58:6C:D8)
SSID: ESP3D
Visible: Yes
Authentication: WPA
Max Connections: 4
DHCP Server: Started
IP: 192.168.0.1
Gateway: 192.168.0.1
Mask: 255.255.255.0
Connected clients: 0
Disabled Mode: Station (DC:4F:22:58:6C:D8) is disabled
Captive portal: Enabled
SSDP: Enabled
NetBios: Enabled
mDNS: Enabled
Web Update: Enabled
Pin Recovery: Disabled
Authentication: Disabled
Target Firmware: ???
FW version: 1.0
Capture6

@luc-github
Copy link
Owner

so now you can upload index.html.gz - so what is the issue ?

@santiagocarod
Copy link
Author

It says that it uploads but it actually doesnt ! When i connect to the ESP8266 I see this page :
Capture7

And it shouldnt show that because it is suppose to be already loaded,

And when i try to Upload the firmware update what I get is an Update Canceled

Capture8

@luc-github
Copy link
Owner

Check your flash size to be sure you have 1M https://github.com/luc-github/ESP3D/wiki/Flash-Size

@santiagocarod
Copy link
Author

Yes I have 1M

Capture9

@luc-github
Copy link
Owner

Well I am dry about what is happenning, try flash using another partionning like 194K spiffs

@santiagocarod
Copy link
Author

THANK YOUUU! IT WORKED WITH 192K SPIFFS! You have been really helpful!

@santiagocarod
Copy link
Author

Do you know if I can connect the ESP3D to a J3 Connector in an Anet A8?

@luc-github
Copy link
Owner

Good - looks like a bug in core of ESP8266
Happy you worked around

I do not know, sorry. I do not have any Anet printer

@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