Jump to content
Cura Connect | Survey Read more... ×
Ultimaker Community of 3D Printing Experts
Sign in to follow this  
geeks

Bug Marlin 14.06.2 and problem SD card

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

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?

 

Share this post


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
Sign in to follow this  

  • Our picks

    • Architect Design Contest | People
      The goal of this contest is to design a set of people figurines that could be used in such a project to make an area, office or mall seem populated. 
      Think of different types of people in different environments, like walking people, people standing still, working people, and both men and women.
       
      • 9 replies
    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!