I have done some testing and I can make the upload work on Linux… but not in a satisfactory way.
I need the Sparki IDE to work on LinuxMint16 (or higher).
In general I have the same issue as others where the upload stops with:
Connecting to programmer: .avrdude: Send: . [1b]
avrdude: Send: S 
avrdude: ser_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
I have downloaded 32 and 64 bit versions of the arduino 1.0.5 IDE for Linux from here: arduino.cc/en/Main/Software
Untared them and set things up as it should (e.g. modified the boards.txt file, imported the Sparki lib etc).
After that I have done testing on three different computers (A, B and C) where I have booted different versions of LinuxMint from a USB stick (and mounted my HDD so I could use the IDE versions I had already installed).
This is what I got:
- = Not tested
W = Works
N = Not working
A B C
Windows 8 - W -
LinuxMint 12 LXDE 32bit W - W
LinuxMint 12 KDE 32bit W - -
LinuxMint 12 KDE 64bit W - -
LinuxMint 13 KDE 64bit W - -
LinuxMint 14 KDE 32bit N - -
LinuxMint 14 KDE 64bit N - -
LinuxMint 16 KDE 64bit N N -
To me it looks like it is not a 64bit issue and it is not a hardware issue… it looks like the IDE just does not work on a modern Linux version.
After that I tried to rebuild avrdude and RXTX (and doing the ‘-Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0’) as it says here: playground.arduino.cc/learning/linux
- Rebuilding RXTX and copying it to the arduino directory did not help.
- I could not figure out how to build avrdude. If anyone can point me to some instructions on how to build the arduino version of avrdude on a LinuxMint16 machine then I can try that… I just get a ton of errors whatever I try.
I have tried a lot of other stuff too… like using the ‘reset button voodoo’, using the repository versions of avrdude and rxtx etc, running the IDE as root, using other versions of java etc etc.
Anyone have any other ideas on what to try in order to make it possible to work with Sparki on LinuxMint16?
I looked at inotool.org/ but it does seem to use avrdude too so I think it will have the same problems.
I have now also tried to build according to this:
Built both the main branch and the latest commit but uploading just does not work.