printer SD card poor access from Prusalink 0.72 and Connect
 
Notifications
Clear all

printer SD card poor access from Prusalink 0.72 and Connect  

  RSS
newtag
(@newtag)
Eminent Member
printer SD card poor access from Prusalink 0.72 and Connect

Hi,

Just starting to use Prusalink and connect in replacement of octoprint on pi zero with MK3s+,

I have problems with the access to the SD Card of the printer :

1- on connect the SD is seen when inserted but it is not possible to list the files on the card

2- on prusalink, when inserted it is possible to list files but it is not possible to suppress or download and the list of files is not updated dynamicaly (one of my sd card is a toshiba with wifi allowing modifications of the files in parallel with prusalink) and whenthe SD card is nt inserted the screen shows /root as the folder

Any idea if all this is a limitation of the Beta and if there is a bypass !

Have a good day

 

Publié : 24/01/2024 7:06 pm
newtag
(@newtag)
Eminent Member
Topic starter answered:
RE: printer SD card poor access from Prusalink 0.72 and Connect

To add to my previous post,

On prusalink, as said a list of folders and files are presented ... but some file names are modified !

see the exemple attached for a file which is named "prusaslicer vers3 embout barre volet_0.6n_0.4mm_PLA_MK3S_27m.gcode"

Publié : 24/01/2024 7:51 pm
Tojik
(@tojik)
Membre Moderator
RE: printer SD card poor access from Prusalink 0.72 and Connect

Hi, yes, getting the files to show was a royal pain. I tried to do updates for toshibas but seems like that is broken. Testing that sucks without actually owning one.

The file name limit is 52 characters, so i add their 8.3 names in front to keep the file names unique, without that everything would break.

There's no way to get the files from or to an SD card over serial. Well, there's a way to send them to the SD but it's so unreliable and slow it wasn't implemented. Sorry.

Try using the PrusaLink storage instead. The SD compatibility is just for starting prints unfortunately. Sorry for the inconvenience.

Publié : 26/01/2024 11:55 am
newtag
(@newtag)
Eminent Member
Topic starter answered:
RE: printer SD card poor access from Prusalink 0.72 and Connect

Thanks

Do you mean that there is  something spécial in those Toshiba Sd cards with wifi ? 
Are not you forking the code from octoprint that works ?

Besides why is there a difference of behavior between prusalink and connect ?

Publié : 30/01/2024 8:31 pm
Tojik
(@tojik)
Membre Moderator
RE: printer SD card poor access from Prusalink 0.72 and Connect

We made PrusaLink fron scratch.

Normal SD cards don't change their contents when inside of a printer. Those toshibas do. I tried detecting them and updating the file list every minute when not printing but i guess that's not working or has been disabled because it caused issues, not sure.

What do you mean. PrusaLink is running right next to the printer, connect is in the cloud and is a totally different piece of software made by different people. Also more people work on Connect than PrusaLink. How could it behave exactly the same. I do not know what specific thing do yo mean when saying it's behaving different tho

Publié : 30/01/2024 8:56 pm
newtag
(@newtag)
Eminent Member
Topic starter answered:
RE: printer SD card poor access from Prusalink 0.72 and Connect

The M20 command seems to me to work fine to get the list of the files. Is it in there that you have a limitation to 52 caracters ? Whatabout the possibility to erase files with M30 ?

Now regarding the update of the list, my opinion as a user is that the function can be limited to the availability of a refresh button on the gui !

Besides I was thinking like others that prusalink was providing some kind of proxy for Connect. The behaviour is different in Connect : there is no list at all for the SD card in comparison with prusalink that provides a list. 

Publié : 04/02/2024 10:41 pm
Tojik
(@tojik)
Membre Moderator
RE:

So, can you not see the SD files in connect at all? Yes, the M52 lt is what i use to list the files. I think the character limit is caused by the FAT32 itself. And again, i read the flag that the SD is a flash air, but i am not updating the files anymore because it was breaking before. I do not own a flash air, so I can't test the thing before i publish it. Are they available again?

Publié : 06/02/2024 11:28 am
newtag
(@newtag)
Eminent Member
Topic starter answered:
RE: printer SD card poor access from Prusalink 0.72 and Connect

Hi, regarding connect I had reported on 24 January that it was not possible to see the list of sd files .Since then I have not been able to retest. Actually I have disassociated connect with prusalink and it seems that the only way to reassociate is  to build a new new image in order to have access to the wizard. All this is a pity

I suppose that when you write 52, you were thinking to M20 The limitation in fat is 255.  Anyway I understand now that when the long name is longer than 52 you are adding its short name and are adding also a GCode type Please note that these additions do not help the user in anyway as the user does not have the knowledge of the Sfn at the moment. It appears that you are not displaying the size of the files. This information could help in this case.

in all this The most important thing is to have a refresh button has mentioned before.

regarding the availability of the cards It is strange story for me but you could get some from Asia vendors.

 

Publié : 13/02/2024 10:11 am
Tojik
(@tojik)
Membre Moderator
RE: printer SD card poor access from Prusalink 0.72 and Connect

Reconnecting the printer to connect should be simple enough: log into PrusaLink, go into settings, in the connection section click the Link button next to an address box. If instead it's already showing up as linked, click Unlink first, then you should be ok to Link again.

Publié : 13/02/2024 3:47 pm
Partager :