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

[BUG] SD stream failed: 1 #1053

Closed
piotr-go opened this issue Oct 16, 2024 · 14 comments
Closed

[BUG] SD stream failed: 1 #1053

piotr-go opened this issue Oct 16, 2024 · 14 comments

Comments

@piotr-go
Copy link

Describe the bug
To Reproduce

Sending a "[ESP700]/SD/test.gcode" in web gui terminal gives me:

[ESP700]/SD/test.gcode
ok
error: stream failed: 1

Expected behavior
no error

ESP3D Firmware:

ESP3D v3

Target Firmware:

Marlin 2.1.x

Board used (please complete the following information):

ESP32-S3 (4MB flash, 2MB PSRAM)
SKR-Mini E3 v1.2

Additional context

I checked what serial output looks like, and there is no '\n' after command.
If i fake "ok" answer with serial terminal (ESP32---uart---PC ), i sill got "error: stream failed: 1".
It seems there is no reaction to incoming data.

Two way terminal communication in web gui is working. Two way telnet-uart also OK.

@piotr-go piotr-go added the bug label Oct 16, 2024
Copy link

Thank your for submiting, please be sure you followed template or your issue may be dismissed. if you deleted the template it is here

@luc-github
Copy link
Owner

luc-github commented Oct 16, 2024

1 - Streaming is not implemented yet for Marlin only for grbl and it is very basic only ping/pong streaming: #243

2 - it seems there is no SD connected to your ESP because error says file cannot be opened

3 - the Ok means command received, not command executed, that is why you have a error after

@piotr-go
Copy link
Author

piotr-go commented Oct 16, 2024

  1. I don't understand, I thought that communication with Marlin is basic ping/pong streaming?
  2. I uploaded this file over wifi. Missing file is error 12, error 1 is answer timeout.

File read is OK. I see first command over UART. Command have no '\n' ending.

@luc-github
Copy link
Owner

1 not really webui send commands and analyse serial from Marlin
2 you upload to which sd ? your above description does not mention any

@luc-github
Copy link
Owner

@piotr-go
Copy link
Author

  1. to ESP_DIRECT_SD, file is there, i confirmed. MD5 sum mach, no errors.

@luc-github
Copy link
Owner

ok so you have direct connection to sd but content is not visible from printer and streaming feature is not yet available
there is no print button in webui, right ?

@piotr-go
Copy link
Author

Yes.
So no SD streaming in v3 for now?

@luc-github
Copy link
Owner

not in v3 yet, streaming properly is not that easy
ESP3D-TFT has basic Marlin ping pong streaming but it is slow on small movement, must add buffered streaming to be good.
so still some work to do
will be same.for V3

@piotr-go
Copy link
Author

Is it possible to run v2 on esp32-s3 (or s2) ? Is SD streaming supported in v2?

@luc-github
Copy link
Owner

sd streaming is not supported in v2, direct sd upload is even not supported in v2

@piotr-go
Copy link
Author

OK, Thank You for your answers.
I do have couple more question, but not SD related so i open new thread.

@luc-github
Copy link
Owner

have look to https://esp3d.io/ there are a lot of information

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 Oct 27, 2024
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