Welcome! Log In Create A New Profile

Advanced

problem with the first start of the printer - poor communication between HW and SW

Posted by mamaxam 
problem with the first start of the printer - poor communication between HW and SW
September 23, 2011 08:04AM
Hello,

please help with first start Prusa mendel printer.
I try to use:
SW:
1) replicatorg-0025 and
2) reprap-mendel-20110509
FW:
3) Klimentkip and
4) Teacup.

3) Klimentkip I can compile and upload to my ATMEGA328 (seeeduino board) without problems, but when I look on
serial comunication I can see only "hello world" from bootloader on 9600 and on 115200 (defined in FW before upload) nothing response :-(

4) Teacup FW is better. After start I can see OK message from FW. Klimentkip say I am connected to printer and Replicatorg too. In programs I can move with Y, X, and Z, but in
1)replicatorg I when I click on "Y+" motor move right. When I click on "Y+" again - motor stay and do not move. When I click on "Y-" motor move to start pozition. next click on "Y-" nothing happend. Summary: I can move only in one interval.
2)reprap mendel it is better - motores are moving I think OK, but when I try to print something - motors are very crazy. No drawing what can I see on my PC monitor.

Here are debug information from 1) replicatorg-0025 and 2) reprap-mendel-20110509
------------------------------------------------------
1)
[13:34:18] Load file : D:\tiskarna\software replicatorg\replicatorg-0025\examples\calibration\20mmbox.gcode
[13:34:19] D:\tiskarna\software replicatorg\replicatorg-0025\examples\calibration\20mmbox.stl
[13:34:19] Loading simulator.
[13:34:19] Loading driver: replicatorg.drivers.reprap.RepRap5DDriver
[13:34:19] Connecting to machine using serial port: COM40
[13:34:20] Supports RC
[13:34:20] Initializing Serial.
[13:34:20] GCode sent. waiting for response..
[13:34:30] GCode sent. waiting for response..
[13:34:40] GCode sent. waiting for response..
[13:34:40] Received OK with nothing queued!
[13:34:40] Ready.
[13:34:40] Yes, I have a Realtime Control feature.
[13:34:40] Supports RC
[13:48:53] Estimating build time...
[13:48:53] Zero feedrate detected, reset to: 5000.0
[13:48:53] Estimated build time is: 1 minute
[13:48:53] Beginning build.
[13:48:53] Yes, I have a Realtime Control feature.
[13:48:53] Supports RC
[13:48:55] Supports RC
[13:48:55] Realtime Control (RC) is: true
[13:49:05] Supports RC
[13:49:08] << ok
[13:49:08] FW Accepted: N1729 G04 P5000 *117
[13:49:08] Sending: N1730 M01 *7
[13:49:08] << ok e: bad m-code 1
[13:49:08] FW Accepted: N1730 M01 *7
[13:49:08] Sending: N1731 M108 S255.0 *97
[13:49:08] << ok e: bad m-code 108
[13:49:08] FW Accepted: N1731 M108 S255.0 *97
[13:49:08] Sending: N1732 M104 S225.0 *105
[13:49:08] << ok
[13:49:08] FW Accepted: N1732 M104 S225.0 *105
[13:49:08] Sending: N1733 G1 X3.1 Y-0.8 Z8.3 F3300,0 *61
[13:49:08] << ok
[13:49:08] FW Accepted: N1733 G1 X3.1 Y-0.8 Z8.3 F3300,0 *61
[13:49:08] Sending: N1734 G1 X2.8 Y0.5 Z9.1 F368,2 *46
[13:49:08] << ok
[13:49:08] FW Accepted: N1734 G1 X2.8 Y0.5 Z9.1 F368,2 *46
[13:49:08] Sending: N1735 G1 X-0.0 Y-2.6 Z16.3 F1782,0 *43
[13:49:08] << ok
........
------------------------------------------------------------------------
2) ( ♫8♫8♫8♫ - this is bootloader in diferent baudrate I think)
D:\tiskarna\reprap-mendel-20110509>rem reprap-host -- runs Reprap Java host co
with an appropriate classpath

D:\tiskarna\reprap-mendel-20110509>rem Amount of RAM to allow Java VM to use

D:\tiskarna\reprap-mendel-20110509>set REPRAP_RAM_SIZE=1024M

D:\tiskarna\reprap-mendel-20110509>rem reprap.jar file and stl file

D:\tiskarna\reprap-mendel-20110509>set REPRAP_DIR=C:\Program Files (x86)\Repra


D:\tiskarna\reprap-mendel-20110509>rem Java3D and j3d.org libraries

D:\tiskarna\reprap-mendel-20110509>rem set JAVA_LIBRARY_DIR=C:\Program Files (
6)\Reprap

D:\tiskarna\reprap-mendel-20110509>rem cd so we can find the reprap-wv.stl fil
Can we avoid this??

D:\tiskarna\reprap-mendel-20110509>IF NOT EXIST reprap-wv.stl cd "C:\Program F
es (x86)\Reprap"

D:\tiskarna\reprap-mendel-20110509>java -cp ".\reprap.jar;.\RXTXcomm.jar;.\j3d
re.jar;.\j3d-org-java3d-all.jar;.\j3dutils.jar;.\swing-layout-1.0.3.jar;.\vecm
h.jar;." -Xmx1024M org/reprap/Main
DEBUG: The distribution preferences file and yours match. This is good. [0,00
/-1316778643184ms]
DEBUG: GCode opening port COM40 [0,093s/87ms]
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
DEBUG: Attempting to initialize Arduino/Sanguino [1,416s/1323ms]
comms: G-code: N0 M110 *3 dequeued and sent [3,464s/2048ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:8♫8♫8♫8♫8♫8♫8♫
8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫

start [13,461s/9997ms]
comms: Response: 8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8
♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8♫8?

start [13,465s/4ms]
comms: G-code: N0 M110 *3 dequeued and sent [13,476s/11ms]
comms: Response: ok [13,477s/1ms]
comms: G-code: N0 T0 *26 dequeued and sent [16,142s/2665ms]
comms: Response: ok [16,143s/1ms]
comms: G-code: N1 M113 *1 dequeued and sent [16,153s/10ms]
comms: Response: ok [16,154s/1ms]
comms: G-code: N2 M105 *5 dequeued and sent [16,163s/9ms]
comms: Response: ok E: Bad M-code 113 [16,164s/1ms]
DEBUG: GCodeReaderAndWriter.getETemp() - no value stored! [16,165s/1ms]
comms: G-code: N3 M105 *4 dequeued and sent [16,177s/12ms]
comms: Response: ok [16,178s/1ms]
DEBUG: GCodeReaderAndWriter.getBTemp() - no value stored! [16,180s/2ms]
comms: G-code: N4 M105 *3 dequeued and sent [17,689s/1509ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0
17,691s/2ms]
comms: Response: T:866.25 B:0.0 [17,695s/4ms]
comms: G-code: N4 M105 *3 dequeued and sent [17,704s/9ms]
comms: Response: ok [17,705s/1ms]
DEBUG: GCodeReaderAndWriter.getETemp() - no value stored! [17,707s/2ms]
comms: G-code: N4 M105 *3 dequeued and sent [17,717s/10ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0
17,719s/2ms]
comms: Response: T:866.25 B:0.0 [17,722s/3ms]
comms: G-code: N4 M105 *3 dequeued and sent [17,731s/9ms]
comms: Response: ok [17,733s/2ms]
DEBUG: GCodeReaderAndWriter.getBTemp() - no value stored! [17,735s/2ms]
comms: G-code: N4 M105 *3 dequeued and sent [19,243s/1508ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0
19,243s/0ms]
comms: Response: T:866.25 B:0.0 [19,245s/2ms]
comms: G-code: N4 M105 *3 dequeued and sent [19,253s/8ms]
comms: Response: ok [19,253s/0ms]
DEBUG: GCodeReaderAndWriter.getETemp() - no value stored! [19,254s/1ms]
comms: G-code: N4 M105 *3 dequeued and sent [19,262s/8ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0
19,262s/0ms]
comms: Response: T:866.25 B:0.0 [19,263s/1ms]
comms: G-code: N4 M105 *3 dequeued and sent [19,271s/8ms]
comms: Response: ok [19,271s/0ms]
DEBUG: GCodeReaderAndWriter.getBTemp() - no value stored! [19,272s/1ms]
comms: G-code: N4 M105 *3 dequeued and sent [20,779s/1507ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0
20,781s/2ms]
comms: Response: T:866.25 B:0.0 [20,784s/3ms]
comms: G-code: N4 M105 *3 dequeued and sent [20,793s/9ms]
comms: Response: ok [20,794s/1ms]
DEBUG: GCodeReaderAndWriter.getETemp() - no value stored! [20,795s/1ms]
comms: G-code: N4 M105 *3 dequeued and sent [20,804s/9ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0
20,806s/2ms]
comms: Response: T:866.25 B:0.0 [20,810s/4ms]
comms: G-code: N4 M105 *3 dequeued and sent [20,821s/11ms]
comms: Response: ok [20,822s/1ms]
DEBUG: GCodeReaderAndWriter.getBTemp() - no value stored! [20,824s/2ms]
....
....whe I start print
....

comms: Response: T:866.25 B:0.0 [140,861s/1ms]
comms: G-code: N4 G1 X2.3 Y9.1 E483.2 F2500.0 *61 dequeued and sent [140,868s/7m
s]
comms: Response: ok [140,869s/1ms]
comms: G-code: N4 G1 X10.4 Y17.3 E494.8 *71 dequeued and sent [140,876s/7ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0 [
140,877s/1ms]
comms: Response: T:866.25 B:0.0 [140,878s/1ms]
comms: G-code: N4 G1 X10.4 Y17.3 E494.8 *71 dequeued and sent [140,885s/7ms]
comms: Response: ok [140,885s/0ms]
comms: G-code: N4 G1 X12.0 Y18.9 E497.0 F972.6 *13 dequeued and sent [140,893s/8
ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0 [
140,894s/1ms]
comms: Response: T:866.25 B:0.0 [140,895s/1ms]
comms: G-code: N4 G1 X12.0 Y18.9 E497.0 F972.6 *13 dequeued and sent [140,901s/6
ms]
comms: Response: ok [140,902s/1ms]
comms: G-code: N4 G1 X11.5 E497.5 F1497.3 *91 dequeued and sent [140,910s/8ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:T:866.25 B:0.0 [
140,911s/1ms]
----------------------------------------------
Very thanks for your help.
Sorry, only registered users may post in this forum.

Click here to login