Re: Fix for USB printing [and other firmware improvements] January 13, 2014 04:56AM |
Registered: 10 years ago Posts: 94 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 05:02AM |
Registered: 10 years ago Posts: 300 |
Quote
dc42
I'm happy to report that RRP have now merged my changes into the Duet branch of the official firmware. The official 0.55 release build is here, I haven't tried it yet, but they seem to have accepted all of my changes. You still need to do the Pronterface patch to make USB printing and file upload work at full speed.
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 05:19AM |
Registered: 10 years ago Posts: 191 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 05:32AM |
Registered: 10 years ago Posts: 14,672 |
Quote
markbee
Regarding Pronterface and uploading files to SD card it seems to hang if you don't disable debugging.
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 06:09AM |
Registered: 10 years ago Posts: 578 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 06:18AM |
Registered: 10 years ago Posts: 14,672 |
Quote
rayhicks
I just set mine to 255 and it makes the printing as smooth as SD printing - any idea how large the cache would be in the duet? It doesn't seem to overflow at 255, but I'd like to set it to something that matches the duet's capabilities, rather than stretching them...
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 06:21AM |
Registered: 10 years ago Posts: 191 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 06:23AM |
Registered: 10 years ago Posts: 578 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 06:33AM |
Registered: 10 years ago Posts: 191 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 06:36AM |
Registered: 10 years ago Posts: 14,672 |
Quote
markbee
the Arduino libraries show 512 bytes receive buffer (RingBuffer) for the Arduino Due. Can't see any change in the RepRap implementation.
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 07:01AM |
Registered: 13 years ago Posts: 1,611 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 07:01AM |
Registered: 10 years ago Posts: 62 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 07:07AM |
Registered: 10 years ago Posts: 578 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 07:09AM |
Registered: 10 years ago Posts: 191 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 07:18AM |
Registered: 10 years ago Posts: 14,672 |
Quote
victors
Regarding the Pronterface change:
"4. Edit file printrun.py in the Pronterface directory. Look for the statement "self.clear = False" at line 300. Comment this out with a single # character at the start."
The file to be edited is not printrun.py but printcore.py.
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 02:10PM |
Registered: 10 years ago Posts: 62 |
Re: Fix for USB printing [and other firmware improvements] January 13, 2014 03:21PM |
Registered: 10 years ago Posts: 578 |
Quote
victors
:-) Big smiles over here ;-)
I have programmed version 57 with Pronter mod. Working great. My SD image did not have the homex/y/z.g files. Loaded it and now everything works.Just doing a quick snowman.g print. Moves and sounds just like SD card print.
Great work.
Re: Fix for USB printing [and other firmware improvements] April 15, 2014 10:40AM |
Registered: 10 years ago Posts: 6 |
def _sendnext(self): if not self.printer: return while self.printer and self.printing and not self.clear: time.sleep(0.001) if self.clearNext: self.clear = False if not (self.printing and self.printer and self.online): self.clear = True return if self.resendfrom < self.lineno and self.resendfrom > -1: self._send(self.sentlines[self.resendfrom], self.resendfrom, False) self.resendfrom += 1 return self.resendfrom = -1 for i in self.priqueue[:]: self._send(i) del self.priqueue[0] return if self.printing and self.queueindex < len(self.mainqueue): tline = self.mainqueue[self.queueindex] tline = tline.split(";")[0] if len(tline) > 0: self._send(tline, self.lineno, True) self.lineno += 1 else: self.clear = True self.queueindex += 1 else: self.printing = False self.clear = True if not self.paused: self.queueindex = 0 self.lineno = 0 self._send("M110", -1, True)
Re: Fix for USB printing [and other firmware improvements] April 15, 2014 12:02PM |
Registered: 10 years ago Posts: 209 |
Re: Fix for USB printing [and other firmware improvements] April 15, 2014 12:37PM |
Registered: 10 years ago Posts: 14,672 |
Re: Fix for USB printing [and other firmware improvements] May 06, 2014 04:14AM |
Registered: 10 years ago Posts: 4 |
Re: Fix for USB printing [and other firmware improvements] May 07, 2014 05:58AM |
Registered: 10 years ago Posts: 4 |