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 ? …