ErikZalm/Marlin-non-gen6 — Issue #7: Firmware blows up mid-print with "line number is not last line number+1, last line:0"
Author: Pointedstick
Created: 2011-11-13 06:48:17+00:00
State: open

About two hours into a long print of the Vanderbilt Mansion (Marlin at 115200 baud, Sanguinololu 1.3a, Replicatorg, Slic3r-created gcode, http://www.thingiverse.com/thing:10485), the extruder and platform abruptly home for 200,200 and crashed into the ends of those axes.

11/12/11 8:20:27.748 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 8:20:27 PM replicatorg.machine.Machine estimate
11/12/11 8:20:27.748 PM [0x0-0x12c12c].org.replicatorg.app: INFO: Estimated build time is: 3 hours, 54 minutes
11/12/11 8:20:27.748 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 8:20:27 PM replicatorg.machine.Machine buildDirect
11/12/11 8:20:27.748 PM [0x0-0x12c12c].org.replicatorg.app: INFO: Beginning build.
11/12/11 8:20:27.759 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 8:20:27 PM replicatorg.drivers.reprap.RepRap5DDriver serialByteReceivedEvent
11/12/11 8:20:27.759 PM [0x0-0x12c12c].org.replicatorg.app: SEVERE: Unknown: x:0.00y:92.01z:10.03e:4.18
11/12/11 8:20:27.857 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 8:20:27 PM replicatorg.drivers.reprap.RepRap5DDriver hasFeatureRealtimeControl
11/12/11 8:20:27.857 PM [0x0-0x12c12c].org.replicatorg.app: INFO: Yes, I have a Realtime Control feature.
11/12/11 8:20:27.860 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 8:20:27 PM replicatorg.app.ui.MainWindow supportsRealTimeControl
11/12/11 8:20:27.860 PM [0x0-0x12c12c].org.replicatorg.app: INFO: Supports RC
11/12/11 10:35:33.434 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 10:35:33 PM replicatorg.drivers.reprap.RepRap5DDriver serialByteReceivedEvent
11/12/11 10:35:33.434 PM [0x0-0x12c12c].org.replicatorg.app: SEVERE: Unknown: marlin 0.9.10l
11/12/11 10:35:33.438 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 10:35:33 PM replicatorg.drivers.reprap.RepRap5DDriver serialByteReceivedEvent
11/12/11 10:35:33.438 PM [0x0-0x12c12c].org.replicatorg.app: SEVERE: Firmware reset with active commands!
11/12/11 10:35:33.900 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 10:35:33 PM replicatorg.drivers.reprap.RepRap5DDriver serialByteReceivedEvent
11/12/11 10:35:33.900 PM [0x0-0x12c12c].org.replicatorg.app: SEVERE: Unknown: serial error: line number is not last line number+1, last line:0
11/12/11 10:35:33.924 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 10:35:33 PM replicatorg.drivers.reprap.RepRap5DDriver serialByteReceivedEvent
11/12/11 10:35:33.924 PM [0x0-0x12c12c].org.replicatorg.app: SEVERE: Received OK with nothing queued!
11/12/11 10:35:33.924 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 10:35:33 PM replicatorg.drivers.reprap.RepRap5DDriver serialByteReceivedEvent
11/12/11 10:35:33.924 PM [0x0-0x12c12c].org.replicatorg.app: SEVERE: Received OK with nothing queued!
11/12/11 10:35:33.931 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 10:35:33 PM replicatorg.app.ui.MainWindow message
11/12/11 10:35:33.931 PM [0x0-0x12c12c].org.replicatorg.app: INFO: Done building.
11/12/11 10:35:34.047 PM [0x0-0x12c12c].org.replicatorg.app: Nov 12, 2011 10:35:34 PM replicatorg.app.ui.MainWindow supportsRealTimeControl
11/12/11 10:35:34.047 PM [0x0-0x12c12c].org.replicatorg.app: INFO: Supports RC
11/12/11 10:36:44.979 PM [0x0-0x12c12c].org.replicatorg.app: Experimental: JNI_OnLoad called.

This has happened twice when I try to print the Vanderbilt Mansion (http://www.thingiverse.com/thing:10485). Both times, it happens after about two hours. It's a conspiracy!

As per https://github.com/ErikZalm/Marlin-non-gen6/issues/2, BUFSIZE in Marlin.pde is set to 4 instead of the default 8.