Jump to content

Writing SD Card via USB


chelys

Recommended Posts

Posted · Writing SD Card via USB

Hello, maybe my idea is totally wrong but as the preferred way to print with UM2 is using the SD card, do you think would be possible to send the gcode directly to the SD card inserted in the UM2 (as a file)?

 

  • Link to post
    Share on other sites

    Posted · Writing SD Card via USB

    I think the Marlin firmware may support it, I'm not sure. I know Repetier firmware does.

    But in practice it's a huge pain. The USB connection on Arduino devices generally (never?) run in full-speed USB compatibility mode. Instead it runs in a generic dumbed-down serial link mode, which limits the speed to at best 250000 baud.

    One of the reasons to use SD cards instead of the USB link for printing stuff is because the USB link can be too slow to keep up with how fast the printer can print, whereas the bandwidth reading the SD is much higher, and it can (usually) keep the printer fed with commands.

    In other words, transferring a gcode file over USB can take longer than it would take to print the file. Probably a bit faster for most prints, but probably same order of magnitude. A file that a computer can write directly to a card in a few seconds (at full card/USB speed) can take many many minutes over USB to the printer.

  • Link to post
    Share on other sites

    Posted · Writing SD Card via USB

    To add on the info from Illuminarti. I've done some test with this a year ago, with the USB transfer speeds that we have, it's not worth it. It can take anything from 20 minutes to an hour to transfer a gcode file.

     

  • Link to post
    Share on other sites

    Posted · Writing SD Card via USB

    Many thanks for the replies. It was obvious that there was a reason why a so useful function was not implemented. Now I know why :)

    However, the firmware upgrade seems to be fast. Is it another type of transfer?

     

  • Link to post
    Share on other sites

    Posted · Writing SD Card via USB

    The firmware is only a few kilobytes in size (The one I've built recently was 288 kB). It's just as slow as anything else, but less data = less time. A Gcode file can be several Megabytes (biggest one I've had so far was 20 MB -> The Colonel from Thingiverse).

    We are intending to do just about the same thing in a few weeks but we're using a Cortex M3 MCU which is a little bit faster than the Arduino - didn't take that into account before...

     

  • 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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
        • 0 replies
    ×
    ×
    • Create New...