May 27, 2016 5:23:42 PM replicatorg.machine.MachineThread loadDriver
INFO: Loading simulator.
May 27, 2016 5:23:42 PM replicatorg.drivers.DriverFactory loadClass
INFO: Loading driver: replicatorg.drivers.gen3.MightySailfish
May 27, 2016 5:23:42 PM replicatorg.drivers.gen3.MightySailfish <init>
INFO: Created a MightySailfish
test2
Experimental: JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
test2
test2
May 27, 2016 5:23:42 PM replicatorg.app.Base loadFile
INFO: Load file : /home/alistair/Desktop/plastic/dremel cyclone separator.gcode
Java 3D: implicit antialiasing enabled
May 27, 2016 5:23:44 PM replicatorg.app.ui.modeling.PreviewPanel setScene
INFO: /home/alistair/Desktop/plastic/dremel cyclone separator.stl
test2
May 27, 2016 5:24:54 PM replicatorg.drivers.SerialDriver openSerial
INFO: Connecting to machine using serial port: /dev/ttyACM0
May 27, 2016 5:24:54 PM replicatorg.drivers.gen3.Sanguino3GDriver getVersionInternal
WARNING: Motherboard firmware v7.2 ()
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyACM0: File exists
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyACM0: File exists
/home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude
-C/home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude.conf
-cstk500v1 -P/dev/ttyACM0 -b57600 -D
-Uflash:w:/home/alistair/.replicatorg/firmware/ff_creator-Sailfish-v7.7.0-r1432.hex:i
-pm1280
/home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude:
error while loading shared libraries: libusb-0.1.so.4: cannot open
shared object file: No such file or directory
I have recently flashed a flashforge board using r33 and 14.04lts, so I'm sure you can get this worked out. Can you connect to the bot using the control panel? Your user has permission rights to the dialout group?
error while loading shared libraries: libusb-0.1.so.4: cannot open
shared object file: No such file or directory
Optional: remove brltty
Some users have had issues with a Braille program that comes pre-installed in Ubuntu and may conflict with the serial driver. If you run into problems, you can remove the program with this command:
sudo apt-get remove brltty
I couldn't get a connection until I removed the brltty. Although personally at this point I feel it's either a timing issue or a bootloader issue. If you can connect and control the bot through repG control panel, I feel you should be able to flash the firmware.
You could boot from a 14.04 disk as a test?
If you still want to give a try,, I had a similar "timing" issue on a FFCX and WD4X with the 1280. Trick was to wait a full 2 seconds before pressing the reset button.
-Uflash:w:/home/alistair/.replicatorg/firmware/ff_creator-Sailfish-v7.7.0-r1432.hex:i -pm1280
/home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude:
error while loading shared libraries: libusb-0.1.so.4: cannot open
shared object file: No such file or directory
ff_creator-Sailfish-v7.7.0-r1432.hex does exist
I've downloaded the hex file, thanks. Just have to wait for the programmer, and some instruction on how to do it without bricking my board.
I can only add that the green "Machine The Replicator ready" status bar (if I can call it that) instantly goes to red "No connection" after selecting: Firmware upgrade > board select > Firmware version > select serial port.
And I have to close RepG, and then restart it to get connection again.
/home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude -C/home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude.conf -cstk500v1 -P/dev/ttyACM0 -b57600 -D -Uflash:w:/home/alistair/.replicatorg/firmware/mighty_twox-Sailfish-v7.7.0-r1432.hex:i -pm1280
avrdude: error at /home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude.conf:313: programmer type must be written as "id_type"
avrdude: error reading system wide configuration file "/home/alistair/replicatorg-0040r30-Sailfish/tools/avrdude.conf"
programmer
id = "avrisp";
desc = "Atmel AVR ISP";
type = stk500;
;
The only way I could figure out how to do that is to copy the installed avrdude from /usr/bin to the sailfish /tools directory.
alistair@Main:~$ avrdude -c stk500v1 -P/dev/ttyACM0 -b57600 -D -Uflash:w:/home/alistair/.replicatorg/firmware/ff_creator-Sailfish-v7.7.0-r1432.hex:i -pm1280
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.