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

Prusa Marlin: SD Card Filenames Must be Lowercase #273

Closed
AustinSaintAubin opened this issue Nov 7, 2018 · 15 comments
Closed

Prusa Marlin: SD Card Filenames Must be Lowercase #273

AustinSaintAubin opened this issue Nov 7, 2018 · 15 comments

Comments

@AustinSaintAubin
Copy link
Contributor

It appears that for the marlin firmware the filenames must be converted to lowercase when sent.
Though, this is not indicated in the documenation.
It appears that the Prusa firmware for the LCD screen converts to lower case, and is why printing from SD card using the LCD screen works.

Tested the following on Prusa i3 MK3 w/ FW v3.4.1

Select file from SD Card:

M23 test~1.gco
> echo:Now fresh file: test~1.gco
> File opened: test~1.gco Size: 1919151
> File selected

If the command is sent as M23 TEST~1.GCO, the command will fail.

Print selected file from SD Card:

M24
@luc-github
Copy link
Owner

luc-github commented Nov 7, 2018

But what M20 command display? Uppercase or Lower case ?
This issue is specific to Prusa not Marlin. Marlin works as expected

@luc-github luc-github changed the title Marlin: SD Card Filenames Must be Lowercase Prusa Marlin: SD Card Filenames Must be Lowercase Nov 7, 2018
@luc-github
Copy link
Owner

Also the line you linked it lowercase to compare file name with autoname which is lowercase - no related to print command itself

@AustinSaintAubin
Copy link
Contributor Author

AustinSaintAubin commented Nov 8, 2018

Looks like there is a lot of case sensitivity with Prusa's Marlin firmware....

m20

echo:Unknown command: "m20"(2)
M20

Begin file list
/STOCK/MK3_PL~1.GCO 319820
/STOCK/MK3_PL~2.GCO 23525291
/STOCK/MK3_PL~3.GCO 10256022
/STOCK/MK3_PL~4.GCO 1163600
/STOCK/MK3_PL~5.GCO 3771043
/STOCK/MK3_PR~1.GCO 409041
/STOCK/MK3_P~33.GCO 17819561
/STOCK/MK3_P~38.GCO 224162
/STOCK/MK3_P~42.GCO 25074366
/STOCK/MK3_P~46.GCO 5966830
/STOCK/MK3_P~50.GCO 9991779
/STOCK/MK3_P~54.GCO 839525
/STOCK/MK3_P~58.GCO 21788066
/STOCK/MK3_P~62.GCO 2206259
/STOCK/MK3_P~66.GCO 3552905
/STOCK/MK3_P~70.GCO 7586128
PRINT~1.GCO 12739152
/BENCHM~1/3DBENC~1.GCO 3670093
/BENCHM~1/TEST_Y~1.GCO 1247554
/BENCHM~1/RIPPLE~1.GCO 1064312
/CONTAI~1/SD_HOL~1.GCO 130043
/CONTAI~1/SD_ADA~1.GCO 1132984
/CONTAI~1/SOAP_H~1.GCO 5925818
/CONTAI~1/MASTER~1/MASTER~1.GCO 16236540
/CONTAI~1/MASTER~1/MASTER~2.GCO 9633713
/PARTS-~1/HEATED~1/REPRIN~1.GCO 1308244
/PARTS-~1/HEATED~1/PRUSA_~1.GCO 1666128
End file list

@AustinSaintAubin
Copy link
Contributor Author

AustinSaintAubin commented Nov 8, 2018

Also worth notting is that the temperature output for the Prusa i3 firmware is different when heating up for a print.
Prusa i3 MK3 w/ FW v3.4.1

M23 /print~1.gco
ok
M24
ok
fsensor_autoload_check_stop - autoload DISABLED
echo:Now fresh file: /print~1.gco
File opened: print~1.gco Size: 2452280
File selected
T:19.37 E:0 B:18.0
T:19.46 E:0 B:18.0
T:19.91 E:0 B:18.0
T:20.66 E:0 B:17.9

Will also output the print time and completion overtime without prompting.

NORMAL MODE: Percent done: 17; print time remaining in mins: 82
SILENT MODE: Percent done: 18; print time remaining in mins: 82
NORMAL MODE: Percent done: 18; print time remaining in mins: 81
SILENT MODE: Percent done: 18; print time remaining in mins: 82
NORMAL MODE: Percent done: 19; print time remaining in mins: 80
SILENT MODE: Percent done: 20; print time remaining in mins: 80
NORMAL MODE: Percent done: 20; print time remaining in mins: 79
SILENT MODE: Percent done: 20; print time remaining in mins: 80

@luc-github
Copy link
Owner

Make no real sense to list files names upper case but accept only lower case file name

@luc-github
Copy link
Owner

So it never display target temperature ?

@luc-github
Copy link
Owner

Not recognising Gcode with lower case is not prusa specific from another hand many FW behave same

@AustinSaintAubin
Copy link
Contributor Author

AustinSaintAubin commented Nov 8, 2018

Make no real sense to list files names upper case but accept only lower case file name

I agree... I do not know why this is... makes no sense to be case sensitive.


So it never display target temperature ?

It does after the target temp is reached.
But while printer is heating... no indication of target.
A real pain if printing from file and not sure what target was set to.

ok T:240.2 /240.0 B:90.0 /90.0 T0:240.2 /240.0 @:48 B@:50 P:43.1 A:38.2
ok T:240.2 /240.0 B:90.1 /90.0 T0:240.2 /240.0 @:48 B@:39 P:43.1 A:38.1
ok T:240.0 /240.0 B:90.2 /90.0 T0:240.0 /240.0 @:52 B@:34 P:43.1 A:38.1

Not recognising Gcode with lower case is not prusa specific from another hand many FW behave same

GRBL is not this way. Thats what I am used to.
Whats the best workaround / solution ?

@luc-github
Copy link
Owner

Need to add a complete definition of prusa FW like Marlin or Smoothieware to handle all exceptions as I guess more to come.
I do not know prusa FW so what is the gain of using it vs Marlin FW ?

@AustinSaintAubin
Copy link
Contributor Author

SD card printing, and I imagine other gains.

@luc-github
Copy link
Owner

Do they plan to fix this upper/lower case issue ? M20 should be fixed or it should affect several function like M30 and M28 I guess

@luc-github
Copy link
Owner

Looks like no update - did you handled ?

@AustinSaintAubin
Copy link
Contributor Author

No solution yet... no communication from Prusa....
Also, latest firmware update from Prusa for the MK3 did not contain a fix for this issue...
Not sure if best to wait...

@luc-github
Copy link
Owner

Ok if you do not mind I close issue then - let's re open if any update

@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