MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.27k stars 19.23k forks source link

Faster way to download gcode to sd? #382

Closed limhyon closed 10 years ago

limhyon commented 11 years ago

Hi. A faster way to download gcode to SD card using COM port exist? Current download method seems to be writing by simulating printing sequence from M28 to M29 command.

I think employing Xmodel protocol or binary gcode and decode seems to be a candidate. How is your opinion?

buildrob commented 11 years ago

So of course the obvious question: is what open interface should we use? Wait, wasn't this what G-code was designed for in the first place?? i.e., driving register based CnC machines with 1970's era processors? :-) So what are we trying solve again? Is it just a UI and file download capability? Or we just trying to replace serial with a more reliable interconnect? Do we think that we can print faster and better with a non-G-code interface? (e.g. where all acceleration planning is done on the host)? Or all/none of the above?

nothinman commented 11 years ago

My printer is printing just fine. I personally see no benefit, because regardless of how you approach it -- it's a lot of work and no true benefit. Prints won't be prettier, stronger, faster. Nothing will change... Do I care about the 7" LCD? I mean... I like toys, but what the hell; no, I don't want a LCD; what for? what's next? camera and mp3 player? ;P

buildrob commented 11 years ago

This page lists a few G-code alternatves which might make more sense if you were to use a closely coupled host and motor controller: http://reprap.org/wiki/Firmware/Alternative .... of course this is a Marlin Github thread here and so we are way WAY off topic for discussion here. :-)

ErikZalm commented 11 years ago

I am designing a new hardware platform. I is based around a STM32F4 processor and will have an optional 4.3" WQVGA touchscreen. The main communication interface is internet. (You can connect a wifi router if you want wireless) Diagnostics and protection is much better then on the current hardware. (Current hardware has no protection against ESD/EMI and no diagnostics)

buildrob commented 11 years ago

@nothinman In most circumstances the Arduino is fast enough. Features such as bed auto leveling ( https://github.com/ErikZalm/Marlin/pull/323 #323 ) where the printer does calculations to automatically account for the level of the bed are some examples where we are really starting to push the limits of the Arduino. Very detailed models are another area where calculation time and throughput are a performance issue.

JustAnother1 commented 11 years ago

@ErikZalm That sounds very interesting. Do you have a link to your STM32F4 project ? May I help you with that project?

buildrob commented 11 years ago

I started a related discussion in the reprap forums if you're interested. http://forums.reprap.org/read.php?147,189757 (related to future architectures, not file download)

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.