os x 10.10 "Arduino as ISP" problem

I am using an Uno with the ISP sketch loaded to program another 328p based board.

Board programming works fine on a windows machine.

Trying to set up the environment on a OS X10.10 machine but the 'upload using programmer' gives an error when I try to upload....

--- excerpt from the IDE ---- Programmer Type : STK500 Description : Atmel STK500 Version 1.x firmware avrdude: Send: A [41] . [80] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: Recv: . [14]

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14 avrdude: Send: A [41] . [81] [20] avrdude: Recv: . [02]

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x02 avrdude: Send: A [41] . [82] [20] avrdude: Recv: . [10]

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10 avrdude: Send: A [41] . [98] [20] avrdude: Recv: . [14] avrdude: Recv: . [01] avrdude: Recv: . [10] Hardware Version: -1593720580 Firmware Version: -1073745912.10

Topcard : STK502

Note, this is only a problem when using "upload using programmer"

The Uno port is /dev/tty.usbmodem1421

Seems to be a problem with the ftdi drivers that come with os x 10

I implemented a "workaround"

  • installed virtualbox with usb extensions
  • installed an ubuntu image. added arduino ide
  • ran the 'upload using programmer' from inside the vm and all works fine --- Uno as ISP with custom 328p board connected

will get back to checking what the problem with osx drivers when I have more time