-
-
Notifications
You must be signed in to change notification settings - Fork 480
Single commands are OK. Gcode from ESP32 or upload to SD card fail [resend x] #467
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
Comments
Thank your for submiting, please be sure you followed template or your issue may be dismissed. |
the files ESP3D are for few commands only / macro as they are sent without waiting any check so sending 20 lines may bring some overflow in printer or ESP, to send a full job GCODE must be on SD ESP3D is not a host for gcode yet |
the resend from SD means bad connection - use lower baud rate (eg : 115400) and be sure no noise on wire - need shorts lines to avoid any problem |
I'll see how to filter noise using capacitor this evening. So do you suggest to put files on the printer SD by removing the SD card from the back of the printer, copying the files and put the SD card back ? |
I was refering to :
for SD upload it can take lot of time because protocol is very slow - on my DUO I use a wifi SD for upload, it is super fast |
any update? |
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. |
Describe the bug
After some time and with your help, I got my ESP32-DevKitC, WROOM-32D loaded with ESP3D and connected to my da Vinci XYZ 2.0A running Repetier FW.
From the ESP3D web interface, I can control the printer by sending single gcodes.
Nevertheless, as soon as I start something that loads the serial link, it quickly fails.
To Reproduce - With playing gcode from ESP32
Steps to reproduce the behavior:
It plays the first few lines of the gcode file but quickly fails (not always at the same line) and the Commands panel shows (for example) plenty lines like:
ok 5
ok 5
ok 5
ok 5
ok 5
ok 5
ok 5
ok 5
ok 5
ok 5
ok 5
Resend:6
ok
Resend:6
ok
Resend:6
ok
Resend:6
ok
Resend:6
ok
Resend:6
ok
Resend:6
ok
To Reproduce - With uploading file to SD
Steps to reproduce the behavior:
It ends with "Error 0 :".
Expected behavior
Well. There must be something wrong with the serial connection but I could not find what to change.
I tried several baud rates, changes made on both sides.
ESP3D Firmware:
Target Firmware:
Board used (please complete the following information):
Additional context
The CPU clock is at 240MHz which may lead to espressif/arduino-esp32#2004
But as I took the exact version asked in the wiki, I CAN4T CHECK IF THIS IS THE PROBLEM;
I may also try changing the SERIAL_RX_BUFFER_SIZE but I'm running out of idea.
This was the last thing I needed to proceed with my PCB etching machine :-(
Any help is appreciated.
The text was updated successfully, but these errors were encountered: