Welcome! Log In Create A New Profile

Advanced

Teacup + Repetier Host Serial Error

Posted by totalis 
Teacup + Repetier Host Serial Error
July 06, 2013 06:50PM
Hi all,

For several months I have run my reprap mendel on Teacup firmware. I love it! I use Repetier host to send the G-Code to the machine, which has never been a problem on my laptop at all.

I also own a desktop, and so I wanted to leave the reprap plugged into the desktop, so i could still use my laptop when needed.

I downloaded the same version of Repetier host onto my desktop and tried to print a model...

The printer hangs after a few hundred lines of G-Code, with a checksum error.

Quote
23:34:34.897 : N1208 G1 X45.968 Y56.094 E0.01642 *112
23:34:35.009 : N1209 G1 X45.879 Y56.382 E0.00469 *126
23:34:35.089 : N1210 G1 X56.763 Y65.908 E0.22454 *118
23:34:35.169 : N1211 G1 X56.987 Y66.172 E0.00538 *126
23:34:35.201 : N1212 G1 X59.81 Y67.754 E0.05023 *68
23:34:35.217 : N1213 G1 X62.75 Y69.082 E0.05009 *76
23:34:35.393 : N1214 G1 X68.877 Y71.394 E0.10167 *123
23:34:36.003 : N1215 M29 *15
23:34:36.020 : rs N1213 Expected checksum
53 23:34:36.026 : N1216 G1 X130 Y0 F8000 *81


However, if I use the laptop, with exactly the same file, and exactly the same version of repetier host, I get no errors...

I have updated to the latest firmware (as of 04/07/13) which has not helped.

Any advice?

Thanks

T

EDIT: readability of quote

Edited 1 time(s). Last edit at 07/06/2013 06:51PM by totalis.
Re: Teacup + Repetier Host Serial Error
July 07, 2013 07:34AM
Apparently, Repetier ignores resend requests and also doesn't wait for confirmation ("ok") of sent lines. I've heard there's a "pingpong" mode (or similar) which enforces proper use of the confirmation.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Teacup + Repetier Host Serial Error
July 23, 2013 01:52PM
So I have been looking into this further.

I am using an Arduino Nano V3 as the control board, which is working just fine with any other program that I use (ie non Teacup).

I have taken the latest Teacup (as of 23/07/13) and compiled using the Arduino environment. I use Repetier host to send G-Code (Any other recommendations?)

Also compiled on linux, with no change.

I have tried several different BAUD settings and the problem persists.

At seemingly random intervals, when a large amount of G-Code is sent to the Nano, a checksum error will be raised and the host will freeze.

The interesting thing is that if I ENFORCE_CHECKSUM, then the Nano will spit errors but will not freeze at all. This might well be a host issue, in which case, what other hosts are people using?

Thanks

T
Re: Teacup + Repetier Host Serial Error
July 24, 2013 09:03AM
I'm pretty sure Pronterface handles resend requests fine. Also, Pronterface from the experimental branch works again with Gen7 bootloaders.

For debugging, you can even use something like PuTTY after turning on XON/XOFF flow control in Teacup. No way to pause a print, then, though.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Sorry, only registered users may post in this forum.

Click here to login