Welcome! Log In Create A New Profile

Advanced

Is this a good sign or bad sign? Problems talking to machine

Posted by mattuwattu 
Is this a good sign or bad sign? Problems talking to machine
October 25, 2010 06:23PM
I knew this is where i'd start to struggle! I can assemble bits of metal but making a computer talk to it would always be a challenge!

Story so far:

* 2 different Macs, 1 PC running Vista. Using Vista as stuggled to find others talking about Mac issues.
* Battled with drivers for USB TTL and getting software to recognise COM port but I think I have sorted that.
* Several installs and uninstalls of Java including v5 & 6
* Have a few lights flashing on the USB TTL cable and the motherboard which is more than i had a few days back.

But now a cry for help please!!

I'm looking for confirmation that the PC is talking to the machine. I cannot achieve this myself as all I can do is try to jog the axes using the reprap software but nowt happens.

Does the stuff below show any promise?!

Thanks in advance



Quote

C:\Program Files\Reprap>reprap

C:\Program Files\Reprap>rem reprap-host -- runs Reprap Java host code with an ap
propriate classpath

C:\Program Files\Reprap>rem Amount of RAM to allow Java VM to use

C:\Program Files\Reprap>set REPRAP_RAM_SIZE=1024M

C:\Program Files\Reprap>rem reprap.jar file and stl file

C:\Program Files\Reprap>set REPRAP_DIR=C:\Program Files\Reprap

C:\Program Files\Reprap>rem Java3D and j3d.org libraries

C:\Program Files\Reprap>rem set JAVA_LIBRARY_DIR=C:\Program Files\Reprap

C:\Program Files\Reprap>rem cd so we can find the reprap-wv.stl file. Can we av
oid this??

C:\Program Files\Reprap>IF NOT EXIST reprap-wv.stl cd "C:\Program Files\Reprap"


C:\Program Files\Reprap>java -cp ".\reprap.jar;.\RXTXcomm.jar;.\j3dcore.jar;.\j3
d-org-java3d-all.jar;.\j3dutils.jar;.\swing-layout-1.0.3.jar;.\vecmath.jar;." -X
mx1024M org/reprap/Main
DEBUG: The distribution preferences file and yours match. This is good. [0.000s
/-1288044774008ms]
DEBUG: GCode opening port COM8 [0.172s/172ms]
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
DEBUG: Attempting to initialize Arduino/Sanguino [0.703s/531ms]
comms: G-code: N0 T0 *26 dequeued and sent [5.982s/5279ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRapconfused smileyerial Error: Li
neNr is not the last lineNr+1 [6.029s/47ms]
comms: Response: Serial Error: LineNr is not the last lineNr+1 [6.029s/0ms]
comms: G-code: N0 T0 *26 dequeued and sent [6.029s/0ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:Resend:11 [6.029
s/0ms]
comms: Response: Resend:11 [6.029s/0ms]
comms: G-code: N0 T0 *26 dequeued and sent [6.045s/16ms]
comms: Response: ok [6.045s/0ms]
comms: G-code: N1 M113 *1 dequeued and sent [6.045s/0ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRapconfused smileyerial Error: Li
neNr is not the last lineNr+1 [6.076s/31ms]
comms: Response: Serial Error: LineNr is not the last lineNr+1 [6.076s/0ms]
comms: G-code: N1 M113 *1 dequeued and sent [6.076s/0ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:Resend:11 [6.076
s/0ms]
comms: Response: Resend:11 [6.076s/0ms]
comms: G-code: N1 M113 *1 dequeued and sent [6.076s/0ms]
comms: Response: ok [6.076s/0ms]
comms: G-code: N2 M105 *5 dequeued and sent [6.091s/15ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRapconfused smileyerial Error: Li
neNr is not the last lineNr+1 [6.123s/32ms]
comms: Response: Serial Error: LineNr is not the last lineNr+1 [6.123s/0ms]
comms: G-code: N2 M105 *5 dequeued and sent [6.123s/0ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:Resend:11 [6.123
s/0ms]
comms: Response: Resend:11 [6.123s/0ms]
comms: G-code: N2 M105 *5 dequeued and sent [6.138s/15ms]
comms: Response: ok [6.138s/0ms]
ERROR: GCodeReaderAndWriter.getETemp() - no value stored! [6.138s/0ms]
comms: G-code: N3 M105 *4 dequeued and sent [7.651s/1513ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRapconfused smileyerial Error: Li
neNr is not the last lineNr+1 [7.651s/0ms]
comms: Response: Serial Error: LineNr is not the last lineNr+1 [7.651s/0ms]
comms: G-code: N3 M105 *4 dequeued and sent [7.667s/16ms]
ERROR: GCodeWriter.waitForResponse() - dud response from RepRap:Resend:11 [7.667
s/0ms]
comms: Response: Resend:11 [7.667s/0ms]
comms: G-code: N3 M105 *4 dequeued and sent [7.667s/0ms]
comms: Response: ok [7.667s/0ms]
ERROR: GCodeReaderAndWriter.getETemp() - no value stored! [7.667s/0ms]
Re: Is this a good sign or bad sign? Problems talking to machine
October 26, 2010 04:24AM
At least the serial line stuff apparently works. Are firmware and RepRap Host of approximately the same age? New developments sometimes introduce incompatibilities and neither makes an attempt for backwards compatibility.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Is this a good sign or bad sign? Problems talking to machine
February 02, 2011 04:04PM
Hello,

I have the same issue here with the following twist, which kinda confirm Traumflug idea (and kinda not).

Last month I was able to have my reprap move and extrude kinda properly, with an about-6-months-old firmware and software, except that I was not able to extrude at a correct speed. So, I went on looking at the preference options, which were not up to date with the wiki.

So I downloaded the latest host software, made a few tests last week without solving my issues, but at least the reprap was still moving, extruding etc.

Today without further changes in the software I get the same error message as mattuwattu and the reprap is not moving.

So yes, changing the host software was probably a cause of the issue, yet I don't understand why the new software was working last week and not today.

And now I need to learn how to flash the firmware...
Re: Is this a good sign or bad sign? Problems talking to machine
February 02, 2011 05:00PM
Dears,

A) I now know how to flash the software
cool smiley The bug has disappeared so I confirm it was the cause of the problem
Re: Is this a good sign or bad sign? Problems talking to machine
April 25, 2011 05:53PM
Mattieu,

Sounds like we are at similar point in our RepRap development!

Just to close out my experience of this, it is exactly the same as yours .... software incompatiblity. It is a minefield and not for the feint hearted or none techies like me!

So much so, that I have spent 2 WHOLE DAYS trying to flash the software .... using 3 different computers!

One thing RepRap teaches ....... is patience!

Enjoy

PS my advice to any potential RepRap'rs of tomorrow, either have oodles or patience or a degree in Computing!
Sorry, only registered users may post in this forum.

Click here to login