Hi
First of all, thank you for this great piece of hardware & software !
I'm using linux, but i can't use AstroEQUploader to upload firmware in my arduino.
here is what i get :
gilles@portabana:~$ astroequploader
Java version 1.8.0 found.
Starting AstroEQ Config Utility, V3.7.2
Time is 23:30:50
OS: Linux. JRE Version: 1.8.0_131. JRE Arch: amd64
Creating Window. Setting DPI Scaling to 1
Setting Window Size to: 510 x 520
Setting Frame Rate
Creating Executioner thread
Connecting to Clipboard
Current Dir: /usr/share/doc/astroequploader/
Loading ControlP5
ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
Building GUI
x=0, y=104, width=510, height=352
buildBeginScreen --- ID is: begin
buildVersionCheckScreen --- ID is: versionCheck
buildFirmwareFetchScreen --- ID is: firmwareFetch
buildEEPROMWriterScreen --- ID is: EEPROMWriter
buildCheckEEPROMScreen --- ID is: checkEEPROM
buildRecoverEEPROMScreen --- ID is: recoverEEPROM
buildEnterConfigScreen --- ID is: enterConfig
buildProgramConfigScreen --- ID is: programConfig
buildDownloadFirmwareScreen --- ID is: downloadFirmware
buildTestFirmwareScreen --- ID is: testFirmware
buildFinishedScreen --- ID is: finished
Board Version: AstroEQV4-DIYBoard(includingKits)
Matched to firmware file: AstroEQV4-DIYBoard(includingKits).hex
Initialising Serial Ports
/dev/ttyACM0 /dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3 /dev/ttyS4 /dev/ttyS5 /dev/ttyS6 /dev/ttyS7 /dev/ttyS8 /dev/ttyS9 /dev/ttyS10 /dev/ttyS11 /dev/ttyS12 /dev/ttyS13 /dev/ttyS14 /dev/ttyS15 /dev/ttyS16 /dev/ttyS17 /dev/ttyS18 /dev/ttyS19 /dev/ttyS20 /dev/ttyS21 /dev/ttyS22 /dev/ttyS23 /dev/ttyS24 /dev/ttyS25 /dev/ttyS26 /dev/ttyS27 /dev/ttyS28 /dev/ttyS29 /dev/ttyS30 /dev/ttyS31
Matched to firmware file: AstroEQV4-DIYBoard(includingKits).hex
IB:520 JFH:549 JFHO:39
JFW:512 JFWO:12
COM Port: /dev/ttyACM0
Board Version: AstroEQArduinoMega2560
Matched to firmware file: AstroEQArduinoMega2560.hex
AstroEQArduinoMega2560
/usr/share/doc/astroequploader/avrdude -C/usr/share/doc/astroequploader/avrdude.conf -v -v -v -patmega2560 -cwiring -b115200 -D -P/dev/ttyACM0 -Uflash:w:/usr/share/doc/astroequploader/hex/AstroEQArduinoMega2560.hex:i java.io.IOException: Cannot run program "/usr/share/doc/astroequploader/avrdude": error=2, Aucun fichier ou dossier de ce type
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at AstroEQUploader$ExecutableInterface.run(AstroEQUploader.java:1339)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: error=2, Aucun fichier ou dossier de ce type
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 4 more
running = false
complete = true
error = false
Looking at this log, you'll see avrdude is not found :
/usr/share/doc/astroequploader/avrdude -C/usr/share/doc/astroequploader/avrdude.conf -v -v -v -patmega2560 -cwiring -b115200 -D -P/dev/ttyACM0 -Uflash:w:/usr/share/doc/astroequploader/hex/AstroEQArduinoMega2560.hex:i java.io.IOException: Cannot run program "/usr/share/doc/astroequploader/avrdude": error=2, Aucun fichier ou dossier de ce type
But everything seems to be there :
gilles@portabana:~$ ll /usr/share/doc/astroequploader/*
-rwxr-xr-x 1 root root 307760 oct. 13 2013 /usr/share/doc/astroequploader/avrdude*
-rw-r--r-- 1 root root 554770 mars 30 2013 /usr/share/doc/astroequploader/avrdude.conf
-rw-r--r-- 1 root root 19242 mai 27 2013 /usr/share/doc/astroequploader/icon.ico
/usr/share/doc/astroequploader/hex:
total 156
drwxrwxrwx 2 gilles gilles 4096 août 29 23:30 ./
drwxrwxrwx 4 root root 4096 août 29 23:30 ../
-rw-r--r-- 1 root root 35367 juil. 18 21:43 AstroEQArduinoMega1280.hex
-rw-r--r-- 1 root root 35400 juil. 18 21:38 AstroEQArduinoMega2560.hex
-rw-r--r-- 1 root root 33637 juil. 18 21:43 AstroEQV4-DIYBoard(includingKits).hex
-rw-r--r-- 1 root root 33637 juil. 18 21:43 AstroEQV4-EQ5Board.hex
-rw-r--r-- 1 root root 148 juil. 20 00:11 versions.txt
/usr/share/doc/astroequploader/mounts:
total 52
drwxrwxrwx 2 gilles gilles 4096 août 29 23:30 ./
drwxrwxrwx 4 root root 4096 août 29 23:30 ../
-rwxrwxrwx 1 gilles gilles 177 août 23 20:46 a4988 av ustep.conf*
-rwxrwxrwx 1 gilles gilles 176 août 23 20:47 a4988 sa ustep.conf*
-rwxrwxrwx 1 gilles gilles 179 août 29 22:35 drv8825 av ustep.conf*
-rw-r--r-- 1 root root 141 juin 3 2014 EQ3-2-Skywatcher-Type1.conf
-rw-r--r-- 1 root root 143 juin 3 2014 EQ3-2-Skywatcher-Type2.conf
-rw-r--r-- 1 root root 157 juin 26 2014 EQ3-2-Synscan-Motors.conf
-rw-r--r-- 1 root root 159 mai 23 2015 EQ5-Custom-Pulley.conf
-rw-r--r-- 1 root root 144 juin 3 2014 EQ5-Skywatcher.conf
-rw-r--r-- 1 root root 159 mai 23 2015 EQ6-Synscan.conf
-rw-r--r-- 1 root root 161 mai 23 2015 HEQ5-Syntrek.conf
-rwxrwxrwx 1 gilles gilles 177 août 21 21:59 perso.conf*
Am i missing something ?
I can use Arduino IDE to upload firmware, but it would be nice to do everything with this utility
Thank you for your help
Gilles.