synthetos / g2

g2core - The Next Generation
Other
622 stars 296 forks source link

G2 Board "Serial Checksum Failure" #429

Open BDFife opened 4 years ago

BDFife commented 4 years ago

Following up some correspondence with Rob with a ticket here.

A few of us replaced the ESP32 controller on the Simple Pro printer with a Raspberry Pi. The pi is connected to the G2 via the serial port.

We all saw failures during print due to “checksum errors”. I have attached a log. I don’t have this HW configuration set up right now, but I could re-create it if you have specific questions.

Rob looked at this log and mentioned that the error is with this line:

Recv: Error:checksum mismatch, Last Line: 0

"""

The "Last Line: 0” part is clearly an error, and should say N109 (backtracking OK responses back to the M105 temperature request and it’s response).

We’ll need to test that with a newer firmware. I believe that bug has been fixed, but may have regressed. IIRC, it was simple issue of the recorded line number getting reset before the checksum check when it shouldn’t have been.

""" I pulled the latest FW and believe I have updated my G2 Printrboard with this code, I still saw the failure.

When I booted the firmware, it sent this version info:

FIRMWARE_NAME:Marlin g2core-101.03-15-g9fd1-dirty SOURCE_CODE_URL:https://github.com/synthetos/g2 PROTOCOL_VERSION:1.0 MACHINE_TYPE:settings_Printrbot_Simple_1608.h EXTRUDER_COUNT:1 

If I did in fact load the latest code, it's possible this error still exists in the firmware. Can you please help me diagnose?

Thanks, Brian Serial_Failure.log

justinclift commented 4 years ago

@giseburt Do you have time to assist here? :smile: