-
Notifications
You must be signed in to change notification settings - Fork 232
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] Starting SD print over Gcode #2387
Comments
Hello! Thank you for your message and sorry for the late response. I took a first look at the documentation and noticed that these commands would require "SD Support" specifically, which I am unsure the program Pronterface has (it's designed to print via USB) - if I understood correctly, you are printing via USB but taking the GCode from an SD card inserted into the PC? I believe the issues are stemming from this "compatibility" between "SD Support" and Pronterface itself, both for the M20 command but also the other commands with the read file and start print itself. I'll try investigating it more and in case of more info I'll update here. Would it work regularly with Pronterface but taking the GCode from PC itself? In case of anything to further review feel free to comment of course. Alessandro Pantaleo |
Hello, actually I was just using Pronterface for demonstration purposes. I am sending the commands over serial via a script, so Pronterface has nothing to do with the problem here. I'm sorry if I created confusion by calling it SD printing. I am trying to print a file that is located on the USB stick that is plugged What do you mean with "SD Support"? I looked through documentations from Marlin, Prusa and on the RepRap wiki but couldn't find any further information. I only know that the printer reports its capabilities (the lines starting with "Cap:") to the host when queried with a M115 command. Is there a way for a host to report capabilities on Prusa firmware? And yes, regular printing over serial works fine. I just write the gcode commands to the serial port and wait for the "ok" response to send more. |
M20 worked as can be seen in pasted part above (partially, no "L" parameter handling in MK4 firmware, a regression compared to MK3) with usb medium. That means that cardreader interface (lib/Marlin/Marlin/src/sd/cardreader.cpp) in MK4 firmware partially works with USB. M20 calls
M23 calls
from the same cardreader interface. Some developer needs to take a look why ls() works there while openFile() fails. |
Code Please give it a try with the final firmware version 6.0.0 which was just released. Michele Moramarco |
This issue has been flagged as stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless someone removes the "stale" label or adds a comment. |
It seems safe to close this issue as solved. Michele Moramarco |
Hi,
I am trying to start a SD print with Gcode commands, specifically M23, M26 and M24, as per Marlin and Prusa documentation. After sending the commands the printer won't start a print or even respond with an error. This is how my console looks like in Pronterface:
As you can see M27 is reporting that there is no print running. Is there anything I am missing? Is SD card printing over Gcode simply not supported by default (this is the stock firmware from the website)? Also, why is M20 only showing the DOS 8.3 filenames although the L parameter is supplied?
Thank you in advance :)
The text was updated successfully, but these errors were encountered: