Notifications
Clear all

Danger: gcode getting corrupted in USBStick  

  RSS
danielsan80
(@danielsan80)
New Member
Danger: gcode getting corrupted in USBStick

A few days ago I printed a model in the morning and all was ok.
In the afternoon of the same day I printed the same model (using the same gcode in the usb stick) and something bad happened:
After 50 minutes the x-axis moved down squashing the model! I was there and I pressed the panic button.

After that I tried to open the gcode in the usb stick with Prusa Slicer and ... (see attached image)
I opened the gcode in text editor too and I found it was corrupted.

As someone has said yet, the usb stick gets hot during the printing.

Hypothesis:
- the high heat has corrupted the gcode
- the usb stick is too cheap and with an high heat it corrupts the files
- the buddy board has something wrong so it warm too much the usb stick
- the firmware has something wrong

Anyway, wouldn't it be better for the firmware to validate the gcode characters before running it? It could check the file integrity at start but I'm not sure it would be enough.

Posted : 05/10/2021 5:43 pm
danielsan80
(@danielsan80)
New Member
Topic starter answered:
RE: Update

After a while I tried to copy the corrupted file to my pc and I tried to reopen with PrusaSlicer: the "corruption" was disappered so it seemed to be "temporary", maybe related to the heat. Opening the file directly from the usbstick in PrusaSlicer and in text editor gave the corrruption.

Anyway I used another usbstick (an old one, unknows brand, probably a promotional usbstick with marketing pdfs) and I used a usb extender cable (20cm).

So, to be sure I will not use the given usbstick anymore, maybe I will buy a Sandisk to this purpose.

This post was modified 3 years ago by danielsan80
Posted : 07/10/2021 8:26 am
Urshurak776
(@urshurak776)
Trusted Member
Sandisk USB Stick

 

Posted by: @danielsan80

After a while I tried to copy the corrupted file to my pc and I tried to reopen with PrusaSlicer: the "corruption" was disappered so it seemed to be "temporary", maybe related to the heat. Opening the file directly from the usbstick in PrusaSlicer and in text editor gave the corrruption.

Anyway I used another usbstick (an old one, unknows brand, probably a promotional usbstick with marketing pdfs) and I used a usb extender cable (20cm).

So, to be sure I will not use the given usbstick anymore, maybe I will buy a Sandisk to this purpose.

I have a mini clone.  The USB stick does seem like it gets warm, but I haven't had any problems with it.  Ironically, I grabbed a Sandisk 16GB USB stick on amazon for about $8 this morning.  I will switch to that and see how it goes.

Posted : 08/10/2021 1:31 pm
rbid
 rbid
(@rbid)
Eminent Member
RE: Danger: gcode getting corrupted in USBStick

When I got the printer several weeks ago, the first print I did was the Benchy with the Prusament filament that came with the print and it was printed very nice.

Today I tried to print the Benchy again, so I selected from the connected USB stick that comes with the printer (Which is plugged in to the printer from day one), started to print, and after ~10 minutes while printing, the printer started to move strangely printing outside range or moving the head and tried to print the infill from above(???).. until it got stuck.. that the only way to go out is reset...

This puzzled me, because it is the second time this happened, the first time was when I tried to print the sheep with a different filament (eSun PLA+) and the printer got stuck... so I blamed the filament and forgot about this...(this was my third or fourth print )

... But now It is the second time and this puzzled me, that caused me to see what the hell goes on.

I copied the 3DBenchy gcode to my linux box, opened it with a regular text editor and saw that I have some strange text in few parts of this huge text file...

Then I when to Printables and downloaded the official 3dbenchy_pla_150um_mini_2h.gcode from their site and did a file comparison... and walla... the file on the stick has several lines corrupted out of the thousand lines.... the same is in the sheep gcode. therefore Beware of the USB stick provided with the printer, Or the stick  it is not reliable... or the printer is corrupting the stick.

Now I know it is the USB stick.
From the pic below, the left side is the content of the file in the USB stick, and the right side is the same file downloaded from Prusa...

Corrupted GCODE

Hope this helps.
I strongly suggest Prusa to check that the printer is not corrupting the USB sticks, because it can happen with the firmware and then you have a printer brick... or get a better reliable USB stick. (maybe read-only)

Posted : 21/06/2022 8:38 pm
mzedp
(@mzedp)
Member
RE: Danger: gcode getting corrupted in USBStick

I just had the same issue, 12 hour print failed on Hour 11 because the USB suddenly corrupted the gcode (checked on the PC and gcode was corrupted, usb was still warm but it seemed to work. havnt checked since it cooled down).

Trying again on a new USB, lets see. I guess the one that comes with the printer looks nice but is not very reliable. This should be looked at, or maybe replace with ethernet?

Posted : 05/08/2023 3:57 pm
jasaski
(@jasaski)
New Member
RE: Danger: gcode getting corrupted in USBStick

Hey guys,

Same here. I've been having this issue quite randomly (sometimes it gets the print done and sometimes it doesn't). It's true that once the file has failed, it never get's it correctly afterwards. When it has failed I had to re-upload it again to the usb stick, then it get's it done. 

I will try using another usb stick and see how it goes...

>>j

Posted : 29/09/2023 2:06 pm
Unfold
(@unfold)
New Member
RE: Danger: gcode getting corrupted in USBStick

Just had a similar experience, but the entire USB stick became corrupted during printing and can't be read anymore by neither the Purse nor any computer. The machine & stick are 2 weeks old... Only solution was to reformat the stick. It happend during printing while simultaniously adding files to the cue on Prusa Connect.

Posted : 13/06/2024 9:16 am
Piasecznik
(@piasecznik)
Active Member
RE: Danger: gcode getting corrupted in USBStick

For me it started just yesterday. Suddenly printer crashed while idle. I have MINI+ for more than 3 years and with supplied USB stick inserted all the time. I'm only using it for firmware update. I'm printing from octoprint. Today when I decided to take a look at it, dump file did not help me to diagnose anything. I decided to upgrade firmware from 6.0.1 to 6.0.2 and it was corrupted at first attempt. Used alternative firmware upgrade to reflash it and it works but just had another crash. Will change USB stick and see what happens next.

Posted : 17/06/2024 7:48 pm
mango
(@mango)
Active Member
RE: Danger: gcode getting corrupted in USBStick

I had my first USB error today after 2 years of flawless printing.

I don't know if any data was corrupted as I don't know how to check, but I had a 4.5 hr print stop with a "USB file read" error after 4 hours. I was unable to resume.Re-copying the bgcode file, switching USB sticks, reslicing, every time it would give the same error.

I'm running 6.01 and I've just upgraded to 6.02 and I'm trying the print again with another USB stick, hopefully it will complete.

Meanwhile, as I was searching for information about the error, I saw this long thread in the XL forum about USB issues. Thankfully, just today it was posted that they are working on a fix for the XL. I hope it addresses the issue we are seeing.

If my print fails again, I guess I'll just wait until a new firmware gets released before trying long prints.

Posted : 19/06/2024 9:46 pm
Share: