I'm having an issue with the communications between the arduino 1.3 firmware and the source software. I can send data to the arduino just fine, but I can't read anything from either the opto-endstops or the temperature sensor. After putting the software in communications debug mode, I got the following printout:
james@switzer:~/Desktop/ardinstall/reprap-host-20080523$ ./reprap-host
DEBUG: Opening port /dev/ttyUSB0 [0.002s/-1228951046045ms]
Experimental: JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
DEBUG: Attempting to initialize Arduino [0.063s/61ms]
Java 3D WARNING : reported GLX version = 1.2
GLX version 1.3 or higher is required
The reported version number may be incorrect. There is a known
ATI driver bug in glXQueryVersion that incorrectly reports the GLX
version as 1.2 when it really is 1.3, so Java 3D will attempt to
run anyway.
comms: tx 0->8: 0 ( = 0 ) [4.112s/4049ms]
comms: rx: 30 30 30 30 30 30 30 30 30 30 54 52 30 0 8 c3 ( = 48 48 48 48 48 48 48 48 48 48 84 82 48 0 8 195 ) [4.126s/14ms]
comms: rx: 54 51 33 0 8 0 1 0 6d ( = 84 81 51 0 8 0 1 0 109 ) [4.131s/5ms]
DEBUG: CAPA extruder vRefFactor set to 7 [4.131s/0ms]
comms: tx 0->8: 34 7 ( = 52 7 ) [4.131s/0ms]
comms: rx: 54 52 30 0 8 c3 ( = 84 82 48 0 8 195 ) [4.142s/11ms]
comms: tx 0->8: 35 4 ( = 53 4 ) [4.143s/1ms]
comms: rx: 54 52 30 0 8 c3 ( = 84 82 48 0 8 195 ) [4.159s/16ms]
comms: tx 0->8: 0 ( = 0 ) [4.159s/0ms]
comms: rx: 54 52 30 0 8 c3 ( = 84 82 48 0 8 195 ) [4.175s/16ms]
comms: rx: 54 51 33 0 8 0 1 0 6d ( = 84 81 51 0 8 0 1 0 109 ) [4.178s/3ms]
comms: tx 0->9: 0 ( = 0 ) [4.186s/8ms]
comms: rx: 54 51 31 9 0 0 11 ( = 84 81 49 9 0 0 17 ) [4.207s/21ms]
DEBUG: Device at address 9 not present [4.207s/0ms]
comms: tx 0->9: 0 ( = 0 ) [4.207s/0ms]
comms: rx: 54 51 31 9 0 0 11 ( = 84 81 49 9 0 0 17 ) [4.223s/16ms]
DEBUG: Device at address 9 not present [4.223s/0ms]
Exception in thread "RepRap" java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:138)
at org.reprap.gui.botConsole.PrintTabPanel.initComponents(Unknown Source)
at org.reprap.gui.botConsole.PrintTabPanel.(Unknown Source)
at org.reprap.gui.botConsole.BotConsoleFrame.initComponents(Unknown Source)
at org.reprap.gui.botConsole.BotConsoleFrame.(Unknown Source)
at org.reprap.gui.botConsole.BotConsoleFrame$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
comms: tx 0->8: 8 ( = 8 ) [4.592s/369ms]
comms: rx: 54 52 30 0 8 c3 ( = 84 82 48 0 8 195 ) [4.607s/15ms]
comms: rx: 54 51 32 0 8 8 0 4d ( = 84 81 50 0 8 8 0 77 ) [4.610s/3ms]
comms: tx 0->8: a ( = 10 ) [4.610s/0ms]
comms: rx: 54 52 30 0 8 c3 ( = 84 82 48 0 8 195 ) [4.623s/13ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [4.686s/63ms]
comms: rx: 54 51 33 0 8 a fe 12 a7 ( = 84 81 51 0 8 10 254 18 167 ) [4.735s/49ms]
DEBUG: CAPA extruder current temp -28.577268425245023 [4.735s/0ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [5.187s/452ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [5.687s/500ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [6.187s/500ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [6.688s/501ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [7.188s/500ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [7.690s/502ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [8.190s/500ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [8.691s/501ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [9.191s/500ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [9.691s/500ms]
DEBUG: Attempting to control or interrogate non-existent extruder for PDMS [10.192s/501ms]
Has anyone had this problem before? Any idea where the problem is or how to fix it?