Welcome! Log In Create A New Profile

Advanced

Serial Error on Repetier-Host

Posted by Hc 
Hc
Serial Error on Repetier-Host
November 19, 2012 10:36AM
Does anyone know why I am receiving these error messages when I click the button "Connect Printer" in Repetier- Host software ?

"Serial error : Recieved a LineNr code without a Checksum code or Checksum without LineNr
Resend : 1
Receiving only error messages. Stopped communication."

My RepRap is a Mendel with the Gen3 electronics and communicates with the computer with TTL to USB cable.
In the Repetier software I put these configurations:

Baud Rate: 19200
Stop Bits : 1
Parity: None
Transfer Protocol : Autodetect
Receive Cache Size: 127
Re: Serial Error on Repetier-Host
November 19, 2012 12:25PM
Have you checked the log files of Repetier-Host what it had send? Normally it sends line numbers with checksums and the beginning should look like this:
< 18:13:29.346 : N0 M110 *3
< 18:13:29.348 : N1 M115 *7
< 18:13:29.351 : N3 M111 S6 *68
< 18:13:29.353 : N4 M80 *63
> 18:13:29.584 : echoconfused smileyD card ok
> 18:13:29.592 : ok
> 18:13:29.598 : FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:[www.mendel-parts.com] PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1
> 18:13:29.600 : ok
< 18:13:29.601 : N6 M220 S100 *71
> 18:13:29.601 : ok T:24.3 /0.0 B:24.9 /0.0 @:0
< 18:13:29.607 : N7 M221 S100 *71
< 18:13:29.607 : N8 M111 S6 *79


But it looks like you are using an old firmware, so there may be some incompatibilities, also I don't know which at the moment.
Nobody really uses 19200 baud any more if there is no reason for it. What firmware do you use?
I guess with gen3 electronics the firmware available is a bit limited.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Serial Error on Repetier-Host
November 19, 2012 07:15PM
think this guy (http://forums.reprap.org/read.php?4,166031,166175#msg-166175) have a similar problem - was to do with his baud rate
roger


Prusa 'Explorer' (3dStuffMaker), GEN6, J-head Mk III-B, Bowden Extruder, Marlin 1.0.0 RC2, Repitier-Host V0.84 and Slic3r 0.9.8, PLA. Live at Victoria, Australia.
Re: Serial Error on Repetier-Host
November 19, 2012 11:46PM
hc, using gen 3 electronics, change the buffer lenth size from say 128 to 64, and change comand que 'buffers' to 4 from 8 or 16, and even try as low as 2 for testing. the arduino when it runs out of memory it overwrites other memory space. this is likely why your receiving errors, because the data is corrupted before it is sent back, probably from a stack overflow. or something of that nature.
Re: Serial Error on Repetier-Host
November 20, 2012 03:04AM
If it is a problem for the firmware to receive multiple commands in a row, activate ping pong mode in Repetier-Host. That way the host waits until the command is acknowledged.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Hc
Re: Serial Error on Repetier-Host
November 21, 2012 08:34PM
Thanks for the answers guys. I also think the problem is the firmware. My boards are working with the FiveD firmware. I've changed the buffer size and activated the ping pong mode and the error is still appearing. So I think I'll change my boards for new firmwares.
Thanks again !
Sorry, only registered users may post in this forum.

Click here to login