Firmware updater
I have Server Pro installed with a license. Its running on ubuntu. Everything working fine. Now I would like to update my firmware for some new stepsticks. I have it compiled with vscode firmware.hex
I click upload and get the following:
Uploading firmware binary ...
/usr/local/Repetier-Server/modules/firmware/bin/avrdude -C/usr/local/Repetier-Server/modules/firmware/bin/avrdude.conf -patmega2560 -cwiring -P/dev/ttyUSB0 -b115200 -D -Uflash:w:/var/lib/Repetier-Server/tmp/tmplua1.hex:i
/usr/local/Repetier-Server/modules/firmware/bin/avrdude: line 4: /usr/local/Repetier-Server/modules/firmware/bin/avrdude_bin: No such file or directoryUpload finished
Reactivating printer connection ...
Firmware upload finished.
I dont really know, but it seems like its not seeing avrdude. I look where avrdude is installed on the server see below:
Please how do I get firmware to flash to my machines?
Thanks
I click upload and get the following:
Uploading firmware binary ...
/usr/local/Repetier-Server/modules/firmware/bin/avrdude -C/usr/local/Repetier-Server/modules/firmware/bin/avrdude.conf -patmega2560 -cwiring -P/dev/ttyUSB0 -b115200 -D -Uflash:w:/var/lib/Repetier-Server/tmp/tmplua1.hex:i
/usr/local/Repetier-Server/modules/firmware/bin/avrdude: line 4: /usr/local/Repetier-Server/modules/firmware/bin/avrdude_bin: No such file or directoryUpload finished
Reactivating printer connection ...
Firmware upload finished.
I dont really know, but it seems like its not seeing avrdude. I look where avrdude is installed on the server see below:
dad@repetier-server:~$ dpkg -L avrdude
/.
/etc
/etc/avrdude.conf
/lib
/lib/udev
/lib/udev/rules.d
/lib/udev/rules.d/60-avrdude.rules
/usr
/usr/bin
/usr/bin/avrdude
/usr/share
/usr/share/doc
/usr/share/doc/avrdude
/usr/share/doc/avrdude/AUTHORS
/usr/share/doc/avrdude/ChangeLog-2001.gz
/usr/share/doc/avrdude/ChangeLog-2002.gz
/usr/share/doc/avrdude/ChangeLog-2003.gz
/usr/share/doc/avrdude/ChangeLog-2004-2006.gz
/usr/share/doc/avrdude/ChangeLog-2007.gz
/usr/share/doc/avrdude/ChangeLog-2008.gz
/usr/share/doc/avrdude/ChangeLog-2009.gz
/usr/share/doc/avrdude/ChangeLog-2010.gz
/usr/share/doc/avrdude/ChangeLog-2011.gz
/usr/share/doc/avrdude/ChangeLog-2012.gz
/usr/share/doc/avrdude/ChangeLog-2013.gz
/usr/share/doc/avrdude/NEWS.gz
/usr/share/doc/avrdude/README.Debian
/usr/share/doc/avrdude/changelog.Debian.gz
/usr/share/doc/avrdude/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/avrdude.1.gz
Please how do I get firmware to flash to my machines?
Thanks
Comments
avrdude is bundled in server and it is starting
/usr/local/Repetier-Server/modules/firmware/bin/avrdude
Can you call it without arguments in the terminal?
The strange part is the message from avrdude
line 4: /usr/local/Repetier-Server/modules/firmware/bin/avrdude_bin: No such file or directory
I checked it and it is a binary not a source so there is no line, but can of course come from compilation. But there is no avrdude_bin executeable and there never was one. Even in the package of ubuntu it does not exist.
You can replace the avrdude in server by the ubuntu version with
sudo cp /usr/bin/avrdude /usr/local/Repetier-Server/modules/firmware/bin/avrdude
in case it is corrupt.
The version of Repetier is most recent version. Server Pro 0.93.1
yes I can call it from command line
dad@repetier-server:~$ uname -a
PS...
There is a button on the dashboard that looks like it will change from temperature views to webcam views, but it does nothing. Stays on temperatures. Is this broken or has it ever worked?
Thanks for your help
Uploading firmware binary ...
Stopping printer connection
/usr/local/Repetier-Server/modules/firmware/bin/avrdude -C/usr/local/Repetier-Server/modules/firmware/bin/avrdude.conf -patmega2560 -cwiring -P/dev/ttyUSB0 -b115200 -D -Uflash:w:/var/lib/Repetier-Server/tmp/tmplua2.hex:i
avrdude: AVR device initialized and ready to accept instructionsReading | ################################################## | 100% 0.02savrdude: Device signature = 0x1e9801 (probably m2560)avrdude: reading input file "/var/lib/Repetier-Server/tmp/tmplua2.hex"avrdude: writing flash (139184 bytes):Writing | ################################################## | 100% 21.86savrdude: 139184 bytes of flash writtenavrdude: verifying flash memory against /var/lib/Repetier-Server/tmp/tmplua2.hex:avrdude: load data flash data from input file /var/lib/Repetier-Server/tmp/tmplua2.hex:avrdude: input file /var/lib/Repetier-Server/tmp/tmplua2.hex contains 139184 bytesavrdude: reading on-chip flash data:Reading | ################################################## | 100% 16.94savrdude: verifying ...avrdude: 139184 bytes of flash verifiedavrdude done. Thank you.Upload finished
Reactivating printer connection ...
Firmware upload finished.
Guess it is a problem with dynamically linked libraries that do not work any more. Will see if I can replace it with a static version.
What about webcams? I searched around a bit, and that does seem to have broken in an update.
https://www.repetier-server.com/setting-webcam-repetier-server-linux/
Or use any other solution and enter image/mjpg url by hand.