makerbot / ReplicatorG

An open-source gcode interpreter for driving RepRaps, Makerbots, and other similar CNC beasties
http://replicat.org
GNU General Public License v2.0
404 stars 226 forks source link

CRC error on reply causes build restart #126

Closed D1plo1d closed 14 years ago

D1plo1d commented 14 years ago

We've been getting CRC errors on reply occasionally from our makerbot. I looked into the code and it appears these throw runtime exceptions which evidently propagate far enough to restart a print. IMHO CRC Errors should either cause the print to fail and exit or resend the erroneous packet but never restart (which causes the printer to move through existing printed material = very bad!)

phooky commented 14 years ago

That is very bad; I'll look at this right now.

D1plo1d commented 14 years ago

Thanks Phooky!

phooky commented 14 years ago
D1plo1d commented 14 years ago

Yeah.. it helps to have a really bad quality FTDI cable which screws up enough to get lots of checksum issues. We just switched our FTDI and the problem went away but for people with shoddy FTDIs this is still a major problem. Is the default now to abort prints when you receive to many bad CRCs?

If you like I could actually trade FTDIs with you.. or you could try putting yours next to a rf transmitter/microwave :)

Actually.. stripping a ftdi cable of any shielding and subjecting it to lots of noise (RF) would probably be a really good torture test for makerbot serial communications