Jump to content
Ultimaker Community of 3D Printing Experts

Bug Marlin 14.06.2 and problem SD card


geeks
 Share

Recommended Posts

Posted · Bug Marlin 14.06.2 and problem SD card

Good evening,

 

I have several things you put together. I recently updated my UM² with the following Marlin 14.06.2.

 

I see two things quite difficult.

 

1 / Sometimes Marlin crashed the SD card making it unusable on both Windows and Linux. If I push the locked locker on more problems.

 

2 / If I take a break, the machine locks up and do not come back in print.

 

I do not know if these two problems are happened to others. It's time to find a solution there.

 

Thank you for your attention.

 

Best regards.

 

  • Link to post
    Share on other sites

    Posted · Bug Marlin 14.06.2 and problem SD card

    Does Marlin have a reason to write to the SDcard? I guess it must, otherwise the card wouldn't be corrupted.

    I do believe that UM2's support for SDHC (i.e. anything >2GB) is flakey or non-existant. I had the printer regularly locking up while attempting to read an 8GB SDHC card, when I reverted to a 2GB SD card it was reliable again. I use that same 8GB card a lot, so I know there is nothing wrong with it. Speaking as am embedded developer myself, including support for SD and SDHC, I'm suspecting that the size of the FAT table may be a problem with the larger cards, depending on how it's processed.

     

  • Link to post
    Share on other sites

    Posted · Bug Marlin 14.06.2 and problem SD card

    I use SD cards 2GB SDHC not exactly!

     

    It's as if, suddenly the printer was planting (incidentally she plants) and the card is unreadable unless reformatting!

     

  • Link to post
    Share on other sites

    • 1 month later...
    Posted · Bug Marlin 14.06.2 and problem SD card

    Good evening,

    it seems I've got the same issue. My specs are: Ultimaker2, Marlin 14.06.2.

    Every time I insert the sd card into the printer it comes out with no permission to write and to read. The Sd card from Ultimaker is an SDHC card, I do not know what to do just to print something out.

    Any solutions?

    Many Thanks

    Matteo

     

  • Link to post
    Share on other sites

    Posted · Bug Marlin 14.06.2 and problem SD card

    Does Marlin have a reason to write to the SDcard? I guess it must, otherwise the card wouldn't be corrupted.

    I do believe that UM2's support for SDHC (i.e. anything >2GB) is flakey or non-existant. I had the printer regularly locking up while attempting to read an 8GB SDHC card, when I reverted to a 2GB SD card it was reliable again. I use that same 8GB card a lot, so I know there is nothing wrong with it. Speaking as am embedded developer myself, including support for SD and SDHC, I'm suspecting that the size of the FAT table may be a problem with the larger cards, depending on how it's processed.

     

    Marlin has write functions, but they are never called in normal operation. You pretty much have to use custom commands or modify the firmware to write to the card.

    As for SDHC, or SD. SDHC can work, but not all manufacturers implement the SPI protocol of SDHC cards correctly, causing problems with some brands. And even within the same brand there are differences. But the card that comes with the UM2 or UMO is very well tested, so that one should work fine.

    If you want to know how messy SD card land is. Just look at this compatibility list from another project:

    http://www.wiibrew.org/wiki/BootMii/SD_Card_Compatibility_List

    I have a card that gave random problems with Marlin. Made a 1:1 dump, tested the whole SD code in simulation on my PC, no problems then. So I suspect the problem is more with the actual cards then the code.

     

  • Link to post
    Share on other sites

    Posted · Bug Marlin 14.06.2 and problem SD card

    Yes, I know about the variable results with sdcards from my own SPI bit banging code, which is why all the cards I use myself are by SanDisk (though even they moved their fab lines to China recently, which has made their timing much less predictable IMO). For clients we only recommend SanDisk and Kingston.

    As I said above, I'm quite sure the (SanDisk) 8GB card I was using is a good'un, so my guess is that the firmware just doesn't like 8GB cards. Have you not seen the same thing?

     

  • Link to post
    Share on other sites

    Posted · Bug Marlin 14.06.2 and problem SD card

    Hi there,

    Thanks for the replays and the list, very useful in the future.

    Fortunately I sorted the problem out, buying another memory card reader, and all the cards I've got are working well at the moment.

    Still Thanks

    Matteo

     

  • 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
     Share

    • Our picks

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
         
        • 0 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...