-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Marlin 2.0.6 autostart not working properly #19296
Comments
Enable SDCARD_SORT_ALPHA in Configuration_adv.h and tried to play with optional defines around there. This may solve your problem with starting auto1.g instead of auto0.g since files are usually unsorted written to the card |
If you have defined SD_MENU_CONFIRM_START you must press a button on the LCD in order to start printing. If you have no LCD this code will never be reached. |
Thank you thomas374b for you input. |
The riddle has likely to be solved here or in the initialization of |
@3dseawa please check what @AnHardt said about Marlin/Marlin/src/sd/cardreader.cpp Lines 676 to 699 in 9ade72a
also Please test the |
Thank you AnHardt and Bo,
I looked at the code and it is beyond my limited coding knowledge.
It matches what I am using which is Marlin 2.0.6 Bugfix downloaded 9/6/2020.
…On Thu, Sep 10, 2020 at 1:50 PM Bo Herrmannsen ***@***.***> wrote:
@3dseawa <https://github.com/3dseawa> please check what @AnHardt
<https://github.com/AnHardt> said about
https://github.com/MarlinFirmware/Marlin/blob/9ade72aee94981b26be0ca125ab487166d0bd7e3/Marlin/src/sd/cardreader.cpp#L676-L699
also Please test the bugfix-2.0.x branch
<https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x> to see where
it stands.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4THCLBNX3LP545GLK2A6TSFE32LANCNFSM4Q6YLQBQ>
.
|
I tested the autostart feature with the bugfix-2.0.downloaded today 9/11/20
branch based on the link provided by Scott - thank you Scott.
I encountered the same issues. As a reminder, I am printing directly from
the SD card on the Bigtree Tech SKR V1.4 board with TMC2209 drivers with
sensorless homing. I do not have an LCD or computer connected.
When auto0.g is the only file on the SD card it will execute. When an
auto0.g file is on the SD card with .gco files auto0.g will execute.
When auto0.g and auto1.g are on the SD card the auto1.g only executes.
When auto0.g, auto1.g, and auto2.g are on the SD card nothing executes.
I test each of the three files as auto0.g and as auto1.g with the same
results.
Attached are the configuration.h and configuration_adv.h along with the
three very simple .g files I am testing.
I have also tested actual 3D printable files sliced in Simplfy3D with
the same results.
This problem is beyond by coding skills so I appreciate all of your help
and support resolving this issue for our community.
…On Fri, Sep 11, 2020 at 12:35 AM Scott Lahteine ***@***.***> wrote:
Please test the bugfix-2.0.x branch
<https://github.com/MarlinFirmware/Marlin/archive/bugfix-2.0.x.zip> to
see where it stands. If the problem has been resolved then we can close
this issue. If the issue isn't resolved yet, then we should investigate
further.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4THCL4MOBYZR2TQKREFUTSFHHKRANCNFSM4Q6YLQBQ>
.
|
Here is what is happens for me:
auto0.g content
auto1.g content
auto2.g content
Here are the files: Using the latest Bugfix-2.0.x |
This issue has had no activity in the last 30 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 7 days. |
Tested #19296 (comment) on the latest Bugfix-2.0.x, and the results are still the same. |
It looks like there is a bug with the Autostart feature and it is beyond my knowledge and skill set to fix. A few key points about the M32 command:
|
Hey guys, just found some possible solution. Why the problem occurs: |
Tested #19296 (comment) on the latest Bugfix-2.0.x with @Zumili fix #19296 (comment), and it seems to fixed the issue.
So it works, and now it shows the right *.g file that is running. @Zumili You should create a PR with that fix, or you could let me do it. |
qwewer0 I am not very familiar with github and I don't want to break the universe :) , so it will be nice if you can do it. |
@3dseawa remember to close this one when the above PR is merged (it goes purple color) |
I've put together a comprehensive patch at #20071. Please test to confirm that those changes work for you. |
Thank you.
I will try to tested it the first part of the week.
…On Sat, Nov 7, 2020, 8:33 PM Scott Lahteine ***@***.***> wrote:
I've put together a comprehensive patch at #20071
<#20071>. Please test to
confirm that those changes work for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4THCPEJMB4MV4XZBRJPQTSOYNPZANCNFSM4Q6YLQBQ>
.
|
@3dseawa did you get time to test? |
No, sadly I had a home issue to repair which captivated my time.
…On Sat, Nov 21, 2020, 4:58 PM Bo Herrmannsen ***@***.***> wrote:
@3dseawa <https://github.com/3dseawa> did you get time to test?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4THCOLJUC7NYUT3XVUIRTSRBO4TANCNFSM4Q6YLQBQ>
.
|
Firsty, thank you to all who have worked on this issue.
To test this complete fix/ comprehensive patch, I am assuming I clink on
the "20071" link from Scott Latheine dated 11/7 above then click on the '
MarlinFirmware:bugfix-2.0.x
<https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x> ' link just
below the title tile of the 20071 link and then download that version in
that link and use that for my test as the referenced MarlinFirmware:
bugfix-2.0.x <https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x>
has the fixes incorporated into that download?
Please let me know if this is correct or if there is something else I need
to do. I should have my house put back together today and hope to work on
it this afternoon or evening.
…On Sat, Nov 21, 2020 at 5:32 PM Sea Wa ***@***.***> wrote:
No, sadly I had a home issue to repair which captivated my time.
On Sat, Nov 21, 2020, 4:58 PM Bo Herrmannsen ***@***.***>
wrote:
> @3dseawa <https://github.com/3dseawa> did you get time to test?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#19296 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQ4THCOLJUC7NYUT3XVUIRTSRBO4TANCNFSM4Q6YLQBQ>
> .
>
|
@thinkyhead Thank you for the AutoStart refractory! On the latest bugfix-2.0.x (with #20071) Configuration.zip Here is what is happens:
With or without auto#.g files, a started print job stays in printing mode. |
Thank you.
…On Mon, Dec 7, 2020, 4:59 AM qwewer0 ***@***.***> wrote:
@thinkyhead <https://github.com/thinkyhead> Thank you for the AutoStart
refractory!
On the latest bugfix-2.0.x (with #20071
<#20071>) Configuration.zip
<https://github.com/MarlinFirmware/Marlin/files/5652546/Configuration.zip>
Here is what is happens:
- *auto0.g*: Printer starts -> (LCD shows AUTO0.G) auto0.g runs ->
Steppers stays engaged -> *Printer is stuck in printing mode* -> After
print is aborted other print jobs can be started
- *auto0.g* and *auto1.g*: Printer starts -> (LCD shows AUTO0.G)
auto0.g runs -> Steppers gets disabled -> (LCD shows AUTO1.G) auto1.g runs
-> Steppers stays engaged -> *Printer is stuck in printing mode* ->
After print is aborted other print jobs can be started
- *auto0.g*, *auto1.g* and *auto2.g*: Printer starts -> (LCD shows
AUTO0.G) auto0.g runs -> Steppers gets disabled -> (LCD shows AUTO1.G)
auto1.g runs ->Steppers gets disabled -> (LCD shows AUTO2.G) auto2.g runs
-> Steppers stays engaged -> *Printer is stuck in printing mode* ->
After print is aborted other print jobs can be started
With or without auto#.g files, *a started print job stays in printing
mode.*
With NO_SD_AUTOSTART disabled, there is no print job issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4THCPFL7N3HPP7IULFWJDSTTGSFANCNFSM4Q6YLQBQ>
.
|
@3dseawa Were you able to try it? |
Not yet. My board died and replacement is on its way.
…On Tue, Dec 8, 2020, 12:57 AM qwewer0 ***@***.***> wrote:
@3dseawa <https://github.com/3dseawa> Were you able to try it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4THCLGCFODF3X63XBZIFLSTXS7BANCNFSM4Q6YLQBQ>
.
|
For some reason my g-code program stops a few lines from the end of the
program so it does not advance to the next program.
This has me stumped. I will keep you posted what I find out.
…On Tue, Dec 8, 2020, 7:43 AM Sea Wa ***@***.***> wrote:
Not yet. My board died and replacement is on its way.
On Tue, Dec 8, 2020, 12:57 AM qwewer0 ***@***.***> wrote:
> @3dseawa <https://github.com/3dseawa> Were you able to try it?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#19296 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQ4THCLGCFODF3X63XBZIFLSTXS7BANCNFSM4Q6YLQBQ>
> .
>
|
I am please to confirm that the autostart feature is now working as designed. |
Yes, Thank you to all that resolved this issue.
Mine is now working and your efforts are appreciated.
…On Wed, Feb 10, 2021 at 4:58 PM HarpoDog ***@***.***> wrote:
I am please to confirm that the autostart feature is now working as
designed.
Thank you to the entire team that resolved this issue.
You are truly appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4THCJPKUYAITFIWIDUE2LS6MTRXANCNFSM4Q6YLQBQ>
.
|
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. |
Bug Description
Marlin 2.0.6 autostart not working properly.
I have three files sliced in Simply3D and renamed to auto0.g, auto1.g, auto2.g. When each file is named auto0.g and is the only file on the SD card each will autostart upon power boot-up. When auto0.g and auto1.g is on the card the auto1.g will autostart and print but not auto0.g. When auto0.g, auto1.g, auto2.g are on the SD card nothing happens. I have tried each of the files in different combinations with the same results.
When the same three files are on one SD card and put into my Ender3 Pro the auto0.g will execute but the other two do not.
The above leads me to believe this is a bug. If it is a configuration or file setting issue, please let me know the proper configuration or file settings.
I am do not have a LCD connected, nor is the USB connected to a computer – just the motherboard so printing directly from the micro-SD card reader on the mother board.
I have a custom-built machine using Marlin 2.0.6, download on 9/6/2020, on a BigTree Tech SKR 1.4 Turbo with TMC2209 drivers and sensorless homing. These are the setting in Configuration_adv.h folder: (lines 1145 and 1147)
#define SD_MENU_CONFIRM_START // Confirm the selected SD file before printing
#define MENU_ADDAUTOSTART // Add a menu option to run auto#.g files
No changes have been made to any .cpp files.
I have read others are having the same issue with auto1.g executing but not auto0.g.
Thank you in advance for helping identifying and resolving this issue for myself and other.
My Configurations
Required: Please include a ZIP file containing your
Configuration.h
andConfiguration_adv.h
files.Attached are the configuration.h and configuration_adv.h zipped files:
Configuration.zip
Configuration_adv.zip
Steps to Reproduce
Expected behavior: [What you expect to happen]
upon power bootup auto0.g should print, then auto1.g should print automatically, then auto2.g should print - up to auto9.g.
Attached are the configuration.h and configuration_adv.h zipped files:
Configuration.zip
Configuration_adv.zip
Actual behavior: [What actually happens]
See above for what happens and what has been tried.
Additional Information
The text was updated successfully, but these errors were encountered: