No start signal detected and Communication timeout

Hello
I use an Arduino Due + BAM&DICE shield to run a (large) 3D printer based on RepRap design.
My PC runs on Windows 10.

PROBLEM
When I connect my machine on the computer (PC - windows 10) using Repeater Host, the connection is established but there is no way I can command the machine, even manually : nothing moves.

I get a message after a while saying :
- No start signal detected - forcing start
- Communication timeout - reset send buffer block

WHAT I HAVE DONE
I found a discussion about the same connection problem (between cplhendo and Repeatier : https://forum.repetier.com/discussion/1347/no-start-signal-detected-forcing-start-eeprom-not-accessible-in-rh) ,

I tried to follow the instructions.

I can connect the Arduino Due board on the computer : it appears in the Ports list.
- verified cable : OK
- cable is connected on port COM 7
- in RH baud rate : 115200
- in Marlin baud rate : 115200
- in RH : com 7 is selected
- in Marlin : serial Port 0
- Repeatier Server does not run
- in RH : the Eprom is greyed (non accessible)
- I tried to rebooted everything (PC and machine) : no difference

Whatever I do, I still have the same problem, and I desperate …

Could you help me ?
thank you very much !

Comments

  • Host shows connected if you had a serial port. It does not mean it does understand responses whcih can happen if baud rate is wrong. Also make sure to have transfer protocol autodetect or ascii when using marlin.

    If it is really 115200 baud you can simply test with arduino ide serial monitor. It should show "start" when opening and you can even send commands like M115, M114. If you do not see anything making sense your baud rate might be wrong. 

    With due also make sure to connect to right usb port. Arduino Due has 2 of them and only one works with your setting.
  • Hello
    thank you for your help. I checked all you said :
    - RH is connected (serial port)
    - transfer protocol on autodetect
    - baud rate is 115200 in RH and in the Marlin
    - the computer is connected on the right USB port (Native port on the Arduino Due board)

    At the end, RH keeps saying "no start signal detected".


    So, I even reinstalled RH … and the problem still occurs. (my computer in new - I bought it 1 month ago)


  • I don't think serial 0 is native port. I think it is the programming port. The fact that you upload using native port does not mean firmware communicates with that port. Try the other one as I said!
  • Well ... Whatever port I use, something is wrong :

    WHEN I USE USB NATIVE PORT OF THE ARDUINO DUE BOARD
    RH indicates :
    - no start signal detected - forcing start
    - communication timeout - reset send buffer block


    WHEN I USE PROGRAMMING USB PORT OF THE ARDUINO DUE BOARD
    RH reacts on a different manner, and indicates : 

    21:56:27.541 : Printer reset detected - initalizing
    21:56:27.541 : start
    21:56:27.541 : echo:Marlin 1.0.3 dev
    21:56:27.541 : echo: Last Updated: 2015-06-00 12:00 | Author: (none, default config)
    21:56:27.556 : Compiled: Feb 23 2017
    21:56:27.556 : echo: Free Memory: 85972  PlannerBufferBytes: 2688
    21:56:27.556 : echo:Hardcoded Default Settings Loaded
    21:56:27.556 : echo:Steps per unit:
    21:56:27.572 : echo:  M92 X642.52 Y642.52 Z20480.00 E7040.00
    21:56:27.572 : echo:Maximum feedrates (mm/s):
    21:56:27.572 : echo:  M203 X500.00 Y500.00 Z5.00 E25.00
    21:56:27.572 : echo:Maximum Acceleration (mm/s2):
    21:56:27.572 : echo:  M201 X9000 Y9000 Z100 E10000
    21:56:27.587 : echo:Accelerations: P=printing, R=retract and T=travel
    21:56:27.587 : echo:  M204 P3000.00 R3000.00 T3000.00
    21:56:27.603 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
    21:56:27.603 : echo:  M205 S0.00 T0.00 B20000 X20.00 Z0.40 E5.00
    21:56:27.603 : echo:Home offset (mm):
    21:56:27.603 : echo:  M206 X0.00 Y0.00 Z0.00
    21:56:27.619 : echo:Material heatup parameters:
    21:56:27.619 : echo:  M145 M0 H180 B70 F255
    21:56:27.619 : echo:  M145 M1 H240 B110 F0
    21:56:27.619 : echo:PID settings:
    21:56:27.619 : echo:  M301 P21.99 I1.64 D73.87 C1.00
    21:56:27.619 : echo:Filament settings: Disabled
    21:56:27.806 : First start for temperature finished.
    21:56:30.072 : echo:SD init fail
    21:56:30.103 : FIRMWARE_NAME:Marlin 1.0.3 dev SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:BAM&DICE EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
    21:56:30.103 : Warning: Missed line detected - correcting buffer usage.
    21:56:30.119 : X:0.00 Y:0.00 Z:0.00 E:0.00 Count X: 0.00 Y:0.00 Z:0.00
    21:56:30.119 : Error:Line Number is not Last Line Number+1, Last Line: 5
    21:56:30.119 : Resend: 6
    21:56:30.150 : echo:ok N5 P31 B7
    21:56:30.150 : Error:Line Number is not Last Line Number+1, Last Line: 5
    21:56:30.150 : Resend: 6
    21:56:30.166 : Error:Line Number is not Last Line Number+1, Last Line: 5
    21:56:30.166 : Resend: 6
    21:56:30.181 : Error:Line Number is not Last Line Number+1, Last Line: 5
    21:56:30.181 : Resend: 6
    21:56:30.213 : echo:Active Extruder: 0
    21:56:30.213 : Begin file list
    21:56:30.213 : End file list
    21:56:30.213 : Error:checksum mismatch, Last Line: 11
    21:56:30.213 : Resend: 12
    21:56:30.228 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.228 : Resend: 12
    21:56:30.244 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.244 : Resend: 12
    21:56:30.275 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.275 : Resend: 12
    21:56:30.291 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.291 : Resend: 12
    21:56:30.291 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.291 : Resend: 12
    21:56:30.291 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.291 : Resend: 12
    21:56:30.291 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.291 : Resend: 12
    21:56:30.322 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.322 : Resend: 12
    21:56:30.338 : Error:Line Number is not Last Line Number+1, Last Line: 11
    21:56:30.338 : Resend: 12
    21:56:30.353 : Error:No Line Number with checksum, Last Line: 11
    21:56:30.353 : Error:Line Number is not Last Line Number+1, Last Line: 12
    21:56:30.353 : Resend: 13
    21:56:30.369 : echo:ok N12 P31 B7
    21:56:30.369 : Error:checksum mismatch, Last Line: 12
    21:56:30.369 : Resend: 13
    21:56:30.384 : echo:Active Extruder: 0
    21:56:30.384 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.384 : Resend: 14
    21:56:30.400 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.400 : Resend: 14
    21:56:30.431 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.431 : Resend: 14
    21:56:30.447 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.447 : Resend: 14
    21:56:30.463 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.463 : Resend: 14
    21:56:30.478 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.478 : Resend: 14
    21:56:30.494 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.494 : Resend: 14
    21:56:30.509 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.509 : Resend: 14
    21:56:30.525 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.525 : Resend: 14
    21:56:30.541 : Error:Line Number is not Last Line Number+1, Last Line: 13
    21:56:30.541 : Resend: 14
    21:59:26.473 : Error:Printer halted. kill() called!
    22:00:33.071 : Communication timeout - reset send buffer block

    It' written "missed line detected" but I do not understand what it means. Communication timeout appears few minutes after the line "resend : 14".


    MARLIN BAM&DICE
    I redownloaded the marlin from Github (https://github.com/2PrintBeta/Marlin_BAM_DICE), and reuploaded it on the board … and the result is the same
    Precision : I did not change anything in the code (serial port is 0 and baud rate is 115200 as set in RH) :

    // SERIAL_PORT selects which serial port should be used for communication with the host.
    // This allows the connection of wireless adapters (for instance) to non-default port pins.
    // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
    // :[0,1,2,3,4,5,6,7]
    #define SERIAL_PORT 0

    // This determines the communication speed of the printer
    // :[2400,9600,19200,38400,57600,115200,250000]
    #define BAUDRATE 115200



    ANOTHER DETAIL
    I realized also that when I want to disconnect RH, it freezes (when I use the NATIVE port of the board). Everything gets greyed, and RH does not respond. Even typing CONTROL + Alt + Supp does not make any difference : Windows 10 is "blocked". After long minutes, "windows looks for a solution" (but it does not find any solution).

    There is no way I can quit RH so I have to reboot the whole computer to get it back.

    I reinstalled it twice, but I have seen the trouble was still the same.

    NEW BAORD AND NEW BAM&DICE SHIELD
    I changed all the hardware … and the trouble is exactly the same with the new hardware. So, it does not come from hardware.

    I don't know what to look for, actually. Is it a RH setting problem ? a code problem ? …
  • First now it is clear the programming port is the right port. Baud rate was also ok as you can now read responses.

    Regarding the communication problems that is the question what is going wrong. You might have set the receive cache buffer too high. 127 is normally ok, but try 120 and 63 as well to see if problems at connection disappear. The wrong line number detected indicates that parts of send data got lost and wrong buffer size leads to this.

    Alternative activate ping pong mode if nothing else works. It's slower but you have no buffer problems.

    Last solution: Use repetier-firmware instead. We also support that board.
  • Hello
    Well … there is no difference. I tried cache buffer set at 127, 120, 63, with ou without Repeatier protocol, Autodetect …etc. 

    And RH does not disconnect normally. Windows freezes, and there is no way to quit RH but to reboot the whole computer …
Sign In or Register to comment.