Jump to content
UltiMaker Community of 3D Printing Experts

Corrupted gcode in SD card


ballanux

Recommended Posts

Posted · Corrupted gcode in SD card

Hi all!

I finished my ultimaker yesterday and started printing immediately :cool: , the print quality is good, but sometimes the printer head starts doing weird things, like moving to another location outside the object and come back to start printing some layers above the object.

I checked the gcode in my PC and everything was right, but then, I checked the gcode in the SD card (I'm printing from the ulticontroller) and it seems corrupt at some point, which causes a couple of layers to appear in mid air!

pmy5.png

a72s.png

Do you know what can be causing this?? Defective SD card? I'm using the one that came with the ulticontroller...

Thanks!

 

  • Link to post
    Share on other sites

    Posted · Corrupted gcode in SD card

    If it's specifically just the file on your SD card, I guess it could be a bad card. It might also be file corruption due to you not properly ejecting the card before you remove it from the machine, maybe?

    Is the top picture the 'ok on the pc' one... or are they both from the SD card? In both pictures, something looks wrong aside from the missing bits - there's what looks like a skirt and raft floating over the top of your print... those should be at the bottom.

    Perhaps if you can post the 'correct' version of the gcode, I can take a look at it, and see if it makes sense. It's also possible that your model is bad somehow, and is confusing Cura into doing odd things.

     

  • Link to post
    Share on other sites

    Posted · Corrupted gcode in SD card

    The two pictures show the same corrupted file. But what's more intriguing... I have found that this corruption only occurs during the print!

    I did the following:

     

    1. Import the STL file in cura
    2. Save the gcode to the SD card and copy this file to the PC
    3. Take the card, insert it again
    4. Read the gcode, it was OK
    5. Print the object, then another error occurred
    6. Stopped the print
    7. Read the gcode in the PC, it was corrupted!

     

    This is the gcode file view in cura after the print:

    7ebn.png

    This is how the object printed:

    ko8u.jpg

    Unfortunately I formated the card afterwards without saving the gcode, I should have made a comparison to see exactly what went wrong...

    I have tried other SD card, but it doesn't get recognized by the ulticontroller (it's a 16Gb card with a partition of only 2Gb), I don't have any other 2Gb SD card...

    Now I'm printing another object with the SD card write protected, I'm at 77% and everything is ok, but you never know until the end... :)

    After this print I will try to replicate the error and see what changed in the file after printing... maybe a firmware bug?

    Thanks

     

  • Link to post
    Share on other sites

    Posted · Corrupted gcode in SD card

    I doubt it's a firmware bug, because I've never heard of this happening before and surely someone would have run into it by now. So if it's really happening as you suspect, then I'd start by looking for a problem with the card, or the reader hardware... but it's certainly an odd one, so please do keep us posted as you try to track it down.

     

  • Link to post
    Share on other sites

    Posted · Corrupted gcode in SD card

    Did you always safely remove the card from your computer? Not doing this could irreversibly corrupt the card, it usually only corrupts a file, but it could corrupt the card forever.

    (Which is why we didn't go for SD card storage on my previous job, which had very high reliability requirements)

     

  • Link to post
    Share on other sites

    Posted · Corrupted gcode in SD card

    I doubt it's a firmware bug, because I've never heard of this happening before and surely someone would have run into it by now. So if it's really happening as you suspect, then I'd start by looking for a problem with the card, or the reader hardware... but it's certainly an odd one, so please do keep us posted as you try to track it down.

     

    You were right!! One of the SD card reader pins in the ulticontroller is smashed down!! :mad: :mad:

    Even more, it's pin 3, which is GND. As there is 2 GND pins (the other one, pin 6 is right) this causes the card to work, but being more susceptible to failure, maybe EMC related...

    This will be difficult to repair... and I'm pretty sure this had to came already broken, it's very difficult to bend a single pin in the middle of the reader, so I think I will put a support ticket :-|

    5l4n.jpg

    v74r.jpg

     

  • Link to post
    Share on other sites

    Posted · Corrupted gcode in SD card

    Pins getting/being bent in the reader seems to have been a fairly common problem lately. Definitely worth opening a ticket with support, yes.

     

  • Link to post
    Share on other sites

    Posted · Corrupted gcode in SD card

    The support people replied to me very quickly, they will send me another board. I will print from the PC in the mean time.

    If there are problems with this card socket maybe it's time to find another supplier for them.

    If any other pin would have been bent instead of GND it would have made the SD card not to work and find the problem immediately, this was a bit unfortunate :???:

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 24 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    ×
    ×
    • Create New...